/* 드론 테마 전용 스타일 */
:root {
  --drone-primary: #2563eb;
  --drone-primary-dark: #1d4ed8;
  --drone-secondary: #f8fafc;
  --drone-accent: #f97316;
  --drone-success: #10b981;
  --drone-warning: #f59e0b;
  --drone-danger: #ef4444;
  --drone-info: #06b6d4;
  --drone-dark: #1f2937;
  --drone-light: #f1f5f9;
  --drone-gradient: linear-gradient(135deg, #2563eb 0%, #06b6d4 100%);
  --drone-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1),
    0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

body {
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
  font-family:
    "Noto Sans KR",
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    system-ui,
    sans-serif;
  margin: 0;
  padding: 0;
}

/* 공통 카드 스타일 */
.drone-card {
  background: white;
  border-radius: 16px;
  box-shadow: var(--drone-shadow);
  border: 1px solid rgba(37, 99, 235, 0.1);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
  margin-bottom: 1.5rem;
}

.drone-card:hover {
  transform: translateY(-2px);
  box-shadow:
    0 20px 40px -5px rgba(0, 0, 0, 0.15),
    0 10px 20px -5px rgba(0, 0, 0, 0.08);
}

/* 드론 카드 헤더 (first 전용) */
.drone-card-header {
  background: var(--drone-gradient);
  padding: 1.5rem;
  text-align: center;
  color: white;
  position: relative;
}

.drone-card-header::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="20" cy="20" r="2" fill="%23ffffff" opacity="0.1"/><circle cx="80" cy="80" r="1.5" fill="%23ffffff" opacity="0.1"/><circle cx="60" cy="30" r="1" fill="%23ffffff" opacity="0.1"/><circle cx="30" cy="70" r="1.5" fill="%23ffffff" opacity="0.1"/></svg>')
    repeat;
}

.drone-card-title {
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  position: relative;
  z-index: 1;
}

.drone-card-subtitle {
  opacity: 0.9;
  font-size: 1rem;
  position: relative;
  z-index: 1;
}

/* 시험 정보 카드 (first 전용) */
.exam-info-card {
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
  border-radius: 16px;
  padding: 2rem;
  margin: 1.5rem 0;
  box-shadow: var(--drone-shadow);
  border: 1px solid rgba(37, 99, 235, 0.1);
}

.exam-title {
  font-size: 2rem;
  font-weight: 800;
  color: var(--drone-primary);
  text-align: center;
  margin-bottom: 1.5rem;
  text-shadow: 0 2px 4px rgba(37, 99, 235, 0.1);
}

.exam-details {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 2rem;
  align-items: center;
  padding: 1.5rem;
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.exam-detail-item {
  text-align: center;
}

.exam-detail-label {
  font-size: 0.875rem;
  color: var(--drone-dark);
  opacity: 0.7;
  margin-bottom: 0.5rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.exam-detail-value {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--drone-primary);
}

.exam-score {
  color: var(--drone-accent) !important;
}

/* 버튼 가이드 섹션 (first 전용) */
.button-guide {
  background: linear-gradient(135deg, #ffffff 0%, #f1f5f9 100%);
  border-radius: 16px;
  padding: 1.5rem;
  margin-bottom: 2rem;
  box-shadow: var(--drone-shadow);
  border: 1px solid rgba(37, 99, 235, 0.1);
}

.button-guide-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--drone-primary);
  text-align: center;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.button-guide-title::before {
  content: "✈️";
  font-size: 1.5rem;
}

.button-guide-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
}

.button-guide-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem;
  background: white;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  transition: transform 0.2s ease;
}

.button-guide-item:hover {
  transform: translateY(-2px);
}

.button-guide-item .btn {
  flex-shrink: 0;
  min-width: auto;
  padding: 0.5rem 0.75rem;
  font-size: 0.875rem;
  pointer-events: none;
  opacity: 0.7;
  cursor: default;
  transform: none !important;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1) !important;
}

.button-guide-item .btn:hover {
  transform: none !important;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1) !important;
}

.button-guide-text {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--drone-dark);
}

/* 문제 영역 스타일 */
.question {
  width: 100%;
  max-width: 100%;
  flex: 1;
  background: white;
  border-radius: 16px;
  box-shadow: var(--drone-shadow);
  border: 1px solid rgba(37, 99, 235, 0.1);
  margin-bottom: 2rem;
  overflow: hidden;
  position: relative;
  box-sizing: border-box;
}

.question-header {
  background: var(--drone-gradient);
  padding: 1rem 1.5rem;
  color: white;
  position: relative;
}

.question-header::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="20" cy="20" r="2" fill="%23ffffff" opacity="0.1"/><circle cx="80" cy="80" r="1.5" fill="%23ffffff" opacity="0.1"/><circle cx="60" cy="30" r="1" fill="%23ffffff" opacity="0.1"/><circle cx="30" cy="70" r="1.5" fill="%23ffffff" opacity="0.1"/></svg>')
    repeat;
}

.question-number {
  font-size: 1.25rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  position: relative;
  z-index: 1;
}

.question-content {
  padding: 1.5rem;
}

.question-problem {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--drone-dark);
  line-height: 1.6;
  margin-bottom: 1.5rem;
  text-align: left;
}

/* 지문 스타일 */
.지문 {
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
  border: 2px solid #e2e8f0;
  border-radius: 10px;
  padding: 1.25rem;
  margin: 1rem 0;
  text-align: left;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--drone-dark);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.지문:hover {
  border-color: var(--drone-primary);
  box-shadow: 0 4px 8px rgba(37, 99, 235, 0.1);
}

/* 답항 스타일 개선 */
.답항 {
  position: relative;
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
  border: 2px solid #e2e8f0;
  border-radius: 12px;
  padding: 1rem 1.5rem;
  margin: 0.75rem 0;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  user-select: none;
  font-size: 1rem;
  font-weight: 500;
  color: var(--drone-dark);
  display: flex;
  align-items: center;
  text-align: left;
}

.답항:hover {
  background: linear-gradient(135deg, #ecf3ff 0%, #dbeafe 100%);
  border-color: var(--drone-primary);
  transform: translateX(4px);
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.15);
}

.답항.active {
  background: var(--drone-gradient);
  border-color: var(--drone-primary);
  color: white;
  font-weight: 700;
  transform: translateX(8px);
  box-shadow: 0 8px 25px rgba(37, 99, 235, 0.3);
}

.답항.active::before {
  content: "✓";
  position: absolute;
  right: 1rem;
  font-size: 1.5rem;
  font-weight: bold;
  color: white;
}

/* 정답 스타일 (result 전용) */
.답항.active.정답 {
  background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%);
  border-color: var(--drone-success);
  color: var(--drone-success);
  font-weight: 700;
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.15);
}

.답항.active.정답::before {
  content: "✓";
  position: absolute;
  right: 1rem;
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--drone-success);
}

/* 선택된 답항 (오답) 스타일 (result 전용) */
.답항.선택답항 {
  background: linear-gradient(135deg, #fef3c7 0%, #fed7aa 100%);
  border-color: var(--drone-warning);
  color: var(--drone-warning);
  font-weight: 700;
  box-shadow: 0 4px 12px rgba(245, 158, 11, 0.15);
}

.답항.선택답항::before {
  content: "✗";
  position: absolute;
  right: 1rem;
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--drone-warning);
}

/* OMR 답안지 스타일 */
#omrTable {
  background: white;
  border-radius: 16px;
  box-shadow: var(--drone-shadow);
  border: 1px solid rgba(37, 99, 235, 0.1);
  padding: 1rem;
  position: sticky;
  top: 2rem;
  max-height: calc(100vh - 4rem);
  overflow-y: auto;
  flex-shrink: 0;
  min-width: 200px;
  max-width: 300px;
  box-sizing: border-box;
  z-index: 100;
  transition: box-shadow 0.3s;
}

@media (max-width: 479px) {
  #omrTable {
    position: fixed !important;
    left: 50% !important;
    bottom: 0 !important;
    top: auto !important;
    transform: translateX(-50%) !important;
    width: 98vw !important;
    max-width: 480px !important;
    min-width: 0 !important;
    border-radius: 18px 18px 0 0 !important;
    box-shadow:
      0 -4px 32px 0 rgba(37, 99, 235, 0.18),
      0 2px 8px rgba(0, 0, 0, 0.08);
    background: rgba(255, 255, 255, 0.98) !important;
    padding: 0.7rem 0.5rem 0.7rem 0.5rem !important;
    margin: 0 !important;
    max-height: 44vw;
    overflow-x: auto;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  #omrTable tr {
    display: flex;
    width: 100%;
    justify-content: center;
  }

  .omrTd {
    min-width: 38px;
    min-height: 38px;
    font-size: 1.1rem;
    margin: 0 4px !important;
    border-radius: 50% !important;
    background: #f1f5f9 !important;
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.07);
    border: 2px solid #e0e7ef !important;
    padding: 0.5rem 0.2rem !important;
    transition:
      background 0.2s,
      border 0.2s;
  }

  .omrTd.active {
    background: var(--drone-gradient) !important;
    color: #fff !important;
    border: 2px solid var(--drone-primary) !important;
    font-weight: bold;
  }

  .omrTd:active {
    background: #dbeafe !important;
  }

  .omrTd:hover {
    background: #e0e7ef !important;
  }

  .omrTd.active::before {
    font-size: 1.3rem !important;
  }

  /* 플로팅 바 그림자 강조 */
  #omrTable::after {
    content: "";
    display: block;
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 8px;
    border-radius: 0 0 18px 18px;
    background: linear-gradient(
      180deg,
      rgba(37, 99, 235, 0.08),
      rgba(255, 255, 255, 0)
    );
  }
}

.omrTd {
  padding: 0.5rem;
  text-align: center;
  border: 1px solid #e2e8f0;
  transition: all 0.3s ease;
  cursor: pointer;
  user-select: none;
  position: relative;
  background: #f8fafc;
  border-radius: 8px;
  margin: 2px;
}

.omrTd:hover {
  background: linear-gradient(135deg, #ecf3ff 0%, #dbeafe 100%);
  border-color: var(--drone-primary);
  transform: scale(1.05);
}

.omrTd.active {
  background: var(--drone-gradient);
  color: white;
  font-weight: bold;
  border-color: var(--drone-primary);
}

.omrTd.active::before {
  content: "●";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 1.5rem;
  color: white;
  z-index: 1;
}

/* OMR 테이블 행 스타일 (result/wrong 전용) */
.omrTr.table-primary {
  background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%) !important;
  border: 2px solid var(--drone-success);
  border-radius: 8px;
}

.omrTr.table-danger {
  background: linear-gradient(135deg, #fef3c7 0%, #fed7aa 100%) !important;
  border: 2px solid var(--drone-warning);
  border-radius: 8px;
}

/* 네비게이션 버튼 스타일 */
.drone-btn {
  padding: 0.75rem 1.5rem;
  border-radius: 12px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 1rem;
  min-height: 48px;
}

.drone-btn-primary {
  background: var(--drone-gradient);
  color: white;
  box-shadow: 0 4px 14px 0 rgba(37, 99, 235, 0.4);
}

.drone-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px 0 rgba(37, 99, 235, 0.5);
  color: white;
  text-decoration: none;
}

.drone-btn-secondary {
  background: linear-gradient(135deg, #64748b 0%, #475569 100%);
  color: white;
  box-shadow: 0 4px 14px 0 rgba(100, 116, 139, 0.4);
}

.drone-btn-secondary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px 0 rgba(100, 116, 139, 0.5);
  color: white;
  text-decoration: none;
}

.drone-btn-success {
  background: linear-gradient(135deg, var(--drone-success) 0%, #059669 100%);
  color: white;
  box-shadow: 0 4px 14px 0 rgba(16, 185, 129, 0.4);
}

.drone-btn-success:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px 0 rgba(16, 185, 129, 0.5);
  color: white;
  text-decoration: none;
}

.drone-btn-warning {
  background: linear-gradient(135deg, var(--drone-warning) 0%, #d97706 100%);
  color: white;
  box-shadow: 0 4px 14px 0 rgba(245, 158, 11, 0.4);
}

.drone-btn-warning:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px 0 rgba(245, 158, 11, 0.5);
  color: white;
  text-decoration: none;
}

.drone-btn-danger {
  background: linear-gradient(135deg, var(--drone-danger) 0%, #dc2626 100%);
  color: white;
  box-shadow: 0 4px 14px 0 rgba(239, 68, 68, 0.4);
}

.drone-btn-danger:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px 0 rgba(239, 68, 68, 0.5);
  color: white;
  text-decoration: none;
}

.drone-btn-info {
  background: linear-gradient(135deg, var(--drone-info) 0%, #0891b2 100%);
  color: white;
  box-shadow: 0 4px 14px 0 rgba(6, 182, 212, 0.4);
}

.drone-btn-info:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px 0 rgba(6, 182, 212, 0.5);
  color: white;
  text-decoration: none;
}

/* 컨테이너 스타일 */
.drone-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 1rem;
}

#문항HtmlMain {
  text-align: center;
  background: transparent;
}

#questionBox {
  display: flex;
  justify-content: center;
  gap: 2rem;
  align-items: flex-start;
  max-width: 100%;
  overflow: hidden;
  padding: 0 1rem;
}

/* 정답/오답 아이콘 스타일 개선 */
.question img[alt="정답"] {
  filter: drop-shadow(0 4px 8px rgba(16, 185, 129, 0.3));
  border-radius: 50%;
  background: rgba(16, 185, 129, 0.1);
  padding: 5px;
}

.question img[alt="오답"] {
  filter: drop-shadow(0 4px 8px rgba(245, 158, 11, 0.3));
  border-radius: 50%;
  background: rgba(245, 158, 11, 0.1);
  padding: 5px;
}

/* 해설 영역 스타일 */
.collapse {
  margin-top: 1rem;
}

.card {
  border: none;
  box-shadow: var(--drone-shadow);
  border-radius: 12px;
}

.card-body {
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
  border-radius: 12px;
  color: var(--drone-dark);
}

/* 즐겨찾기 아이콘 스타일 */
.즐겨찾기 {
  color: var(--drone-warning);
  transition: all 0.3s ease;
  font-size: 1.25rem;
}

.즐겨찾기:hover {
  color: #d97706;
  transform: scale(1.2);
}

/* 데스크톱/모바일 표시 제어 */
.desktop {
  display: block;
}

.mobile {
  display: none;
}

/* 반응형 디자인 - 768px 비활성화 (더 작은 화면에서만 동작) */
@media (max-width: 480px) {
  .drone-container {
    padding: 1rem 0.5rem;
  }

  /* first 전용 반응형 */
  .exam-details {
    grid-template-columns: 1fr;
    gap: 1rem;
    text-align: center;
  }

  .button-guide-grid {
    grid-template-columns: 1fr;
  }

  #questionBox {
    flex-direction: column;
    gap: 1rem;
    padding: 0 !important;
  }

  .question {
    margin: 0;
  }

  /* 모바일에서 .card 클래스 스타일링 제거 (내용은 유지) */
  .card:not(.question) {
    background: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    margin-bottom: 0 !important;
  }

  /* 모바일에서 .card-body 클래스 스타일링 제거 (내용은 유지) */
  .card-body:not(.collapse .card-body) {
    background: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    padding: 0 !important;
  }

  /* main-content padding 조정 */
  .main-content {
    padding: 1rem 0 !important;
  }

  /* mainTitle 모바일 padding 추가 */
  #mainTitle {
    padding: 10px !important;
  }

  #omrTable {
    position: static;
    max-height: none;
    margin-top: 1rem;
  }

  .답항 {
    padding: 0.75rem 1rem;
    font-size: 0.95rem;
  }

  .drone-btn {
    width: 100%;
    padding: 1rem;
  }

  .drone-card-title {
    font-size: 1.5rem;
  }

  .exam-title {
    font-size: 1.5rem;
  }

  /* 모바일에서는 모바일용 버튼만 표시 */
  .desktop {
    display: none;
  }

  .mobile {
    display: block;
  }
}

@media (max-width: 576px) {
  .button-guide-grid {
    grid-template-columns: 1fr;
  }

  .button-guide-item {
    display: flex;
    flex-direction: row;
    align-items: center;
    text-align: left;
    gap: 0.5rem;
    flex-wrap: nowrap;
  }

  .question-content {
    padding: 1rem;
  }

  .question-problem {
    font-size: 1.2rem;
  }

  .지문 {
    padding: 1rem;
    font-size: 0.95rem;
    margin: 0.75rem 0;
  }

  .답항 {
    padding: 0.75rem;
    font-size: 0.9rem;
  }

  .drone-btn {
    font-size: 0.9rem;
    padding: 0.875rem 1rem;
    min-height: 44px;
  }

  /* 576px 이하에서 버튼 텍스트 강제 표시 */
  .drone-btn .d-none.d-sm-inline {
    display: inline !important;
  }

  /* 작은 화면에서 버튼 간격 조정 */
  .d-flex.flex-wrap.gap-2 {
    gap: 0.5rem !important;
  }

  /* 컨테이너 패딩 조정 */
  .drone-container {
    padding: 0.75rem 0.25rem;
  }

  /* 문제 헤더 패딩 조정 */
  .question-header {
    padding: 0.75rem 1rem;
  }

  .question-number {
    font-size: 1rem;
    gap: 0.5rem;
  }

  /* OMR 테이블 조정 */
  .omrTd {
    padding: 0.75rem;
    font-size: 0.875rem;
    min-height: 44px;
    min-width: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  /* 해설 영역 조정 */
  .card-body {
    padding: 1rem;
  }

  /* 즐겨찾기 아이콘 크기 조정 */
  .즐겨찾기 {
    font-size: 1rem;
  }

  /* first 전용 576px 반응형 */
  .exam-info-card {
    padding: 1rem;
    margin: 1rem 0;
  }

  .exam-title {
    font-size: 1.25rem;
  }

  .exam-details {
    padding: 1rem;
    gap: 1rem;
  }

  .exam-detail-value {
    font-size: 1rem;
  }

  .button-guide {
    padding: 1rem;
    margin-bottom: 1rem;
  }

  .button-guide-title {
    font-size: 1rem;
    margin-bottom: 1rem;
  }

  .button-guide-item {
    padding: 0.5rem;
    gap: 0.5rem;
  }

  .button-guide-item .btn {
    padding: 0.375rem 0.5rem;
    font-size: 0.75rem;
    flex-shrink: 0;
    min-width: auto;
  }

  .button-guide-text {
    font-size: 0.8rem;
    flex: 1;
    word-break: keep-all;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .drone-card-header {
    padding: 1rem;
  }

  .drone-card-title {
    font-size: 1.25rem;
  }

  .drone-card-subtitle {
    font-size: 0.875rem;
  }
}

/* 레거시 스타일 유지 */
.round-button {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: #17a2b8;
  border: none;
  color: white;
  padding: 3px;
}

.custom-tooltip {
  --bs-tooltip-bg: var(--bd-violet-bg);
  --bs-tooltip-color: var(--bs-white);
}

/* 드론 테마 SweetAlert2 커스텀 스타일 */
.drone-swal-popup {
  border-radius: 20px !important;
  border: 2px solid rgba(37, 99, 235, 0.2) !important;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25) !important;
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%) !important;
}

.drone-swal-title {
  color: var(--drone-dark) !important;
  font-size: 1.5rem !important;
  font-weight: 700 !important;
  margin-bottom: 0.5rem !important;
}

.drone-swal-content {
  font-size: 1rem !important;
  color: var(--drone-dark) !important;
}

.drone-swal-confirm {
  background: var(--drone-gradient) !important;
  color: white !important;
  border: none !important;
  border-radius: 12px !important;
  padding: 0.75rem 2rem !important;
  font-weight: 600 !important;
  font-size: 1rem !important;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
  box-shadow: 0 4px 14px 0 rgba(37, 99, 235, 0.4) !important;
  margin: 0 0.5rem !important;
}

.drone-swal-confirm:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 25px 0 rgba(37, 99, 235, 0.5) !important;
}

.drone-swal-deny {
  background: linear-gradient(135deg, #64748b 0%, #475569 100%) !important;
  color: white !important;
  border: none !important;
  border-radius: 12px !important;
  padding: 0.75rem 2rem !important;
  font-weight: 600 !important;
  font-size: 1rem !important;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
  box-shadow: 0 4px 14px 0 rgba(100, 116, 139, 0.4) !important;
  margin: 0 0.5rem !important;
}

.drone-swal-deny:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 25px 0 rgba(100, 116, 139, 0.5) !important;
}

.swal2-icon.swal2-question {
  border-color: var(--drone-info) !important;
  color: var(--drone-info) !important;
}

table > tr > th,
table > tr > td,
table > tbody > tr > th,
table > tbody > tr > td,
table > thead > tr > th {
  text-align: center;
}

/* 모바일 화면에 적용될 스타일 - 768px 비활성화 */
@media (max-width: 479px) {
  .분류-btn-group {
    width: 100%;
    margin-bottom: 10px;
  }

  .분류-btn-group button {
    width: 100%;
    text-align: left;
  }

  /* currentQShow 모바일 최적화 */
  .currentQShow {
    font-size: 1.3rem !important;
    font-weight: 600 !important;
    padding: 0.75rem 1.5rem !important;
    background: var(--drone-gradient) !important;
    color: white !important;
    border-radius: 12px !important;
    text-align: center !important;
    box-shadow: var(--drone-shadow) !important;
    margin: 0.5rem 0 !important;
    display: inline-block !important;
    min-width: 100px !important;
    flex: 1 !important;
    max-width: 120px !important;
  }

  /* 문제번호 표시 컨테이너 최적화 */
  .currentQShow-container,
  .question-number-container {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    padding: 0.75rem !important;
    margin-bottom: 1rem !important;
  }

  /* 현재 문제 번호 ID 스타일 */
  #currentQShow {
    font-size: 1.3rem !important;
    font-weight: 600 !important;
    padding: 0.75rem 1.5rem !important;
    background: var(--drone-gradient) !important;
    color: white !important;
    border-radius: 12px !important;
    text-align: center !important;
    box-shadow: var(--drone-shadow) !important;
    margin: 0.5rem 0 !important;
    display: inline-block !important;
    min-width: 100px !important;
    flex: 1 !important;
    max-width: 120px !important;
  }

  /* 이전/다음 버튼 크기 축소 */
  #qBefore,
  #qNext,
  .qBefore,
  .qNext {
    padding: 0.5rem 0.75rem !important;
    font-size: 0.9rem !important;
    min-width: 60px !important;
    max-width: 80px !important;
    flex-shrink: 0 !important;
  }
}
