/* 프로젝트 의뢰 모달 스타일 */

#projectModal {
    display: flex;
    animation: fadeIn 0.3s ease-out;
}

#projectModal.hidden {
    display: none;
}

.modal-container {
    animation: slideUp 0.3s ease-out;
}

/* 상세 정보 섹션 애니메이션 */
.detail-section-collapsed {
    max-height: 0;
    opacity: 0;
    padding-top: 0;
    padding-bottom: 0;
    margin-top: 0;
    margin-bottom: 0;
}

.detail-section-expanded {
    max-height: 2000px;
    opacity: 1;
    padding-top: 1rem;
    padding-bottom: 1rem;
    margin-top: 0;
    margin-bottom: 0;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        transform: translateY(20px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* 모달 스크롤바 스타일 */
.modal-container::-webkit-scrollbar {
    width: 8px;
}

.modal-container::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.modal-container::-webkit-scrollbar-thumb {
    background: #cbd5e0;
    border-radius: 10px;
}

.modal-container::-webkit-scrollbar-thumb:hover {
    background: #a0aec0;
}

/* 입력 필드 포커스 효과 */
#projectForm input:focus,
#projectForm textarea:focus,
#projectForm select:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(56, 102, 255, 0.1);
}

/* 필수 항목 표시 */
#projectForm label span.text-red-500 {
    font-weight: bold;
}

/* 로딩 상태 */
#projectForm.loading {
    pointer-events: none;
    opacity: 0.6;
}

/* 성공/에러 메시지 */
.modal-message {
    padding: 12px 16px;
    border-radius: 8px;
    margin-bottom: 16px;
    font-size: 14px;
    font-weight: 500;
}

.modal-message.success {
    background: #D1FAE5;
    color: #065F46;
    border: 1px solid #A7F3D0;
}

.modal-message.error {
    background: #FEE2E2;
    color: #991B1B;
    border: 1px solid #FECACA;
}

