/* 
 * FORGOT PASSWORD STYLES - CoworkingByVimod 
 * Styles for the password recovery page
 */

.auth-container {
    max-width: 480px;
    margin: 10vh auto;
    padding: 0 1.5rem;
}

@media (max-width: 600px) {
    .nav .btn-sm {
        padding: 0.45rem 0.85rem !important;
        font-size: 0.78rem !important;
    }


    .auth-container {
        margin: 5vh auto 0;
        padding: 0 1rem;
        padding-bottom: max(2rem, env(safe-area-inset-bottom));
    }

    .auth-container .card {
        padding: 2rem 1.25rem !important;
        border-radius: 20px !important;
    }

    .auth-container h2 {
        font-size: 1.3rem !important;
    }

    .auth-container p {
        font-size: 0.85rem !important;
    }

    .form-input {
        font-size: 1rem;
        padding: 0.9rem 1rem;
    }

    .btn.btn-primary[type="submit"] {
        padding: 0.9rem !important;
        font-size: 0.9rem;
    }
}

.form-input { 
    background: rgba(255, 255, 255, 0.03); 
    border: 1px solid var(--glass-border); 
    padding: 1rem 1.25rem; 
    border-radius: 12px; 
    color: white; 
    width: 100%; 
    transition: var(--transition);
}

.form-input:focus { 
    outline: none; 
    border-color: var(--primary); 
    background: rgba(255, 255, 255, 0.06); 
}

.form-label { 
    display: block; 
    font-size: 0.85rem; 
    margin-bottom: 0.6rem; 
    color: var(--text-muted); 
}

.alert { 
    padding: 1rem; 
    border-radius: 12px; 
    margin-bottom: 1.5rem; 
    font-size: 0.9rem; 
    text-align: center; 
    display: none; 
    align-items: center; 
    justify-content: center; 
    gap: 8px; 
}

.alert-error { 
    background: rgba(244, 63, 94, 0.1); 
    color: #fb7185; 
}

.alert-success { 
    background: rgba(16, 185, 129, 0.1); 
    color: #34d399; 
}

/* Loader Animation */
.loader { 
    width: 20px; 
    height: 20px; 
    border: 2px solid rgba(255,255,255,0.3); 
    border-radius: 50%; 
    border-top-color: #fff; 
    animation: spin 0.8s linear infinite; 
    display: none; 
}

@keyframes spin { 
    to { transform: rotate(360deg); } 
}

.btn-loading .loader { 
    display: inline-block; 
}

.btn-loading .btn-text { 
    display: none; 
}
