@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap");

:root {
    --login-bg: #edf4ff;
    --login-surface: #ffffff;
    --login-border: #d9e3f2;
    --login-text: #111827;
    --login-text-soft: #5f6f88;
    --login-muted: #94a3b8;
    --login-primary: #1f6ff2;
    --login-primary-strong: #155ad0;
    --login-danger: #dc3545;
}

.topbar,
#navbar-nav,
#buy-now-btn,
#buy-now-btn-xs,
.footer-v1,
#support-button,
#support-btn {
    display: none !important;
}

html,
body {
    min-height: 100%;
}

body,
body.container {
    width: auto;
    max-width: none;
    margin: 0;
    padding: 0;
    background: var(--login-bg);
}

body.header-fixed-space-default {
    padding-top: 0 !important;
}

.wrapper,
.content,
#vcPage {
    width: 100%;
    min-height: 100vh;
    margin: 0;
    background: transparent;
    box-shadow: none !important;
}

.header,
.header-sticky,
#navbar {
    display: none !important;
    min-height: 0;
    margin: 0;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
}

.header .navbar {
    min-height: 0;
    margin: 0;
}

.header .navbar-header,
.header .navbar-brand {
    display: none;
}

.login-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 26px;
    background:
        radial-gradient(circle at 14% 0%, rgba(35, 111, 242, 0.11), transparent 27%),
        radial-gradient(circle at 90% 78%, rgba(35, 111, 242, 0.08), transparent 30%),
        linear-gradient(180deg, #f4f8ff 0%, #edf4ff 100%);
    color: var(--login-text);
    font-family: Inter, "Segoe UI", sans-serif;
    font-size: 16px;
    line-height: 1.5;
}

.login-shell {
    width: min(100%, 1368px);
    overflow: hidden;
    border-radius: 20px;
    background: var(--login-surface);
    box-shadow: 0 24px 60px rgba(18, 39, 89, 0.16);
}

.login-main {
    min-height: 862px;
    display: grid;
    grid-template-columns: minmax(0, 1.24fr) minmax(420px, 1fr);
}

.login-panel {
    min-width: 0;
}

.login-panel--intro {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 62px 64px 0;
    overflow: hidden;
    color: #fff;
    background:
        radial-gradient(circle at 86% -8%, rgba(255, 255, 255, 0.08), transparent 34%),
        radial-gradient(circle at 94% 58%, rgba(63, 136, 255, 0.48), transparent 28%),
        linear-gradient(144deg, #063178 0%, #06479f 45%, #1368e3 100%);
}

.login-panel--intro::before {
    content: "";
    position: absolute;
    top: -210px;
    right: 160px;
    width: 430px;
    height: 430px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.035);
}

.login-panel--intro::after {
    content: "";
    position: absolute;
    right: -170px;
    bottom: 220px;
    width: 410px;
    height: 290px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.055);
    transform: rotate(-18deg);
}

.login-panel--intro > * {
    position: relative;
    z-index: 1;
}

.login-brand {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}

.login-brand--intro {
    width: fit-content;
    margin-bottom: 42px;
}

.login-brand--intro img {
    width: 180px;
    height: auto;
}

.login-intro {
    max-width: 560px;
}

.login-kicker {
    margin: 0 0 12px;
    color: #7bc3ff;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.4;
    letter-spacing: 0.19em;
    text-transform: uppercase;
}

.login-intro h1 {
    margin: 0 0 18px;
    color: #fff;
    font-size: clamp(42px, 4.1vw, 56px);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: 0;
}

.login-intro p {
    max-width: 430px;
    margin: 0;
    color: #fff;
    font-size: 18px;
    font-weight: 400;
    line-height: 1.5;
}

.login-scene {
    position: absolute;
    left: 64px;
    right: 64px;
    bottom: 150px;
    height: 260px;
    z-index: 1;
}

.login-visual-placeholder {
    width: 100%;
    height: 100%;
    border: 1.5px dashed rgba(255, 255, 255, 0.5);
    border-radius: 18px;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.06)),
        rgba(255, 255, 255, 0.08);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.login-feature-list {
    position: absolute;
    left: 64px;
    right: 64px;
    bottom: 26px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    z-index: 2;
}

.login-feature {
    min-height: 100px;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 24px;
    color: #fff;
    text-align: left;
}

.login-feature + .login-feature {
    border-left: 1px solid rgba(255, 255, 255, 0.28);
}

.login-feature__icon {
    width: 48px;
    height: 48px;
    margin-bottom: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #0d4d9f;
    color: #fff;
    font-size: 20px;
    box-shadow: 0 6px 12px rgba(12, 54, 113, 0.2);
}

.login-feature__text {
    width: 100%;
}

.login-feature__title {
    margin: 0 0 3px;
    color: #fff;
    font-size: 15px;
    font-weight: 800;
    line-height: 1.2;
}

.login-feature__desc {
    margin: 0;
    color: rgba(255, 255, 255, 0.84);
    font-size: 14px;
    font-weight: 500;
    line-height: 1.28;
}

.login-panel--form {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 70px 78px 60px;
    background: #fff;
}

.login-form-card {
    width: min(100%, 424px);
}

.login-heading {
    margin-bottom: 26px;
}

.login-heading h2 {
    margin: 0 0 10px;
    color: #071632;
    font-size: 34px;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: 0;
}

.login-heading p {
    max-width: 360px;
    margin: 0;
    color: var(--login-text-soft);
    font-size: 16px;
    font-weight: 400;
    line-height: 1.5;
}

.login-alert {
    margin-bottom: 18px;
    padding: 14px 16px;
    border: 1px solid rgba(220, 53, 69, 0.24);
    border-radius: 8px;
    background: rgba(220, 53, 69, 0.08);
    color: #991f2d;
    font-size: 15px;
    line-height: 1.45;
}

.login-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.login-field {
    display: flex;
    flex-direction: column;
    gap: 7px;
    margin: 0;
    color: #111827;
    font-size: 15px;
    font-weight: 700;
}

.login-field__control {
    min-height: 52px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0 16px;
    border: 1px solid #cbd6e8;
    border-radius: 6px;
    background: #fff;
    color: #64748b;
    transition: border-color 120ms ease, box-shadow 120ms ease;
}

.login-field__control:focus-within {
    border-color: var(--login-primary);
    box-shadow: 0 0 0 3px rgba(31, 111, 242, 0.14);
}

.login-field__control input {
    flex: 1 1 auto;
    min-width: 0;
    height: 50px;
    padding: 0;
    border: 0;
    outline: 0;
    background: transparent;
    color: var(--login-text);
    font-family: inherit;
    font-size: 16px;
    font-weight: 400;
}

.login-field__control input::placeholder {
    color: #9aabc2;
}

.login-field.has-error .login-field__control {
    border-color: rgba(220, 53, 69, 0.7);
}

.login-error {
    color: var(--login-danger);
    font-size: 14px;
    line-height: 1.4;
}

.login-pw-toggle {
    flex: 0 0 auto;
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 0;
    border-radius: 6px;
    background: transparent;
    color: #64748b;
    font-size: 16px;
    cursor: pointer;
}

.login-pw-toggle:hover,
.login-pw-toggle:focus-visible {
    color: var(--login-primary);
    outline: 2px solid rgba(31, 111, 242, 0.28);
    outline-offset: 1px;
}

.login-remember-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-top: -1px;
}

.login-remember {
    min-height: 28px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin: 0;
    color: #111827;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    user-select: none;
}

.login-remember input[type="checkbox"] {
    width: 19px;
    height: 19px;
    flex: 0 0 auto;
    margin: 0;
    accent-color: var(--login-primary);
    cursor: pointer;
}

.login-forgot {
    color: #005eea;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
}

.login-forgot:hover,
.login-forgot:focus-visible {
    color: var(--login-primary-strong);
    text-decoration: underline;
}

.login-actions {
    margin-top: 5px;
}

.login-submit,
.login-create-account {
    width: 100%;
    min-height: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 7px;
    font-family: inherit;
    font-size: 17px;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    transition: background 120ms ease, border-color 120ms ease, color 120ms ease;
}

.login-submit {
    border: 0;
    background: var(--login-primary);
    color: #fff;
    box-shadow: 0 8px 16px rgba(31, 111, 242, 0.16);
}

.login-submit:hover,
.login-submit:focus-visible {
    background: var(--login-primary-strong);
}

.login-submit:focus-visible,
.login-create-account:focus-visible {
    outline: 3px solid rgba(31, 111, 242, 0.35);
    outline-offset: 2px;
}

.login-divider {
    display: flex;
    align-items: center;
    gap: 14px;
    margin: 2px 0 -1px;
    color: #36445a;
    font-size: 15px;
    font-weight: 500;
}

.login-divider::before,
.login-divider::after {
    content: "";
    flex: 1;
    height: 1px;
    background: #dce4ef;
}

.login-create-account {
    border: 1.5px solid var(--login-primary);
    background: #fff;
    color: #075fe8;
}

.login-create-account:hover,
.login-create-account:focus-visible {
    background: rgba(31, 111, 242, 0.06);
    color: var(--login-primary-strong);
}

.login-privacy {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-top: 32px;
    padding: 20px 20px;
    border: 1px solid #d2e5ff;
    border-radius: 7px;
    background: #eef6ff;
}

.login-privacy__icon {
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #dceeff;
    color: var(--login-primary);
    font-size: 19px;
}

.login-privacy__title {
    margin: 0 0 3px;
    color: #1262d8;
    font-size: 16px;
    font-weight: 800;
    line-height: 1.4;
}

.login-privacy__desc {
    margin: 0;
    color: #3e4d64;
    font-size: 15px;
    font-weight: 400;
    line-height: 1.45;
}

.login-footer {
    display: flex;
    align-items: center;
    gap: 0;
    padding: 28px 118px;
    border-top: 1px solid #e7eef8;
    background: #f4f9ff;
}

.login-footer__item {
    flex: 1 1 0;
    display: flex;
    align-items: flex-start;
    gap: 18px;
    min-width: 0;
    padding: 0 30px;
    color: #4d5d74;
}

.login-footer__item > i {
    width: 24px;
    flex: 0 0 24px;
    color: #4d5d74;
    font-size: 22px;
    line-height: 1.2;
    text-align: center;
}

.login-footer__sep {
    width: 1px;
    align-self: stretch;
    min-height: 62px;
    background: #c8d2e0;
    flex-shrink: 0;
}

.login-footer__label {
    margin: 0 0 2px;
    color: #111827;
    font-size: 15px;
    font-weight: 800;
    line-height: 1.4;
}

.login-footer__desc {
    margin: 0;
    color: #3e4d64;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.45;
}

.login-footer__desc a {
    color: #005eea;
    font-weight: 700;
    text-decoration: none;
}

.login-footer__desc a:hover {
    text-decoration: underline;
}

@media (max-width: 1180px) {
    .login-page {
        padding: 18px;
    }

    .login-main {
        min-height: 0;
        grid-template-columns: minmax(0, 1fr) minmax(390px, 0.9fr);
    }

    .login-panel--intro {
        min-height: 760px;
        padding: 48px 42px 0;
    }

    .login-feature-list {
        left: 34px;
        right: 34px;
    }

    .login-feature {
        padding: 0 14px;
    }

    .login-panel--form {
        padding: 54px 44px;
    }

    .login-footer {
        padding: 26px 38px;
    }
}

@media (max-width: 920px) {
    .login-shell {
        border-radius: 18px;
    }

    .login-main {
        grid-template-columns: 1fr;
    }

    .login-panel--intro {
        min-height: 660px;
        padding: 38px 34px 0;
    }

    .login-brand--intro {
        margin-bottom: 28px;
    }

    .login-intro h1 {
        font-size: 42px;
    }

    .login-intro p {
        max-width: 520px;
    }

    .login-scene {
        left: 34px;
        right: 34px;
        bottom: 136px;
        height: 230px;
    }

    .login-panel--form {
        padding: 44px 28px 48px;
    }

    .login-form-card {
        width: min(100%, 470px);
    }

    .login-footer {
        padding: 24px 28px;
    }

    .login-footer__item {
        padding: 0 18px;
    }
}

@media (max-width: 720px) {
    .login-page {
        align-items: stretch;
        padding: 0;
    }

    .login-shell {
        width: 100%;
        min-height: 100vh;
        border-radius: 0;
    }

    .login-panel--intro {
        min-height: auto;
        padding: 30px 22px 26px;
    }

    .login-brand--intro img {
        width: 164px;
    }

    .login-intro h1 {
        margin-bottom: 14px;
        font-size: 34px;
        line-height: 1.12;
    }

    .login-intro p {
        font-size: 16px;
    }

    .login-scene {
        position: relative;
        left: auto;
        right: auto;
        bottom: auto;
        height: 210px;
        margin: 28px -22px 0;
    }

    .login-feature-list {
        position: relative;
        left: auto;
        right: auto;
        bottom: auto;
        grid-template-columns: 1fr;
        gap: 12px;
        margin-top: 20px;
    }

    .login-feature {
        min-height: 0;
        flex-direction: row;
        align-items: center;
        gap: 14px;
        padding: 0;
        color: #fff;
    }

    .login-feature + .login-feature {
        border-left: 0;
    }

    .login-feature__icon {
        width: 44px;
        height: 44px;
        margin: 0;
        background: rgba(255, 255, 255, 0.16);
    }

    .login-feature__title,
    .login-feature__desc {
        color: #fff;
    }

    .login-feature__desc {
        color: rgba(255, 255, 255, 0.84);
    }

    .login-panel--form {
        padding: 34px 20px 38px;
    }

    .login-heading h2 {
        font-size: 30px;
    }

    .login-remember-row {
        align-items: flex-start;
        flex-direction: column;
        gap: 8px;
    }

    .login-footer {
        flex-direction: column;
        align-items: stretch;
        gap: 18px;
        padding: 24px 22px 30px;
    }

    .login-footer__sep {
        display: none;
    }

    .login-footer__item {
        padding: 0;
    }
}

@media (max-width: 420px) {
    .login-panel--intro {
        padding-left: 18px;
        padding-right: 18px;
    }

    .login-kicker {
        font-size: 14px;
    }

    .login-intro h1 {
        font-size: 31px;
    }

    .login-scene {
        margin-left: -18px;
        margin-right: -18px;
    }

    .login-privacy {
        padding: 16px;
    }
}
