/* 공통 스타일 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Noto Sans KR', sans-serif;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  min-height: 100vh;
  padding: 2rem 1rem;
}

/* 햄버거 메뉴 */
.hamburger-btn {
  position: fixed;
  top: 1.5rem;
  left: 1.5rem;
  z-index: 1000;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border: none;
  border-radius: 16px;
  width: 56px;
  height: 56px;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(102, 126, 234, 0.4);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  transition: all 0.3s ease;
}

.hamburger-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(102, 126, 234, 0.6);
}

.hamburger-btn:active {
  transform: translateY(0);
}

.hamburger-btn span {
  display: block;
  width: 26px;
  height: 3px;
  background: white;
  border-radius: 3px;
  transition: all 0.3s ease;
}

.hamburger-btn.active {
  background: linear-gradient(135deg, #fc8181 0%, #f56565 100%);
}

.hamburger-btn.active span:nth-child(1) {
  transform: rotate(45deg) translate(8px, 8px);
}

.hamburger-btn.active span:nth-child(2) {
  opacity: 0;
  transform: translateX(-20px);
}

.hamburger-btn.active span:nth-child(3) {
  transform: rotate(-45deg) translate(8px, -8px);
}

/* 사이드 메뉴 */
.side-menu {
  position: fixed;
  top: 0;
  left: -320px;
  width: 320px;
  height: 100vh;
  background: white;
  box-shadow: 4px 0 24px rgba(0, 0, 0, 0.15);
  z-index: 999;
  transition: left 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  overflow-y: auto;
}

.side-menu.active {
  left: 0;
}

.menu-header {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 2.5rem 1.5rem;
  font-size: 1.5rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.menu-items {
  padding: 1.5rem 0;
}

.menu-item {
  padding: 1.25rem 1.5rem;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 1rem;
  font-weight: 600;
  font-size: 1.05rem;
  color: #2d3748;
  border-left: 4px solid transparent;
  position: relative;
}

.menu-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  transform: scaleY(0);
  transition: transform 0.3s ease;
}

.menu-item:hover {
  background: linear-gradient(90deg, rgba(102, 126, 234, 0.1) 0%, transparent 100%);
  color: #667eea;
  padding-left: 2rem;
}

.menu-item:hover::before {
  transform: scaleY(1);
}

.menu-item.active {
  background: linear-gradient(90deg, rgba(102, 126, 234, 0.15) 0%, transparent 100%);
  color: #667eea;
  padding-left: 2rem;
}

.menu-item.active::before {
  transform: scaleY(1);
}

/* 오버레이 */
.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 998;
  display: none;
  opacity: 0;
  transition: opacity 0.3s;
}

.overlay.active {
  display: block;
  opacity: 1;
}

.container {
  max-width: 100%;
  width: 100%;
  margin: 0 auto;
  padding: 0 1rem;
}

/* 섹션 컨텐츠 (기본 표시) */
.section-content {
  display: block;
}

/* 3단 레이아웃 */
.three-column-layout {
  display: grid !important;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 1.5rem;
  min-height: calc(100vh - 12rem);
  margin-bottom: 2rem;
}

.column {
  background: white;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.column-header {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.column-header h2 {
  font-size: 1.3rem;
  font-weight: 700;
  margin: 0;
}

/* 시스템 프롬프트 버튼 (헤더 내부) */
.system-prompt-btn {
  background: rgba(255, 255, 255, 0.2);
  color: white;
  border: 2px solid rgba(255, 255, 255, 0.4);
  padding: 0.5rem 1rem;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
}

.system-prompt-btn:hover {
  background: rgba(255, 255, 255, 0.3);
  border-color: rgba(255, 255, 255, 0.6);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.system-prompt-btn:active {
  transform: translateY(0);
}

.column-content {
  padding: 1.5rem;
  overflow-y: auto;
  flex: 1;
}

/* 좌측 컬럼 (원문 입력) */
.column-left {
  border-top: 4px solid #667eea;
}

/* 중앙 컬럼 (참조 조건) */
.column-center {
  border-top: 4px solid #48bb78;
}

/* 우측 컬럼 (결과) */
.column-right {
  border-top: 4px solid #fc8181;
}

/* 헤더 */
.header {
  text-align: center;
  color: white;
  margin-bottom: 2rem;
}

.header h1 {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.header p {
  font-size: 1.1rem;
  opacity: 0.9;
}

/* 메인 카드 */
.card {
  background: white;
  border-radius: 16px;
  padding: 2rem;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  margin-bottom: 2rem;
}

/* 폼 스타일 */
.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  font-weight: 600;
  color: #333;
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
}

.input-field,
.textarea-field {
  width: 100%;
  padding: 0.875rem;
  border: 2px solid #e2e8f0;
  border-radius: 8px;
  font-size: 1rem;
  transition: all 0.3s;
  font-family: inherit;
}

.input-field:focus,
.textarea-field:focus {
  outline: none;
  border-color: #667eea;
  box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.textarea-field {
  min-height: 80px;
  resize: vertical;
}

/* 파일 업로드 */
.file-upload-area {
  border: 3px dashed #cbd5e0;
  border-radius: 12px;
  padding: 2rem;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s;
  background: #f7fafc;
}

.file-upload-area:hover {
  border-color: #667eea;
  background: #edf2f7;
}

.file-upload-area.drag-over {
  border-color: #667eea;
  background: #e6f2ff;
}

.upload-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.upload-icon {
  font-size: 3rem;
}

.upload-hint {
  font-size: 0.85rem;
  color: #718096;
}

/* JSON 프리뷰 */
.json-preview {
  background: #1a202c;
  color: #e2e8f0;
  padding: 1rem;
  border-radius: 8px;
  font-size: 0.85rem;
  max-height: 200px;
  overflow-y: auto;
  white-space: pre-wrap;
  word-break: break-all;
}

/* 체크박스 라벨 */
.checkbox-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  font-weight: 500;
  color: #2d3748;
}

.checkbox-label input[type="checkbox"] {
  width: 18px;
  height: 18px;
  cursor: pointer;
}

/* 빈 상태 */
.empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 3rem;
  color: #a0aec0;
  text-align: center;
  min-height: 300px;
}

.empty-icon {
  font-size: 4rem;
  margin-bottom: 1rem;
  opacity: 0.5;
}

.empty-state p {
  line-height: 1.8;
  font-size: 1.05rem;
}

/* 라디오 버튼 그룹 (세로형) */
.radio-group-vertical {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.radio-option-vertical {
  width: 100%;
}

.radio-option-vertical input[type="radio"] {
  display: none;
}

.radio-option-vertical label {
  display: block;
  padding: 0.875rem 1rem;
  background: #f7fafc;
  border: 2px solid #e2e8f0;
  border-radius: 8px;
  text-align: left;
  cursor: pointer;
  transition: all 0.3s;
  font-weight: 500;
}

.radio-option-vertical input[type="radio"]:checked + label {
  background: #667eea;
  border-color: #667eea;
  color: white;
}

.radio-option-vertical label:hover {
  border-color: #667eea;
}
.radio-group {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.radio-option {
  flex: 1;
  min-width: 120px;
}

.radio-option input[type="radio"] {
  display: none;
}

.radio-option label {
  display: block;
  padding: 0.875rem 1rem;
  background: #f7fafc;
  border: 2px solid #e2e8f0;
  border-radius: 8px;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s;
  font-weight: 500;
}

.radio-option input[type="radio"]:checked + label {
  background: #667eea;
  border-color: #667eea;
  color: white;
}

.radio-option label:hover {
  border-color: #667eea;
}

/* 체크박스 그룹 */
.checkbox-group {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.checkbox-header {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.checkbox-select-all,
.checkbox-deselect-all {
  flex: 1;
  padding: 0.875rem;
  background: white;
  border: 2px solid #e2e8f0;
  border-radius: 10px;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.checkbox-select-all {
  color: #2d3748;
}

.checkbox-select-all:hover {
  background: linear-gradient(135deg, #48bb78 0%, #38a169 100%);
  border-color: #48bb78;
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(72, 187, 120, 0.4);
}

.checkbox-deselect-all {
  color: #2d3748;
}

.checkbox-deselect-all:hover {
  background: linear-gradient(135deg, #fc8181 0%, #f56565 100%);
  border-color: #fc8181;
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(252, 129, 129, 0.4);
}

.channel-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 1rem;
}

.checkbox-option {
  position: relative;
}

.checkbox-option input[type="checkbox"] {
  display: none;
}

.checkbox-option label {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  padding: 1.25rem 1rem;
  background: white;
  border: 3px solid #e2e8f0;
  border-radius: 16px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: center;
  font-weight: 600;
  font-size: 0.9rem;
  min-height: 140px;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  position: relative;
  overflow: hidden;
}

.checkbox-option label::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 0;
}

.channel-image {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, #edf2f7 0%, #e2e8f0 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  transition: all 0.3s ease;
  position: relative;
  z-index: 1;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.channel-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.checkbox-option label span {
  position: relative;
  z-index: 1;
  transition: all 0.3s ease;
}

.checkbox-option input[type="checkbox"]:checked + label::before {
  opacity: 1;
}

.checkbox-option input[type="checkbox"]:checked + label {
  border-color: #667eea;
  color: white;
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(102, 126, 234, 0.5);
}

.checkbox-option input[type="checkbox"]:checked + label .channel-image {
  background: white;
  border: 3px solid rgba(255, 255, 255, 0.3);
  transform: scale(1.1);
}

.checkbox-option label:hover {
  border-color: #667eea;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

/* 버튼 */
.btn {
  width: 100%;
  padding: 1rem;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
  box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

.btn:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(102, 126, 234, 0.6);
}

.btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* 마지막 업데이트 정보 */
.last-update-info {
  background: linear-gradient(135deg, #f3f4f6 0%, #e5e7eb 100%);
  border: 1px solid #d1d5db;
  border-radius: 12px;
  padding: 1rem 1.25rem;
  margin-top: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: #4b5563;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.update-icon {
  font-size: 1.2rem;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.7;
    transform: scale(1.1);
  }
}

.update-text {
  font-weight: 500;
  color: #6b7280;
}

.update-time {
  font-weight: 600;
  color: #667eea;
}

.btn-generate {
  margin-top: 1.5rem;
  font-size: 1.2rem;
  padding: 1.25rem;
}

/* 로딩 스피너 */
.loading {
  display: none;
  text-align: center;
  padding: 2rem;
}

.loading.active {
  display: block;
}

.spinner {
  border: 4px solid #f3f3f3;
  border-top: 4px solid #667eea;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  animation: spin 1s linear infinite;
  margin: 0 auto 1rem;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.loading-text {
  color: #667eea;
  font-weight: 600;
}

/* 결과 영역 */
.results {
  display: none;
}

.results.active {
  display: block;
}

.results-info {
  font-size: 0.85rem;
  color: white;
  background: rgba(255, 255, 255, 0.2);
  padding: 0.375rem 0.75rem;
  border-radius: 20px;
}

/* 타이틀 카드 */
.title-card {
  background: #f7fafc;
  border: 2px solid #e2e8f0;
  border-radius: 8px;
  padding: 1rem;
  margin-bottom: 1rem;
  transition: all 0.3s;
  cursor: pointer;
  position: relative;
}

.title-card:hover {
  border-color: #667eea;
  background: #edf2f7;
  transform: translateX(4px);
}

.title-number {
  display: inline-block;
  background: #667eea;
  color: white;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  text-align: center;
  line-height: 28px;
  font-weight: 600;
  font-size: 0.875rem;
  margin-right: 0.75rem;
}

.title-text {
  display: inline;
  color: #2d3748;
  font-size: 1rem;
  line-height: 1.6;
}

.copy-btn {
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  background: white;
  border: 1px solid #cbd5e0;
  border-radius: 6px;
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  cursor: pointer;
  opacity: 0;
  transition: all 0.3s;
}

.title-card:hover .copy-btn {
  opacity: 1;
}

.copy-btn:hover {
  background: #667eea;
  color: white;
  border-color: #667eea;
}

.copy-btn.copied {
  background: #48bb78;
  color: white;
  border-color: #48bb78;
}

/* 에러 메시지 */
.error {
  display: none;
  background: #fed7d7;
  border: 2px solid #fc8181;
  color: #742a2a;
  padding: 1rem;
  border-radius: 8px;
  margin-bottom: 1rem;
}

.error.active {
  display: block;
}

/* 참고 타이틀 섹션 */
.reference-section {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 2px solid #e2e8f0;
}

.toggle-btn {
  width: 100%;
  padding: 1rem;
  background: #f7fafc;
  border: 2px solid #e2e8f0;
  border-radius: 8px;
  color: #4a5568;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.toggle-btn:hover {
  background: #edf2f7;
  border-color: #cbd5e0;
}

.toggle-btn.active {
  background: #667eea;
  border-color: #667eea;
  color: white;
}

.reference-list {
  display: none;
  margin-top: 1rem;
  max-height: 500px;
  overflow-y: auto;
  background: #f7fafc;
  border-radius: 8px;
  padding: 1rem;
}

.reference-list.active {
  display: block;
}

.reference-item {
  background: white;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  padding: 0.75rem;
  margin-bottom: 0.75rem;
  font-size: 0.9rem;
  line-height: 1.5;
  transition: all 0.2s;
}

.reference-item:hover {
  border-color: #cbd5e0;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.reference-item-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid #e2e8f0;
}

.reference-number {
  display: inline-block;
  background: #667eea;
  color: white;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  text-align: center;
  line-height: 24px;
  font-size: 0.75rem;
  font-weight: 600;
}

.reference-views {
  font-size: 0.8rem;
  color: #718096;
  font-weight: 500;
}

.reference-title {
  color: #2d3748;
}

/* 반응형 */
@media (max-width: 1400px) {
  .three-column-layout {
    grid-template-columns: 1fr 1fr;
  }
  
  .column-right {
    grid-column: 1 / -1;
  }
}

@media (max-width: 968px) {
  .three-column-layout {
    grid-template-columns: 1fr;
  }
  
  .column-right {
    grid-column: auto;
  }
}

@media (max-width: 768px) {
  body {
    padding-left: 1rem;
  }

  .hamburger-btn {
    left: 1rem;
    top: 1rem;
  }

  .header h1 {
    font-size: 2rem;
  }

  .radio-group {
    flex-direction: column;
  }

  .radio-option {
    min-width: 100%;
  }

  .channel-grid {
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    gap: 0.75rem;
  }

  .checkbox-option label {
    padding: 0.75rem;
    font-size: 0.8rem;
    min-height: 100px;
  }

  .channel-image {
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
  }
}

/* 프롬프트 모달 스타일 */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  z-index: 2000;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.modal-content {
  background: white;
  border-radius: 16px;
  max-width: 900px;
  width: 100%;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.3);
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem;
  border-bottom: 1px solid #e5e7eb;
}

.modal-header h2 {
  font-size: 1.5rem;
  color: #1f2937;
  margin: 0;
}

.close-btn {
  background: transparent;
  border: none;
  font-size: 2rem;
  color: #6b7280;
  cursor: pointer;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  transition: all 0.2s;
}

.close-btn:hover {
  background: #f3f4f6;
  color: #1f2937;
}

.modal-body {
  flex: 1;
  padding: 1.5rem;
  overflow-y: auto;
}

.prompt-content {
  font-family: 'Consolas', 'Monaco', 'Courier New', monospace;
  font-size: 0.9rem;
  line-height: 1.6;
  color: #1f2937;
  background: #f9fafb;
  padding: 1.5rem;
  border-radius: 12px;
  white-space: pre-wrap;
  word-wrap: break-word;
  margin: 0;
  border: 1px solid #e5e7eb;
}

.modal-footer {
  padding: 1.5rem;
  border-top: 1px solid #e5e7eb;
  display: flex;
  justify-content: flex-end;
  gap: 1rem;
}

.btn-copy {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: 12px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.btn-copy:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(102, 126, 234, 0.4);
}

.btn-copy:active {
  transform: translateY(0);
}

.btn-copy.copied {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

/* 참고 타이틀 액션 버튼 */
.reference-actions {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.prompt-btn {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  box-shadow: 0 4px 12px rgba(245, 158, 11, 0.3);
}

.prompt-btn:hover {
  box-shadow: 0 6px 16px rgba(245, 158, 11, 0.4);
}

/* 모바일 반응형 */
@media (max-width: 768px) {
  .modal-content {
    max-width: 100%;
    max-height: 95vh;
    margin: 0;
    border-radius: 16px 16px 0 0;
  }
  
  .modal-header h2 {
    font-size: 1.2rem;
  }
  
  .prompt-content {
    font-size: 0.8rem;
    padding: 1rem;
  }
  
  .reference-actions {
    flex-direction: column;
  }
  
  .toggle-btn, .prompt-btn {
    width: 100%;
  }
}

