@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&family=Space+Grotesk:wght@500;600;700&display=swap');

:root {
    --sublime-orange: #ff6a1a;
    --sublime-orange-dark: #e6560a;
}

html, body.sublime-auth-page {
    height: 100%;
    margin: 0;
}

body.sublime-auth-page {
    background: var(--sublime-surface);
    font-family: 'Manrope', 'Source Sans Pro', sans-serif;
}

.sublime-auth {
    display: flex;
    min-height: 100vh;
}

/* Left column: brand panel */
.sublime-auth-brand {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 46%;
    min-height: 100vh;
    padding: 48px 56px;
    background: var(--sublime-ink);
    color: #fff;
    overflow: hidden;
}

.sublime-auth-brand-shape {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.sublime-auth-brand-shape--one {
    width: 420px;
    height: 420px;
    right: -160px;
    top: -140px;
    background: radial-gradient(circle at 30% 30%, rgba(184, 243, 74, 0.22), rgba(184, 243, 74, 0) 70%);
}

.sublime-auth-brand-shape--two {
    width: 320px;
    height: 320px;
    left: -120px;
    bottom: -120px;
    background: radial-gradient(circle at 60% 60%, rgba(255, 106, 26, 0.18), rgba(255, 106, 26, 0) 70%);
}

.sublime-auth-brand-inner {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

.sublime-auth-logo {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 0.01em;
    color: #fff;
    text-decoration: none;
}

.sublime-auth-logo:hover,
.sublime-auth-logo:focus {
    color: #fff;
    text-decoration: none;
}

.sublime-auth-logo-mark {
    color: var(--sublime-lime);
}

.sublime-auth-brand-copy {
    max-width: 420px;
    margin-top: auto;
    margin-bottom: auto;
}

.sublime-auth-brand-copy h1 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 32px;
    font-weight: 700;
    line-height: 1.25;
    margin: 0 0 16px;
}

.sublime-auth-brand-copy p {
    font-size: 15px;
    line-height: 1.6;
    color: #c3ccd2;
    margin: 0 0 28px;
}

.sublime-auth-brand-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.sublime-auth-brand-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: #e2e7e5;
    margin-bottom: 14px;
}

.sublime-auth-brand-list li i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: rgba(184, 243, 74, 0.16);
    color: var(--sublime-lime);
    font-size: 11px;
}

.sublime-auth-brand-footer {
    font-size: 12px;
    color: #7f8c93;
}

/* Right column: form panel */
.sublime-auth-panel {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 24px;
    background: var(--sublime-surface);
}

.sublime-auth-form-wrap {
    width: 100%;
    max-width: 380px;
}

.sublime-auth-heading {
    margin-bottom: 28px;
}

.sublime-auth-heading h2 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 26px;
    font-weight: 700;
    color: var(--sublime-ink);
    margin: 0 0 6px;
}

.sublime-auth-heading p {
    font-size: 14px;
    color: var(--sublime-muted);
    margin: 0;
}

.sublime-auth-alert {
    font-size: 13px;
}

.sublime-auth-field {
    margin-bottom: 18px;
}

.sublime-auth-field label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--sublime-ink);
    margin-bottom: 6px;
}

.sublime-auth-input {
    position: relative;
}

.sublime-auth-input .form-control {
    height: 44px;
    padding-left: 40px;
    border: 1px solid #dfe5df;
    border-radius: 6px;
    box-shadow: none;
    font-size: 14px;
}

.sublime-auth-input .form-control:focus {
    border-color: var(--sublime-orange);
    box-shadow: 0 0 0 3px rgba(255, 106, 26, 0.14);
}

.sublime-auth-input .form-control-feedback {
    position: absolute;
    top: 0;
    left: 0;
    width: 40px;
    height: 44px;
    line-height: 44px;
    text-align: center;
    color: #9aa4a0;
    pointer-events: none;
}

.sublime-auth-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 22px;
}

.sublime-auth-remember {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 400;
    color: var(--sublime-muted);
    margin: 0;
}

.sublime-auth-forgot {
    font-size: 13px;
    color: var(--sublime-muted);
}

.sublime-auth-forgot:hover,
.sublime-auth-forgot:focus {
    color: var(--sublime-orange);
}

/* Sublime orange CTA */
.sublime-auth-submit {
    height: 46px;
    background: var(--sublime-orange);
    border: 1px solid var(--sublime-orange);
    border-radius: 6px;
    color: #fff;
    font-weight: 700;
    letter-spacing: 0.01em;
    transition: background-color 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.sublime-auth-submit:hover,
.sublime-auth-submit:focus {
    background: var(--sublime-orange-dark);
    border-color: var(--sublime-orange-dark);
    color: #fff;
    transform: translateY(-1px);
}

@media (max-width: 900px) {
    .sublime-auth {
        flex-direction: column;
    }

    .sublime-auth-brand {
        width: 100%;
        min-height: auto;
        padding: 36px 28px;
    }

    .sublime-auth-brand-copy {
        margin: 24px 0;
    }

    .sublime-auth-brand-copy h1 {
        font-size: 24px;
    }

    .sublime-auth-panel {
        padding: 36px 24px 48px;
    }
}
