 /* ----- GLOBAL VARIABLES (matching homepage upgrade) ----- */
 :root {
    --primary: #1e2b3c;        /* deep navy */
    --secondary: #2c7be5;      /* vibrant blue */
    --accent: #e74c3c;
    --success: #27ae60;
    --light-bg: #f6fafe;
    --gray: #5b6c7e;
    --soft-shadow: 0 15px 35px rgba(0,0,0,0.08);
    --border-radius-card: 24px;
    --glass-bg: rgba(18, 25, 38, 0.92);
}

body {
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(145deg, #e9eff5 0%, #f0f4fa 100%);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    padding-top: 20px;
    padding-bottom: 20px;
    color: #2d3e50;
}

.ls{
    width: 100px;
    height: 100px;
    border-radius: 10px;
}
.lst{
    width: 100px;
    height: 100px;
    border-radius:50px;
   
}

/* ----- GLASS NAVIGATION (consistent with index) ----- */
.navbar {
    background: var(--glass-bg) !important;
    backdrop-filter: blur(12px);
    padding: 12px 0;
    box-shadow: 0 8px 20px rgba(0,0,0,0.06);
    margin-bottom: 30px;
}
.navbar-brand {
    font-weight: 800;
    font-size: 1.8rem;
    color: white !important;
    letter-spacing: -0.5px;
}
.navbar-brand i {
    font-size: 2rem;
    color: var(--secondary);
    margin-right: 10px;
    transition: transform 0.2s;
}
.navbar-brand:hover i { transform: rotate(-5deg) scale(1.05); }
.nav-link {
    color: rgba(255,255,255,0.9) !important;
    font-weight: 500;
    padding: 8px 20px !important;
    border-radius: 40px;
    transition: 0.25s;
}
.nav-link:hover {
    background: rgba(255,255,255,0.1);
    color: white !important;
    transform: translateY(-2px);
}
.nav-link.active {
    background: var(--secondary);
    color: white !important;
    box-shadow: 0 6px 14px rgba(44,123,229,0.35);
}

/* ----- AUTH CARD (elevated, consistent with register) ----- */
.auth-container {
    max-width: 560px;
    margin: 0 auto;
    padding: 0 20px;
    flex: 1;
}
.auth-card {
    background: white;
    border-radius: var(--border-radius-card);
    box-shadow: var(--soft-shadow);
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.5);
    transition: transform 0.3s;
}
.auth-card:hover {
    box-shadow: 0 25px 45px rgba(44,123,229,0.12);
}

/* ----- HEADER (gradient + pattern) ----- */
.auth-header {
    background: linear-gradient(145deg, var(--primary), #152b44);
    color: white;
    padding: 45px 35px;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.auth-header::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" preserveAspectRatio="none"><path d="M0,0 L100,0 L100,100 Z" fill="white" opacity="0.04"/></svg>');
    pointer-events: none;
}
.org-logo {
    width: 100px;
    height: 100px;
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(8px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    border: 2px solid rgba(255,255,255,0.3);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}
.org-logo i {
    font-size: 52px;
    color: white;
    text-shadow: 0 5px 12px rgba(0,0,0,0.2);
}
.auth-header h1 {
    font-weight: 800;
    font-size: 2.2rem;
    margin-bottom: 6px;
    letter-spacing: -0.5px;
    text-shadow: 0 3px 8px rgba(0,0,0,0.15);
}
.auth-header .lead {
    font-size: 1.2rem;
    font-weight: 400;
    opacity: 0.95;
    margin-top: 15px;
}

/* ----- FORM BODY (clean) ----- */
.auth-body {
    padding: 45px 45px 50px;
    background: white;
}
@media (max-width: 576px) {
    .auth-body { padding: 35px 25px; }
}

.form-label {
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 8px;
    font-size: 0.95rem;
    letter-spacing: 0.3px;
}

.form-control, .form-select {
    border: 2px solid #e2eaf1;
    border-radius: 16px;
    padding: 14px 20px;
    font-size: 1rem;
    transition: all 0.2s ease;
    background: #fcfdff;
}
.form-control:focus, .form-select:focus {
    border-color: var(--secondary);
    box-shadow: 0 0 0 0.25rem rgba(44,123,229,0.15);
    background: white;
}
.form-control.is-valid, .form-select.is-valid {
    border-color: var(--success);
    background-image: none;
    padding-right: 20px;
}
.form-control.is-invalid, .form-select.is-invalid {
    border-color: var(--accent);
    background-image: none;
}

/* Password container & toggle (clean) */
.password-container {
    position: relative;
}
.password-toggle {
    position: absolute;
    right: 18px;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    color: #7f8fa4;
    padding: 0;
    font-size: 1.2rem;
    z-index: 5;
    transition: color 0.2s;
}
.password-toggle:hover {
    color: var(--secondary);
}

/* Forgot password link */
.forgot-password {
    text-align: right;
    margin-top: 8px;
}
.forgot-password a {
    color: var(--gray);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: 0.2s;
}
.forgot-password a:hover {
    color: var(--secondary);
}

/* Submit button (gradient, animated) */
.btn-primary {
    background: linear-gradient(145deg, var(--secondary), #1a5bbf);
    border: none;
    padding: 16px 28px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    letter-spacing: 0.5px;
    transition: all 0.3s cubic-bezier(0.2, 0.9, 0.4, 1);
    box-shadow: 0 12px 28px rgba(44,123,229,0.25);
    width: 100%;
    color: white;
}
.btn-primary:hover:not(:disabled) {
    transform: translateY(-4px);
    box-shadow: 0 20px 35px rgba(44,123,229,0.4);
    background: linear-gradient(145deg, #2c7be5, #0f4a9e);
}
.btn-primary:disabled {
    background: #a3c1e0;
    opacity: 0.7;
}

/* Register link */
.register-link {
    text-align: center;
    margin-top: 30px;
    color: #526477;
}
.register-link a {
    color: var(--secondary);
    font-weight: 600;
    text-decoration: none;
    border-bottom: 2px solid transparent;
    transition: 0.2s;
}
.register-link a:hover {
    border-bottom-color: var(--secondary);
}

/* Login options cards (elegant) */
.login-options {
    margin-top: 40px;
    border-top: 1px solid #edf2f9;
    padding-top: 35px;
}
.login-option-card {
    border: 1px solid #edf2f9;
    border-radius: 20px;
    padding: 22px 12px;
    text-align: center;
    transition: all 0.25s;
    background: #fafcff;
    height: 100%;
    cursor: pointer;
}
.login-option-card:hover {
    border-color: var(--secondary);
    transform: translateY(-6px);
    box-shadow: 0 12px 26px rgba(44,123,229,0.08);
    background: white;
}
.login-option-icon {
    font-size: 38px;
    color: var(--secondary);
    margin-bottom: 12px;
}
.login-option-card h6 {
    font-weight: 700;
    color: var(--primary);
}

/* Custom alert (toast style) */
.alert-custom {
    position: fixed;
    top: 90px;
    right: 25px;
    z-index: 9999;
    min-width: 340px;
    background: white;
    border-left: 6px solid;
    border-radius: 18px;
    box-shadow: 0 20px 35px rgba(0,0,0,0.1);
    padding: 18px 22px;
    border: none;
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    gap: 12px;
    animation: slideIn 0.3s;
}
@keyframes slideIn {
    from { transform: translateX(40px); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}
.alert-success { border-left-color: var(--success); }
.alert-danger { border-left-color: var(--accent); }
.alert-info { border-left-color: var(--secondary); }

/* Modal styling (consistent) */
.modal-content {
    border-radius: 24px;
    border: none;
}
.modal-header {
    background: linear-gradient(145deg, var(--primary), #152b44);
    color: white;
    border-bottom: none;
}
.modal-header.bg-info, .modal-header.bg-warning { /* override custom */
    background: linear-gradient(145deg, #2c7be5, #1e5bbf) !important;
}
.btn-close-white {
    filter: brightness(0) invert(1);
}

/* Footer mini */
.footer-mini {
    text-align: center;
    margin-top: 50px;
    color: #708090;
    font-size: 0.9rem;
}