/* =========================================================
   Variables CSS de paleta Droncore.
   Estas paginas son standalone (NO usan layout_start.php),
   por eso NO heredan las vars de styles.css. Definidas aqui
   para mantener var(--primary)/var(--secondary) funcionando
   y permitir que el branding por operadora aplique si llega
   a inyectarse en el head (no aplica hoy en signup publico,
   pero deja el sistema preparado).
========================================================= */
:root {
    --primary: #21505b;
    --secondary: #c15d1a;
}
/* ========== ESTILOS ESPECÍFICOS PARA ALTA ========== */
/* Reutilizamos la estructura del login */
.signup-wrapper {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f5f7fa 0%, #e4e8eb 100%);
}
.signup-box {
    display: grid;
    grid-template-columns: 1fr 1fr;
    max-width: 1000px;
    width: 95%;
    min-height: 600px;
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.15);
}
@media (max-width: 868px) {
    .signup-box {
        grid-template-columns: 1fr;
        max-width: 480px;
    }
    .signup-banner {
        display: none;
    }
}
/* Columna izquierda - Contenido */
.signup-content {
    display: flex;
    flex-direction: column;
    padding: 40px 50px;
}
@media (max-width: 480px) {
    .signup-content {
        padding: 30px 25px;
    }
}
.signup-content__top {
    flex: 1;
}
.signup-content__bottom {
    font-size: 0.8rem;
    color: #999;
    text-align: center;
    padding-top: 20px;
}
/* Brand */
.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 40px;
}
.brand__logo {
    width: 42px;
    height: 42px;
}
.brand__logo--afiliado {
    width: auto !important;
    height: auto !important;
    max-height: 50px;
    max-width: 250px;
}    
.brand__name {
    height: 24px;
}
/* Título y subtítulo */
.signup-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary);
    margin: 0 0 10px 0;
    line-height: 1.3;
}
.signup-subtitle {
    font-size: 1rem;
    color: #666;
    margin: 0 0 30px 0;
    line-height: 1.5;
}
/* Beneficios */
.benefits-list {
    list-style: none;
    padding: 0;
    margin: 0 0 35px 0;
}
.benefits-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid #f0f0f0;
    font-size: 0.95rem;
    color: #444;
}
.benefits-list li:last-child {
    border-bottom: none;
}
.benefit-icon {
    width: 28px;
    height: 28px;
    min-width: 28px;
    background: #e8f5e9;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #4caf50;
    font-size: 0.85rem;
}
.benefit-text strong {
    color: var(--primary);
}
/* Badge de prueba gratuita */
.free-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, var(--secondary) 0%, #d4722f 100%);
    color: white;
    padding: 10px 20px;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 25px;
    box-shadow: 0 4px 15px rgba(193, 93, 26, 0.3);
}
.free-badge-icon {
    font-size: 1.1rem;
}
/* Pasos del progreso */
.progress-steps {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 30px;
}
.progress-step {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #e0e0e0;
    transition: all 0.3s ease;
}
.progress-step.active {
    width: 30px;
    border-radius: 5px;
    background: var(--secondary);
}
.progress-step.completed {
    background: #4caf50;
}
/* Botón CTA */
.btn-signup {
    display: block;
    width: 100%;
    padding: 16px 30px;
    background: linear-gradient(135deg, var(--primary) 0%, #2a6575 100%);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(33, 80, 91, 0.3);
}
.btn-signup:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(33, 80, 91, 0.4);
}
.btn-signup:active {
    transform: translateY(0);
}
/* Link login */
.login-link {
    text-align: center;
    margin-top: 20px;
    font-size: 0.9rem;
    color: #666;
}
.login-link a {
    color: var(--secondary);
    font-weight: 600;
    text-decoration: none;
}
.login-link a:hover {
    text-decoration: underline;
}
/* Columna derecha - Banner */
.signup-banner {
    background: linear-gradient(135deg, var(--primary) 0%, #2a6575 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    position: relative;
    overflow: hidden;
}
.signup-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
}
.signup-banner img {
    max-width: 100%;
    max-height: 400px;
    object-fit: contain;
    position: relative;
    z-index: 1;
    filter: drop-shadow(0 10px 30px rgba(0,0,0,0.3));
}
.banner-content {
    text-align: center;
    color: white;
    position: relative;
    z-index: 1;
}
.banner-content h3 {
    font-size: 1.5rem;
    margin: 0 0 15px 0;
    font-weight: 600;
}
.banner-content p {
    font-size: 0.95rem;
    opacity: 0.9;
    margin: 0;
    line-height: 1.5;
}
.banner-features {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 30px;
    text-align: left;
}
.banner-feature {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.9rem;
}
.banner-feature-icon {
    width: 32px;
    height: 32px;
    background: rgba(255,255,255,0.2);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
}
/* Animación de entrada */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.signup-content__top > * {
    animation: fadeInUp 0.5s ease forwards;
}
.signup-content__top > *:nth-child(1) { animation-delay: 0.1s; }
.signup-content__top > *:nth-child(2) { animation-delay: 0.15s; }
.signup-content__top > *:nth-child(3) { animation-delay: 0.2s; }
.signup-content__top > *:nth-child(4) { animation-delay: 0.25s; }
.signup-content__top > *:nth-child(5) { animation-delay: 0.3s; }
.signup-content__top > *:nth-child(6) { animation-delay: 0.35s; }
