/* 강사채용 페이지 전용 스타일 */

.recruit-page {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1rem;
    background-color: #fff;
}

/* 페이지 제목 */
.page-title {
    font-size: 42px;
    font-weight: 400;
    text-align: center;
    margin-bottom: 2rem;
    color: #333;
}

/* 초기 화면 - 소개 이미지 + 지원하기 버튼 */
.recruit-intro {
    text-align: center;
    margin-bottom: 3rem;
}

.recruit-image {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto 2rem auto;
}

.apply-button-container {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
}

.apply-btn {
    background-color: #e89e7e;
    color: white;
    padding: 0.6rem 1.5rem;
    font-size: 0.9rem;
    border-radius: 0px;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.apply-btn:hover {
    background-color: #d68a6b;
}

/* 지원서 작성 폼 */
.application-form {
    margin-top: 2rem;
}

.form-section {
    border-top: 1px solid #000;
    padding-top: 2rem;
    margin-bottom: 2rem;
}

.form-section:first-child {
    border-top: 1px solid #00000030;
    margin-top: 2rem;
}

.section-title {
    font-size: 1.2rem;
    font-weight: bold;
    color: #e89e7e;
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 1.5rem;
    margin-top: -0.5rem;
}

/* 필드 그룹 */
.field-group {
    margin-bottom: 1.5rem;
}

.field-label {
    display: block;
    font-weight: bold;
    margin-bottom: 0.5rem;
    color: #333;
}

.required {
    color: #e89e7e;
}

/* 지원분야 섹션 */
.field-group .field-item {
    margin-bottom: 1rem;
}

.form-section:first-child .field-group {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 2rem;
}

/* 인적사항 그리드 */
.personal-info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 1.5rem;
}

.personal-info-grid .field-group {
    display: block;
    margin-bottom: 1.5rem;
}

/* 입력 필드 스타일 */
input[type="text"],
input[type="email"],
input[type="tel"],
select {
    width: 100%;
    padding: 0.5rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 0.9rem;
    box-sizing: border-box;
}

/* textarea는 항상 전체 너비 사용 */
textarea {
    width: 100%;
    padding: 0.5rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 0.9rem;
    box-sizing: border-box;
    resize: vertical;
    min-height: 80px;
}

/* 체크박스와 라디오 버튼 */
.checkbox-group,
.radio-group {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 0.5rem;
}

.checkbox-group label,
.radio-group label {
    display: flex;
    align-items: center;
    font-weight: normal;
    cursor: pointer;
}

.checkbox-group input,
.radio-group input {
    width: auto;
    margin-right: 0.3rem;
}

/* 날짜 선택 */
.date-group {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.date-group select {
    flex: 1;
}

.date-group span {
    font-weight: bold;
}

/* 파일 업로드 영역 */
.file-upload-area {
    border: 2px dashed #ddd;
    border-radius: 8px;
    padding: 2rem;
    text-align: center;
    cursor: pointer;
    transition: border-color 0.3s ease;
    background-color: #fafafa;
    margin-top: 0.5rem;
}

.file-upload-area:hover {
    border-color: #e89e7e;
}

.upload-icon {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.upload-note {
    font-size: 0.8rem;
    color: #666;
    margin-top: 0.5rem;
}

/* 학력사항 그리드 */
.education-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 1.5rem;
}

.education-grid .field-group {
    margin-bottom: 0;
}

/* 경력사항 그리드 */
.experience-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 1.5rem;
}

.experience-grid .field-group {
    margin-bottom: 0;
}

/* 대표 경력 */
.career-item {
    margin-bottom: 2rem;
    padding: 1rem;
    border: 1px solid #eee;
    border-radius: 8px;
    background-color: #fafafa;
}

.career-title {
    font-size: 1rem;
    font-weight: bold;
    color: #333;
    margin-bottom: 1rem;
}

.career-details {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 2rem;
    margin-bottom: 1.5rem;
}

.career-details .field-group {
    margin-bottom: 0;
}

/* 경력 입력 필드들은 전체 너비 사용 */
.career-item input[type="text"],
.career-item textarea {
    width: 100%;
    grid-column: 1 / -1;
}

/* 문자 수 카운터 */
.char-count {
    font-size: 0.8rem;
    color: #666;
    text-align: right;
    margin-top: 0.5rem;
}

/* 제출 버튼 */
.submit-container {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
}

.submit-btn {
    background-color: #e89e7e;
    color: white;
    padding: 0.6rem 1.5rem;
    font-size: 0.9rem;
    border-radius: 0px;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

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

/* 전체 너비 textarea 강제 적용 */
.field-group textarea,
.career-item textarea {
    width: 100% !important;
    grid-column: 1 / -1 !important;
}

/* 반응형 디자인 */
@media (max-width: 768px) {
    .recruit-page {
        padding: 1rem 0.5rem;
    }
    
    .page-title {
        font-size: 28px;
    }
    
    /* 지원분야 섹션 모바일 */
    .form-section:first-child .field-group {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    /* 인적사항 모바일 */
    .personal-info-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    /* 학력사항 모바일 */
    .education-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    /* 경력사항 모바일 */
    .experience-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    /* 대표 경력 모바일 */
    .career-details {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    /* 체크박스 그룹 모바일 */
    .checkbox-group,
    .radio-group {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    /* 날짜 선택 모바일 */
    .date-group {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .date-group span {
        display: none;
    }
}

@media (max-width: 480px) {
    .recruit-page {
        padding: 1rem 0.5rem;
    }
    
    .page-title {
        font-size: 24px;
    }
    
    .file-upload-area {
        padding: 1rem;
    }
    
    .upload-icon {
        font-size: 1.5rem;
    }
} 