/* ─── 회원가입 모달 (signup-modal) ── signup 전용 스타일 ───
   공통 스타일은 modal-shared.css에서 로드
   ─────────────────────────────────────────────────────── */

/* ─── 다이얼로그 (signup 전용: border-radius, width) ─── */
.signup-modal__dialog {
    border-radius: 32px;
    width: 484px;
    max-width: 100%;
}

/* ─── 닫기 버튼 (signup 전용) ─── */
.signup-modal__close-btn {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 36px;
    height: 36px;
    border: none;
    background: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background 0.2s;
    z-index: 10;
}

.signup-modal__close-btn:hover {
    background: rgba(0, 0, 0, 0.06);
}

/* ─── 스크롤 영역 ─── */
.signup-modal__content {
    padding: 20px 20px 0;
    text-align: center;
    overflow-y: auto;
    flex: 1;
}

/* ─── 로고 ─── */
.signup-modal__logo {
    margin-left: 43%;

}

.signup-modal__logo img {
    width: 40px;
    height: 40px;
    border-radius: 12px;
}

/* ─── 제목 ─── */
.signup-modal__title {
    font-size: 32px;
    font-weight: 600;
    color: #333;
    text-align: center;
    margin-bottom: 4px;
    line-height: 1.25;
}

.signup-modal__subtitle {
    font-size: 16px;
    color: #000;
    margin-bottom: 16px;
}

/* ─── 폼 ─── */
.signup-modal__form {
    width: 380px;
    max-width: 100%;
    margin: 0 auto;
    text-align: left;
}

/* ─── 폼 라벨 (signup 전용: text-align) ─── */
.signup-modal__form-label {
    text-align: left;
}

/* ─── 제출 버튼 (signup 전용: margin-top) ─── */
.signup-modal__submit-btn {
    margin-top: 12px;
}

/* ─── 소셜 로그인 (signup 전용: width, margin) ─── */
.signup-modal__social-login {
    width: 380px;
    max-width: 100%;
    margin: 0 auto;
}

/* ─── Naver 변형 (signup 전용: margin-top) ─── */
.signup-modal__social-login--naver {
    margin-top: 8px;
}

/* ─── Kakao 변형 (signup 전용: margin-top) ─── */
.signup-modal__social-login--kakao {
    margin-top: 8px;
    margin-bottom: 8px;
}

/* ─── 약관 (signup 전용: font-size, color, padding) ─── */
.signup-modal__terms-text {
    font-size: 12px;
    color: #211922;
    margin-top: 12px;
    line-height: 1.5;
    padding: 0 20px;
}

.signup-modal__terms-text a {
    color: #211922;
    text-decoration: underline;
}

.signup-modal__terms-text a:hover {
    color: #000;
}

/* ─── 2단계 서브뷰 ─── */
.signup-modal__subview {
    padding: 24px;
}

.signup-modal__subview-inner {
    width: 400px;
    max-width: 100%;
    margin: 0 auto;
    text-align: center;
}

.signup-modal__text-btn {
    margin-top: 12px;
    border: none;
    background: none;
    color: #2b48d4;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
}

.signup-modal__text-btn:hover {
    text-decoration: underline;
}

/* ─── 비밀번호 팁 버블 ─── */
.signup-modal__tip-bubble {
    margin-top: 8px;
    background: #f7f7f5;
    border: 1px solid #e5e5e0;
    border-radius: 12px;
    padding: 12px 16px;
}

.signup-modal__tip-bubble ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.signup-modal__tip-bubble li {
    font-size: 13px;
    color: #333;
    line-height: 1.6;
}

.signup-modal__tip-bubble li:first-child {
    font-weight: 600;
    margin-bottom: 4px;
}

.signup-modal__tip-bubble li + li::before {
    content: "\2022";
    margin-right: 6px;
    color: #999;
}

.signup-modal__tip-bubble li:first-child::before {
    content: none;
}

/* ─── 로그인 링크 ─── */
.signup-modal__login-link {
    font-size: 12px;
    color: #211922;
    margin-top: 12px;
    margin-bottom: 16px;
}

/* ─── 하단바 (signup 전용: border-radius) ─── */
.signup-modal__bottom-bar {
    border-radius: 0 0 32px 32px;
}

/* ═══════════════════════════════════════════════════════
   반응형
   ═══════════════════════════════════════════════════════ */
@media (max-width: 850px) {
    .signup-modal__dialog {
        width: 92vw;
    }
}

@media (max-width: 600px) {
    .signup-modal__dialog {
        border-radius: 0;
        width: 100% !important;
        height: 100%;
        max-height: 100vh;
    }

    .signup-modal__content {
        padding: 16px 16px 0;
    }

    .signup-modal__bottom-bar {
        border-radius: 0;
    }

    .signup-modal__title {
        font-size: 26px;
    }

    .signup-modal__subview-inner {
        width: 100%;
    }

    .signup-modal__subview {
        padding: 16px;
    }

    .signup-modal__form,
    .signup-modal__social-login {
        width: 100%;
    }
}


