/* ==========================================
   서류 제출 페이지 스타일
   ========================================== */

/* 서류 제출 섹션 */
#documentsSection {
    padding: 2rem;
}

/* 체크리스트 */
.documents-checklist {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    margin-bottom: 2rem;
}

.checklist-items {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.checklist-item {
    display: flex;
    align-items: center;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid #e0e0e0;
    transition: all 0.3s ease;
}

.checklist-item input[type="checkbox"]:checked + label {
    color: #0066FF;
    font-weight: 600;
}

.checklist-item input[type="checkbox"]:checked ~ * {
    border-left-color: #0066FF;
}

.checklist-item input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin-right: 1rem;
    cursor: pointer;
    accent-color: #0066FF;
}

.checklist-item label {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-size: 1rem;
    color: #333;
    cursor: pointer;
    flex: 1;
}

.checklist-item label i {
    color: #0066FF;
    font-size: 1.2rem;
}

/* 신청자 정보 양식 */
.documents-form-section {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    margin-bottom: 2rem;
}

.applicant-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.form-group-doc {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group-doc label {
    font-weight: 600;
    color: #333;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
}

.form-group-doc label i {
    color: #0066FF;
}

.form-group-doc input {
    padding: 0.9rem 1rem;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group-doc input:focus {
    outline: none;
    border-color: #0066FF;
    box-shadow: 0 0 0 3px rgba(0, 102, 255, 0.1);
}

/* 서류 업로드 */
.documents-upload-section {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    margin-bottom: 2rem;
}

.upload-item {
    margin-bottom: 2rem;
}

.upload-item:last-child {
    margin-bottom: 0;
}

.upload-header h4 {
    font-size: 1.1rem;
    color: #333;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.upload-header h4 i {
    color: #0066FF;
}

.upload-area {
    border: 2px dashed #d0d0d0;
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    background: #f8f9fa;
    transition: all 0.3s ease;
}

.upload-area:hover {
    border-color: #0066FF;
    background: rgba(0, 102, 255, 0.05);
}

.upload-label {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.8rem;
    cursor: pointer;
    color: #666;
}

.upload-label i {
    font-size: 3rem;
    color: #0066FF;
}

.upload-label span {
    font-size: 1rem;
    font-weight: 500;
    color: #333;
}

.upload-label small {
    font-size: 0.85rem;
    color: #888;
}

.uploaded-file {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: white;
    border: 2px solid #0066FF;
    border-radius: 8px;
}

.uploaded-file i {
    font-size: 2rem;
    color: #0066FF;
}

.uploaded-file .file-name {
    flex: 1;
    font-weight: 600;
    color: #333;
}

.btn-remove-file {
    padding: 0.5rem;
    background: #ff4545;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-remove-file:hover {
    background: #cc0000;
    transform: scale(1.1);
}

/* 처리 기간 안내 */
.processing-info {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 2rem;
    border-radius: 12px;
    margin-bottom: 2rem;
}

.processing-info h3 {
    color: white !important;
}

.processing-timeline {
    list-style: none;
    padding: 0;
    margin-top: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.processing-timeline li {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.timeline-icon {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.timeline-icon i {
    font-size: 1.5rem;
    color: white;
}

.timeline-content {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.timeline-content strong {
    font-size: 1.1rem;
    font-weight: 600;
}

.timeline-content span {
    font-size: 0.95rem;
    opacity: 0.9;
}

/* 제출 버튼 */
.submit-documents {
    text-align: center;
    padding: 2rem 0;
}

.btn-submit-documents {
    padding: 1.2rem 3rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

.btn-submit-documents:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.6);
}

.btn-submit-documents i {
    margin-right: 0.5rem;
}

.btn-edit-documents {
    padding: 1.2rem 3rem;
    background: linear-gradient(135deg, #f39c12 0%, #e67e22 100%);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(243, 156, 18, 0.4);
    margin-left: 1rem;
}

.btn-edit-documents:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(243, 156, 18, 0.6);
}

.btn-edit-documents i {
    margin-right: 0.5rem;
}

.submit-note {
    margin-top: 1rem;
    color: #888;
    font-size: 0.9rem;
}

.submit-note i {
    color: #0066FF;
    margin-right: 0.3rem;
}

/* 반응형 디자인 */
@media (max-width: 768px) {
    #documentsSection {
        padding: 1rem;
    }

    .documents-checklist,
    .documents-form-section,
    .documents-upload-section {
        padding: 1.5rem;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .processing-timeline {
        gap: 1rem;
    }

    .timeline-icon {
        width: 40px;
        height: 40px;
    }

    .timeline-icon i {
        font-size: 1.2rem;
    }

    .btn-submit-documents {
        width: 100%;
        padding: 1rem 2rem;
    }
}
