body {
    background: radial-gradient(circle at 30% 20%, #3a4661 0%, #27304a 60%, #20283a 100%) !important;
    color: #f6f8fc !important;
    min-height: 100vh;
}

/* LOGIN PAGE BACKGROUND SOFTENING */
body.login-page {
    /* Large, soft radial gradient centered vertically, with gentle color stops */
    background: radial-gradient(ellipse 80% 60% at 50% 45%, #3a4661 0%, #27304a 60%, #20283a 100%);
    min-height: 100vh;
    position: relative;
    overflow: hidden;
}

/* Optional: add a subtle linear gradient overlay for extra softness at top and bottom */
body.login-page::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background:
        linear-gradient(to bottom, rgba(58,70,97,0.35) 0%, rgba(32,40,58,0.0) 15%, rgba(32,40,58,0.0) 85%, rgba(58,70,97,0.35) 100%);
    /* Optional: add a slight blur for extra smoothness */
    backdrop-filter: blur(1.5px);
}

/* Page Background */
.login-wrapper {
    min-height: 75vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background: radial-gradient(circle at 30% 20%, #3a4661 0%, #27304a 60%, #20283a 100%) !important
}

/* Card */
.login-card {
    background: rgba(26, 29, 35, 0.92);
    backdrop-filter: blur(8px);
    padding: 2.5rem;
    width: auto;
    max-width: 420px;
    border-radius: 16px;
    box-shadow: 0 25px 60px rgba(0,0,0,0.6);
    border: 1px solid rgba(255,255,255,0.05);
}

.login-logo-wrapper {
    text-align: center;
}

.login-logo-badge {
    display: inline-block;
    justify-content: center;
    margin: 0 auto;
    padding: 14px;
    border-radius: 22px;
    background: #E2E8F0;
    border: 1px solid rgba(255,255,255,0.15);
    backdrop-filter: blur(8px);
    box-shadow: 0 12px 24px rgba(0,0,0,0.45), 0 2px 6px rgba(0,0,0,0.25);
    margin-bottom: 2rem;
}

    .login-logo-badge img {
        height: 75px;
        width: 100px;
    }

/* Heading */
.login-heading {
    color: #A1A1AA;
    margin-bottom: 1rem;
    text-align: center;
    font-weight: 500;
}

/* Labels */
.login-label {
    color: #9CA3AF;
    font-size: 0.9rem;
}

/* Inputs */
.login-input {
    background-color: #111827;
    border: 1px solid #2F3542;
    color: #ffffff;
    padding-left: 2.5rem;
    border-radius: 8px;
    transition: all 0.2s ease;
}

    .login-input:focus {
        border-color: #14B8A6;
        box-shadow: 0 0 0 2px rgba(20,184,166,0.25);
        background-color: #0f172a;
    }

/* Input icon wrapper */
.input-icon {
    position: relative;
}

    .input-icon i {
        position: absolute;
        top: 50%;
        left: 0.8rem;
        transform: translateY(-50%);
        color: #6B7280;
    }

/* Login button */
.btn-login {
    background: linear-gradient(90deg, #14B8A6, #0EA5A3);
    border: none;
    border-radius: 10px;
    padding: 0.75rem;
    font-weight: 600;
    color: #ffffff;
    transition: all 0.2s ease;
}

    .btn-login:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 20px rgba(20,184,166,0.3);
    }

/* Feedback */
.login-feedback {
    font-size: 0.9rem;
    text-align: center;
}

.login-input {
    background-color: #111827 !important;
    border: 1px solid #2F3542 !important;
    color: #ffffff !important;
}

    .login-input:focus {
        background-color: #0f172a !important;
        border-color: #14B8A6 !important;
        box-shadow: 0 0 0 2px rgba(20,184,166,0.25) !important;
        color: #ffffff !important;
    }

    /* Chrome Autofill Fix */
    .login-input:-webkit-autofill,
    .login-input:-webkit-autofill:hover,
    .login-input:-webkit-autofill:focus,
    .login-input:-webkit-autofill:active {
        -webkit-box-shadow: 0 0 0 30px #111827 inset !important;
        -webkit-text-fill-color: #ffffff !important;
        transition: background-color 5000s ease-in-out 0s;
        color: #fff !important;
    }

.login-body {
    /* Match main site: grey gradient */
    background: radial-gradient(circle at 50% 40%, #4b5563 0%, #374151 60%, #1f2937 100%) !important;
    min-height: 100vh;
    position: relative;
    overflow: hidden;
}

login_body:before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    /* Gentle overlay for smoothness */
    background:
        linear-gradient(to bottom, rgba(58,70,97,0.22) 0%, rgba(32,40,58,0.0) 20%, rgba(32,40,58,0.0) 80%, rgba(58,70,97,0.22) 100%);
    backdrop-filter: blur(1.5px);
}

/* Login card: grey, matches main cards */
.login-card, .login-box, .login-panel {
    position: relative;
    z-index: 1;
    background: rgba(55, 65, 81, 0.98); /* grey, matches main cards */
    box-shadow: 0 8px 32px 0 rgba(31,41,55,0.18), 0 1.5px 8px 0 rgba(80,200,255,0.08);
    border-radius: 18px;
    color: #f6f8fc;
}

body.login-body {
    /* Softer login background — grey to match main site */
    background: radial-gradient(
        ellipse 80% 60% at 50% 45%,
        #4b5563 0%,
        #374151 60%,
        #1f2937 100%
    ) !important;
    min-height: 100vh;
    position: relative;
    overflow: hidden;
}

body.login-body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background:
        linear-gradient(
            to bottom,
            rgba(74,86,113,0.18) 0%,
            rgba(44,52,71,0.0) 20%,
            rgba(44,52,71,0.0) 80%,
            rgba(74,86,113,0.18) 100%
        );
    backdrop-filter: blur(1.5px);
}

.login-card, .login-box, .login-panel {
    position: relative;
    z-index: 1;
    background: rgba(75, 85, 99, 0.98); /* grey card */
    box-shadow: 0 8px 32px 0 rgba(31,41,55,0.18), 0 1.5px 8px 0 rgba(80,200,255,0.08);
    border-radius: 18px;
    color: #f6f8fc;
}