/**
 * 뉴로메트릭 훈련센터 스타일
 * 메인 컬러: 밝은 초록 (#10b981)
 * 최적화: 1429×872 화면
 */

/* ===== 전역 설정 ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
  background: #f9fafb;
  color: #1f2937;
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* ===== 헤더 ===== */
.training-header {
  background: linear-gradient(135deg, #10b981 0%, #34d399 100%);
  box-shadow: 0 4px 16px rgba(16, 185, 129, 0.2);
  position: sticky;
  top: 0;
  z-index: 1000;
  min-height: 80px;
}

.training-header-content {
  max-width: 2000px;
  margin: 0 auto;
  padding: 20px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
}

.training-header-left {
  display: flex;
  align-items: center;
}

/* 중앙 영역 제거 - 우측으로 이동 */

.training-logo {
  display: flex;
  align-items: center;
  gap: 16px;
}

.training-logo-icon {
  font-size: 48px;
  line-height: 1;
  display: inline-block;
  animation: running-shake 1.5s ease-in-out infinite;
}

@keyframes running-shake {
  0%, 100% {
    transform: rotate(0deg);
  }
  25% {
    transform: rotate(3deg);
  }
  75% {
    transform: rotate(-3deg);
  }
}

.training-logo-text {
  font-size: 32px;
  font-weight: 700;
  color: white;
  letter-spacing: -0.5px;
}

.training-header-right {
  display: flex;
  align-items: center;
  gap: 20px;
}

.training-user-badge {
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  color: white;
  padding: 10px 20px;
  border-radius: 24px;
  font-size: 16px;
  font-weight: 600;
  border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-logout {
  background: white;
  color: #10b981;
  border: none;
  padding: 10px 24px;
  border-radius: 24px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.btn-logout:hover {
  background: #f0fdf4;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

/* ===== 헤더 회원 선택 ===== */
.member-search-container-header {
  position: relative;
  width: 320px;
  min-width: 280px;
}

.member-search-input-header {
  width: 100%;
  padding: 12px 20px;
  font-size: 15px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  color: #1f2937;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.member-search-input-header::placeholder {
  color: #9ca3af;
}

.member-search-input-header:focus {
  outline: none;
  border-color: white;
  background: white;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.member-selected-info-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-radius: 16px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.member-selected-icon {
  font-size: 20px;
}

.member-selected-name {
  font-size: 15px;
  font-weight: 600;
  color: #1f2937;
  flex: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.member-clear-btn {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: none;
  background: rgba(239, 68, 68, 0.15);
  color: #ef4444;
  font-size: 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.member-clear-btn:hover {
  background: rgba(239, 68, 68, 0.25);
  transform: scale(1.1);
}

/* ===== 메인 컨텐츠 ===== */
.training-main {
  flex: 1;
  padding: 60px 40px 40px 40px;
}

.training-container {
  max-width: 2000px;
  margin: 0 auto;
}

/* ===== 회원 선택 섹션 ===== */
.member-select-section {
  margin-bottom: 60px;
}

.member-select-card {
  background: white;
  border-radius: 24px;
  padding: 40px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  max-width: 800px;
  margin: 0 auto;
}

.member-select-label {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 22px;
  font-weight: 600;
  color: #1f2937;
}

.member-select-icon {
  font-size: 32px;
}

/* 회원 검색 컨테이너 */
.member-search-container {
  flex: 1;
  max-width: 500px;
  position: relative;
}

.member-search-input {
  width: 100%;
  padding: 16px 24px;
  font-size: 18px;
  border: 3px solid #e5e7eb;
  border-radius: 16px;
  background: white;
  color: #1f2937;
  transition: all 0.3s ease;
  font-weight: 500;
}

.member-search-input:hover {
  border-color: #10b981;
}

.member-search-input:focus {
  outline: none;
  border-color: #10b981;
  box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.1);
}

.member-search-input::placeholder {
  color: #9ca3af;
}

/* 검색 결과 드롭다운 */
.member-search-results {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  background: white;
  border-radius: 16px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15);
  max-height: 320px;
  overflow-y: auto;
  z-index: 100;
  display: none;
}

.member-search-results.active {
  display: block;
}

.member-search-result-item {
  padding: 16px 24px;
  cursor: pointer;
  transition: background 0.2s ease;
  border-bottom: 1px solid #f3f4f6;
}

.member-search-result-item:last-child {
  border-bottom: none;
}

.member-search-result-item:hover {
  background: #f0fdf4;
}

.member-result-name {
  font-size: 16px;
  font-weight: 600;
  color: #1f2937;
  display: block;
  margin-bottom: 4px;
}

.member-result-phone {
  font-size: 14px;
  color: #6b7280;
}

.member-search-no-results {
  padding: 24px;
  text-align: center;
  color: #9ca3af;
  font-size: 15px;
}

/* 선택된 회원 정보 */
.member-selected-info {
  margin-top: 12px;
  padding: 12px 20px;
  background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.member-selected-name {
  font-size: 16px;
  font-weight: 600;
  color: #047857;
  flex: 1;
}

.member-clear-btn {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: none;
  background: rgba(5, 150, 105, 0.2);
  color: #047857;
  font-size: 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.member-clear-btn:hover {
  background: rgba(5, 150, 105, 0.3);
  transform: scale(1.1);
}

/* ===== 섹션 타이틀 ===== */
.section-title {
  font-size: 28px;
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 30px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.section-title-icon {
  font-size: 32px;
}

/* ===== 훈련 프로그램 섹션 ===== */
.training-programs-section {
  margin-bottom: 80px;
  margin-top: 0;
}

.training-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  max-width: 1400px;
  margin: 0 auto;
}

/* ===== 훈련 카드 (앱스토어 스타일) ===== */
.training-card {
  background: white;
  border-radius: 20px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  opacity: 0;
  transform: translateY(20px);
  display: flex;
  flex-direction: column;
  height: 400px;
  position: relative;
}

/* 카드 전체 클릭 가능 */
.training-card.clickable {
  cursor: pointer;
  user-select: none;
}

.training-card.clickable:hover {
  transform: translateY(-12px) scale(1.02);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.15);
}

.training-card.clickable:active {
  transform: translateY(-8px) scale(0.98);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
}

/* 비활성화된 카드 */
.training-card.disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.training-card.disabled:hover {
  transform: translateY(0);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

/* 준비 중 배지 */
.training-card-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  background: rgba(239, 68, 68, 0.9);
  color: white;
  padding: 8px 16px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 600;
  z-index: 10;
}

.training-card-header {
  padding: 40px 30px 20px;
  display: flex;
  justify-content: center;
}

.training-card-icon-wrapper {
  width: 140px;
  height: 140px;
  border-radius: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  transition: transform 0.3s ease;
}

.training-card:hover .training-card-icon-wrapper {
  transform: scale(1.1) rotate(5deg);
}

.stroop-bg {
  background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
}

.focus-bg {
  background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
}

.memory-bg {
  background: linear-gradient(135deg, #ede9fe 0%, #ddd6fe 100%);
}

.training-card-icon {
  display: flex;
  gap: 8px;
  align-items: center;
}

.training-card-body {
  padding: 20px 30px 25px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.training-card-title {
  font-size: 24px;
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 10px;
  text-align: center;
}

.training-card-description {
  font-size: 14px;
  color: #6b7280;
  line-height: 1.5;
  text-align: center;
  margin-bottom: 16px;
}

.training-card-stats {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: auto;
}

.training-stat-item {
  display: flex;
  align-items: center;
  gap: 6px;
  background: #f9fafb;
  padding: 6px 12px;
  border-radius: 10px;
}

.training-stat-icon {
  font-size: 18px;
}

.training-stat-text {
  font-size: 13px;
  color: #6b7280;
  font-weight: 500;
}

.training-card-footer {
  padding: 15px 30px 30px;
}

.btn-training-start {
  width: 100%;
  padding: 14px 28px;
  border: none;
  border-radius: 14px;
  font-size: 18px;
  font-weight: 700;
  color: white;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  opacity: 0.5;
}

.btn-training-start:disabled {
  cursor: not-allowed;
}

.btn-training-start:not(:disabled):hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.stroop-btn {
  background: linear-gradient(135deg, #f59e0b 0%, #f97316 100%);
}

.focus-btn {
  background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
}

.memory-btn {
  background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
}

.btn-icon {
  font-size: 24px;
}

.btn-text {
  font-size: 20px;
}

/* ===== 훈련 기록 섹션 ===== */
.training-history-section {
  margin-bottom: 60px;
}

.training-history-card {
  background: white;
  border-radius: 24px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  overflow: hidden;
}

.training-history-table {
  width: 100%;
  border-collapse: collapse;
}

.training-history-table thead {
  background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
}

.training-history-table th {
  padding: 20px 24px;
  text-align: left;
  font-size: 16px;
  font-weight: 700;
  color: #047857;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.training-history-table tbody tr {
  border-bottom: 1px solid #e5e7eb;
  transition: background 0.2s ease;
}

.training-history-table tbody tr:hover {
  background: #f9fafb;
}

.training-history-table tbody tr:last-child {
  border-bottom: none;
}

.training-history-table td {
  padding: 24px;
  font-size: 16px;
  color: #374151;
}

.history-date {
  color: #6b7280;
  font-weight: 500;
}

.history-member {
  font-weight: 600;
  color: #1f2937;
}

.type-badge {
  display: inline-block;
  padding: 6px 16px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 600;
  color: white;
}

.type-badge.stroop {
  background: linear-gradient(135deg, #f59e0b 0%, #f97316 100%);
}

.type-badge.focus {
  background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
}

.type-badge.memory {
  background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
}

.history-duration {
  color: #6b7280;
  font-weight: 500;
}

.history-score {
  font-weight: 700;
  font-size: 18px;
}

.score-high {
  color: #10b981;
}

.score-medium {
  color: #f59e0b;
}

.score-low {
  color: #6b7280;
}

.result-badge {
  display: inline-block;
  padding: 6px 16px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 600;
}

.result-badge.excellent {
  background: #d1fae5;
  color: #047857;
}

.result-badge.good {
  background: #fef3c7;
  color: #b45309;
}

.result-badge.normal {
  background: #f3f4f6;
  color: #6b7280;
}

/* ===== 푸터 ===== */
.training-footer {
  background: white;
  border-top: 1px solid #e5e7eb;
  padding: 32px 40px;
  margin-top: auto;
}

.training-footer-content {
  max-width: 2000px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.training-footer-text {
  color: #6b7280;
  font-size: 14px;
}

.training-footer-version {
  color: #9ca3af;
  font-size: 13px;
}

/* 버전 확인 버튼 */
.training-footer-left {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.training-update-btn {
  padding: 10px 20px;
  background: #10b981;
  color: white;
  border: none;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  white-space: nowrap;
  box-shadow: 0 2px 8px rgba(16, 185, 129, 0.2);
}

.training-update-btn:hover {
  background: #059669;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.training-update-btn:active {
  transform: translateY(0);
  box-shadow: 0 2px 8px rgba(16, 185, 129, 0.2);
}

.training-update-btn:disabled {
  background: #9ca3af;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
  opacity: 0.7;
}

/* ===== 커스텀 Alert 모달 ===== */
.training-alert-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  backdrop-filter: blur(4px);
  animation: fadeIn 0.2s ease-out;
}

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

.training-alert-modal {
  background: white;
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
  max-width: 420px;
  width: 90%;
  overflow: hidden;
  animation: slideUp 0.3s ease-out;
}

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

.training-alert-header {
  background: linear-gradient(135deg, #10b981 0%, #34d399 100%);
  padding: 20px 24px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.training-alert-icon {
  font-size: 28px;
  line-height: 1;
}

.training-alert-title {
  font-size: 18px;
  font-weight: 700;
  color: white;
  letter-spacing: -0.3px;
}

.training-alert-body {
  padding: 32px 24px;
  font-size: 16px;
  line-height: 1.6;
  color: #1f2937;
  text-align: center;
  min-height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.training-alert-btn {
  width: 100%;
  padding: 16px;
  background: #10b981;
  color: white;
  border: none;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
  border-top: 1px solid #e5e7eb;
}

.training-alert-btn:hover {
  background: #059669;
}

.training-alert-btn:active {
  background: #047857;
  transform: scale(0.98);
}

/* 모바일 최적화 */
@media (max-width: 480px) {
  .training-alert-modal {
    max-width: 340px;
  }
  
  .training-alert-header {
    padding: 16px 20px;
  }
  
  .training-alert-icon {
    font-size: 24px;
  }
  
  .training-alert-title {
    font-size: 16px;
  }
  
  .training-alert-body {
    padding: 24px 20px;
    font-size: 15px;
  }
  
  .training-alert-btn {
    padding: 14px;
    font-size: 15px;
  }
}

/* ===== PWA 전체 화면 최적화 (2000×1200 패드) ===== */

/* iOS Safari PWA 전체 화면 */
@supports (-webkit-touch-callout: none) {
  body {
    padding-top: env(safe-area-inset-top);
    padding-bottom: env(safe-area-inset-bottom);
  }
}

/* 가로 모드 최적화 (1429×872) */
@media screen and (orientation: landscape) and (min-width: 1400px) {
  .training-main {
    padding: 50px 40px 40px 40px;
  }
  
  .training-programs-grid {
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  }
}

/* 안드로이드 PWA standalone 모드 (가로 모드보다 우선순위 높음) */
@media all and (display-mode: standalone) {
  body {
    /* 상태바 영역 고려 */
    padding-top: max(20px, env(safe-area-inset-top));
    min-height: 100vh;
    min-height: -webkit-fill-available;
  }
  
  /* 헤더를 화면 최상단에 고정 */
  .training-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
  }
  
  /* 메인 콘텐츠 상단 여백 조정 (!important로 가로 모드 덮어씀) */
  .training-main {
    padding-top: 120px !important; /* 헤더 높이 + 여유 공간 */
  }
}

/* 1429×872 해상도 최적화 */
@media screen and (min-width: 1400px) and (min-height: 800px) {
  .training-grid {
    max-width: 1350px;
    gap: 28px;
  }
  
  .training-card {
    height: 380px;
  }
  
  .training-card-title {
    font-size: 22px;
  }
  
  .training-card-description {
    font-size: 14px;
  }
  
  .btn-training-start {
    font-size: 18px;
    padding: 14px 28px;
  }
}

/* ===== 반응형 디자인 ===== */

/* 1600-1999px */
@media (max-width: 1999px) and (min-width: 1600px) {
  .training-grid {
    gap: 32px;
  }
  
  .training-card {
    height: 460px;
  }
}

/* 1400-1599px */
@media (max-width: 1599px) and (min-width: 1400px) {
  .training-container {
    max-width: 1400px;
  }
  
  .training-grid {
    gap: 28px;
  }
  
  .training-card {
    height: 440px;
  }
  
  .training-card-title {
    font-size: 26px;
  }
}

/* 1200-1399px */
@media (max-width: 1399px) and (min-width: 1200px) {
  .training-container {
    max-width: 1200px;
  }
  
  .training-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    max-width: 1000px;
  }
  
  .training-card {
    height: 480px;
  }
}

/* 992-1199px */
@media (max-width: 1199px) and (min-width: 992px) {
  .training-main {
    padding: 40px 32px;
  }
  
  .training-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
  
  .training-card {
    height: 440px;
  }
  
  .training-card-title {
    font-size: 24px;
  }
  
  .member-select-card {
    padding: 32px;
  }
}

/* 768-991px (태블릿) */
@media (max-width: 991px) and (min-width: 768px) {
  .training-header-content {
    padding: 16px 24px;
  }
  
  .training-logo-text {
    font-size: 24px;
  }
  
  .training-main {
    padding: 32px 24px;
  }
  
  .training-grid {
    grid-template-columns: 1fr;
    gap: 24px;
    max-width: 600px;
  }
  
  .training-card {
    height: 420px;
  }
  
  .member-select-card {
    flex-direction: column;
    gap: 20px;
  }
  
  .member-search-container {
    max-width: 100%;
    width: 100%;
  }
}

/* 576-767px (모바일 가로) */
@media (max-width: 767px) and (min-width: 576px) {
  .training-header-content {
    flex-direction: column;
    gap: 16px;
    padding: 16px 20px;
  }
  
  .training-logo-icon {
    font-size: 36px;
  }
  
  .training-logo-text {
    font-size: 20px;
  }
  
  .training-main {
    padding: 24px 20px;
  }
  
  .training-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .training-card {
    height: auto;
  }
  
  .section-title {
    font-size: 28px;
  }
  
  .training-history-table th,
  .training-history-table td {
    padding: 16px;
    font-size: 14px;
  }
}

/* 375-575px (모바일 세로) */
@media (max-width: 575px) {
  .training-header-content {
    flex-direction: column;
    gap: 12px;
    padding: 12px 16px;
  }
  
  .training-logo {
    gap: 12px;
  }
  
  .training-logo-icon {
    font-size: 32px;
  }
  
  .training-logo-text {
    font-size: 18px;
  }
  
  .training-user-badge {
    font-size: 14px;
    padding: 8px 16px;
  }
  
  .btn-logout {
    font-size: 14px;
    padding: 8px 20px;
  }
  
  .training-main {
    padding: 20px 16px;
  }
  
  .section-title {
    font-size: 24px;
  }
  
  .member-select-card {
    padding: 24px;
  }
  
  .member-select-label {
    font-size: 18px;
  }
  
  .member-search-input {
    font-size: 16px;
    padding: 12px 16px;
  }
  
  .member-search-container {
    max-width: 100%;
  }
  
  .training-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  
  .training-card {
    height: auto;
  }
  
  .training-card-header {
    padding: 32px 24px 16px;
  }
  
  .training-card-icon-wrapper {
    width: 120px;
    height: 120px;
  }
  
  .training-card-body {
    padding: 18px 24px 20px;
  }
  
  .training-card-title {
    font-size: 22px;
    margin-bottom: 8px;
  }
  
  .training-card-description {
    font-size: 14px;
    margin-bottom: 14px;
  }
  
  .training-card-footer {
    padding: 16px 24px 24px;
  }
  
  .btn-training-start {
    font-size: 18px;
    padding: 14px 24px;
  }
  
  /* 테이블 스크롤 */
  .training-history-card {
    overflow-x: auto;
  }
  
  .training-history-table {
    min-width: 600px;
  }
  
  .training-history-table th,
  .training-history-table td {
    padding: 12px;
    font-size: 13px;
  }
  
  .training-footer-content {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }
}
