/**
 * Estilos para el sistema de seguimiento de pedidos - Parte 1
 * Incluye los estilos de la pestaña de seguimiento y la línea de tiempo
 */

/* ===== ESTILOS DE LA PÁGINA DE SEGUIMIENTO ===== */
.cuc-tracking-container {
    margin: 20px 0;
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.cuc-tracking-header {
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #e1e1e1;
    text-align: center;
}

.cuc-tracking-header h2 {
    margin-top: 0;
    color: #333;
    font-size: 24px;
}

.cuc-tracking-order-info {
    text-align: center;
    margin-bottom: 20px;
}

.cuc-tracking-number {
    font-weight: bold;
    background: #f0f0f0;
    padding: 8px 15px;
    border-radius: 50px;
    display: inline-block;
    margin: 10px auto;
    font-family: monospace;
    font-size: 16px;
}

/* ===== LÍNEA DE TIEMPO DE SEGUIMIENTO ===== */
.cuc-tracking-timeline {
    position: relative;
    padding-left: 30px;
    margin: 30px 0;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cuc-tracking-timeline:before {
    content: '';
    position: absolute;
    left: 10px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: #e1e1e1;
}

.cuc-tracking-step {
    position: relative;
    margin-bottom: 25px;
    padding-bottom: 15px;
}

.cuc-tracking-step:before {
    content: '';
    position: absolute;
    left: -22px;
    top: 0;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #ccc;
    border: 2px solid #fff;
}

.cuc-tracking-step.active:before {
    background: #4CAF50;
}

.cuc-tracking-step.completed:before {
    background: #4CAF50;
}

.cuc-tracking-step.current:before {
    background: #FF9800;
    border: 2px solid #FFF9C4;
    box-shadow: 0 0 0 2px rgba(255, 152, 0, 0.3);
    animation: pulse-tracking 1.5s infinite;
}

@keyframes pulse-tracking {
    0% { transform: scale(1); }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); }
}

.cuc-tracking-step-content {
    padding-left: 10px;
}

.cuc-tracking-message {
    margin: 5px 0;
    line-height: 1.6;
}

.cuc-tracking-date {
    font-size: 13px;
    color: #666;
    margin-top: 5px;
    display: inline-block;
    background: #f5f5f5;
    padding: 3px 8px;
    border-radius: 3px;
}

/* ===== BOTÓN DE ACTUALIZAR Y ESTADO ===== */
.cuc-tracking-update-btn {
    background-color: #FF9800;
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 50px;
    cursor: pointer;
    font-weight: 600;
    margin: 20px auto;
    transition: all 0.3s;
    display: block;
    font-size: 16px;
}

.cuc-tracking-update-btn:hover {
    background-color: #F57C00;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.cuc-tracking-update-btn:focus {
    outline: none;
    box-shadow: 0 0 0 2px rgba(255, 152, 0, 0.3);
}

.cuc-tracking-last-updated {
    font-size: 12px;
    color: #777;
    margin-top: 10px;
    font-style: italic;
    text-align: center;
}

.cuc-tracking-note {
    margin-top: 20px;
    padding: 10px;
    background-color: #f5f5f5;
    border-radius: 4px;
    font-size: 12px;
    color: #666;
    text-align: center;
}

/* ===== RESPONSIVE PARA MÓVILES ===== */
@media (max-width: 768px) {
    .cuc-tracking-container {
        padding: 15px;
    }
    
    .cuc-tracking-header h2 {
        font-size: 20px;
    }
    
    .cuc-tracking-update-btn {
        width: 100%;
    }
}
/**
 * Estilos para el sistema de seguimiento de pedidos - Parte 2
 * Incluye los estilos del login mejorado, errores de pago y emails
 */

/* ===== ESTILOS PARA LOGIN Y REGISTRO MEJORADOS ===== */
.cuc-login-visual {
    background-color: #fff8e5;
    border-radius: 12px;
    padding: 25px 15px;
    margin-bottom: 25px;
    text-align: center;
    border: none;
    box-shadow: 0 4px 15px rgba(255, 152, 0, 0.15);
}

.cuc-login-icon {
    font-size: 46px;
    margin-bottom: 15px;
    display: inline-block;
    animation: bounce-icon 1s ease infinite alternate;
}

@keyframes bounce-icon {
    0% { transform: translateY(0); }
    100% { transform: translateY(-5px); }
}

.cuc-login-visual h3 {
    margin: 10px 0;
    color: #FF9800;
    font-size: 22px;
    font-weight: 700;
}

.cuc-login-visual p {
    margin: 5px 0 0 0;
    font-size: 16px;
    color: #555;
}

/* Versión específica para Blocksy con selector avanzado */
.ct-account-form .cuc-login-visual {
    max-width: 350px;
    margin-left: auto;
    margin-right: auto;
}

/* ===== ESTILOS PARA ERRORES DE PAGO ===== */
.cuc-payment-error {
    display: flex;
    flex-direction: column;
    align-items: center;
    border: none;
    padding: 25px 20px;
    background-color: #fff8f7;
    margin: 25px 0;
    box-shadow: 0 5px 15px rgba(255, 152, 0, 0.15);
    border-radius: 12px;
    text-align: center;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.cuc-payment-error-icon {
    font-size: 46px;
    margin-bottom: 15px;
    animation: shake-warning 0.8s cubic-bezier(.36,.07,.19,.97) 2s both;
}

@keyframes shake-warning {
    0%, 100% { transform: translateX(0); }
    10%, 30%, 50%, 70%, 90% { transform: translateX(-5px); }
    20%, 40%, 60%, 80% { transform: translateX(5px); }
}

.cuc-payment-error h4 {
    color: #ff9800;
    margin: 0 0 15px 0;
    font-weight: 700;
    font-size: 20px;
}

.cuc-payment-error p {
    margin: 10px 0;
    font-size: 15px;
    line-height: 1.5;
}

.cuc-payment-error ul {
    text-align: left;
    margin: 15px auto;
    padding-left: 20px;
    font-size: 15px;
    line-height: 1.6;
}

.cuc-payment-error-actions {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.cuc-payment-error-action-btn {
    display: inline-block;
    background-color: #FF9800;
    color: white !important;
    padding: 12px 25px;
    border-radius: 50px;
    text-decoration: none !important;
    font-weight: 600;
    text-align: center;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    font-size: 15px;
}

.cuc-payment-error-action-btn:hover {
    background-color: #F57C00;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

/* ===== ESTILOS PARA EMAILS DE SEGUIMIENTO ===== */
.cuc-email-tracking-info {
    background-color: #ffffff;
    border-radius: 12px;
    padding: 30px 20px;
    margin: 30px 0;
    text-align: center;
    border: 1px solid #f0f0f0;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.cuc-email-tracking-icon {
    font-size: 52px;
    margin-bottom: 20px;
}

.cuc-email-tracking-title {
    color: #FF9800;
    font-size: 24px;
    margin: 0 0 20px 0;
    font-weight: 700;
}

.cuc-email-tracking-number {
    font-family: monospace;
    font-weight: bold;
    background: #f5f5f5;
    padding: 10px 20px;
    border-radius: 50px;
    display: inline-block;
    margin: 20px 0;
    font-size: 18px;
    letter-spacing: 1px;
}

.cuc-email-tracking-dates {
    background-color: #fff8e5;
    border-radius: 8px;
    padding: 15px 20px;
    margin: 20px 0;
    font-weight: 600;
    color: #333;
    display: inline-block;
}

.cuc-email-tracking-action {
    display: inline-block;
    background-color: #FF9800;
    color: white !important;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none !important;
    font-weight: 700;
    text-align: center;
    margin-top: 20px;
    font-size: 16px;
    transition: all 0.3s;
}

.cuc-email-tracking-action:hover {
    background-color: #F57C00;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 152, 0, 0.2);
}

.cuc-email-tracking-steps {
    text-align: left;
    max-width: 450px;
    margin: 25px auto;
    background-color: #f9f9f9;
    padding: 20px;
    border-radius: 8px;
}

.cuc-email-tracking-steps h3 {
    margin-top: 0;
    color: #333;
    font-size: 18px;
    text-align: center;
    margin-bottom: 15px;
}

.cuc-email-tracking-steps ul {
    padding-left: 20px;
    margin: 0;
}

.cuc-email-tracking-steps li {
    margin-bottom: 10px;
    padding-left: 5px;
}

.cuc-email-tracking-note {
    color: #777;
    font-size: 13px;
    font-style: italic;
    margin-top: 20px;
    text-align: center;
}

/* ===== RESPONSIVE PARA MÓVILES ===== */
@media (max-width: 768px) {
    .cuc-login-visual {
        padding: 20px 15px;
    }
    
    .cuc-login-icon {
        font-size: 40px;
    }
    
    .cuc-login-visual h3 {
        font-size: 20px;
    }
    
    .cuc-payment-error {
        padding: 20px 15px;
    }
    
    .cuc-payment-error-action-btn {
        width: 100%;
    }
    
    .cuc-email-tracking-info {
        padding: 20px 15px;
    }
    
    .cuc-email-tracking-action {
        width: 100%;
        box-sizing: border-box;
    }
}
