/* 구인의뢰 신청 페이지 전용 스타일 */

/* 페이지 헤더 */
.page-header {
    background: linear-gradient(135deg, rgb(0, 128, 64) 0%, rgb(77, 162, 83) 100%);
    color: white;
    padding: 60px 0;
}

.page-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.page-subtitle {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 0.5rem;
}

.page-contact {
    font-size: 1rem;
    opacity: 0.95;
    margin-top: 1rem;
}

.page-contact i {
    margin-right: 8px;
}

/* 폼 섹션 */
.form-section {
    background: #f8f9fa;
    min-height: 500px;
}

/* 폼 카드 */
.form-card {
    background: white;
    border-radius: 15px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.1);
    overflow: hidden;
    transition: all 0.3s ease;
}

.form-card:hover {
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.form-card-header {
   background: linear-gradient(135deg, rgb(0, 168, 84)0%, rgb(73, 165, 73) 100%);
    color: white;
    padding: 20px 30px;
    border-bottom: none;
}

.form-card-header h3 {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
}

.form-card-header i {
    font-size: 1.3rem;
}

.form-card-body {
    padding: 30px;
}

/* 폼 레이블 */
.form-label {
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
    display: block;
}

.form-label.required::after {
    content: ' *';
    color: #dc3545;
    font-weight: bold;
}

.form-text {
    font-size: 0.875rem;
    color: #6c757d;
    margin-top: 0.25rem;
    margin-bottom: 0.5rem;
}

.form-text-label {
    font-weight: 500;
    color: #495057;
    display: block;
    margin-bottom: 8px;
}

/* 입력 필드 */
.form-control {
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    padding: 10px 15px;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: rgb(0, 128, 0);
    box-shadow: 0 0 0 0.2rem rgba(0, 128, 64,0.25);
}

.form-control:disabled {
    background-color: #f8f9fa;
    opacity: 0.6;
    cursor: not-allowed;
}

.form-select {
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    padding: 10px 15px;
    transition: all 0.3s ease;
}

.form-select:focus {
    border-color: #667eea;
    box-shadow: 0 0 0 0.2rem rgba(102, 126, 234, 0.25);
}

textarea.form-control {
    resize: vertical;
    min-height: 100px;
}

/* 체크박스 및 라디오 버튼 그룹 */
.checkbox-group,
.radio-group {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    align-items: center;
}

.form-check {
    margin-bottom: 0;
}

.form-check-input {
    width: 1.25rem;
    height: 1.25rem;
    margin-top: 0.25rem;
    border: 2px solid #667eea;
    cursor: pointer;
}

.form-check-input:checked {
    background-color: #667eea;
    border-color: #667eea;
}

.form-check-input:focus {
    box-shadow: 0 0 0 0.2rem rgba(102, 126, 234, 0.25);
}

.form-check-label {
    margin-left: 0.5rem;
    cursor: pointer;
    font-weight: 500;
}

/* 입력 그룹 */
.input-group {
    display: flex;
    align-items: center;
}
.radios_in{
	    border-radius: 8px !important;
}

.input-group-text {
    border:0px;
    color: #495057;
    font-weight: 500;
}


/* 주소 찾기 버튼 */
.btn-outline-primary {
    border-color: rgb(0, 128, 0);
    color: rgb(0, 128, 0);
    font-weight: 500;
    transition: all 0.3s ease;
    box-sizing: border-box;
    max-height: 48px !important;
    line-height: 48px !important;
}

.btn-outline-primary:hover {
    background-color: rgb(0, 128, 0);
    border:0px;
    color: white;
    transform: translateY(0px);
    box-sizing: border-box;
}

/* 개인정보 동의 박스 */
.privacy-box {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 20px;
}

.privacy-box textarea {
    background: white;
    border: 1px solid #dee2e6;
    font-size: 0.9rem;
    line-height: 1.6;
}

/* 제출 버튼 */
.form-submit {
    margin-top: 40px;
}
/*
.btn-primary {
    background: linear-gradient(135deg, rgb(0, 168, 84)0%, rgb(73, 165, 73) 100%);
    border: none;
    padding: 15px 40px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 30px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

.btn-primary:hover {
    background: linear-gradient(135deg, rgb(73, 165, 73) 0%, rgb(0, 168, 84)100%);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgb(53, 183, 30);
}

.btn-primary:active {
    transform: translateY(-1px);
}
*/
.btn-primary i {
    margin-right: 8px;
}

/* 유효성 검사 스타일 */
.form-control.is-invalid {
    border-color: #dc3545;
}

.form-control.is-valid {
    border-color: #28a745;
}

.invalid-feedback {
    display: block;
    width: 100%;
    margin-top: 0.25rem;
    font-size: 0.875rem;
    color: #dc3545;
}

.valid-feedback {
    display: block;
    width: 100%;
    margin-top: 0.25rem;
    font-size: 0.875rem;
    color: #28a745;
}

/* 애니메이션 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.form-card {
    animation: fadeInUp 0.5s ease-out;
}

.form-card:nth-child(1) { animation-delay: 0.1s; }
.form-card:nth-child(2) { animation-delay: 0.2s; }
.form-card:nth-child(3) { animation-delay: 0.3s; }
.form-card:nth-child(4) { animation-delay: 0.4s; }
.form-card:nth-child(5) { animation-delay: 0.5s; }
.form-card:nth-child(6) { animation-delay: 0.6s; }
.form-card:nth-child(7) { animation-delay: 0.7s; }

/* 반응형 디자인 */
@media (max-width: 768px) {
    .page-title {
        font-size: 2rem;
    }
    
    .page-subtitle {
        font-size: 1rem;
    }
    
    .form-card-header {
        padding: 15px 20px;
    }
    
    .form-card-header h3 {
        font-size: 1.3rem;
    }
    
    .form-card-body {
        padding: 20px;
    }
    
    .checkbox-group,
    .radio-group {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .form-check {
        width: 100%;
    }
    
    .btn-primary {
        width: 100%;
        padding: 12px 30px;
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    .page-header {
        padding: 40px 0;
    }
    
    .page-title {
        font-size: 1.75rem;
    }
    
    .form-card-header h3 {
        font-size: 1.1rem;
    }
    
    .form-card-header i {
        font-size: 1rem;
    }
    
    .form-card-body {
        padding: 15px;
    }
    
    .input-group {
        flex-wrap: wrap;
    }
    
    .input-group-text {
        width: 100%;
        border: 2px solid #e0e0e0;
        border-top: none;
    }
}

/* 스크롤 애니메이션 */
.scroll-animate {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease-out;
}

.scroll-animate.animate {
    opacity: 1;
    transform: translateY(0);
}

/* 로딩 상태 */
.form-submit .btn-primary.loading {
    position: relative;
    color: transparent;
    pointer-events: none;
}

.form-submit .btn-primary.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

/* 성공 메시지 */
.alert-success {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    border: none;
    color: white;
    border-radius: 10px;
    padding: 15px 20px;
    margin-bottom: 20px;
}

/* 에러 메시지 */
.alert-danger {
    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
    border: none;
    color: white;
    border-radius: 10px;
    padding: 15px 20px;
    margin-bottom: 20px;
}

/* 인라인 입력 필드 스타일 */
.form-control.d-inline-block {
    display: inline-block !important;
    vertical-align: middle;
}

/* 섹션 간격 조정 */
.form-card + .form-card {
    margin-top: 30px;
}

.down_radio{
	margin-top: 15px;
}

