body.login-modern {
    font-family: "Manrope", "Segoe UI", sans-serif;
    background: #020617;
    color: #e2e8f0;
    margin: 0;
}

body.login-modern .top-content {
    min-height: 100vh;
    position: relative;
    overflow: hidden;
    padding: 32px 16px;
    background:
        radial-gradient(1200px 700px at 8% -10%, rgba(56, 189, 248, 0.42) 0%, transparent 58%),
        radial-gradient(900px 560px at 92% 0%, rgba(34, 197, 94, 0.28) 0%, transparent 55%),
        radial-gradient(700px 500px at 50% 100%, rgba(99, 102, 241, 0.22) 0%, transparent 60%),
        linear-gradient(145deg, #020617 0%, #0f172a 45%, #111827 100%);
}

body.login-modern .login-bg-photo {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(120deg, rgba(2, 6, 23, 0.88) 0%, rgba(15, 23, 42, 0.72) 45%, rgba(2, 6, 23, 0.92) 100%),
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='1600' height='900' viewBox='0 0 1600 900'%3E%3Cdefs%3E%3ClinearGradient id='g' x1='0' y1='0' x2='1' y2='1'%3E%3Cstop stop-color='%230ea5e9'/%3E%3Cstop offset='1' stop-color='%2322c55e'/%3E%3C/linearGradient%3E%3C/defs%3E%3Crect width='1600' height='900' fill='%23020617'/%3E%3Ccircle cx='260' cy='180' r='220' fill='url(%23g)' opacity='0.18'/%3E%3Ccircle cx='1320' cy='120' r='180' fill='%2338bdf8' opacity='0.12'/%3E%3Ccircle cx='980' cy='720' r='260' fill='%2322c55e' opacity='0.1'/%3E%3Cpath d='M0 680 Q400 620 800 680 T1600 680 V900 H0Z' fill='%231e293b' opacity='0.55'/%3E%3C/svg%3E") center/cover no-repeat;
    z-index: 0;
    pointer-events: none;
}

body.login-modern .hospital-ambient {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
}

body.login-modern .hospital-grid {
    position: absolute;
    inset: 0;
    opacity: 0.1;
    background-image:
        linear-gradient(rgba(148, 163, 184, 0.22) 1px, transparent 1px),
        linear-gradient(90deg, rgba(148, 163, 184, 0.22) 1px, transparent 1px);
    background-size: 36px 36px;
}

body.login-modern .hospital-glow {
    position: absolute;
    width: 420px;
    height: 420px;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.35;
    animation: loginGlow 12s ease-in-out infinite;
}

body.login-modern .hospital-glow.glow-a {
    top: -80px;
    left: -60px;
    background: #0ea5e9;
}

body.login-modern .hospital-glow.glow-b {
    bottom: -120px;
    right: -80px;
    background: #22c55e;
    animation-delay: 2s;
}

body.login-modern .inner-bg {
    position: relative;
    z-index: 3;
}

body.login-modern .login-bg-contact {
    position: absolute;
    left: clamp(16px, 4vw, 48px);
    bottom: clamp(24px, 6vh, 56px);
    z-index: 2;
    max-width: min(360px, 42vw);
    padding: 18px 20px;
    border-radius: 18px;
    border: 1px solid rgba(0, 153, 255, 0.22);
    background: rgba(8, 14, 26, 0.72);
    backdrop-filter: blur(16px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
    color: #e2e8f0;
}

body.login-modern .login-bg-contact-brand {
    margin-bottom: 14px;
    font-family: "Space Grotesk", "Manrope", sans-serif;
    font-size: 18px;
    font-weight: 700;
}

body.login-modern .login-bg-contact-brand a {
    color: #7dd3fc;
    text-decoration: none;
}

body.login-modern .login-bg-contact-brand a:hover {
    color: #bae6fd;
    text-decoration: none;
}

body.login-modern .login-bg-contact-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-bottom: 12px;
}

body.login-modern .login-bg-contact-item:last-child {
    margin-bottom: 0;
}

body.login-modern .login-bg-label {
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.35px;
    text-transform: uppercase;
    color: #64748b;
}

body.login-modern .login-bg-value {
    font-size: 13px;
    line-height: 1.5;
    color: #cbd5e1;
}

body.login-modern .login-bg-value a {
    color: #38bdf8;
    font-weight: 600;
    text-decoration: none;
}

body.login-modern .login-bg-value a:hover {
    color: #7dd3fc;
    text-decoration: none;
}

body.login-modern .login-bg-value i {
    color: #0ea5e9;
    margin-right: 6px;
    width: 14px;
    text-align: center;
}

body.login-modern .login-shell {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: calc(100vh - 64px);
}

body.login-modern .login-center-wrap {
    width: 100%;
    max-width: 460px;
    margin: 0 auto;
}

body.login-modern .login-card {
    width: 100%;
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid rgba(0, 153, 255, 0.28);
    background: rgba(15, 23, 42, 0.78);
    backdrop-filter: blur(18px);
    box-shadow:
        0 30px 80px rgba(2, 6, 23, 0.55),
        0 0 0 1px rgba(56, 189, 248, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

body.login-modern .login-card-head {
    padding: 28px 28px 18px;
    border-bottom: 1px solid rgba(148, 163, 184, 0.14);
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.18), rgba(14, 165, 233, 0.08));
}

body.login-modern .login-brand-center {
    text-align: center;
}

body.login-modern .login-logo-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
}

body.login-modern .login-logo {
    max-height: 72px;
    max-width: 220px;
    width: auto;
    height: auto;
    object-fit: contain;
}

body.login-modern .login-brand {
    font-family: "Space Grotesk", "Manrope", sans-serif;
    font-size: 24px;
    font-weight: 700;
    color: #f8fafc;
    letter-spacing: 0.2px;
    line-height: 1.2;
}

body.login-modern .login-brand-subtitle {
    margin-top: 6px;
    color: #94a3b8;
    font-size: 14px;
    font-weight: 500;
}

body.login-modern .login-card-body {
    padding: 24px 28px 28px;
    background: transparent;
}

body.login-modern .login-card-body h3 {
    margin: 0 0 16px;
    color: #e2e8f0;
    font-size: 16px;
    font-weight: 700;
}

body.login-modern .form-group {
    margin-bottom: 14px;
}

body.login-modern .login-field-label {
    display: block;
    margin-bottom: 6px;
    font-size: 13px;
    font-weight: 600;
    color: #cbd5e1;
}

body.login-modern .form-control {
    height: 48px;
    border-radius: 12px;
    border: 1px solid rgba(56, 189, 248, 0.35);
    background: rgba(2, 6, 23, 0.55);
    color: #f8fafc;
    box-shadow: none;
    padding-left: 44px;
    font-size: 14px;
}

body.login-modern .form-control.captcha-input {
    padding-left: 12px;
}

body.login-modern .form-control::placeholder {
    color: #64748b;
}

body.login-modern .form-control:focus {
    border-color: #38bdf8;
    box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.18);
    background: rgba(2, 6, 23, 0.75);
    color: #fff;
}

body.login-modern .input-wrap {
    position: relative;
}

body.login-modern .input-wrap i {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: #64748b;
    z-index: 2;
}

body.login-modern .toggle-password {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    border: 0;
    background: transparent;
    color: #94a3b8;
    cursor: pointer;
    z-index: 2;
}

body.login-modern .btn-login {
    width: 100%;
    height: 48px;
    border: 0;
    border-radius: 12px;
    background: linear-gradient(135deg, #2563eb 0%, #0ea5e9 100%);
    color: #fff;
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 0.2px;
    box-shadow: 0 12px 28px rgba(37, 99, 235, 0.35);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

body.login-modern .btn-login:hover,
body.login-modern .btn-login:focus {
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 16px 34px rgba(37, 99, 235, 0.42);
}

body.login-modern .btn-login.is-loading {
    opacity: 0.75;
    cursor: wait;
}

body.login-modern .alert {
    border-radius: 12px;
    border: 0;
    margin-bottom: 14px;
}

body.login-modern .login-support {
    margin-top: 14px;
    text-align: center;
    color: #94a3b8;
    font-size: 12px;
}

body.login-modern .login-support a {
    color: #38bdf8;
    font-weight: 700;
    text-decoration: none;
}

body.login-modern .login-notice-panel {
    border-radius: 20px;
    border: 1px solid rgba(148, 163, 184, 0.18);
    background: rgba(15, 23, 42, 0.55);
    backdrop-filter: blur(12px);
    padding: 22px 24px;
    color: #e2e8f0;
    max-height: 280px;
    overflow: auto;
}

body.login-modern .login-notice-below {
    margin-top: 14px;
}

body.login-modern .login-notice-panel h3 {
    margin-top: 0;
    color: #f8fafc;
    font-size: 15px;
    font-weight: 700;
    text-align: center;
}

body.login-modern .login-notice-panel h4 {
    color: #cbd5e1;
    font-size: 14px;
}

body.login-modern .login-notice-panel p {
    color: #94a3b8;
    font-size: 13px;
}

@keyframes loginGlow {
    0%, 100% { transform: scale(1); opacity: 0.28; }
    50% { transform: scale(1.08); opacity: 0.42; }
}

body.login-modern .form-control.input-error {
    border-color: #f87171;
    box-shadow: 0 0 0 3px rgba(248, 113, 113, 0.18);
}

body.login-modern .hp-field {
    position: absolute;
    left: -9999px;
    opacity: 0;
    height: 0;
    width: 0;
    overflow: hidden;
}

@media (max-width: 991px) {
    body.login-modern .login-bg-contact {
        left: 50%;
        bottom: 12px;
        transform: translateX(-50%);
        max-width: calc(100% - 32px);
        width: 100%;
        padding: 14px 16px;
    }

    body.login-modern .login-shell {
        padding-bottom: 180px;
    }

    body.login-modern .login-notice-panel {
        max-height: none;
    }
}

@media (max-width: 575px) {
    body.login-modern .login-bg-contact {
        display: none;
    }

    body.login-modern .login-shell {
        padding-bottom: 0;
    }
}
