@import url('/app/css/common.css');

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    background: #f4f3ef;
    color: #1a1a1a;
    font-family: "UNCLASS Pretendard", system-ui, sans-serif;
    font-size: 14px;
    letter-spacing: -.04em;
}

main {
    width: min(100%, var(--home-max-width));
    min-height: 100vh;
    margin: auto;
    padding: 146px 24px 48px;
    background: #fffdf5;
    --account-control-height: 59px;
}

.login-brand {
    margin: 0 0 81px;
    text-align: center;
    line-height: 0;
}

.login-brand img {
    max-width: 100%;
    height: auto;
}

.login-fields {
    display: grid;
    gap: 16px;
}

label {
    display: block;
    margin-bottom: 8px;
    font-size: 16px;
    font-weight: 700;
    line-height: 19px;
}

.account-input {
    display: block;
    width: 100%;
    padding: 16px 20px;
    border: 1px solid rgb(72 36 33 / 25%);
    border-radius: 16px;
    background: white;
    color: inherit;
    font-size: 14px;
    line-height: 20px;
    letter-spacing: inherit;
}

button {
    font: inherit;
    letter-spacing: inherit;
    cursor: pointer;
    border: 0;
}

.password-toggle {
    border-radius: 12px;
}

.field-message {
    margin-top: 4px;
    font-size: 12px;
    line-height: 14px;
}

.login-submit {
    width: 100%;
    margin-top: 32px;
    line-height: 19px;
}

.login-recovery {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-top: 16px;
}

.login-recovery a {
    padding: 0;
    background: transparent;
    color: inherit;
    font-weight: 700;
    line-height: 17px;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.login-recovery span {
    width: 1px;
    height: 13px;
    background: rgb(72 36 33 / 25%);
}

#login-notice {
    margin: 24px 0 0;
    color: #5f5f5f;
    line-height: 20px;
}

:focus-visible {
    outline: 3px solid #7581ff;
    outline-offset: 2px;
}
