.user-join {
    background: #ffffff;
    padding: 54px 0 72px;
}

.user-join__inner {
    width: min(100% - 40px, 980px);
    display: flex;
    justify-content: center;
    margin: 0 auto;
}

.user-join__panel {
    width: min(100%, 520px);
    padding: 34px 36px 38px;
    border-radius: 8px;
    background: #ffffff;
}

.user-join__head h1 {
    margin: 0;
    color: #202124;
    font-size: 28px;
    line-height: 1.35;
    font-weight: 600;
    text-align: center;
}

.user-join__message {
    margin-top: 18px;
    padding: 12px 14px;
    border-radius: 6px;
    background: #fff3ef;
    color: #c23d23;
    font-size: 14px;
}

.user-join__message.is-success {
    background: rgba(221, 74, 44, 0.08);
    color: #dd4a2c;
}

.user-join__form {
    display: grid;
    gap: 15px;
    margin-top: 24px;
}

.user-join__sms {
    display: grid;
    gap: 14px;
    padding: 18px;
    border: 1px solid #edf0f4;
    border-radius: 8px;
    background: #fffaf8;
}

.user-join__sms-copy {
    display: grid;
    gap: 6px;
}

.user-join__sms-copy h2 {
    margin: 0;
    color: #202124;
    font-size: 18px;
    line-height: 1.35;
    font-weight: 600;
}

.user-join__sms-copy p {
    margin: 0;
    color: #6f7680;
    font-size: 14px;
    line-height: 1.55;
    word-break: keep-all;
}

.user-join__sms-status {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    min-height: 30px;
    padding: 0 11px;
    border-radius: 6px;
    background: #fff3ef;
    color: #c23d23;
    font-size: 13px;
    line-height: 1;
}

.user-join__sms-status.is-complete {
    background: rgba(221, 74, 44, 0.08);
    color: #dd4a2c;
}

.user-join__sms-row {
    display: flex;
    align-items: stretch;
    gap: 8px;
    min-width: 0;
}

.user-join__sms-row input {
    flex: 1 1 auto;
    min-width: 0;
}

.user-join__sms-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    min-width: 120px;
    min-height: 48px;
    padding: 0 14px;
    border: 1px solid #dd4a2c;
    border-radius: 6px;
    background: #ffffff;
    color: #dd4a2c;
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
    word-break: keep-all;
}

.user-join__sms-button--secondary {
    border-color: #dd4a2c;
    background: #dd4a2c;
    color: #ffffff;
}

.user-join__sms-button:disabled {
    cursor: not-allowed;
    border-color: #d9dde5;
    background: #f3f4f6;
    color: #8a919c;
}

.user-join__sms-timer {
    margin: 0;
    color: #6f7680;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.45;
    word-break: keep-all;
}

.user-join__sms-timer[hidden] {
    display: none !important;
}

.user-join__account {
    display: grid;
    gap: 15px;
    min-width: 0;
    margin: 0;
    padding: 0;
    border: 0;
}

.user-join__account legend {
    width: 100%;
    margin: 0 0 -2px;
    color: #202124;
    font-size: 18px;
    line-height: 1.35;
    font-weight: 600;
}

.user-join__account.is-locked {
    opacity: 0.58;
}

.user-join__field {
    display: grid;
    gap: 8px;
    color: #202124;
    font-size: 14px;
    font-weight: 700;
    min-width: 0;
}

.user-join__field > label {
    display: block;
    color: inherit;
    font-size: inherit;
    font-weight: inherit;
}

.user-join__field input {
    width: 100%;
    height: 48px;
    padding: 0 14px;
    border: 1px solid #d9dde5;
    border-radius: 6px;
    background: #ffffff;
    color: #202124;
    font-size: 15px;
    font-weight: 400;
    outline: 0;
}

.user-join__field input:focus {
    border-color: #dd4a2c;
}

.user-join__field input[readonly] {
    background: #f7f8fa;
    color: #4b5563;
}

.user-join__field input::placeholder {
    color: #9aa1aa;
}

.user-join__field input.is-invalid,
.user-join__field.is-invalid input {
    border-color: #c23d23;
    background: #fff8f6;
}

.user-join__field-hint {
    margin: 0;
    color: #6f7680;
    font-size: 12px;
    font-weight: 400;
    line-height: 1.45;
    word-break: keep-all;
}

.user-join__field-error {
    margin: 0;
    color: #c23d23;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.45;
    word-break: keep-all;
}

.user-join__field-error[hidden] {
    display: none !important;
}

.user-join__sms.is-invalid {
    border-color: #f0c4bb;
}

.user-join__agreements {
    display: grid;
    gap: 10px;
    margin-top: 4px;
    padding: 16px;
    border: 1px solid #edf0f4;
    border-radius: 8px;
}

.user-join__agreements.is-invalid {
    border-color: #f0c4bb;
    background: #fffaf8;
}

.user-join__check {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    color: #4b5563;
    font-size: 14px;
    line-height: 1.45;
    word-break: keep-all;
}

.user-join__check input {
    flex: 0 0 auto;
    width: 16px;
    height: 16px;
    margin-top: 2px;
    accent-color: #dd4a2c;
}

.user-join__agreement-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding-left: 25px;
}

.user-join__agreement-links a {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    padding: 0 11px;
    border: 1px solid #d9dde5;
    border-radius: 6px;
    color: #4b5563;
    font-size: 13px;
    line-height: 1;
    white-space: nowrap;
}

.user-join__submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 50px;
    margin-top: 2px;
    border-radius: 6px;
    background: #dd4a2c;
    color: #ffffff;
    font-size: 16px;
    font-weight: 700;
    white-space: nowrap;
    word-break: keep-all;
    transition: transform 0.18s ease, background 0.18s ease;
}

.user-join__submit:active {
    transform: translateY(1px);
}

.user-join__submit:disabled {
    cursor: wait;
    background: #b8bdc7;
}

/* SMS 인증 전에도 클릭 가능 — 안내 메시지로 유도 (완전 disabled 금지) */
.user-join__submit.is-need-sms {
    background: #dd4a2c;
    opacity: 0.92;
}

.user-join__submit-hint {
    margin: 0;
    color: #6f7680;
    font-size: 13px;
    line-height: 1.5;
    text-align: center;
    word-break: keep-all;
}

.user-join__social {
    display: grid;
    gap: 14px;
    margin-top: 24px;
}

.user-join__divider {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #8a919c;
    font-size: 13px;
}

.user-join__divider::before,
.user-join__divider::after {
    content: "";
    flex: 1;
    height: 1px;
    background: #edf0f4;
}

.user-join__social-buttons {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.user-join__social-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 12px;
    border: 1px solid #d9dde5;
    border-radius: 6px;
    color: #202124;
    font-size: 14px;
    line-height: 1.2;
    text-align: center;
    white-space: nowrap;
}

.user-join__social-button--kakao {
    border-color: #fee500;
    background: #fee500;
}

.user-join__social-button--naver {
    border-color: #03c75a;
    background: #03c75a;
    color: #ffffff;
}

.user-join__social-button--apple {
    border-color: #202124;
    background: #202124;
    color: #ffffff;
}

.user-join__social-button--google {
    background: #ffffff;
}

.user-join__login {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid #edf0f4;
    color: #6f7680;
    font-size: 14px;
}

.user-join__login a {
    color: #202124;
    font-weight: 700;
}

@media (max-width: 1024px) {
    .user-join__inner {
        width: min(100% - 40px, 560px);
    }
}

@media (max-width: 768px) {
    .user-join {
        padding: 40px 0 56px;
    }

    .user-join__inner {
        width: min(100% - 30px, 560px);
    }

    .user-join__panel {
        padding: 28px 22px 32px;
    }

    .user-join__head h1 {
        font-size: 26px;
    }
}

@media (max-width: 480px) {
    .user-join__panel {
        padding-right: 14px;
        padding-left: 14px;
    }

    .user-join__sms-row {
        flex-direction: column;
    }

    .user-join__sms-button {
        width: 100%;
        min-width: 0;
    }

    .user-join__agreement-links {
        display: grid;
        padding-left: 25px;
    }

    .user-join__agreement-links a {
        justify-content: center;
        width: 100%;
        white-space: normal;
    }

    .user-join__login {
        align-items: flex-start;
        flex-direction: column;
    }
}
