/* ========================================
   기본 스타일 (counseling.css에서 상속)
   ======================================== */
   * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, system-ui, Roboto, 'Helvetica Neue', 'Segoe UI', 'Apple SD Gothic Neo', 'Noto Sans KR', 'Malgun Gothic', sans-serif;
    background: #ffffff;
    min-height: 100vh;
}


/* ========================================
   예약 폼 섹션
   ======================================== */
.reservation-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 100px 20px 150px;
}

.reservation-header {
    text-align: center;
    margin-bottom: 80px;
}

.reservation-subtitle {
    font-size: 16px;
    color: #A6756A;
    letter-spacing: 8px;
    margin-bottom: 15px;
    font-weight: 400;
}

.reservation-main-title {
    font-size: 42px;
    font-weight: bold;
    color: #000000;
    margin-bottom: 20px;
}

/* 폼 섹션 */
.reservation-form {
    background: white;
}

.form-section {
    margin-bottom: 40px;
    border: 1px solid #e8e8e8;
    border-radius: 8px;
    overflow: hidden;
}

.section-title {
    background: #f8f9fa;
    padding: 18px 25px;
    font-size: 18px;
    font-weight: 600;
    color: #333;
    display: flex;
    align-items: center;
    gap: 10px;
    border-bottom: 1px solid #e8e8e8;
}

.check-icon {
    color: #A6756A;
    font-size: 22px;
    font-weight: bold;
}

/* 개인정보처리방침 */
.privacy-notice .privacy-content {
    padding: 25px;
    background: #fafafa;
}

.privacy-text-box {
    max-height: 250px;
    overflow-y: auto;
    padding-right: 10px;
    margin-bottom: 20px;
}

.privacy-content h4 {
    font-size: 15px;
    font-weight: 600;
    color: #333;
    margin-bottom: 15px;
}

.privacy-content h5 {
    font-size: 14px;
    font-weight: 600;
    color: #333;
    margin: 15px 0 8px;
}

.privacy-content p {
    font-size: 13px;
    color: #666;
    line-height: 1.8;
    margin-bottom: 10px;
}

.privacy-agreement {
    display: flex;
    gap: 30px;
    padding-top: 20px;
    border-top: 1px solid #e8e8e8;
}

.radio-label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-size: 14px;
    color: #333;
}

.radio-label input[type="radio"] {
    display: none;
}

.radio-custom {
    width: 20px;
    height: 20px;
    border: 2px solid #ddd;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    position: relative;
}

.radio-label input[type="radio"]:checked + .radio-custom {
    border-color: #A6756A;
}

.radio-label input[type="radio"]:checked + .radio-custom::after {
    content: '';
    width: 10px;
    height: 10px;
    background: #A6756A;
    border-radius: 50%;
}

/* 폼 내용 */
.form-content {
    padding: 30px 25px;
}

.form-row {
    display: grid;
    grid-template-columns: 150px 1fr;
    gap: 20px;
    margin-bottom: 20px;
    align-items: start;
}

.form-label {
    font-size: 15px;
    color: #333;
    font-weight: 500;
    padding-top: 12px;
}

.form-label.required::after {
    content: '*';
    color: #e74c3c;
    margin-left: 4px;
}

.form-input {
    width: 100%;
    height: 45px;
    padding: 0 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 14px;
    color: #333;
    outline: none;
    transition: all 0.3s ease;
}

.form-input:focus {
    border-color: #A6756A;
}

.form-input::placeholder {
    color: #999;
}

/* 전화번호 입력 */
.phone-row {
    align-items: center;
}

.phone-inputs {
    display: flex;
    align-items: center;
    gap: 8px;
}

.phone-input {
    width: 80px;
    text-align: center;
}

.phone-separator {
    color: #999;
    font-size: 16px;
}

/* 텍스트 영역 */
.form-textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 14px;
    color: #333;
    outline: none;
    resize: vertical;
    font-family: inherit;
    line-height: 1.6;
    transition: all 0.3s ease;
}

.form-textarea:focus {
    border-color: #A6756A;
}

.form-textarea::placeholder {
    color: #999;
}

/* 자동등록방지 */
.captcha-row {
    align-items: start;
}

.captcha-container {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.captcha-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
}

.captcha-image {
    background: #f0f0f0;
    border: 1px solid #ddd;
    border-radius: 5px;
    padding: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.captcha-image img {
    display: block;
    max-width: 150px;
    height: auto;
}

.captcha-btn {
    width: 45px;
    height: 45px;
    background: white;
    border: 1px solid #ddd;
    border-radius: 5px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.captcha-btn:hover {
    background: #f8f9fa;
    border-color: #A6756A;
}

.captcha-btn svg {
    color: #666;
}

.captcha-input {
    max-width: 400px;
}

/* 버튼 */
.form-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 50px;
}

.btn-submit,
.btn-cancel {
    padding: 15px 60px;
    font-size: 16px;
    font-weight: 600;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-submit {
    background: #A6756A;
    color: white;
}

.btn-submit:hover {
    background: #85594F;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(81, 111, 95, 0.3);
}

.btn-cancel {
    background: #e8e8e8;
    color: #666;
}

.btn-cancel:hover {
    background: #d0d0d0;
}

/* ========================================
   반응형 - 태블릿
   ======================================== */
@media (max-width: 1200px) {

    .reservation-container {
        padding: 100px 30px 150px;
    }

    .form-row {
        grid-template-columns: 120px 1fr;
        gap: 15px;
    }


}

/* ========================================
   반응형 - 모바일
   ======================================== */
@media (max-width: 768px) {
 
    /* 예약 폼 모바일 */
    .reservation-container {
        padding: 60px 20px 200px;
    }

    .reservation-header {
        margin-bottom: 50px;
    }

    .reservation-subtitle {
        font-size: 14px;
        letter-spacing: 4px;
    }

    .reservation-main-title {
        font-size: 28px;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 8px;
        margin-bottom: 25px;
    }

    .form-label {
        padding-top: 0;
        font-size: 14px;
    }

    .phone-inputs {
        flex-wrap: wrap;
    }

    .phone-input {
        width: 70px;
    }

    .captcha-wrapper {
        flex-wrap: wrap;
    }

    .captcha-input {
        max-width: 100%;
    }

    .form-buttons {
        flex-direction: column;
        gap: 10px;
    }

    .btn-submit,
    .btn-cancel {
        width: 100%;
        padding: 15px 20px;
    }

}

/* ========================================
   반응형 - 작은 모바일
   ======================================== */
@media (max-width: 480px) {
 
    .reservation-container {
        padding: 60px 15px 200px;
    }

    .reservation-main-title {
        font-size: 24px;
    }

    .section-title {
        font-size: 16px;
        padding: 15px 20px;
    }

    .privacy-content {
        padding: 20px;
    }

    .form-content {
        padding: 20px 15px;
    }

    .phone-input {
        width: 60px;
        font-size: 13px;
    }
    

}