/* 개인관리 앱 커스텀 스타일 */
* {
  font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
}

/* 다크모드 기본 스타일 */
body {
  background-color: #0E0E0F;
  color: #EDEDED;
}

/* 네비게이션 활성 상태 */
.nav-btn.active {
  color: #FFC300 !important;
}

.nav-btn:hover {
  color: #FFC300 !important;
}

/* 공수 버튼 호버 효과 */
.gongsu-btn:hover {
  transform: scale(1.05);
  transition: transform 0.2s ease;
}

/* 부드러운 전환 효과 */
.section {
  transition: opacity 0.3s ease;
}

.section.hidden {
  display: none;
}

/* 애니메이션 효과 */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.fade-in {
  animation: fadeIn 0.3s ease-out;
}

/* 포커스 스타일 개선 */
input:focus, select:focus, button:focus {
  outline: 2px solid #FFC300;
  outline-offset: 2px;
}

/* 스크롤바 스타일 (다크모드) */
::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: #1f2937;
}

::-webkit-scrollbar-thumb {
  background: #4b5563;
  border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
  background: #6b7280;
}

/* 카드 호버 효과 */
.card:hover {
  transform: translateY(-2px);
  transition: transform 0.2s ease;
}

/* 성공/에러 메시지 스타일 */
.toast {
  position: fixed;
  top: 80px;
  right: 16px;
  padding: 12px 16px;
  border-radius: 8px;
  z-index: 1000;
  transform: translateX(100%);
  transition: transform 0.3s ease;
}

.toast.show {
  transform: translateX(0);
}

.toast.success {
  background-color: #059669;
  color: white;
}

.toast.error {
  background-color: #dc2626;
  color: white;
}

/* 진행률 바 스타일 */
.progress-bar {
  height: 8px;
  background-color: #374151;
  border-radius: 4px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #FFC300, #FFD700);
  transition: width 0.3s ease;
}

/* 모달 스타일 */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}

.modal-content {
  background-color: #1f2937;
  border-radius: 12px;
  padding: 24px;
  margin: 16px;
  max-width: 400px;
  width: 100%;
}

/* 반응형 그리드 */
@media (max-width: 640px) {
  .grid-cols-4 {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }
}