﻿/* 휴대폰 번호 인증 화면(2026-11-26) — 로그인 직후 인증을 마치기 전에는 이 화면만 열린다. */
.phone-gate-page .content-area {
    min-height: 60vh;
    padding: 48px 0 64px;
    background: #f6f7fb;
}

.phone-gate-card {
    max-width: 520px;
    margin: 0 auto;
    padding: 32px 28px;
    background: #fff;
    border: 1px solid #e5e9f2;
    border-radius: 18px;
    box-shadow: 0 18px 40px rgba(16, 24, 47, .08);
}

.phone-gate-eyebrow {
    margin: 0 0 6px;
    font-size: 12.5px;
    font-weight: 700;
    color: #4d64f5;
}

.phone-gate-title {
    margin: 0 0 10px;
    font-size: 22px;
    font-weight: 800;
    color: #17203a;
    letter-spacing: -.02em;
}

.phone-gate-desc,
.phone-gate-help {
    margin: 0 0 10px;
    font-size: 14px;
    line-height: 1.65;
    color: #475467;
    word-break: keep-all;
}

.phone-gate-help {
    color: #667085;
}

.phone-gate-form {
    margin-top: 18px;
}

.phone-gate-field {
    margin-bottom: 14px;
}

.phone-gate-field label {
    display: block;
    margin-bottom: 6px;
    font-size: 13px;
    font-weight: 700;
    color: #17203a;
}

.phone-gate-field--code {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
    column-gap: 8px;
}

.phone-gate-field--code label {
    grid-column: 1 / -1;
}

.phone-gate-field input {
    width: 100%;
    min-width: 0;
    height: 46px;
    padding: 0 14px;
    border: 1px solid #e5e9f2;
    border-radius: 10px;
    font-size: 14px;
    color: #17203a;
    background: #fff;
    box-sizing: border-box;
}

.phone-gate-field input:focus {
    outline: none;
    border-color: #4d64f5;
    box-shadow: 0 0 0 3px rgba(77, 100, 245, .16);
}

.phone-gate-field button {
    height: 46px;
    padding: 0 16px;
    border: 1px solid #4d64f5;
    border-radius: 10px;
    background: #eef1ff;
    color: #3144c9;
    font-size: 13.5px;
    font-weight: 800;
    white-space: nowrap;
    cursor: pointer;
}

.phone-gate-field button:disabled {
    cursor: default;
}

.phone-gate-result {
    min-height: 20px;
    margin: 4px 0 10px;
    font-size: 13.5px;
    line-height: 1.5;
    color: #12805c;
    word-break: keep-all;
}

.phone-gate-result--error {
    color: #d92d20;
}

.phone-gate-submit {
    width: 100%;
    height: 50px;
    border: 0;
    border-radius: 12px;
    background: #4d64f5;
    color: #fff;
    font-size: 15px;
    font-weight: 800;
    cursor: pointer;
}

.phone-gate-submit:disabled {
    cursor: default;
}

.phone-gate-foot {
    margin: 14px 0 0;
    font-size: 12.5px;
    line-height: 1.6;
    color: #667085;
    word-break: keep-all;
}

@media (max-width: 520px) {
    .phone-gate-page .content-area {
        padding: 24px 12px 40px;
    }

    .phone-gate-card {
        padding: 22px 16px;
    }

    .phone-gate-field--code {
        grid-template-columns: minmax(0, 1fr);
        row-gap: 8px;
    }

    .phone-gate-field--code button {
        width: 100%;
        white-space: normal;
    }
}

/* 내 정보 탭의 휴대폰 인증 줄(2026-11-26) — 입력칸과 버튼이 같은 높이로 나란히 선다. */
.mi-phone-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    column-gap: 8px;
    margin-bottom: 8px;
}

.mi-phone-row[hidden] {
    display: none;
}

@media (max-width: 520px) {
    .mi-phone-row {
        grid-template-columns: minmax(0, 1fr);
        row-gap: 8px;
    }

    .mi-phone-row .mp-btn {
        width: 100%;
    }
}

/* 회원가입 화면의 휴대폰 인증 줄(2026-11-26). */
.join-phone-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    column-gap: 8px;
    margin-bottom: 8px;
}

.join-phone-row .join-phone-send,
.join-phone-row .join-phone-verify {
    height: 54px;
    padding: 0 16px;
    border: 1px solid #4d64f5;
    border-radius: 10px;
    background: #eef1ff;
    color: #3144c9;
    font-size: 13.5px;
    font-weight: 800;
    white-space: nowrap;
    cursor: pointer;
}

.join-phone-row button:disabled {
    cursor: default;
}

@media (max-width: 520px) {
    .join-phone-row {
        grid-template-columns: minmax(0, 1fr);
        row-gap: 8px;
    }

    .join-phone-row button {
        width: 100%;
    }
}

.ui-inline-error[hidden] {
    display: none;
}
