/* ===== AUTH — login.php + register.php ===== */

/* ===== LOGIN PAGE ===== */
.login-page {
    max-width: 1400px;
    margin: 0 auto;
    padding: 50px 24px 70px;
    display: flex;
    justify-content: center;
}

.login-card {
    width: 100%;
    max-width: 460px;
    background: var(--white);
    border-radius: 24px;
    padding: 36px 32px;
    box-shadow:
        0 5px 0 #d1d5db,
        0 7px 16px rgba(0,0,0,0.1);
}

.login-title {
    font-size: var(--text-2xl);
    font-weight: 700;
    color: var(--gray-dark);
    text-align: center;
    margin-bottom: 8px;
}

.login-subtitle {
    font-size: var(--text-base);
    color: var(--gray);
    text-align: center;
    margin-bottom: 28px;
}

.register-link {
    text-align: center;
    font-size: var(--text-base);
    color: var(--gray);
    margin-top: 20px;
}

.register-link a {
    color: var(--blue);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}

.register-link a:hover {
    color: var(--pink);
}

/* ===== REGISTER PAGE ===== */
.register-page {
    max-width: 1400px;
    margin: 0 auto;
    padding: 40px 24px 60px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: start;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
}

/* ===== COLUMNA INFO ===== */
.register-info {
    padding: 10px 0;
}

.register-info-title {
    font-size: clamp(1.6rem, 4vw, 2.2rem);
    font-weight: 800;
    background: linear-gradient(135deg, var(--pink) 0%, var(--blue) 50%, var(--pink) 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shimmer 3s linear infinite;
    margin-bottom: 8px;
}

.register-info-subtitle {
    font-size: var(--text-lg);
    color: var(--gray);
    margin-bottom: 32px;
    line-height: 1.5;
}

.benefits-list {
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.benefit-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.benefit-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    position: relative;
    top: 0;
    box-shadow:
        0 4px 0 var(--icon-shadow, #d1d5db),
        0 6px 10px rgba(0,0,0,0.08);
}

.benefit-icon svg {
    width: 24px;
    height: 24px;
}

.benefit-icon.icon-free {
    background: linear-gradient(to bottom, #a7f3d0, #6ee7b7);
    color: #065f46;
    --icon-shadow: #059669;
}

.benefit-icon.icon-themes {
    background: linear-gradient(to bottom, #c4b5fd, #a78bfa);
    color: #4c1d95;
    --icon-shadow: #7c3aed;
}

.benefit-icon.icon-cards {
    background: linear-gradient(to bottom, #fca5a5, #f87171);
    color: #7f1d1d;
    --icon-shadow: #dc2626;
}

.benefit-icon.icon-device {
    background: linear-gradient(to bottom, #93c5fd, #60a5fa);
    color: #1e3a5f;
    --icon-shadow: #2563eb;
}

.benefit-text h3 {
    font-size: var(--text-base);
    font-weight: 700;
    color: var(--gray-dark);
    margin-bottom: 2px;
}

.benefit-text p {
    font-size: var(--text-sm);
    color: var(--gray);
    line-height: 1.4;
}

/* ===== COLUMNA FORMULARIO ===== */
.register-form-col {
    width: 100%;
}

.register-card {
    background: var(--white);
    border-radius: 24px;
    padding: 36px 32px;
    box-shadow:
        0 5px 0 #d1d5db,
        0 7px 16px rgba(0,0,0,0.1);
}

.register-title {
    font-size: var(--text-2xl);
    font-weight: 700;
    color: var(--gray-dark);
    text-align: center;
    margin-bottom: 8px;
}

.register-subtitle {
    font-size: var(--text-base);
    color: var(--gray);
    text-align: center;
    margin-bottom: 28px;
}

.login-link {
    text-align: center;
    font-size: var(--text-base);
    color: var(--gray);
    margin-top: 20px;
}

.login-link a {
    color: var(--blue);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}

.login-link a:hover {
    color: var(--pink);
}

.password-hint {
    font-size: var(--text-xs);
    color: var(--gray);
    margin-top: 6px;
}

/* ===== RESPONSIVE ===== */
@media (min-width: 768px) {
    .register-page {
        grid-template-columns: 1fr 1fr;
        gap: 48px;
        padding: 50px 40px 70px;
        align-items: center;
    }
}

@media (min-width: 1024px) {
    .register-page {
        grid-template-columns: 40fr 60fr;
        gap: 60px;
        padding: 60px 24px 80px;
    }

    .form-row {
        grid-template-columns: 1fr 1fr;
        gap: 0 20px;
    }
}

@media (max-width: 767px) {
    .login-page {
        padding: 28px 16px 40px;
    }

    .login-card {
        padding: 28px 20px;
    }

    .register-page {
        gap: 28px;
        padding: 28px 16px 40px;
    }

    .register-form-col {
        order: -1;
    }

    .register-info {
        text-align: center;
    }

    .register-info-subtitle {
        margin-bottom: 24px;
    }

    .benefits-list {
        gap: 16px;
    }

    .benefit-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 10px;
    }

    .register-card {
        padding: 28px 20px;
    }
}
