/* 회원가입 폼 — PC 2열 / 모바일 1열 */
.pop_join {
    position: fixed;
    inset: 0;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding: 12px;
    box-sizing: border-box;
}
.pop_join_box.is-form {
    width: 100%;
    max-width: 720px;
    margin: 24px auto 32px;
    padding: 24px 28px 28px;
    max-height: none;
    overflow: visible;
    box-sizing: border-box;
    border: 1px solid rgba(229, 170, 6, 0.35);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}
.pop_join_box.is-form .pop_join_ttl img {
    width: 180px;
    max-width: 55%;
    margin-top: 8px;
}
.pop_join_box.is-form .close_join_pop {
    color: #ccc;
    z-index: 2;
}
.pop_join_box.is-form .close_join_pop:hover {
    color: #e5aa06;
}

.join_form--modern {
    margin-top: 8px;
}
.join_form_head {
    text-align: center;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.join_form_title {
    margin: 0 0 6px;
    font-size: 20px;
    font-weight: 700;
    color: #e5aa06;
    letter-spacing: -0.02em;
}
.join_form_title i {
    margin-right: 8px;
    opacity: 0.9;
}
.join_form_desc {
    margin: 0;
    font-size: 12px;
    color: #888;
    line-height: 1.5;
}

.join_form_grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px 18px;
}
@media (min-width: 768px) {
    .join_form_grid {
        grid-template-columns: 1fr 1fr;
        gap: 16px 20px;
    }
    .join_field--full {
        grid-column: 1 / -1;
    }
}

.join_field {
    min-width: 0;
}
.join_label {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 6px;
    font-size: 13px;
    font-weight: 600;
    color: #b8b8b8;
    letter-spacing: -0.01em;
}
.join_label i {
    width: 18px;
    text-align: center;
    color: #e5aa06;
    font-size: 14px;
    flex-shrink: 0;
}
.join_input,
.join_form--modern select.join_input {
    width: 100%;
    height: 44px;
    padding: 0 14px;
    box-sizing: border-box;
    border-radius: 8px;
    border: 1px solid rgba(0, 0, 0, 0.6);
    background: rgba(30, 30, 30, 0.95);
    color: #fff;
    font-size: 14px;
    font-weight: 500;
    box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.35);
    transition: border-color 0.2s, box-shadow 0.2s;
    text-align: left;
    display: block;
    margin: 0;
}
.join_input:focus,
.join_form--modern select.join_input:focus {
    outline: none;
    border-color: rgba(229, 170, 6, 0.65);
    box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.35), 0 0 0 2px rgba(229, 170, 6, 0.15);
}
.join_input::placeholder {
    color: #666;
    font-weight: 400;
}
.join_input[readonly] {
    background: rgba(40, 40, 40, 0.7);
    color: #ccc;
    text-align: center;
}
.join_form--modern select.join_input {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23e5aa06' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 32px;
}
.join_form--modern select.join_input option {
    background: #222;
    color: #fff;
}

.join_hint {
    min-height: 14px;
    margin-top: 4px;
    font-size: 11px;
    line-height: 1.3;
    padding-left: 2px;
}
.join_hint.chk_id_g,
.join_hint.chk_nick_g,
.join_hint.chk_req_g,
.join_hint.chk_birth_g { color: #5cb85c; }
.join_hint.chk_id_r,
.join_hint.chk_nick_r,
.join_hint.chk_req_r,
.join_hint.chk_birth_r { color: #e88; }

.join_phone_row {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: nowrap;
}
.join_phone_row select.join_input {
    width: 88px;
    flex-shrink: 0;
    text-align: center;
    padding: 0 8px;
}
.join_phone_row input.join_input {
    flex: 1;
    min-width: 0;
    text-align: center;
}

.join_sms_row {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
@media (min-width: 768px) {
    .join_sms_row {
        flex-direction: row;
        align-items: stretch;
    }
    .join_sms_row .join_sms_btn {
        flex: 0 0 160px;
    }
    .join_sms_row .join_input.hp_chk_input {
        flex: 1;
    }
}
.join_sms_btn {
    width: 100%;
    height: 44px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 700;
    color: #1a1a1a;
    background: linear-gradient(180deg, #f7de00 0%, #f3a61c 100%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35), 0 2px 8px rgba(0, 0, 0, 0.25);
    transition: filter 0.2s, transform 0.15s;
}
.join_sms_btn:hover {
    filter: brightness(1.05);
}
.join_sms_btn.dspn {
    display: none !important;
}
.join_input.hp_chk_input.dspn {
    display: none !important;
}
.join_input.hp_chk_input:not(.dspn) {
    display: block !important;
}

.join_field--actions {
    margin-top: 4px;
    padding-top: 8px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.join_submit_btn {
    width: 100%;
    height: 50px;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 700;
    color: #1a1a1a;
    letter-spacing: 0.02em;
    background: linear-gradient(180deg, #f7de00 0%, #e8940a 100%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4), 0 4px 14px rgba(0, 0, 0, 0.35);
    transition: filter 0.2s, transform 0.12s;
}
.join_submit_btn i {
    margin-right: 8px;
}
.join_submit_btn:hover {
    filter: brightness(1.06);
}
.join_submit_btn:active {
    transform: scale(0.99);
}
.join_form_footer {
    margin: 12px 0 0;
    text-align: center;
    font-size: 11px;
    color: #777;
    line-height: 1.5;
}
.join_form_footer i {
    color: #e5aa06;
    margin-right: 4px;
}

/* 코드 입력 1단계 */
.pop_join_box:not(.is-form) {
    max-width: 400px;
}
@media (max-width: 767px) {
    .pop_join_box.is-form {
        margin: 8px auto 24px;
        padding: 18px 16px 22px;
        border-radius: 12px;
    }
    .join_form_title {
        font-size: 18px;
    }
    .join_label {
        font-size: 12px;
    }
    .join_input,
    .join_form--modern select.join_input {
        height: 42px;
        font-size: 16px; /* iOS zoom 방지 */
    }
}

/* 코드 입력 1단계 스타일 */
.pop_join_box:not(.is-form) .pop_join_info {
    font-size: 18px;
    font-weight: 700;
    color: #e5aa06;
    margin-bottom: 4px;
}
.pop_join_box:not(.is-form) .ip_code {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    height: 46px;
    border-radius: 8px;
    margin-bottom: 10px;
}
.pop_join_box:not(.is-form) .next_step {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    height: 48px;
    line-height: 48px;
    border-radius: 8px;
    font-weight: 700;
}
.pop_join_box:not(.is-form) .code_info {
    margin-top: 10px;
    color: #777;
    line-height: 1.5;
}
