@import url('https://fonts.googleapis.com/css2?family=Exo+2:wght@700&display=swap');

html[data-kscms-brand="crafted_seasons"][data-kscms-screen="login"] {
    --ksb-accent: #293d49;
    --ksb-ink: #293d49;
    --ksb-background: #eaf0f3;
    --ksb-surface: #fff;
    --ksb-muted: #536572;
    --ksb-admin-accent: #466b80;
}

html[data-kscms-screen="login"] .kscms-system-brandbar {
    width: 100%;
    min-height: 77px;
    margin: 0 auto 24px;
    padding: .55rem max(5%, calc((100% - 1280px) / 2));
    gap: 12px;
    background: var(--ksb-ink);
    border: 0;
    border-bottom: 1px solid #293d4926;
}

html[data-kscms-screen="login"] .kscms-system-brandbar :is(.kscms-system-identity, .kscms-system-back) {
    color: #fff;
}

html[data-kscms-screen="login"] .kscms-system-back:hover {
    text-decoration: underline;
}

html[data-kscms-screen="login"] .kscms-system-brandbar .kscms-system-identity {
    font: 700 clamp(1.6rem, 2.25vw, 2rem)/1.15 "Exo 2", Arial, sans-serif;
    letter-spacing: -.025em;
}

html[data-kscms-screen="login"] .kscms-system-brandbar .kscms-system-identity img {
    display: none;
}

html[data-kscms-screen="login"] .kscms-system-brandbar .kscms-system-back {
    font: 400 11px/1.4 Arial, sans-serif;
    letter-spacing: .08em;
    text-transform: uppercase;
}

html[data-kscms-screen="login"] .login-page {
    width: min(520px, calc(100% - 32px));
    padding: clamp(20px, 5vw, 36px);
}

html[data-kscms-screen="login"] .login-page .login-page-header {
    padding-bottom: 12px;
}

html[data-kscms-brand="crafted_seasons"][data-kscms-screen="login"] .login-page-title {
    font-family: "Exo 2", Arial, sans-serif;
    font-weight: 700;
    margin-bottom: 12px;
}

html[data-kscms-screen="login"] .login-page .login-page-content {
    padding-block: 0;
}

@media (max-width: 760px) {
    html[data-kscms-screen="login"] .kscms-system-brandbar .kscms-system-identity {
        font-size: clamp(1.1rem, 5vw, 1.6rem);
    }
}

@media (min-width: 761px) {
    html[data-kscms-screen="login"] {
        scrollbar-gutter: stable;
    }

    /* Match the storefront wordmark's visible size and baseline. */
    html[data-kscms-screen="login"] .kscms-system-brandbar .kscms-system-identity {
       font-size: clamp(1.6rem, 2.25vw, 2rem);
        transform: translate(-1px, -3px);
    }
}

@media (max-width: 600px) {
    html[data-kscms-screen="login"] .login-page form .row > :is(.col-sm-3, .col-sm-9) {
        flex: 0 0 100%;
        width: 100%;
    }

    html[data-kscms-screen="login"] .login-page :is(input.form-control, .form-select) {
        font-size: 16px;
    }
}
