/* ---------------------------------------------------
   1. 전체 레이아웃 / 배경
--------------------------------------------------- */
body {
    font-family: "Noto Sans KR", sans-serif;
    background: #f5f7fa;
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding-top: 30px;
}

/* 회원가입 전체 박스 */
.container {
    display: flex;
    flex-direction: column;

    width: 400px;
    padding: 28px 30px 30px 30px;
    box-sizing: border-box;

    background: #ffffff;
    border-radius: 14px;
    box-shadow: 0 0 20px rgba(0,0,0,0.12);
}


/* ---------------------------------------------------
   2. 공통 input / select 스타일
--------------------------------------------------- */
.container input,
.container select {
    width: 100%;
    height: 45px;
    padding: 12px;
    margin-bottom: 14px;

    border: 1.6px solid #d1d5db;
    border-radius: 10px;
    font-size: 14px;

    box-sizing: border-box;
    transition: 0.2s;
}

.container input:focus,
.container select:focus {
    outline: none;
    border-color: #003a9f;
    box-shadow: 0 0 6px rgba(0, 55, 153, 0.2);
}


/* ---------------------------------------------------
   3. 타이틀 / 섹션 제목
--------------------------------------------------- */
.register-title {
    font-size: 26px;
    font-weight: 600;
    color: #003a9f;
    text-align: center;

    margin: 0 0 14px 0;
}

.section-title {
    font-size: 17px;
    font-weight: 600;
    color: #003a9f;
    margin-bottom: 8px;
}

.section-title::after {
    content: "";
    display: block;
    height: 1px;
    background: #e1e4eb;
    margin-top: 6px;
}


/* ---------------------------------------------------
   4. 생년월일 입력 영역
--------------------------------------------------- */
.birth-area {
    display: flex;
    gap: 10px;
}

.birth-area .birth {
    flex: 3;
}

.birth-area .birth-first {
    flex: 0.3;
}

.birth-area .dash,
.birth-area .circle {
    font-size: 20px;
    font-weight: 600;
    color: #444;
    transform: translateY(20%);
}


/* ---------------------------------------------------
   5. 전화번호 입력 영역
--------------------------------------------------- */
.phone-area {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* 전화번호 3칸 */
.phone-wrapper {
    display: flex;
    align-items: center;
    gap: 6px;
}

.phone-wrapper input {
    flex: 1;
}

.phone-wrapper .dash {
    font-size: 20px;
    font-weight: 600;
    color: #444;
    transform: translateY(-20%);
}

/* 통신사 / 인증요청 버튼 동일 높이 */
.phone-area .carrier,
.phone-area .request {
    height: 45px;
    box-sizing: border-box;
}
.carrier-wrapper {
    display: flex;
}

.carrier {
    flex: 1.2;
    margin-right: 20px;
}
.request {
    flex: 3;

    background-color: #003a9f;
    color: white;
    border: none;
    border-radius: 10px;

    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.2s;
}

.phone-area .request:hover {
    background-color: #002b78;
}


/* ---------------------------------------------------
   6. 인증번호 입력 영역
--------------------------------------------------- */
.verify-area {
    display: flex;
    gap: 10px;
}

.verify-area .verify-code {
    flex: 2;
}

.verify-area .verify-btn {
    flex: 1;
    height: 45px;

    background-color: #003a9f;
    color: white;
    border: none;
    border-radius: 10px;

    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
}

.timer-wrapper {
    display: flex;
}
.timer {
    position: absolute;
    margin-top: 14px;
    margin-left: 130px;
    color: rgba(209, 0, 0, 0.6);
    text-shadow: 0 0 3px rgba(0, 0, 0, 0.05);
 
    
}

/* 처음에는 숨김 */
.hidden {
    display: none;
}


/* ---------------------------------------------------
   7. 회원정보 찾기 버튼
--------------------------------------------------- */
.submit-btn {
    width: 340px;      /* container 패딩 고려 */
    padding: 14px 0;

    margin-top: auto;  /* 컨테이너 아래에서 밀림 */

    background: #003a9f;
    color: white;
    border: none;
    border-radius: 10px;

    font-size: 17px;
    font-weight: 600;
    cursor: pointer;
}

.submit-btn:hover {
    background-color: #002b78;
}


/* ---------------------------------------------------
   8. 모바일 반응형
--------------------------------------------------- */
@media screen and (max-width: 480px) {

    body {
        align-items: flex-start;
        padding-top: 20px;
    }

    .container {
        width: 92%;
        padding: 24px;
    }

    .submit-btn {
        width: 92%;
    }

    .phone-area {
        flex-direction: column;
    }

    .verify-area {
        flex-direction: column;
    }

    .phone-area .request,
    .verify-area .verify-btn {
        width: 100%;
    }
}
