:root {
    color-scheme: dark;
    --background: #08080c;
    --surface: #101017;
    --surface-light: #15151e;
    --text: #f5f4f8;
    --text-muted: #9896a3;
    --text-faint: #5f5d68;
    --border: rgba(255, 255, 255, 0.1);
    --border-strong: rgba(255, 255, 255, 0.18);
    --purple: #8b5cf6;
    --purple-light: #c7b9ff;
    --blue: #60a5fa;
    --green: #7ee2a8;
    --danger: #ff8c9b;
    --gradient: linear-gradient(
        120deg,
        #60a5fa 0%,
        #8b5cf6 72%
    );
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    min-width: 320px;
    min-height: 100%;
}

body {
    min-width: 320px;
    min-height: 100vh;
    min-height: 100svh;
    margin: 0;
    overflow-x: hidden;
    background:
        linear-gradient(
            rgba(255, 255, 255, 0.018) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(255, 255, 255, 0.018) 1px,
            transparent 1px
        ),
        var(--background);
    background-size: 72px 72px;
    color: var(--text);
    font-family: "Poppins", sans-serif;
    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input {
    color: inherit;
    font: inherit;
}

button {
    cursor: pointer;
}

a:focus-visible,
button:focus-visible,
input:focus-visible {
    outline: 2px solid var(--purple);
    outline-offset: 3px;
}

.support-login {
    position: relative;
    display: grid;
    grid-template-columns:
        minmax(0, 1.08fr)
        minmax(470px, 0.92fr);
    min-height: 100vh;
    min-height: 100svh;
    overflow: hidden;
}

.support-login::before {
    position: absolute;
    z-index: 0;
    top: -260px;
    left: 30%;
    width: 640px;
    height: 640px;
    border-radius: 50%;
    background: rgba(111, 58, 255, 0.13);
    content: "";
    filter: blur(160px);
    pointer-events: none;
}

.support-login::after {
    position: absolute;
    z-index: 0;
    bottom: -300px;
    left: -240px;
    width: 620px;
    height: 620px;
    border-radius: 50%;
    background: rgba(0, 136, 255, 0.09);
    content: "";
    filter: blur(160px);
    pointer-events: none;
}

.support-login-brand,
.support-login-panel {
    position: relative;
    z-index: 1;
}

.support-login-brand {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-width: 0;
    padding:
        clamp(32px, 4.5vw, 72px)
        clamp(38px, 6vw, 100px);
}

.support-login-brand::before {
    position: absolute;
    top: 50%;
    left: 50%;
    width: min(42vw, 650px);
    height: min(42vw, 650px);
    border: 1px solid rgba(139, 92, 246, 0.09);
    border-radius: 50%;
    content: "";
    transform: translate(-50%, -50%);
    pointer-events: none;
}

.support-login-brand::after {
    position: absolute;
    top: 50%;
    left: 50%;
    width: min(29vw, 440px);
    height: min(29vw, 440px);
    border: 1px solid rgba(96, 165, 250, 0.055);
    border-radius: 50%;
    content: "";
    transform: translate(-50%, -50%);
    pointer-events: none;
}

.support-login-wordmark {
    position: relative;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    align-self: flex-start;
    gap: 8px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.13em;
}

.support-login-wordmark img {
    display: block;
    width: 34px;
    height: 34px;
    margin-right: 3px;
    object-fit: contain;
}

.support-login-wordmark span:last-child {
    color: var(--text-faint);
    font-weight: 500;
}

.support-login-brand-content {
    position: relative;
    z-index: 2;
    max-width: 790px;
    margin: 100px 0;
}

.support-login-eyebrow {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0;
    color: #aaa8b3;
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.support-login-eyebrow > span {
    display: block;
    width: 29px;
    height: 1px;
    background: var(--gradient);
}

.support-login-brand h1 {
    max-width: 780px;
    margin: 28px 0 34px;
    font-size: clamp(58px, 6.4vw, 104px);
    font-weight: 500;
    letter-spacing: -0.07em;
    line-height: 0.98;
}

.support-login-brand h1 em {
    display: block;
    background: var(--gradient);
    background-clip: text;
    color: transparent;
    font-style: normal;
}

.support-login-brand-content > p:last-child {
    max-width: 620px;
    margin: 0;
    color: var(--text-muted);
    font-size: clamp(13px, 1.1vw, 16px);
    line-height: 1.85;
}

.support-login-system {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    padding-top: 22px;
    border-top: 1px solid var(--border);
    color: var(--text-faint);
    font-size: 8px;
    font-weight: 600;
    letter-spacing: 0.15em;
}

.support-login-system > div {
    display: flex;
    align-items: center;
    gap: 10px;
}

.support-login-status-dot {
    display: inline-block;
    flex: 0 0 auto;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--green);
    box-shadow: 0 0 13px rgba(126, 226, 168, 0.7);
}

.support-login-panel {
    display: grid;
    place-items: center;
    min-width: 0;
    padding:
        clamp(32px, 5vw, 82px)
        clamp(30px, 5vw, 76px);
    border-left: 1px solid var(--border-strong);
    background:
        linear-gradient(
            145deg,
            rgba(96, 165, 250, 0.025),
            rgba(139, 92, 246, 0.045)
        ),
        rgba(10, 10, 15, 0.86);
    backdrop-filter: blur(18px);
}

.support-login-panel-inner {
    width: 100%;
    max-width: 520px;
    border: 1px solid var(--border-strong);
    background:
        linear-gradient(
            145deg,
            rgba(255, 255, 255, 0.018),
            transparent
        ),
        rgba(13, 13, 19, 0.92);
    box-shadow:
        0 40px 100px rgba(0, 0, 0, 0.34),
        0 0 80px rgba(111, 58, 255, 0.06);
}

.support-login-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 49px;
    padding: 0 20px;
    border-bottom: 1px solid var(--border);
    color: var(--text-faint);
    font-size: 7px;
    font-weight: 600;
    letter-spacing: 0.16em;
}

.support-login-form-heading {
    padding: 38px 38px 31px;
}

.support-login-form-heading > p {
    margin: 0 0 13px;
    color: var(--purple-light);
    font-size: 8px;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.support-login-form-heading h2 {
    margin: 0;
    font-size: clamp(35px, 3.2vw, 48px);
    font-weight: 500;
    letter-spacing: -0.055em;
    line-height: 1.08;
}

.support-login-form-heading > span {
    display: block;
    max-width: 390px;
    margin-top: 17px;
    color: var(--text-muted);
    font-size: 11px;
    line-height: 1.75;
}

.support-login-error {
    display: flex;
    align-items: flex-start;
    gap: 11px;
    margin: 0 38px 25px;
    padding: 14px 15px;
    border: 1px solid rgba(255, 140, 155, 0.28);
    background: rgba(255, 140, 155, 0.055);
    color: #ffb1bc;
    font-size: 10px;
    line-height: 1.65;
}

.support-login-error iconify-icon {
    flex: 0 0 auto;
    margin-top: 1px;
    color: var(--danger);
    font-size: 17px;
}

.support-login-form {
    display: grid;
    gap: 22px;
    padding: 0 38px 40px;
}

.support-login-form label {
    display: grid;
    gap: 10px;
}

.support-login-form label > span {
    color: #b8b6c0;
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 0.08em;
}

.support-login-input {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    align-items: center;
    min-height: 52px;
    border: 1px solid var(--border);
    background: rgba(7, 7, 11, 0.72);
    transition:
        border-color 180ms ease,
        background-color 180ms ease,
        box-shadow 180ms ease;
}

.support-login-input:focus-within {
    border-color: rgba(139, 92, 246, 0.7);
    background: rgba(10, 10, 15, 0.9);
    box-shadow:
        0 0 0 3px rgba(139, 92, 246, 0.07);
}

.support-login-input iconify-icon {
    justify-self: center;
    color: var(--text-faint);
    font-size: 17px;
    transition: color 180ms ease;
}

.support-login-input:focus-within iconify-icon {
    color: var(--purple-light);
}

.support-login-input input {
    width: 100%;
    height: 50px;
    padding: 0 15px 0 0;
    border: 0;
    outline: 0;
    background: transparent;
    color: var(--text);
    font-size: 11px;
}

.support-login-input input::placeholder {
    color: #4f4d58;
}

.support-login-submit {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    width: 100%;
    min-height: 54px;
    margin-top: 8px;
    padding: 0 19px;
    border: 1px solid rgba(139, 92, 246, 0.6);
    background:
        linear-gradient(
            120deg,
            rgba(96, 165, 250, 0.12),
            rgba(139, 92, 246, 0.21)
        ),
        #12111a;
    color: var(--text);
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    transition:
        border-color 180ms ease,
        background-color 180ms ease,
        transform 180ms ease;
}

.support-login-submit:hover {
    border-color: rgba(139, 92, 246, 0.95);
    background:
        linear-gradient(
            120deg,
            rgba(96, 165, 250, 0.18),
            rgba(139, 92, 246, 0.3)
        ),
        #14131d;
    transform: translateY(-2px);
}

.support-login-submit iconify-icon {
    color: var(--purple-light);
    font-size: 18px;
    transition: transform 180ms ease;
}

.support-login-submit:hover iconify-icon {
    transform: translateX(4px);
}

.support-login-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
    min-height: 58px;
    padding: 14px 20px;
    border-top: 1px solid var(--border);
    color: var(--text-faint);
    font-size: 7px;
    font-weight: 600;
    letter-spacing: 0.1em;
}

.support-login-footer > a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #a9a7b0;
    transition: color 180ms ease;
}

.support-login-footer > a:hover {
    color: var(--text);
}

@media (max-width: 1100px) {
    .support-login {
        grid-template-columns:
            minmax(0, 0.9fr)
            minmax(430px, 1.1fr);
    }

    .support-login-brand {
        padding-right: 45px;
        padding-left: 45px;
    }

    .support-login-brand h1 {
        font-size: clamp(52px, 6vw, 72px);
    }

    .support-login-panel {
        padding-right: 38px;
        padding-left: 38px;
    }
}

@media (max-width: 860px) {
    .support-login {
        display: block;
        min-height: 100svh;
    }

    .support-login-brand {
        min-height: 420px;
        padding: 34px clamp(24px, 6vw, 48px) 42px;
        border-bottom: 1px solid var(--border-strong);
    }

    .support-login-brand::before {
        width: 400px;
        height: 400px;
    }

    .support-login-brand::after {
        width: 270px;
        height: 270px;
    }

    .support-login-brand-content {
        margin: 72px 0 62px;
    }

    .support-login-brand h1 {
        max-width: 680px;
        font-size: clamp(51px, 10vw, 76px);
    }

    .support-login-brand-content > p:last-child {
        max-width: 590px;
    }

    .support-login-panel {
        min-height: 620px;
        padding: 70px clamp(24px, 7vw, 60px);
        border-left: 0;
    }

    .support-login-panel-inner {
        max-width: 560px;
    }
}

@media (max-width: 560px) {
    body {
        background-size: 48px 48px;
    }

    .support-login-brand {
        min-height: 370px;
        padding:
            26px
            22px
            32px;
    }

    .support-login-wordmark {
        font-size: 10px;
    }

    .support-login-wordmark img {
        width: 29px;
        height: 29px;
    }

    .support-login-brand-content {
        margin: 60px 0 52px;
    }

    .support-login-eyebrow {
        gap: 9px;
        font-size: 7px;
    }

    .support-login-eyebrow > span {
        width: 21px;
    }

    .support-login-brand h1 {
        margin: 22px 0 25px;
        font-size: clamp(43px, 12.5vw, 60px);
    }

    .support-login-brand-content > p:last-child {
        font-size: 12px;
        line-height: 1.75;
    }

    .support-login-system {
        align-items: flex-start;
        flex-direction: column;
        gap: 12px;
        padding-top: 17px;
        font-size: 7px;
    }

    .support-login-panel {
        min-height: auto;
        padding:
            48px
            18px
            60px;
    }

    .support-login-header {
        min-height: 45px;
        padding: 0 15px;
        font-size: 6px;
    }

    .support-login-form-heading {
        padding:
            30px
            22px
            25px;
    }

    .support-login-form-heading h2 {
        font-size: 36px;
    }

    .support-login-error {
        margin:
            0
            22px
            22px;
    }

    .support-login-form {
        gap: 20px;
        padding:
            0
            22px
            31px;
    }

    .support-login-input {
        grid-template-columns:
            39px
            minmax(0, 1fr);
        min-height: 50px;
    }

    .support-login-input input {
        height: 48px;
        font-size: 10px;
    }

    .support-login-submit {
        min-height: 51px;
        padding-right: 16px;
        padding-left: 16px;
        font-size: 8px;
    }

    .support-login-footer {
        align-items: flex-start;
        flex-direction: column;
        gap: 12px;
        min-height: auto;
        padding: 16px;
        line-height: 1.5;
    }
}

@media (max-width: 360px) {
    .support-login-brand {
        padding-right: 16px;
        padding-left: 16px;
    }

    .support-login-wordmark span:last-child {
        display: none;
    }

    .support-login-brand h1 {
        font-size: 39px;
    }

    .support-login-panel {
        padding-right: 14px;
        padding-left: 14px;
    }

    .support-login-form-heading,
    .support-login-form {
        padding-right: 17px;
        padding-left: 17px;
    }

    .support-login-error {
        margin-right: 17px;
        margin-left: 17px;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }
}