﻿/* 전체 레이아웃 */
body {
    font-family: 'Noto Sans KR', 'Segoe UI', sans-serif;
    background-color: #f2f4f8;
    margin: 0;
    padding: 0;
    color: #333;
}

/* 폼 컨테이너 */
.find-id-container {
    max-width: 500px;
    margin: 80px auto;
    background-color: #fff;
    padding: 32px 28px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

    /* 제목 */
    .find-id-container h2 {
        text-align: center;
        font-size: 26px;
        font-weight: bold;
        margin-bottom: 32px;
        color: #111;
    }

/* 각 입력 필드 그룹 */
.form-group {
    margin-bottom: 24px;
}

    .form-group label {
        display: block;
        font-weight: 600;
        font-size: 14px;
        margin-bottom: 6px;
        color: #444;
    }

/* 기본 입력 필드 스타일 */
.form-control {
    width: 100%;
    padding: 12px;
    font-size: 14px;
    border: 1px solid #ccc;
    border-radius: 6px;
    transition: border-color 0.3s ease;
    box-sizing: border-box;
}

    .form-control:focus {
        border-color: #007bff;
        outline: none;
        background-color: #f0f8ff;
    }

/* 전화번호 입력칸과 버튼을 한 줄에 정렬 */
.form-group input[type="tel"] {
    display: inline-block;
    width: calc(100% - 140px); /* 버튼 너비 + 여백 고려 */
    vertical-align: middle;
}

    .form-group input[type="tel"] + .btn {
        display: inline-block;
        vertical-align: middle;
        margin-left: 10px;
        height: 42px;
        padding: 0 16px;
        font-size: 14px;
        font-weight: 500;
        border-radius: 6px;
        background-color: #7b2cbf;
        color: white;
        border: none;
        white-space: nowrap;
        cursor: pointer;
        margin-top: 0 !important;
    }

        .form-group input[type="tel"] + .btn:hover {
            background-color: #5a189a;
        }

/* 인증번호 확인 버튼 정렬 */
.form-group > div[style*="display: flex"] button {
    height: 42px;
    padding: 0 16px;
    font-size: 14px;
    border-radius: 6px;
    border: 1px solid #7b2cbf;
    color: #7b2cbf;
    background-color: white;
    cursor: pointer;
}

    .form-group > div[style*="display: flex"] button:hover {
        background-color: #7b2cbf;
        color: white;
    }

/* 인증 결과 메시지 */
#verification-result {
    font-size: 14px;
    font-weight: 500;
    margin-top: 6px;
}

    #verification-result span {
        font-weight: bold;
    }

/* 에러 메시지 */
.text-danger {
    font-size: 13px;
    color: #dc3545;
    margin-top: 4px;
}

/* 최종 제출 버튼 */
#submitBtn {
    width: 100%;
    padding: 14px;
    font-size: 15px;
    font-weight: bold;
    border-radius: 6px;
    border: none;
    background-color: #7b2cbf;
    color: white;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

    #submitBtn:hover:not([disabled]) {
        background-color: #5a189a;
    }

    #submitBtn:disabled {
        background-color: #adb5bd;
        cursor: not-allowed;
    }
