/* =====================================
 * 요청서 기본 레이아웃
 * ===================================== */
.hire-grid-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}

.hire-grid-header {
    text-align: center;
    margin-bottom: 30px;
}

.hire-grid-header h2 {
    color: #333;
    margin-bottom: 10px;
}

.hire-grid-header p {
    color: #666;
    font-size: 16px;
}

.hire-grid-form {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 30px;
    margin-bottom: 20px;
}

/* =====================================
 * 진행 바
 * ===================================== */
.hire-progress {
    margin-bottom: 30px;
}

.hire-progress .progress {
    height: 8px;
    background-color: #e9ecef;
    border-radius: 4px;
    overflow: hidden;
}

.hire-progress .progress-bar {
    background-color: #007bff;
    transition: width 0.3s ease;
}

.hire-progress .progress-text,
.progress-text {
    text-align: center;
    margin-top: 10px;
    font-size: 14px;
    color: #666;
}

/* =====================================
 * 질문 섹션
 * ===================================== */
.hire-question {
    margin-bottom: 30px;
}

.hire-question h4 {
    color: #333;
    margin-bottom: 15px;
    font-size: 18px;
}

.hire-question p {
    margin-bottom: 20px;
    color: #666;
}

.hire-question .form-group {
    margin-bottom: 15px;
}

.hire-question .form-check,
.form-check {
    margin-bottom: 10px;
}

.hire-question .form-check-input {
    margin-right: 8px;
}

.hire-question .form-control {
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 10px;
    font-size: 14px;
}

.hire-question .form-control:focus {
    border-color: #007bff;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

.hire-question .btn-group {
    display: flex;
    gap: 10px;
}

.hire-question .btn {
    padding: 8px 16px;
    border: 1px solid #ddd;
    background: #fff;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.hire-question .btn:hover {
    background: #f8f9fa;
}

.hire-question .btn.active {
    background: #007bff;
    color: #fff;
    border-color: #007bff;
}

/* =====================================
 * 하단 버튼 섹션
 * ===================================== */
.hire-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.hire-actions .btn {
    padding: 12px 24px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    transition: all 0.3s ease;
}

.hire-actions .btn-prev {
    background: #6c757d;
    color: #fff;
}

.hire-actions .btn-prev:hover {
    background: #5a6268;
}

.hire-actions .btn-next {
    background: #007bff;
    color: #fff;
}

.hire-actions .btn-next:hover {
    background: #0056b3;
}

.hire-actions .btn-complete {
    background: #28a745;
    color: #fff;
}

.hire-actions .btn-complete:hover {
    background: #218838;
}

/* =====================================
 * 오류 메시지
 * ===================================== */
.hire-error,
#hire-error-msg {
    color: #dc3545;
    font-size: 14px;
    margin-top: 10px;
    display: none;
}

#hire-error-msg {
    background-color: #f8d7da;
    color: #721c24;
    padding: 10px;
    border-radius: 4px;
    margin-bottom: 20px;
}

.hire-error.show,
#hire-error-msg.show {
    display: block;
}

/* =====================================
 * 기타 입력 필드
 * ===================================== */
.hire-etc-input {
    margin-top: 10px;
    display: none;
}

.hire-etc-input.show {
    display: block;
}

/* =====================================
 * 지역 선택
 * ===================================== */
.hire-region-select {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 10px;
}

.hire-region-select select {
    flex: 1;
    min-width: 120px;
}

/* =====================================
 * 반응형 대응
 * ===================================== */
@media (max-width: 768px) {
    .hire-grid-container {
        padding: 15px;
    }

    .hire-grid-form {
        padding: 20px;
    }

    .hire-actions {
        flex-direction: column;
        gap: 10px;
    }

    .hire-actions .btn {
        width: 100%;
    }

    .hire-region-select {
        flex-direction: column;
    }

    .hire-region-select select {
        margin-bottom: 10px;
    }
}

/* =====================================
 * 피커
 * ===================================== */
.flatpickr-calendar {
    font-family: inherit;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    border-radius: 8px;
    border: none;
}

.flatpickr-day.selected {
    background: #007bff;
    border-color: #007bff;
}

.flatpickr-day.selected:hover {
    background: #0056b3;
    border-color: #0056b3;
}

.flatpickr-months .flatpickr-month {
    background: #f8f9fa;
}

.flatpickr-current-month .flatpickr-monthDropdown-months {
    background: white;
}