:root {
    --hqd-brand: #44d7b6;
    --hqd-brand-2: #55a8ff;
    --hqd-accent: #ffd166;
    --hqd-text: #eef6ff;
    --hqd-muted: #9fb4ca;
}

.hqd-theme-dark {
    color-scheme: dark;
    --main-bg-color: #172227;
    --main-color: #eaf6ff;
    --panel-bg-clr: #1d2a2f;
    --border-color: #41535b;
    --btn-bg-clr: #22323a;
    --btn-clr: #eef6ff;
    --btn-border-clr: #51646d;
    --input-bg-clr: #101b21;
    --input-clr: #eef6ff;
    --input-border-clr: #566973;
    --dropdown-menu-bg-color: #172227;
    --dropdown-menu-color: #eef6ff;
    --dropdown-menu-hover-bg-color: #2d4855;
    --dropdown-menu-hover-color: #ffffff;
    --dialog-bg-clr: #172227;
    --dialog-clr: #eef6ff;
    --folders-color: #d8e8f1;
    --folders-hover-bg-color: #2d4855;
    --folders-hover-color: #ffffff;
    --folders-selected-bg-color: #334a52;
    --folders-selected-color: #ffffff;
    --settings-menu-color: #d8e8f1;
    --settings-menu-hover-bg-color: #2d4855;
    --settings-menu-hover-color: #ffffff;
    --settings-menu-selected-bg-color: #334a52;
    --settings-menu-selected-color: #ffffff;
    --link-color: #22b8ff;
    --login-bg-color: rgba(16, 27, 33, .82);
    --login-color: rgba(238, 246, 255, .9);
    --loading-color: #eef6ff;
}

.hqd-theme-light {
    color-scheme: light;
    --main-bg-color: #eef5f7;
    --main-color: #17242d;
    --panel-bg-clr: #ffffff;
    --border-color: #cfdde4;
    --btn-bg-clr: #ffffff;
    --btn-clr: #17242d;
    --btn-border-clr: #c2d2da;
    --input-bg-clr: #ffffff;
    --input-clr: #17242d;
    --input-border-clr: #bccdd5;
    --dropdown-menu-bg-color: #ffffff;
    --dropdown-menu-color: #17242d;
    --dropdown-menu-hover-bg-color: #e4f4f7;
    --dropdown-menu-hover-color: #0f2630;
    --dialog-bg-clr: #ffffff;
    --dialog-clr: #17242d;
    --folders-color: #20343d;
    --folders-hover-bg-color: #e4f4f7;
    --folders-hover-color: #0f2630;
    --folders-selected-bg-color: #d5eef3;
    --folders-selected-color: #0f2630;
    --settings-menu-color: #20343d;
    --settings-menu-hover-bg-color: #e4f4f7;
    --settings-menu-hover-color: #0f2630;
    --settings-menu-selected-bg-color: #d5eef3;
    --settings-menu-selected-color: #0f2630;
    --link-color: #0077ad;
    --login-bg-color: rgba(255, 255, 255, .88);
    --login-color: rgba(23, 36, 45, .88);
    --loading-color: #17242d;
    --message-header-bg-clr: #f4f9fb;
    --message-list-toolbar-bg-color: #eef7fa;
    --toolbar-bg-clr: #eef7fa;
    --toolbar-clr: #17242d;
}

.hqd-theme-light body,
.hqd-theme-light #rl-app {
    background: #eef5f7 !important;
    color: #17242d;
}

.hqd-theme-light #rl-left,
.hqd-theme-light #rl-right,
.hqd-theme-light #V-MailMessageList,
.hqd-theme-light #V-MailMessageView {
    color: #17242d !important;
}

.hqd-theme-light #rl-left {
    background: #eef7fa !important;
    border-right: 1px solid #cbdce4;
}

.hqd-theme-light #rl-left .b-content,
.hqd-theme-light #rl-left .b-toolbar {
    background: #eef7fa !important;
    color: #17242d !important;
}

.hqd-theme-light .b-folders li a,
.hqd-theme-light .b-folders li a span,
.hqd-theme-light .b-folders .fontastic,
.hqd-theme-light #V-SystemDropDown,
.hqd-theme-light #V-SystemDropDown a,
.hqd-theme-light #V-SystemDropDown .accountPlace {
    color: #17242d !important;
}

.hqd-theme-light .b-folders li a:hover {
    background: #dff1f6 !important;
    color: #0f2630 !important;
}

.hqd-theme-light .b-folders li.selected > a,
.hqd-theme-light .b-folders li a.selected {
    background: #d5eef3 !important;
    color: #0f2630 !important;
}

.hqd-theme-light .btn,
.hqd-theme-light .btn.btn-transparent,
.hqd-theme-light .btn-group .btn {
    background-color: #ffffff !important;
    border-color: #b9cbd4 !important;
    color: #17242d !important;
}

.hqd-theme-light .btn:hover,
.hqd-theme-light .btn.btn-transparent:hover {
    background-color: #f2f9fb !important;
    color: #0f2630 !important;
}

.hqd-theme-light .messageList,
.hqd-theme-light .messageView {
    background: #ffffff !important;
    border-color: #cbdce4 !important;
    color: #17242d !important;
}

.hqd-theme-light .messageList .second-toolbar,
.hqd-theme-light .messageList .b-footer,
.hqd-theme-light .messageView .messageItemHeader,
.hqd-theme-light #messageItem .bodySubHeader,
.hqd-theme-light #V-MailMessageView .top-toolbar {
    background: #f4f9fb !important;
    border-color: #cbdce4 !important;
    color: #17242d !important;
}

.hqd-theme-light .search-input-wrp,
.hqd-theme-light .messageList .search-input-wrp {
    background: transparent !important;
}

.hqd-theme-light input,
.hqd-theme-light input[type="text"],
.hqd-theme-light input[type="search"],
.hqd-theme-light .messageList .inputSearch {
    background: #ffffff !important;
    border-color: #b9cbd4 !important;
    color: #17242d !important;
    -webkit-text-fill-color: #17242d !important;
}

.hqd-theme-light input::placeholder {
    color: #69798a !important;
    opacity: 1 !important;
}

.hqd-theme-light .messageListItem {
    background: #ffffff !important;
    border-bottom-color: #e0e9ee !important;
    color: #17242d !important;
}

.hqd-theme-light .messageListItem .senderParent,
.hqd-theme-light .messageListItem .subjectParent,
.hqd-theme-light .messageListItem time,
.hqd-theme-light .messageListItem .sizeParent {
    color: #17242d !important;
}

.hqd-theme-light .messageListItem.focused {
    background: #eef6fb !important;
}

.hqd-theme-light .messageListItem.selected {
    background: #d7ebff !important;
    border-left-color: #2d8cff !important;
    color: #0f2630 !important;
}

.hqd-theme-light .messageListItem.unseen {
    background: #fff9df !important;
    color: #17242d !important;
}

.hqd-theme-light .messageView .messageItemHeader .subject,
.hqd-theme-light .messageView .messageItemHeader .informationShort,
.hqd-theme-light .messageView .messageItemHeader .informationFull,
.hqd-theme-light .messageView .messageItemHeader td,
.hqd-theme-light #messageItem,
.hqd-theme-light #messageItem .b-text-part,
.hqd-theme-light #messageItem .b-text-part * {
    color: #17242d !important;
}

.hqd-theme-light .messageView .messageItemHeader a,
.hqd-theme-light #messageItem a {
    color: #006fb0 !important;
}

.hqd-theme-light #messageItem .bodySubHeader .btn {
    background: #ffffff !important;
    color: #17242d !important;
}

.hqd-theme-dark body,
.hqd-theme-dark #rl-app {
    background:
        radial-gradient(circle at 18% 18%, rgba(68, 215, 182, .18), transparent 28%),
        radial-gradient(circle at 82% 12%, rgba(85, 168, 255, .16), transparent 28%),
        linear-gradient(135deg, #07111f 0%, #172227 52%, #08131f 100%) !important;
}

.hqd-mail-brand,
.hqd-mail-footer,
.hqd-theme-toggle {
    position: fixed;
    z-index: 100;
    font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.hqd-mail-footer {
    pointer-events: none;
}

.hqd-mail-brand {
    left: 14px;
    bottom: 44px;
    display: flex;
    align-items: center;
    gap: 9px;
    max-width: min(240px, calc(100vw - 28px));
    padding: 8px 10px;
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 8px;
    background: rgba(7, 17, 31, .78);
    box-shadow: 0 10px 34px rgba(0, 0, 0, .24);
    color: var(--hqd-text);
    backdrop-filter: blur(14px);
    cursor: pointer;
    pointer-events: auto;
    text-decoration: none;
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.hqd-mail-brand:hover,
.hqd-mail-brand:focus-visible {
    border-color: rgba(68, 215, 182, .55);
    box-shadow: 0 14px 38px rgba(0, 0, 0, .3);
    transform: translateY(-2px);
    outline: none;
}

.hqd-mail-brand img {
    width: 58px;
    height: 30px;
    flex: 0 0 auto;
    border-radius: 0;
    object-fit: contain;
}

.hqd-mail-brand strong {
    display: block;
    font-size: 13px;
    line-height: 1.05;
    letter-spacing: 0;
}

.hqd-mail-brand span {
    display: block;
    margin-top: 2px;
    color: var(--hqd-muted);
    font-size: 11px;
    line-height: 1.1;
}

.hqd-mail-footer {
    right: 148px;
    bottom: 10px;
    max-width: calc(100vw - 162px);
    padding: 6px 9px;
    border-radius: 8px;
    background: rgba(7, 17, 31, .58);
    color: rgba(238, 246, 255, .72);
    font-size: 11px;
    line-height: 1.2;
    backdrop-filter: blur(12px);
}

.hqd-theme-toggle {
    right: 14px;
    bottom: 10px;
    width: 42px;
    height: 34px;
    min-width: 42px;
    min-height: 34px;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 8px;
    background: linear-gradient(135deg, var(--hqd-brand), var(--hqd-brand-2));
    box-shadow: 0 10px 30px rgba(0, 0, 0, .25);
    color: #07111f;
    cursor: pointer;
    font-size: 19px;
    font-weight: 800;
    line-height: 1;
}

.hqd-theme-light .hqd-mail-brand,
.hqd-theme-light .hqd-mail-footer {
    border-color: rgba(7, 17, 31, .12);
    background: rgba(255, 255, 255, .82);
    color: #17242d;
}

.hqd-theme-light .hqd-mail-brand span,
.hqd-theme-light .hqd-mail-footer {
    color: rgba(23, 36, 45, .68);
}

#V-Login,
#V-AdminLogin {
    max-width: 460px;
}

/* Keep every admin login field editable above decorative layers. */
#V-AdminLogin,
#V-AdminLogin form,
#V-AdminLogin .controls {
    pointer-events: auto !important;
}

#V-AdminLogin {
    position: fixed !important;
    top: 50% !important;
    left: 50% !important;
    width: min(430px, calc(100vw - 32px)) !important;
    transform: translate(-50%, -50%) !important;
}

#V-AdminLogin form {
    position: relative;
    z-index: 10;
    padding: 34px 36px 30px;
    border: 1px solid rgba(23, 36, 45, .12);
    border-top: 4px solid var(--hqd-brand);
    border-radius: 16px;
    background: rgba(255, 255, 255, .96);
    box-shadow: 0 24px 70px rgba(29, 55, 68, .16);
    backdrop-filter: blur(18px);
}

#V-AdminLogin .descWrapper {
    margin-bottom: 5px;
    color: #17242d;
    font-size: 30px;
    line-height: 1.2;
    letter-spacing: -.6px;
    text-shadow: none;
}

#V-AdminLogin .hqd-admin-login-subtitle {
    margin: 0 0 22px;
    color: #607783;
    font-size: 13px;
    line-height: 1.5;
    text-align: center;
}

#V-AdminLogin .controls {
    position: relative;
    margin-bottom: 14px;
}

#V-AdminLogin .controls > .fontastic {
    pointer-events: none !important;
}

#V-AdminLogin input.input-block-level {
    position: relative;
    z-index: 2;
    pointer-events: auto !important;
    user-select: text !important;
    -webkit-user-select: text !important;
    touch-action: manipulation;
    height: 50px;
    border: 1px solid #c9d8df;
    border-radius: 9px;
    background: #f8fbfc;
    color: #17242d;
    box-shadow: none;
}

#V-AdminLogin input.input-block-level:hover,
#V-AdminLogin input.input-block-level:focus {
    border-color: #39aeca;
    background: #fff;
    box-shadow: 0 0 0 4px rgba(57, 174, 202, .12);
}

#V-AdminLogin .buttonLogin {
    height: 50px;
    margin-top: 4px;
    border: 0;
    border-radius: 9px;
    background: linear-gradient(135deg, #38cbb7, #3d9ff1);
    box-shadow: 0 12px 26px rgba(44, 158, 196, .22);
    color: #071b25 !important;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .25px;
}

@media (max-height: 620px) {
    #V-AdminLogin {
        top: 52% !important;
    }

    #V-AdminLogin form {
        padding-top: 24px;
        padding-bottom: 20px;
    }
}

#V-Login::before,
#V-AdminLogin::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(255, 255, 255, .055) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
    background-size: 74px 74px;
    mask-image: linear-gradient(to bottom, rgba(0, 0, 0, .88), transparent 78%);
}

.LoginView::before {
    content: "";
    display: block;
    width: min(230px, 72vw);
    height: 82px;
    margin: 0 auto 16px;
    border-radius: 0;
    background: url("hqd-logo-main.png") center / contain no-repeat;
    filter: drop-shadow(0 18px 34px rgba(0, 0, 0, .28));
}

.LoginView::after {
    content: "Bản quyền 2026 HQD High Technology. Tất cả các quyền được bảo lưu.";
    display: block;
    margin-top: 14px;
    color: rgba(238, 246, 255, .78);
    font-size: 12px;
    text-align: center;
    text-shadow: 0 1px 10px rgba(0, 0, 0, .28);
}

.hqd-theme-light .LoginView::after {
    color: rgba(23, 36, 45, .68);
}

.LoginView .descWrapper:empty::before {
    content: "HQD Webmail";
}

.LoginView .descWrapper {
    color: var(--loading-color);
    font-size: 30px;
    font-weight: 800;
    margin-bottom: 14px;
}

.LoginView form {
    padding: 34px 34px 24px;
    border: 1px solid rgba(255, 255, 255, .18);
    border-top: 3px solid var(--hqd-brand);
    border-radius: 8px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, .11), rgba(255, 255, 255, .045)),
        var(--login-bg-color);
    box-shadow: 0 28px 80px rgba(0, 0, 0, .42);
    backdrop-filter: blur(22px);
}

.LoginView .controls,
.LoginView .control-group {
    margin-bottom: 17px;
}

.LoginView input {
    height: 48px;
    border-radius: 8px;
    border-color: rgba(255, 255, 255, .22);
    background: rgba(7, 17, 31, .62);
    box-shadow: none;
    transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}

.LoginView input:focus,
.LoginView input:hover {
    border-color: rgba(68, 215, 182, .76);
    background: rgba(7, 17, 31, .82);
    box-shadow: 0 0 0 4px rgba(68, 215, 182, .14);
}

.hqd-theme-light .LoginView form {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, .92), rgba(255, 255, 255, .82)),
        var(--login-bg-color);
}

.hqd-theme-light .LoginView input {
    background: rgba(255, 255, 255, .9);
    border-color: rgba(23, 36, 45, .16);
}

.hqd-theme-light .LoginView input:focus,
.hqd-theme-light .LoginView input:hover {
    background: #fff;
}

.LoginView .buttonLogin {
    height: 48px;
    border-color: rgba(68, 215, 182, .75);
    border-radius: 8px;
    background: linear-gradient(135deg, var(--hqd-brand), var(--hqd-brand-2));
    box-shadow: 0 16px 34px rgba(68, 215, 182, .18);
    color: #07111f !important;
    font-weight: 800;
    letter-spacing: 0;
}

.LoginView .buttonLogin:hover,
.LoginView .buttonLogin:active {
    opacity: 1;
    filter: saturate(1.08);
}

.LoginView .e-checkbox {
    color: var(--login-color);
    font-size: 13px;
}

@media (max-width: 799px) {
    .hqd-mail-brand {
        display: none;
    }

    .hqd-mail-footer {
        left: 10px;
        right: 144px;
        max-width: none;
        text-align: center;
    }

    .hqd-theme-toggle {
        right: 10px;
    }
}

#V-Login {
    width: min(1060px, calc(100vw - 32px));
    max-width: none;
}

#V-Login.LoginView,
.LoginView:has(.hqd-login-shell) {
    width: min(1060px, calc(100vw - 32px));
    max-width: none;
}

.LoginView .hqd-login-shell {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 22px;
    align-items: stretch;
    width: min(1060px, calc(100vw - 32px));
    margin: 0 auto;
}

.LoginView .hqd-login-hero,
.LoginView .hqd-login-panel {
    border: 1px solid rgba(20, 42, 72, .12);
    border-radius: 8px;
    background: rgba(255, 255, 255, .82);
    box-shadow: 0 28px 80px rgba(29, 64, 120, .18);
    color: #102033;
    overflow: hidden;
}

.LoginView .hqd-login-hero {
    min-height: 520px;
    padding: clamp(30px, 5vw, 58px);
    position: relative;
}

.LoginView .hqd-login-hero::after {
    content: "";
    position: absolute;
    right: -90px;
    top: -90px;
    width: 260px;
    height: 260px;
    border-radius: 999px;
    background: linear-gradient(135deg, rgba(22, 119, 255, .18), rgba(49, 214, 194, .28));
}

.LoginView .hqd-login-topbar,
.LoginView .hqd-login-copy {
    position: relative;
    z-index: 1;
}

.LoginView .hqd-login-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 62px;
}

.LoginView .hqd-login-brand {
    display: inline-flex;
    align-items: center;
    gap: 14px;
}

.LoginView .hqd-login-logo {
    width: 56px;
    height: 56px;
    border-radius: 18px;
    background: #fff;
    display: grid;
    place-items: center;
    overflow: hidden;
    box-shadow: 0 14px 34px rgba(22, 119, 255, .16);
    border: 1px solid rgba(22, 119, 255, .10);
}

.LoginView .hqd-login-logo img {
    max-width: 78%;
    max-height: 78%;
    object-fit: contain;
}

.LoginView .hqd-login-logo span {
    display: none;
    font-weight: 900;
    color: #1677ff;
}

.LoginView .hqd-login-brand strong,
.LoginView .hqd-login-brand small {
    display: block;
}

.LoginView .hqd-login-brand strong {
    font-size: 20px;
}

.LoginView .hqd-login-brand small,
.LoginView .hqd-login-copy p,
.LoginView .hqd-login-intro p {
    color: #66758a;
}

.LoginView .hqd-login-status {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 10px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .66);
    border: 1px solid rgba(20, 42, 72, .12);
    color: #31506f;
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
}

.LoginView .hqd-login-status span {
    width: 9px;
    height: 9px;
    border-radius: 999px;
    background: #24c78e;
    box-shadow: 0 0 0 6px rgba(36, 199, 142, .12);
}

.LoginView .hqd-login-eyebrow {
    display: inline-flex;
    align-items: center;
    margin-bottom: 18px;
    padding: 9px 13px;
    border-radius: 999px;
    color: #0b6d89;
    background: rgba(49, 214, 194, .13);
    border: 1px solid rgba(49, 214, 194, .25);
    font-size: 13px;
    font-weight: 800;
}

.LoginView .hqd-login-copy h1 {
    margin: 0;
    font-size: clamp(44px, 7vw, 78px);
    line-height: .95;
    letter-spacing: 0;
}

.LoginView .hqd-login-copy h1 span {
    background: linear-gradient(90deg, #1677ff, #00a6ff, #31d6c2);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.LoginView .hqd-login-copy p {
    max-width: 600px;
    margin: 24px 0 0;
    font-size: 18px;
    line-height: 1.7;
}

.LoginView .hqd-login-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 13px;
    margin-top: 34px;
}

.LoginView .hqd-login-actions a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 22px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 800;
}

.LoginView .hqd-login-link-primary {
    color: #fff;
    background: linear-gradient(135deg, #1677ff, #00a6ff);
    box-shadow: 0 16px 32px rgba(22, 119, 255, .28);
}

.LoginView .hqd-login-link-secondary {
    color: #24415f;
    background: rgba(255, 255, 255, .72);
    border: 1px solid rgba(20, 42, 72, .12);
}

.LoginView .hqd-login-panel {
    padding: 22px;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.LoginView .hqd-login-intro,
.LoginView .hqd-login-form-card {
    border-radius: 8px;
    background: linear-gradient(180deg, #fff, rgba(255, 255, 255, .68));
    border: 1px solid rgba(20, 42, 72, .10);
}

.LoginView .hqd-login-intro {
    min-height: 205px;
    padding: 22px;
    position: relative;
    overflow: hidden;
}

.LoginView .hqd-login-intro::before,
.LoginView .hqd-login-form-card::before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 6px;
    background: linear-gradient(90deg, #1677ff, #31d6c2);
}

.LoginView .hqd-login-icon {
    width: 64px;
    height: 64px;
    border-radius: 22px;
    display: grid;
    place-items: center;
    color: #fff;
    background: linear-gradient(135deg, #1677ff, #31d6c2);
    box-shadow: 0 16px 34px rgba(22, 119, 255, .24);
    margin-bottom: 20px;
}

.LoginView .hqd-login-icon svg {
    display: block !important;
    width: 40px !important;
    height: 40px !important;
    overflow: visible !important;
}

.LoginView .hqd-login-intro h2 {
    margin: 0;
    font-size: 24px;
}

.LoginView .hqd-login-form-card {
    position: relative;
    padding: 18px;
}

.LoginView .hqd-login-form-card .descWrapper {
    display: none;
}

.LoginView .hqd-login-form-card .alert {
    position: relative !important;
    left: auto !important;
    right: auto !important;
    top: auto !important;
    display: block !important;
    width: auto !important;
    max-width: none !important;
    min-height: 0 !important;
    margin: 0 0 14px !important;
    padding: 11px 38px 11px 14px !important;
    z-index: 80 !important;
    color: #8a4b00 !important;
    background: #fff6db !important;
    border: 1px solid #f2d58f !important;
    border-radius: 8px !important;
    box-sizing: border-box !important;
    line-height: 1.35 !important;
    opacity: 1 !important;
}

.LoginView .hqd-login-form-card .alert[hidden] {
    display: none !important;
}

.LoginView .hqd-login-form-card .alert .close {
    position: absolute !important;
    top: 6px !important;
    right: 10px !important;
    color: inherit !important;
}

.LoginView::before,
.LoginView::after,
.LoginView form::before {
    display: none !important;
    content: none !important;
}

.LoginView form {
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
}

.LoginView .controls,
.LoginView .control-group {
    margin-bottom: 12px;
}

.LoginView #plugin-Login-BottomControlGroup {
    display: block;
}

.LoginView .hqd-tfa-login-fields {
    display: block;
}

.LoginView .hqd-tfa-code-control {
    margin-bottom: 8px;
}

.LoginView .hqd-tfa-remember-control {
    display: block !important;
    min-height: 0 !important;
    height: auto !important;
    margin: -2px 0 12px !important;
    padding: 0 !important;
    color: #37536f;
}

.LoginView .hqd-tfa-remember-label {
    display: flex !important;
    align-items: flex-start;
    gap: 8px;
    width: 100%;
    margin: 0 !important;
    line-height: 1.35;
    cursor: pointer;
    font-size: 12px;
    color: #37536f;
}

.LoginView .hqd-tfa-remember-label input[type="checkbox"] {
    width: 16px !important;
    height: 16px !important;
    min-height: 16px !important;
    margin: 1px 0 0 !important;
    flex: 0 0 16px;
    cursor: pointer;
}

.LoginView .hqd-tfa-remember-label span {
    display: block;
    min-width: 0;
    white-space: nowrap;
}

.LoginView input {
    width: 100%;
    height: 44px;
    border-radius: 8px;
    border: 1px solid rgba(20, 42, 72, .14);
    background: rgba(255, 255, 255, .92);
    color: #102033;
}

.LoginView input:focus,
.LoginView input:hover {
    background: #fff;
    border-color: rgba(22, 119, 255, .45);
    box-shadow: 0 0 0 4px rgba(22, 119, 255, .10);
}

.LoginView .buttonLogin {
    width: 100%;
    height: 46px;
    border-radius: 8px;
    color: #07111f !important;
    background: linear-gradient(135deg, #44d7b6, #55a8ff);
}

.LoginView .hqd-login-options {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    color: #37536f;
}

.LoginView .hqd-login-footer {
    margin-top: auto;
    color: #66758a;
    font-size: 12px;
    text-align: center;
}

.hqd-theme-dark .LoginView .hqd-login-hero,
.hqd-theme-dark .LoginView .hqd-login-panel {
    background: rgba(255, 255, 255, .86);
    color: #102033;
}

@media (max-width: 900px) {
    #V-Login,
    #V-Login.LoginView,
    .LoginView:has(.hqd-login-shell),
    .LoginView .hqd-login-shell {
        width: min(560px, calc(100vw - 28px));
    }

    .LoginView .hqd-login-shell {
        grid-template-columns: 1fr;
    }

    .LoginView .hqd-login-hero {
        display: none;
    }
}
