/*!*****************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ./node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[13].oneOf[10].use[2]!./node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[13].oneOf[10].use[3]!./src/app/globals.css ***!
  \*****************************************************************************************************************************************************************************************************************************************************************/
/* 전역 반응형 스타일 */
* {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  line-height: 1.6;
  color: #333;
}

/* 모바일 우선 반응형 디자인 */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
}

/* 네비게이션 반응형 */
@media (max-width: 768px) {
  .nav-container {
    padding: 0 16px !important;
    height: 56px !important;
  }
  
  .nav-items {
    display: none !important;
  }
  
  .mobile-menu {
    display: block !important;
  }
  
  .logo-link {
    font-size: 16px !important;
  }
  
  .user-section {
    gap: 8px !important;
  }
  
  .user-name {
    display: none !important;
  }
  
  .logout-button {
    padding: 6px 12px !important;
    font-size: 12px !important;
  }
}

/* 테이블 반응형 */
@media (max-width: 768px) {
  .table-container {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  
  .table-header {
    display: none !important;
  }
  
  .table-row {
    display: block !important;
    border: 1px solid #e5e7eb !important;
    margin-bottom: 16px !important;
    padding: 16px !important;
    border-radius: 8px !important;
  }
  
  .table-cell {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    padding: 8px 0 !important;
    border-bottom: 1px solid #f3f4f6 !important;
  }
  
  .table-cell:last-child {
    border-bottom: none !important;
  }
  
  .cell-label {
    font-weight: 600 !important;
    color: #6b7280 !important;
    min-width: 80px !important;
  }
  
  .cell-content {
    flex: 1 1 !important;
    text-align: right !important;
  }
}

/* 폼 반응형 */
@media (max-width: 768px) {
  .form-container {
    padding: 16px !important;
  }
  
  .form-input {
    font-size: 16px !important; /* iOS 줌 방지 */
    padding: 12px !important;
  }
  
  .form-textarea {
    font-size: 16px !important;
    min-height: 120px !important;
  }
  
  .form-button {
    width: 100% !important;
    padding: 14px !important;
    font-size: 16px !important;
  }
  
  .button-group {
    flex-direction: column !important;
    gap: 12px !important;
  }
  
  .button-group button {
    width: 100% !important;
  }
}

/* 이미지 반응형 */
@media (max-width: 768px) {
  .image-container {
    width: 100% !important;
    height: auto !important;
  }
  
  .image-preview {
    width: 100% !important;
    max-width: 300px !important;
    height: auto !important;
  }
  
  .file-input {
    width: 100% !important;
  }
}

/* 카드 반응형 */
@media (max-width: 768px) {
  .card {
    margin: 8px 0 !important;
    padding: 16px !important;
  }
  
  .card-title {
    font-size: 18px !important;
  }
  
  .card-content {
    font-size: 14px !important;
  }
}

/* 모달 반응형 */
@media (max-width: 768px) {
  .modal {
    margin: 16px !important;
    max-height: calc(100vh - 32px) !important;
    overflow-y: auto !important;
  }
  
  .modal-content {
    padding: 16px !important;
  }
}

/* 유틸리티 클래스 */
.mobile-only {
  display: none;
}

.desktop-only {
  display: block;
}

@media (max-width: 768px) {
  .mobile-only {
    display: block;
  }
  
  .desktop-only {
    display: none;
  }
}

/* 터치 친화적 버튼 */
@media (max-width: 768px) {
  button, .button {
    min-height: 44px !important; /* 터치 타겟 최소 크기 */
    min-width: 44px !important;
  }
  
  input, select, textarea {
    min-height: 44px !important;
  }
}

/* 스크롤바 스타일링 */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

::-webkit-scrollbar-track {
  background: #f1f1f1;
}

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

::-webkit-scrollbar-thumb:hover {
  background: #a8a8a8;
}

