/* =============================================
   AUTH VIEW - ULTRA COMPACTO
   ============================================= */

/* ==================== CONTAINER ==================== */
.auth-page {
    overflow-y: auto;
    height: 100%;
}

.auth-wrapper {
    min-height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 15px;
    padding-bottom: calc(var(--nav-height) + 50px);
    max-width: 380px;
    margin: 0 auto;
}

/* ==================== HEADER MINIMALISTA ==================== */
.auth-header {
    text-align: center;
    margin-bottom: 20px;
    width: 100%;
}

.auth-logo {
    margin: 0 auto 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.auth-logo svg {
    filter: drop-shadow(0 0 8px rgba(52, 211, 153, 0.3));
}

.auth-title {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.5px;
    margin-bottom: 2px;
    background: linear-gradient(135deg, #f8fafc 0%, #cbd5e1 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.auth-subtitle {
    font-size: 0.7rem;
    color: var(--text-muted);
    font-weight: 400;
}

/* ==================== CARDS COMPACTAS ==================== */
.auth-card {
    width: 100%;
    padding: 20px;
}

.auth-card.hidden {
    display: none;
}

.auth-card-title {
    font-size: 1.1rem;
    margin-bottom: 16px;
    font-weight: 700;
    color: var(--text-primary);
}

/* ==================== FORM FIELDS COMPACTOS ==================== */
.auth-form-field {
    margin-bottom: 12px;
}

.auth-form-label {
    display: block;
    font-size: 0.7rem;
    color: var(--text-muted);
    text-transform: uppercase;
    margin-bottom: 5px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

/* ==================== PASSWORD STRENGTH ==================== */
.auth-strength-bar {
    height: 2px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    margin-top: 6px;
    overflow: hidden;
}

.strength-fill {
    height: 100%;
    width: 0;
    transition: all 0.3s ease;
    border-radius: 10px;
}

.strength-fill.weak {
    width: 33%;
    background: #ef4444;
}

.strength-fill.medium {
    width: 66%;
    background: #f59e0b;
}

.strength-fill.strong {
    width: 100%;
    background: var(--primary-green);
}

.auth-strength-text {
    font-size: 0.65rem;
    margin-top: 3px;
    display: block;
    font-weight: 600;
}

.auth-strength-text.weak {
    color: #ef4444;
}

.auth-strength-text.medium {
    color: #f59e0b;
}

.auth-strength-text.strong {
    color: var(--primary-green);
}

/* ==================== SUBMIT BUTTON ==================== */
.auth-submit-btn {
    width: 100%;
    justify-content: center;
    margin-top: 16px;
}

/* ==================== FOOTER LINK ==================== */
.auth-footer-link {
    text-align: center;
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin-top: 16px;
}

.auth-link {
    color: var(--primary-green);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.auth-link:hover {
    color: var(--primary-blue);
    text-decoration: underline;
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 480px) {
    .auth-wrapper {
        padding: 12px;
        padding-bottom: calc(var(--nav-height) + 40px);
    }

    .auth-header {
        margin-bottom: 18px;
    }

    .auth-title {
        font-size: 1.4rem;
    }

    .auth-card-title {
        font-size: 1rem;
    }

    .auth-form-field {
        margin-bottom: 10px;
    }
}
