/* =========================================================
   AUTH
========================================================= */

.auth-page {
    min-height: calc(100vh - 76px);

    display: flex;
    justify-content: center;

    padding: 80px 20px 100px;

    background: #fafafa;

    box-sizing: border-box;
}


.auth-wrap {
    width: 100%;
    max-width: 480px;
}


/* =========================================================
   AUTH HEADER
========================================================= */

.auth-header {
    margin-bottom: 40px;

    text-align: center;
}


.auth-eyebrow {
    margin: 0 0 12px;

    color: #ff2d7d;

    font-size: 10px;
    font-weight: 800;

    letter-spacing: 2px;
}


.auth-header h1 {
    margin: 0;

    color: #111;

    font-size: 32px;
    font-weight: 800;

    line-height: 1.2;
    letter-spacing: -1.5px;
}


.auth-description {
    margin: 12px 0 0;

    color: #888;

    font-size: 13px;
    line-height: 1.6;
}


/* =========================================================
   FORM
========================================================= */

.auth-form {
    width: 100%;

    padding: 40px;

    background: #fff;

    border: 1px solid #e8e8e8;

    box-sizing: border-box;
}


/* =========================================================
   FIELD
========================================================= */

.auth-field {
    margin-bottom: 24px;
}


.auth-field:last-of-type {
    margin-bottom: 0;
}


.auth-field > label {
    display: block;

    margin-bottom: 9px;

    color: #222;

    font-size: 13px;
    font-weight: 700;

    line-height: 1.4;
}


.auth-field > label span {
    color: #ff2d7d;
}


.auth-input {
    width: 100%;
    height: 48px;

    padding: 0 14px;

    border: 1px solid #ddd;
    border-radius: 0;

    outline: none;

    background: #fff;

    color: #111;

    font-family: inherit;
    font-size: 13px;

    box-sizing: border-box;

    transition:
        border-color .2s ease,
        box-shadow .2s ease;
}


.auth-input::placeholder {
    color: #aaa;
}


.auth-input:hover {
    border-color: #bbb;
}


.auth-input:focus {
    border-color: #111;

    box-shadow: 0 0 0 1px #111;
}


.auth-field-help {
    margin: 7px 0 0;

    color: #999;

    font-size: 11px;
    line-height: 1.5;
}


.auth-field-error {
    margin: 7px 0 0;

    color: #ff2d7d;

    font-size: 11px;
    line-height: 1.5;
}


/* =========================================================
   AGREEMENT
========================================================= */

.auth-agreement {
    margin-top: 32px;

    padding-top: 24px;

    border-top: 1px solid #eee;
}


.auth-check-label {
    position: relative;

    display: flex;
    align-items: center;

    min-height: 20px;

    cursor: pointer;
}


.auth-check-label input {
    position: absolute;

    width: 1px;
    height: 1px;

    margin: -1px;

    overflow: hidden;

    opacity: 0;
}


.auth-check {
    position: relative;

    flex: 0 0 18px;

    width: 18px;
    height: 18px;

    margin-right: 9px;

    border: 1px solid #ccc;

    background: #fff;

    box-sizing: border-box;
}


.auth-check-label input:checked + .auth-check {
    border-color: #ff2d7d;

    background: #ff2d7d;
}


.auth-check-label input:checked + .auth-check::after {
    content: "";

    position: absolute;

    left: 5px;
    top: 2px;

    width: 5px;
    height: 9px;

    border-right: 2px solid #fff;
    border-bottom: 2px solid #fff;

    transform: rotate(45deg);
}


.auth-agreement-all {
    padding-bottom: 17px;

    border-bottom: 1px solid #eee;
}


.auth-agreement-all strong {
    color: #111;

    font-size: 13px;
    font-weight: 700;
}


.auth-agreement-list {
    padding-top: 15px;
}


.auth-agreement-item {
    display: flex;
    align-items: center;

    min-height: 20px;

    margin-bottom: 13px;
}


.auth-agreement-item:last-child {
    margin-bottom: 0;
}


.auth-agreement-item .auth-check-label {
    flex: 1;
}


.auth-agreement-text {
    color: #555;

    font-size: 12px;
    line-height: 1.5;
}


.auth-agreement-text b {
    color: #ff2d7d;

    font-weight: 600;
}


.auth-agreement-item > a {
    flex: 0 0 auto;

    margin-left: 10px;

    color: #999;

    font-size: 11px;

    text-decoration: underline;
}


.auth-agreement-item > a:hover {
    color: #111;
}


/* =========================================================
   SUBMIT
========================================================= */

.auth-submit {
    width: 100%;
    height: 52px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin-top: 30px;
    padding: 0;

    border: 0;
    border-radius: 0;

    background: #111;

    color: #fff;

    font-family: inherit;
    font-size: 13px;
    font-weight: 700;

    cursor: pointer;

    transition:
        background .2s ease,
        color .2s ease;
}


.auth-submit:hover {
    background: #ff2d7d;
}


/* =========================================================
   BOTTOM
========================================================= */

.auth-bottom {
    display: flex;
    align-items: center;
    justify-content: center;

    margin-top: 22px;

    color: #999;

    font-size: 12px;
}


.auth-bottom a {
    margin-left: 7px;

    color: #222;

    font-weight: 600;

    text-decoration: underline;
}


.auth-bottom a:hover {
    color: #ff2d7d;
}


/* =========================================================
   LOGIN PAGE
========================================================= */

.auth-login-page .auth-form {
    padding-bottom: 36px;
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 900px) {

    .auth-page {
        min-height: calc(100vh - 62px);

        padding: 60px 20px 80px;
    }


    .auth-wrap {
        max-width: 460px;
    }


    .auth-header {
        margin-bottom: 32px;
    }


    .auth-header h1 {
        font-size: 28px;
    }


    .auth-form {
        padding: 32px 24px;
    }

}


@media (max-width: 480px) {

    .auth-page {
        padding: 45px 20px 70px;
    }


    .auth-header {
        margin-bottom: 28px;
    }


    .auth-eyebrow {
        margin-bottom: 10px;
    }


    .auth-header h1 {
        font-size: 26px;
        letter-spacing: -1px;
    }


    .auth-description {
        margin-top: 10px;

        font-size: 12px;
    }


    .auth-form {
        padding: 28px 20px;
    }


    .auth-field {
        margin-bottom: 21px;
    }


    .auth-input {
        height: 47px;
    }


    .auth-agreement {
        margin-top: 28px;

        padding-top: 21px;
    }


    .auth-submit {
        height: 50px;
    }

}

/* =========================================================
   LOGIN OPTION
========================================================= */

.auth-login-option {
    margin-top: 18px;
}


.auth-login-option .auth-check-label {
    display: inline-flex;
}


.auth-login-option .auth-agreement-text {
    color: #777;

    font-size: 12px;
}


/* =========================================================
   LOGIN LINKS
========================================================= */

.auth-links {
    display: flex;
    align-items: center;
    justify-content: center;

    margin-top: 18px;
}


.auth-links a {
    color: #999;

    font-size: 11px;

    text-decoration: none;
}


.auth-links a:hover {
    color: #111;
}


.auth-links span {
    width: 1px;
    height: 10px;

    margin: 0 12px;

    background: #ddd;
}

.auth-social {
    width: 100%;
}

.auth-kakao {
    display: block;

    width: 100%;

    text-decoration: none;
}

.auth-kakao img {
    display: block;

    width: 100%;
    height: auto;
}


/* =========================================================
   DIVIDER
========================================================= */

.auth-divider {
    display: flex;
    align-items: center;

    width: 100%;

    margin: 25px 0;
}


.auth-divider span {
    flex: 1;

    height: 1px;

    background: #eee;
}


.auth-divider em {
    flex: 0 0 auto;

    margin: 0 14px;

    color: #aaa;

    font-size: 11px;

    font-style: normal;
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 480px) {

    .auth-kakao {
        height: 50px;
    }


    .auth-kakao-icon {
        left: 16px;
    }


    .auth-divider {
        margin: 22px 0;
    }

}



/* =========================================================
   SIGNUP - EMAIL VERIFICATION
========================================================= */

.auth-input-button {
    display: flex;
    align-items: stretch;
    gap: 8px;
}

.auth-input-button .auth-input {
    flex: 1;
    min-width: 0;
}

.auth-verify-button {
    flex: 0 0 auto;

    min-width: 110px;
    padding: 0 16px;

    border: 1px solid #ddd;
    border-radius: 8px;

    background: #fff;
    color: #222;

    font-size: 12px;
    font-weight: 700;

    white-space: nowrap;

    cursor: pointer;

    transition:
        background-color .2s ease,
        border-color .2s ease,
        color .2s ease;
}

.auth-verify-button:hover {
    border-color: #222;
    background: #222;
    color: #fff;
}

.auth-verify-button:disabled {
    border-color: #eee;
    background: #f5f5f5;
    color: #aaa;

    cursor: default;
}

.auth-field-error {
    margin: 7px 0 0;

    color: #ff2d7d;

    font-size: 11px;
    line-height: 1.5;
}


/* =========================================================
   EMAIL VERIFIED
========================================================= */

.auth-input-button.is-verified .auth-input {
    border-color: #ddd;
    background: #f7f7f7;
    color: #999;
}

.auth-input-button.is-verified .auth-verify-button {
    border-color: #ff2d7d;
    background: #ff2d7d;
    color: #fff;
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 600px) {

    .auth-input-button {
        gap: 6px;
    }

    .auth-verify-button {
        min-width: 92px;
        padding: 0 12px;

        font-size: 11px;
    }

}


/* =========================================================
   AUTH
========================================================= */

.auth-page {
    width: 100%;
    min-height: calc(100vh - 80px);

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 80px 20px;
    box-sizing: border-box;
}


.auth-wrap {
    width: 100%;
    max-width: 460px;
}


/* =========================================================
   HEADER
========================================================= */

.auth-header {
    margin-bottom: 42px;
    text-align: center;
}


.auth-eyebrow {
    margin: 0 0 12px;

    color: #ff2b87;

    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
}


.auth-header h1 {
    margin: 0 0 14px;

    color: #111;

    font-size: 30px;
    line-height: 1.4;
    font-weight: 700;

    letter-spacing: -1px;
}


.auth-header p:not(.auth-eyebrow) {
    margin: 0;

    color: #888;

    font-size: 14px;
    line-height: 1.7;

    word-break: keep-all;
}


/* =========================================================
   FORM
========================================================= */

.auth-form-group {
    margin-bottom: 22px;
}


.auth-form-group label {
    display: block;

    margin-bottom: 9px;

    color: #222;

    font-size: 13px;
    font-weight: 600;
}


.auth-form-group input {
    width: 100%;
    height: 50px;

    padding: 0 15px;

    box-sizing: border-box;

    border: 1px solid #ddd;
    border-radius: 8px;

    background: #fff;

    color: #111;

    font-family: inherit;
    font-size: 14px;

    outline: none;

    transition:
        border-color .2s ease,
        box-shadow .2s ease;
}


.auth-form-group input::placeholder {
    color: #aaa;
}


.auth-form-group input:focus {
    border-color: #ff2b87;

    box-shadow:
        0 0 0 3px rgba(255, 43, 135, .08);
}


/* =========================================================
   INPUT + BUTTON
========================================================= */

.auth-input-button {
    display: flex;
    gap: 8px;
}


.auth-input-button input {
    flex: 1;
    min-width: 0;
}


.auth-input-button button {
    flex: 0 0 auto;

    height: 50px;

    padding: 0 17px;

    border: 0;
    border-radius: 8px;

    background: #111;
    color: #fff;

    font-family: inherit;
    font-size: 12px;
    font-weight: 600;

    white-space: nowrap;

    cursor: pointer;

    transition:
        background .2s ease,
        opacity .2s ease;
}


.auth-input-button button:hover {
    background: #333;
}


.auth-input-button button:disabled {
    opacity: .4;
    cursor: not-allowed;
}


/* =========================================================
   VERIFICATION
========================================================= */

.verification-group {
    margin-top: 4px;
}


.auth-help-text {
    margin: 8px 0 0;

    color: #999;

    font-size: 12px;
    line-height: 1.6;
}


#find-password-timer {
    color: #ff2b87;
    font-weight: 500;
}


/* =========================================================
   SUBMIT
========================================================= */

.auth-submit {
    width: 100%;
    height: 54px;

    margin-top: 8px;

    padding: 0;

    border: 0;
    border-radius: 9px;

    background: #ff2b87;
    color: #fff;

    font-family: inherit;
    font-size: 14px;
    font-weight: 700;

    cursor: pointer;

    transition:
        background .2s ease,
        opacity .2s ease,
        transform .1s ease;
}


.auth-submit:hover {
    background: #f51f7d;
}


.auth-submit:active {
    transform: translateY(1px);
}


.auth-submit:disabled {
    opacity: .35;
    cursor: not-allowed;
}


/* =========================================================
   BOTTOM
========================================================= */

.auth-bottom {
    margin-top: 25px;

    text-align: center;
}


.auth-bottom a {
    color: #999;

    font-size: 13px;
    text-decoration: none;

    transition: color .2s ease;
}


.auth-bottom a:hover {
    color: #ff2b87;
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 600px) {

    .auth-page {
        min-height: auto;

        padding: 60px 20px 80px;
    }


    .auth-header {
        margin-bottom: 34px;
    }


    .auth-header h1 {
        font-size: 26px;
    }


    .auth-header p:not(.auth-eyebrow) {
        font-size: 13px;
    }


    .auth-input-button button {
        padding: 0 13px;
    }

}