* {
    box-sizing: border-box;
}

body {
    margin: 0;
    background: #101010;
    color: #f4f4f7;
    font:
        18px/1.6 "Noto Sans KR",
        sans-serif;
}

button,
input {
    font: inherit;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    cursor: pointer;
}

a:focus-visible,
button:focus-visible,
input:focus-visible {
    outline: 3px solid #baa5ed;
    outline-offset: 4px;
}

.header {
    height: 88px;
    display: flex;
    align-items: center;
    padding: 0 5vw;
    background: #202022;
    border-bottom: 1px solid #303035;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 22px;
    font-weight: 800;
}

.brand-icon {
    font-size: 40px;
    line-height: 1;
    color: #a78bda;
}

.auth-layout {
    max-width: 1120px;
    min-height: calc(100vh - 88px);
    margin: auto;
    padding: 64px 30px;
    display: grid;
    grid-template-columns: 1fr 460px;
    gap: 80px;
    align-items: center;
}

.eyebrow {
    color: #a99bcd;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 3px;
}

.intro h1 {
    margin: 20px 0;
    font-size: 43px;
    line-height: 1.4;
    letter-spacing: -2px;
}

.intro h1 span {
    color: #8fd9f3;
}

.intro-description {
    color: #b8b8c4;
    line-height: 1.9;
}

.intro-art {
    position: relative;
    height: 210px;
    margin-top: 40px;
}

.art-card {
    position: absolute;
    width: 150px;
    height: 190px;
    display: grid;
    place-items: center;
    border-radius: 16px;
    font-size: 72px;
    box-shadow: 0 18px 35px #0005;
}

.art-film {
    left: 20px;
    top: 10px;
    transform: rotate(-12deg);
    color: #c4abea;
    background: linear-gradient(145deg, #45325a, #20242f);
    border: 1px solid #59506f;
}

.art-heart {
    left: 155px;
    transform: rotate(9deg);
    color: #8bd9ef;
    background: linear-gradient(145deg, #164d62, #20242f);
    border: 1px solid #326278;
}

.intro-caption {
    color: #9696a4;
    font-size: 14px;
}

.auth-panel {
    padding: 34px;
    border: 1px solid #37373e;
    border-radius: 22px;
    background: #202022;
}

.auth-tabs {
    display: flex;
    margin-bottom: 28px;
    border-bottom: 1px solid #3b3b42;
}

.auth-tabs .active {
    padding-bottom: 14px;
    border-bottom: 3px solid #00a4dc;
    color: #82d7f5;
    font-weight: 700;
}

.auth-panel h2 {
    margin: 0 0 6px;
    font-size: 27px;
    letter-spacing: -1px;
}

.description {
    margin: 0 0 25px;
    color: #b6b6c2;
    font-size: 16px;
}

.field {
    margin: 22px 0;
}

.field label {
    display: block;
    margin-bottom: 8px;
    font-size: 16px;
    font-weight: 600;
}

.field input {
    width: 100%;
    height: 58px;
    padding: 0 15px;
    border: 1px solid #55555f;
    border-radius: 10px;
    background: #151517;
    color: #fff;
}

.field input::placeholder {
    color: #9696a3;
    font-size: 16px;
}

.password-field {
    position: relative;
}

.password-field input {
    padding-right: 75px;
}

.password-toggle {
    position: absolute;
    right: 8px;
    top: 5px;
    height: 48px;
    padding: 0 10px;
    border: 0;
    background: transparent;
    color: #bcdbe7;
    font-size: 14px;
}

.primary-button {
    width: 100%;
    min-height: 60px;
    margin-top: 10px;
    border: 1px solid #008fbc;
    border-radius: 11px;
    background: #007da8;
    color: #fff;
    font-size: 19px;
    font-weight: 700;
}

.primary-button:hover {
    background: #008ab6;
}

.support {
    margin: 22px 0 0;
    color: #aaaab8;
    font-size: 14px;
    text-align: center;
}

.message {
    margin-bottom: 18px;
    padding: 12px 14px;
    border-radius: 9px;
    font-size: 15px;
}

.message.error {
    background: #49282f;
    color: #ffccd4;
}

.message.success {
    background: #193e34;
    color: #b3efd5;
}

@media (max-width: 900px) {
    .auth-layout {
        gap: 35px;
        grid-template-columns: 1fr 420px;
    }

    .intro h1 {
        font-size: 33px;
    }
}

@media (max-width: 700px) {
    .header {
        height: 72px;
        padding: 0 20px;
    }

    .brand {
        font-size: 20px;
    }

    .auth-layout {
        display: block;
        max-width: 480px;
        min-height: calc(100vh - 72px);
        padding: 30px 20px;
    }

    .intro {
        margin-bottom: 26px;
    }

    .intro h1 {
        margin: 0;
        font-size: 28px;
        letter-spacing: -1px;
    }

    .intro h1 br,
    .eyebrow,
    .intro-description,
    .intro-art,
    .intro-caption {
        display: none;
    }

    .auth-panel {
        padding: 25px 22px;
        border-radius: 17px;
    }
}

.auth-tabs {
    gap: 28px;
}

.auth-tabs a {
    display: inline-flex;
    align-items: center;
    padding-bottom: 14px;
    color: #aaaab8;
    font-weight: 700;
}

.auth-tabs a:hover {
    color: #82d7f5;
}
