/* ========================================
   기본 스타일 (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;
}


/* ========================================
   모델 신청 페이지 전용 스타일
   ======================================== */

.model-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 100px 20px 150px;
}

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

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

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

/* 폼 스타일 */
.model-form {
    background: white;
}

.form-section {
    margin-bottom: 50px;
    border: 2px solid #e8e8e8;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.form-section:hover {
    border-color: #A6756A;
    box-shadow: 0 4px 20px rgba(81, 111, 95, 0.1);
}

/* 섹션 헤더 */
.section-header {
    background: linear-gradient(135deg, #A6756A 0%, #865e55 100%);
    padding: 25px 30px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.section-number {
    font-size: 32px;
    font-weight: bold;
    color: white;
    font-style: italic;
    opacity: 0.9;
}

.section-title {
    font-size: 22px;
    font-weight: 600;
    color: white;
    margin: 0;
}

.section-header-simple {
    background: #f8f9fa;
    padding: 20px 30px;
    border-bottom: 2px solid #e8e8e8;
}

.section-header-simple .section-title {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin: 0;
}

/* 폼 콘텐츠 */
.form-content {
    padding: 40px 30px;
    background: #fafafa;
}

/* 그리드 레이아웃 */
.form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
    margin-bottom: 25px;
}

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

.form-field-full {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 25px;
}

.field-label {
    font-size: 15px;
    font-weight: 600;
    color: #333;
}

.field-input {
    width: 100%;
    height: 48px;
    padding: 0 18px;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-size: 15px;
    color: #333;
    background: white;
    outline: none;
    transition: all 0.3s ease;
}

.field-input:focus {
    border-color: #A6756A;
    box-shadow: 0 0 0 4px rgba(81, 111, 95, 0.1);
}

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

.field-textarea {
    width: 100%;
    padding: 18px;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-size: 15px;
    color: #333;
    background: white;
    outline: none;
    resize: vertical;
    font-family: inherit;
    line-height: 1.6;
    transition: all 0.3s ease;
}

.field-textarea:focus {
    border-color: #A6756A;
    box-shadow: 0 0 0 4px rgba(81, 111, 95, 0.1);
}

/* 라디오 버튼 */
.radio-group {
    display: flex;
    gap: 30px;
    align-items: center;
}

.radio-group-large {
    display: flex;
    gap: 50px;
    align-items: center;
    justify-content: center;
    padding: 20px 0;
}

.radio-option {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-size: 15px;
    color: #333;
    transition: all 0.3s ease;
}

.radio-option:hover {
    color: #A6756A;
}

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

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

.radio-option input[type="radio"]:checked + .radio-box {
    border-color: #A6756A;
    background: #A6756A;
}

.radio-option input[type="radio"]:checked + .radio-box::after {
    content: '';
    width: 8px;
    height: 8px;
    background: white;
    border-radius: 50%;
}

/* 체크박스 */
.checkbox-list {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.checkbox-item {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-size: 15px;
    color: #333;
    padding: 12px 20px;
    border-radius: 8px;
    transition: all 0.3s ease;
    min-width: 150px;
}

.checkbox-item:hover {
    border-color: #A6756A;
    background: rgba(81, 111, 95, 0.05);
}

.checkbox-item input[type="checkbox"] {
    display: none;
}

.checkbox-box {
    width: 22px;
    height: 22px;
    border: 2px solid #ddd;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    background: white;
}

.checkbox-item input[type="checkbox"]:checked + .checkbox-box {
    border-color: #A6756A;
    background: #A6756A;
}

.checkbox-item input[type="checkbox"]:checked + .checkbox-box::after {
    content: '✓';
    color: white;
    font-size: 14px;
    font-weight: bold;
}

/* 안내 박스 */
.info-notice {
    background: #fff9e6;
    border-left: 4px solid #ffc107;
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 4px;
}

.info-notice p {
    font-size: 14px;
    color: #856404;
    line-height: 1.8;
    margin: 0;
}

.info-notice p + p {
    margin-top: 8px;
}

/* 사진 첨부 안내 */
.photo-notice {
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 30px;
    display: flex;
    gap: 20px;
}

.notice-icon {
    font-size: 32px;
    flex-shrink: 0;
}

.notice-content h4 {
    font-size: 16px;
    font-weight: 600;
    color: #1976d2;
    margin-bottom: 15px;
}

.notice-content ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.notice-content li {
    font-size: 14px;
    color: #0d47a1;
    line-height: 1.8;
    padding-left: 20px;
    position: relative;
}

.notice-content li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: #1976d2;
    font-weight: bold;
}

/* 사진 가이드 */
.photo-guide {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.guide-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.guide-item img {
    width: 100px;
    height: 120px;
    border: 2px solid #e8e8e8;
    border-radius: 8px;
    object-fit: cover;
}

.guide-item span {
    font-size: 14px;
    font-weight: 500;
    color: #666;
}

/* 파일 업로드 */
.photo-upload-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.upload-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px;
    background: white;
    border: 2px solid #e8e8e8;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.upload-item:hover {
    border-color: #A6756A;
    box-shadow: 0 2px 10px rgba(81, 111, 95, 0.1);
}

.upload-label {
    font-size: 15px;
    font-weight: 600;
    color: #333;
    min-width: 120px;
}

.upload-actions {
    display: flex;
    align-items: center;
    gap: 15px;
    flex: 1;
}

.file-input {
    display: none;
}

.file-button {
    padding: 10px 24px;
    background: #A6756A;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

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

.file-name {
    font-size: 14px;
    color: #999;
    flex: 1;
}

/* 개인정보 박스 */
.privacy-box {
    background: white;
    border: 2px solid #e8e8e8;
    border-radius: 8px;
    padding: 25px;
    margin-bottom: 20px;
    max-height: 200px;
    overflow-y: auto;
}

.privacy-text p {
    font-size: 14px;
    color: #666;
    line-height: 1.8;
    margin-bottom: 12px;
}

.privacy-text p:last-child {
    margin-bottom: 0;
}

.privacy-text strong {
    color: #333;
    font-weight: 600;
}

.agreement-row {
    display: flex;
    justify-content: center;
    padding: 20px 0;
}

.checkbox-agreement {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 500;
    color: #333;
    padding: 15px 30px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.checkbox-agreement input[type="checkbox"] {
    display: none;
}

.checkbox-agreement .checkbox-box {
    width: 24px;
    height: 24px;
    border: 2px solid #ddd;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    background: white;
}

.checkbox-agreement input[type="checkbox"]:checked + .checkbox-box {
    border-color: #A6756A;
    background: #A6756A;
}

.checkbox-agreement input[type="checkbox"]:checked + .checkbox-box::after {
    content: '✓';
    color: white;
    font-size: 16px;
    font-weight: bold;
}

/* 캡차 영역 */
.captcha-area {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    padding: 30px;
    background: white;
    border-radius: 8px;
}

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

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

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

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

.captcha-btn:hover {
    background: #f8f9fa;
    border-color: #A6756A;
    transform: scale(1.05);
}

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

.captcha-input {
    width: 100%;
    max-width: 500px;
    height: 50px;
    padding: 0 20px;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-size: 15px;
    color: #333;
    background: white;
    outline: none;
    text-align: center;
    transition: all 0.3s ease;
}

.captcha-input:focus {
    border-color: #A6756A;
    box-shadow: 0 0 0 4px rgba(81, 111, 95, 0.1);
}

/* 제출 버튼 */
.submit-area {
    display: flex;
    justify-content: center;
    margin-top: 60px;
}

.btn-submit-large {
    padding: 20px 100px;
    background: linear-gradient(135deg, #A6756A 0%, #865e55 100%);
    color: white;
    border: none;
    border-radius: 50px;
    font-size: 22px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(81, 111, 95, 0.3);
    letter-spacing: 2px;
}

.btn-submit-large:hover {
    background: linear-gradient(135deg, #85594F 0%, #A6756A 100%);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(81, 111, 95, 0.4);
}

.btn-submit-large:active {
    transform: translateY(-1px);
}


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


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

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

    .form-grid {
        gap: 20px;
    }

    .form-content {
        padding: 30px 25px;
    }
}

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

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

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

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

    .form-section {
        margin-bottom: 30px;
        border-radius: 8px;
    }

    .section-header {
        padding: 20px;
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .section-number {
        font-size: 24px;
    }

    .section-title {
        font-size: 18px;
    }

    .section-header-simple {
        padding: 18px 20px;
    }

    .section-header-simple .section-title {
        font-size: 16px;
    }

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

    .form-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .field-label {
        font-size: 14px;
    }

    .field-input {
        height: 45px;
        font-size: 14px;
    }

    .radio-group {
        gap: 20px;
    }

    .radio-group-large {
        gap: 30px;
    }

    .checkbox-list {
        flex-direction: column;
        gap: 15px;
    }

    .checkbox-item {
        width: 100%;
    }

    .photo-notice {
        flex-direction: column;
        padding: 20px;
    }

    .notice-content li {
        font-size: 13px;
    }

    .photo-guide {
        gap: 8px;
    }

    .guide-item img {
        width: 60px;
        height: 75px;
    }

    .guide-item span {
        font-size: 12px;
    }

    .upload-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
        padding: 15px;
    }

    .upload-label {
        min-width: auto;
        font-size: 14px;
    }

    .upload-actions {
        width: 100%;
        flex-direction: column;
        align-items: stretch;
    }

    .file-button {
        width: 100%;
        text-align: center;
    }

    .file-name {
        text-align: center;
    }

    .privacy-box {
        padding: 20px;
        max-height: 180px;
    }

    .privacy-text p {
        font-size: 13px;
    }

    .checkbox-agreement {
        font-size: 14px;
        padding: 12px 20px;
    }

    .captcha-area {
        padding: 20px;
    }

    .captcha-wrapper {
        flex-wrap: wrap;
        justify-content: center;
    }

    .captcha-input {
        font-size: 14px;
        height: 45px;
    }

    .submit-area {
        margin-top: 40px;
    }

    .btn-submit-large {
        width: 100%;
        padding: 18px 40px;
        font-size: 18px;
        border-radius: 10px;
    }

}

/* ========================================
   반응형 - 작은 모바일
   ======================================== */
@media (max-width: 480px) {

    .model-container {
        padding: 60px 15px 200px;
    }

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

    .section-header {
        padding: 15px;
    }

    .section-number {
        font-size: 20px;
    }

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

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

    .field-input,
    .field-textarea {
        font-size: 13px;
    }

    .radio-option,
    .checkbox-item {
        font-size: 14px;
    }

    .photo-notice {
        padding: 15px;
    }

    .notice-content h4 {
        font-size: 15px;
    }

    .notice-content li {
        font-size: 12px;
    }

    .guide-item img {
        width: 50px;
        height: 65px;
    }

    .guide-item span {
        font-size: 11px;
    }

    .upload-item {
        padding: 12px;
    }

    .file-button {
        padding: 10px 20px;
        font-size: 13px;
    }

    .file-name {
        font-size: 12px;
    }

    .privacy-box {
        padding: 15px;
    }

    .privacy-text p {
        font-size: 12px;
    }

    .checkbox-agreement {
        font-size: 13px;
        padding: 10px 15px;
    }

    .captcha-btn {
        width: 42px;
        height: 42px;
    }

    .captcha-input {
        font-size: 13px;
        height: 42px;
    }

    .btn-submit-large {
        padding: 16px 30px;
        font-size: 16px;
        letter-spacing: 1px;
    }

}