:root {
    --login-navy: #0f2e5d;
    --login-blue: #1d5fd0;
    --login-blue-dark: #15479e;
    --login-gold: #d5a72a;
    --login-ink: #17233a;
    --login-muted: #60708a;
    --login-border: #d8e3f0;
}

* { box-sizing: border-box; }
body.helpdesk-login-page { background: #f4f7fb; color: var(--login-ink); font-family: 'Source Sans Pro', Arial, sans-serif; min-height: 100vh; }
body.helpdesk-login-page a:hover, body.helpdesk-login-page a:focus { text-decoration: none; }
.helpdesk-login-shell { background: linear-gradient(136deg, #0d2b58 0%, #104789 57%, #1b61b9 100%); min-height: 100vh; overflow: hidden; padding: 82px 0 52px; position: relative; }
.helpdesk-login-shell:before, .helpdesk-login-shell:after { border: 1px solid rgba(255, 255, 255, .12); border-radius: 50%; content: ''; pointer-events: none; position: absolute; }
.helpdesk-login-shell:before { height: 580px; left: -230px; top: -295px; width: 580px; }
.helpdesk-login-shell:after { bottom: -270px; height: 510px; right: -165px; width: 510px; }
.helpdesk-login-shell .container { position: relative; z-index: 1; }
.helpdesk-login-back { color: #dceaff; font-size: 14px; font-weight: 600; left: 35px; position: absolute; top: 26px; z-index: 2; }
.helpdesk-login-back i { margin-right: 6px; transition: transform .2s ease; }
.helpdesk-login-back:hover, .helpdesk-login-back:focus { color: #fff; }
.helpdesk-login-back:hover i, .helpdesk-login-back:focus i { transform: translateX(-3px); }
.helpdesk-login-intro { color: #fff; padding: 20px 55px 20px 18px; }
.helpdesk-login-brand { align-items: center; color: #fff; display: inline-flex; gap: 11px; margin-bottom: 64px; }
.helpdesk-login-brand > span { background: rgba(255, 255, 255, .95); border-radius: 11px; display: inline-flex; height: 48px; overflow: hidden; padding: 2px; width: 48px; }
.helpdesk-login-brand img { border-radius: 9px; height: 100%; object-fit: cover; width: 100%; }
.helpdesk-login-brand strong { font-size: 20px; line-height: 1.08; }
.helpdesk-login-brand small { color: #cddfff; display: block; font-size: 11px; font-weight: 600; margin-top: 4px; }
.helpdesk-login-kicker { color: #dbeafe; font-size: 12px; font-weight: 700; letter-spacing: .08em; margin-bottom: 11px; text-transform: uppercase; }
.helpdesk-login-kicker i { color: #f2c94c; margin-right: 6px; }
.helpdesk-login-intro h1 { font-size: 45px; font-weight: 700; letter-spacing: -.035em; line-height: 1.08; margin-bottom: 18px; max-width: 520px; }
.helpdesk-login-lead { color: #d6e6fd; font-size: 18px; line-height: 1.65; margin-bottom: 28px; max-width: 540px; }
.helpdesk-login-points { display: flex; flex-direction: column; gap: 10px; }
.helpdesk-login-points span { color: #e6f0ff; font-size: 15px; }
.helpdesk-login-points i { color: #8ee5b3; margin-right: 7px; }

.helpdesk-login-card { background: #fff; border: 1px solid rgba(255, 255, 255, .9); border-radius: 15px; box-shadow: 0 24px 52px rgba(4, 23, 55, .28); padding: 29px; }
.helpdesk-login-card-head { margin-bottom: 20px; }
.helpdesk-login-card-head p { color: var(--login-blue); font-size: 11px; font-weight: 700; letter-spacing: .08em; margin: 0 0 5px; }
.helpdesk-login-card-head h2 { color: var(--login-ink); font-size: 28px; font-weight: 700; letter-spacing: -.02em; margin: 0 0 4px; }
.helpdesk-login-card-head span { color: var(--login-muted); font-size: 14px; }
.helpdesk-sso-action { align-items: center; background: #eff6ff; border: 1px solid #bfdbfe; border-radius: 10px; color: var(--login-ink); display: flex; gap: 11px; padding: 13px; transition: background .2s ease, border-color .2s ease, transform .2s ease; }
.helpdesk-sso-action:hover, .helpdesk-sso-action:focus { background: #dbeafe; border-color: #93c5fd; color: var(--login-ink); transform: translateY(-1px); }
.helpdesk-sso-icon { align-items: center; background: #fff; border: 1px solid #dbeafe; border-radius: 8px; display: inline-flex; flex: 0 0 auto; height: 38px; justify-content: center; padding: 4px; width: 38px; }
.helpdesk-sso-icon img { max-height: 100%; max-width: 100%; object-fit: contain; }
.helpdesk-sso-action > span:nth-child(2) { flex: 1; min-width: 0; }
.helpdesk-sso-action strong, .helpdesk-sso-action small { display: block; }
.helpdesk-sso-action strong { font-size: 15px; font-weight: 700; }
.helpdesk-sso-action small { color: var(--login-muted); font-size: 12px; margin-top: 2px; }
.helpdesk-sso-action > i { color: var(--login-blue); }
.helpdesk-sso-note { color: #5d6d85; font-size: 12px; line-height: 1.45; margin: 8px 1px 0; }
.helpdesk-sso-note i { color: var(--login-blue); margin-right: 4px; }
.helpdesk-login-divider { align-items: center; color: #94a3b8; display: flex; font-size: 12px; gap: 11px; margin: 21px 0 19px; text-transform: lowercase; }
.helpdesk-login-divider:before, .helpdesk-login-divider:after { background: #e2e8f0; content: ''; flex: 1; height: 1px; }
.helpdesk-public-login h3 { color: #334155; font-size: 17px; font-weight: 700; margin: 0 0 3px; }
.helpdesk-public-login > p { color: var(--login-muted); font-size: 13px; margin-bottom: 16px; }
.helpdesk-public-login .alert { border-radius: 8px; font-size: 13px; margin-bottom: 14px; padding: 10px 12px; }
.helpdesk-public-login .form-group { margin-bottom: 15px; }
.helpdesk-public-login label { color: #334155; display: block; font-size: 13px; font-weight: 700; margin-bottom: 6px; }
.helpdesk-password-label { align-items: center; display: flex; justify-content: space-between; }
.helpdesk-password-label a { color: var(--login-blue); font-size: 12px; font-weight: 600; margin-bottom: 6px; }
.helpdesk-input-wrap { position: relative; }
.helpdesk-input-wrap > i { color: #8191a8; left: 12px; position: absolute; top: 13px; }
.helpdesk-input-wrap .form-control { border: 1px solid #cad7e6; border-radius: 8px; box-shadow: none; color: #334155; font-size: 14px; height: 43px; padding: 9px 40px 9px 35px; }
.helpdesk-input-wrap .form-control:focus { border-color: #7eadeb; box-shadow: 0 0 0 3px rgba(37, 99, 235, .12); }
.helpdesk-input-wrap button { background: transparent; border: 0; color: #64748b; cursor: pointer; padding: 8px; position: absolute; right: 3px; top: 3px; }
.helpdesk-input-wrap button:hover, .helpdesk-input-wrap button:focus { color: var(--login-blue); outline: 0; }
.helpdesk-public-submit { background: var(--login-blue); border: 1px solid var(--login-blue); border-radius: 8px; color: #fff; font-size: 14px; font-weight: 700; height: 44px; margin-top: 2px; width: 100%; }
.helpdesk-public-submit:hover, .helpdesk-public-submit:focus { background: var(--login-blue-dark); border-color: var(--login-blue-dark); box-shadow: none; color: #fff; }
.helpdesk-public-submit i { margin-right: 5px; }
.helpdesk-register-link { color: var(--login-muted); font-size: 13px; margin: 17px 0 0 !important; text-align: center; }
.helpdesk-register-link a { color: var(--login-blue); font-weight: 700; }
.helpdesk-login-footer { color: #d4e4fb; font-size: 12px; margin: 16px 0 0; text-align: center; }
.helpdesk-register-card { padding-bottom: 25px; }
.helpdesk-register-notice { align-items: flex-start; background: #f0f7ff; border: 1px solid #cfe2fb; border-radius: 8px; color: #3f5f84; display: flex; font-size: 13px; gap: 8px; line-height: 1.45; margin-bottom: 17px; padding: 10px 11px; }
.helpdesk-register-notice > i { color: var(--login-blue); margin-top: 2px; }
.helpdesk-register-notice a { color: var(--login-blue); font-weight: 700; }
.helpdesk-register-feedback { font-size: 13px; margin-bottom: 15px; }
.helpdesk-register-feedback[hidden] { display: none; }
.helpdesk-public-login .form-group > small, .helpdesk-register-card .form-group > small { color: var(--login-muted); display: block; font-size: 11px; margin-top: 5px; }
.helpdesk-captcha-row { align-items: stretch; display: flex; gap: 7px; }
.helpdesk-captcha-image { align-items: center; background: #f8fafc; border: 1px solid #cad7e6; border-radius: 8px; display: inline-flex; flex: 0 0 118px; justify-content: center; overflow: hidden; padding: 3px; }
.helpdesk-captcha-image img { display: block; max-height: 37px; max-width: 100%; }
.helpdesk-captcha-row > button { background: #eff6ff; border: 1px solid #bfdbfe; border-radius: 8px; color: var(--login-blue); cursor: pointer; flex: 0 0 39px; font-size: 15px; }
.helpdesk-captcha-row > button:hover, .helpdesk-captcha-row > button:focus { background: #dbeafe; color: var(--login-blue-dark); outline: 0; }
.helpdesk-captcha-row .form-control { border: 1px solid #cad7e6; border-radius: 8px; box-shadow: none; flex: 1; height: 43px; min-width: 0; padding: 9px 10px; }
.helpdesk-captcha-row .form-control:focus { border-color: #7eadeb; box-shadow: 0 0 0 3px rgba(37, 99, 235, .12); }

@media (max-width: 991px) {
    .helpdesk-login-shell { padding-top: 78px; }
    .helpdesk-login-intro { padding: 0 20px 40px; text-align: center; }
    .helpdesk-login-brand { margin-bottom: 35px; }
    .helpdesk-login-intro h1, .helpdesk-login-lead { margin-left: auto; margin-right: auto; }
    .helpdesk-login-points { align-items: center; }
}

@media (max-width: 575px) {
    .helpdesk-login-shell { padding: 74px 0 35px; }
    .helpdesk-login-back { left: 19px; top: 20px; }
    .helpdesk-login-intro { padding: 0 11px 31px; }
    .helpdesk-login-brand { margin-bottom: 26px; }
    .helpdesk-login-intro h1 { font-size: 34px; }
    .helpdesk-login-lead { font-size: 16px; }
    .helpdesk-login-points { align-items: flex-start; text-align: left; }
    .helpdesk-login-card { border-radius: 13px; padding: 21px 18px; }
    .helpdesk-login-card-head h2 { font-size: 25px; }
    .helpdesk-captcha-image { flex-basis: 106px; }
}
