/* ===================================
   EXIF Photo Mapper - Main Styles
   =================================== */

/* CSS Variables */
:root {
  --primary: #2563eb;
  --primary-hover: #1d4ed8;
  --primary-light: #dbeafe;
  --secondary: #64748b;
  --secondary-hover: #475569;
  --success: #22c55e;
  --success-light: #dcfce7;
  --warning: #f59e0b;
  --warning-light: #fef3c7;
  --error: #ef4444;
  --error-light: #fee2e2;
  --background: #f8fafc;
  --surface: #ffffff;
  --surface-hover: #f1f5f9;
  --border: #e2e8f0;
  --text: #1e293b;
  --text-muted: #64748b;
  --text-light: #94a3b8;
  
  --header-height: 60px;
  --sidebar-width: 280px;
  --panel-width: 400px;
  --border-radius: 8px;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  --transition: 0.2s ease;
}

/* Reset & Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  height: 100%;
  overflow: hidden;
  -webkit-tap-highlight-color: transparent;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  font-size: 14px;
  line-height: 1.5;
  color: var(--text);
  background-color: var(--background);
  touch-action: manipulation;
}

#app {
  display: flex;
  flex-direction: column;
  height: 100%;
}

/* ===================================
   Header
   =================================== */
.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
  padding: 0 16px;
  background-color: var(--surface);
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}

.header-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 18px;
  font-weight: 600;
  color: var(--text);
}

.logo-icon {
  width: 28px;
  height: 28px;
  color: var(--primary);
}

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

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  font-size: 14px;
  font-weight: 500;
  border: none;
  border-radius: var(--border-radius);
  cursor: pointer;
  transition: all var(--transition);
}

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

.btn-icon {
  width: 18px;
  height: 18px;
}

.btn-primary {
  background-color: var(--primary);
  color: white;
}

.btn-primary:hover:not(:disabled) {
  background-color: var(--primary-hover);
}

.btn-secondary {
  background-color: var(--surface);
  color: var(--text);
  border: 1px solid var(--border);
}

.btn-secondary:hover:not(:disabled) {
  background-color: var(--surface-hover);
}

/* ===================================
   Main Content
   =================================== */
.main-content {
  display: flex;
  flex: 1;
  overflow: hidden;
}

/* ===================================
   Sidebar (Photo List)
   =================================== */
.sidebar {
  width: var(--sidebar-width);
  background-color: var(--surface);
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
}

.sidebar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 12px;
  border-bottom: 1px solid var(--border);
  font-size: 13px;
  gap: 8px;
}

.sidebar-header-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.sidebar-header-actions {
  display: flex;
  gap: 4px;
}

.btn-icon-only {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: transparent;
  border: 1px solid var(--border);
  border-radius: var(--border-radius);
  cursor: pointer;
  color: var(--text-muted);
  transition: all var(--transition);
}

.btn-icon-only:hover:not(:disabled) {
  background-color: var(--surface-hover);
  color: var(--error);
  border-color: var(--error);
}

.btn-icon-only:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.btn-icon-only svg {
  width: 16px;
  height: 16px;
}

.photo-count {
  color: var(--text);
  font-weight: 500;
}

.gps-count {
  color: var(--success);
  font-size: 11px;
}

.photo-list {
  flex: 1;
  overflow-y: auto;
  padding: 8px;
}

.empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  color: var(--text-muted);
  text-align: center;
  padding: 20px;
}

.empty-state svg {
  width: 64px;
  height: 64px;
  margin-bottom: 16px;
  opacity: 0.5;
}

.empty-state p {
  font-size: 13px;
  line-height: 1.6;
}

/* Photo Item */
.photo-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px;
  border-radius: var(--border-radius);
  cursor: pointer;
  transition: background-color var(--transition);
  margin-bottom: 4px;
}

.photo-item:hover {
  background-color: var(--surface-hover);
}

.photo-item.selected {
  background-color: var(--primary-light);
}

.photo-item.no-gps {
  opacity: 0.6;
}

.photo-thumbnail {
  width: 48px;
  height: 48px;
  border-radius: 4px;
  object-fit: cover;
  background-color: var(--surface-hover);
}

.photo-info {
  flex: 1;
  min-width: 0;
}

.photo-name {
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.photo-date {
  font-size: 11px;
  color: var(--text-muted);
}

.photo-status {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.photo-status.has-gps {
  color: var(--success);
}

.photo-status.no-gps {
  color: var(--error);
}

/* ===================================
   Map Container
   =================================== */
.map-container {
  flex: 1;
  position: relative;
  background-color: var(--background);
}

#map {
  width: 100%;
  height: 100%;
}

.map-controls {
  position: absolute;
  top: 80px;
  right: 10px;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.map-control-btn {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--border-radius);
  cursor: pointer;
  transition: all var(--transition);
  box-shadow: var(--shadow-sm);
}

.map-control-btn:hover {
  background-color: var(--surface-hover);
}

.map-control-btn.active {
  background-color: var(--primary);
  color: white;
  border-color: var(--primary);
}

.map-control-btn svg {
  width: 20px;
  height: 20px;
}

/* Drop Overlay */
.drop-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(37, 99, 235, 0.1);
  border: 3px dashed var(--primary);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 999;
}

.drop-overlay.active {
  display: flex;
}

.drop-message {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  color: var(--primary);
  font-size: 18px;
  font-weight: 500;
}

.drop-message svg {
  width: 48px;
  height: 48px;
}

/* ===================================
   Metadata Panel
   =================================== */
.metadata-panel {
  width: var(--panel-width);
  background-color: var(--surface);
  border-left: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
  transition: width var(--transition);
}

.metadata-panel.collapsed {
  width: 40px;
}

.panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
}

.panel-header h2 {
  font-size: 14px;
  font-weight: 600;
}

.panel-toggle {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-muted);
  transition: transform var(--transition);
}

.metadata-panel.collapsed .panel-toggle {
  transform: rotate(180deg);
}

.panel-content {
  flex: 1;
  overflow-y: auto;
  padding: 16px;
}

.metadata-panel.collapsed .panel-content,
.metadata-panel.collapsed .panel-header h2 {
  display: none;
}

.no-selection {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  color: var(--text-muted);
  font-size: 13px;
}

/* Metadata Preview */
.metadata-preview {
  margin-bottom: 16px;
  border-radius: var(--border-radius);
  overflow: hidden;
  background-color: var(--background);
  border: 1px solid var(--border);
  max-height: 450px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.metadata-preview .preview-image {
  width: 100%;
  height: auto;
  max-height: 450px;
  object-fit: contain;
  display: block;
  cursor: pointer;
  transition: opacity var(--transition);
}

.metadata-preview .preview-image:hover {
  opacity: 0.9;
}

/* Metadata Sections */
.metadata-section {
  margin-bottom: 20px;
}

.metadata-section:last-child {
  margin-bottom: 0;
}

.section-title {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 10px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--border);
}

.metadata-row {
  display: flex;
  justify-content: space-between;
  padding: 6px 0;
  font-size: 13px;
}

.metadata-label {
  color: var(--text-muted);
}

.metadata-value {
  color: var(--text);
  font-weight: 500;
  text-align: right;
  max-width: 60%;
  word-break: break-all;
}

/* ===================================
   Progress Overlay
   =================================== */
.progress-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
}

.progress-overlay[hidden] {
  display: none;
}

.progress-container {
  background-color: var(--surface);
  padding: 32px 48px;
  border-radius: var(--border-radius);
  text-align: center;
  box-shadow: var(--shadow-lg);
}

.progress-text {
  font-size: 16px;
  font-weight: 500;
  margin-bottom: 16px;
}

.progress-bar {
  width: 300px;
  height: 8px;
  background-color: var(--border);
  border-radius: 4px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background-color: var(--primary);
  width: 0%;
  transition: width 0.3s ease;
}

.progress-detail {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 12px;
}

/* ===================================
   Preview Modal
   =================================== */
.preview-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3000;
}

.preview-modal[hidden] {
  display: none;
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(255, 255, 255, 0.1);
  border: none;
  border-radius: 50%;
  color: white;
  cursor: pointer;
  transition: background-color var(--transition);
}

.modal-close:hover {
  background-color: rgba(255, 255, 255, 0.2);
}

.modal-close svg {
  width: 24px;
  height: 24px;
}

.modal-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(255, 255, 255, 0.1);
  border: none;
  border-radius: 50%;
  color: white;
  cursor: pointer;
  transition: background-color var(--transition);
}

.modal-nav:hover {
  background-color: rgba(255, 255, 255, 0.2);
}

.modal-nav svg {
  width: 28px;
  height: 28px;
}

.modal-prev {
  left: 20px;
}

.modal-next {
  right: 20px;
}

.modal-content {
  max-width: 90vw;
  max-height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-content img {
  max-width: 100%;
  max-height: 85vh;
  object-fit: contain;
}

.modal-info {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background-color: rgba(0, 0, 0, 0.7);
  color: white;
  padding: 10px 20px;
  border-radius: var(--border-radius);
  font-size: 14px;
}

/* ===================================
   Export Dialog
   =================================== */
.export-dialog {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2500;
}

.export-dialog[hidden] {
  display: none;
}

.dialog-content {
  background-color: var(--surface);
  border-radius: var(--border-radius);
  width: 100%;
  max-width: 480px;
  box-shadow: var(--shadow-lg);
}

.dialog-content h2 {
  padding: 20px 24px;
  font-size: 18px;
  font-weight: 600;
  border-bottom: 1px solid var(--border);
}

.dialog-body {
  padding: 24px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group:last-child {
  margin-bottom: 0;
}

.form-group > label:first-child {
  display: block;
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 8px;
}

.form-group select {
  width: 100%;
  padding: 10px 12px;
  font-size: 14px;
  border: 1px solid var(--border);
  border-radius: var(--border-radius);
  background-color: var(--surface);
  cursor: pointer;
}

.form-group select:focus {
  outline: none;
  border-color: var(--primary);
}

.checkbox-group,
.radio-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.checkbox-group label,
.radio-group label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  cursor: pointer;
}

.checkbox-group input,
.radio-group input {
  width: 16px;
  height: 16px;
  cursor: pointer;
}

.dialog-footer {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  padding: 16px 24px;
  border-top: 1px solid var(--border);
}

/* ===================================
   Toast Notifications
   =================================== */
.toast-container {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 4000;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.toast {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  background-color: var(--surface);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-lg);
  min-width: 280px;
  max-width: 400px;
  animation: slideIn 0.3s ease;
}

@keyframes slideIn {
  from {
    transform: translateX(100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

.toast.success {
  border-left: 4px solid var(--success);
}

.toast.error {
  border-left: 4px solid var(--error);
}

.toast.warning {
  border-left: 4px solid var(--warning);
}

.toast-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.toast.success .toast-icon {
  color: var(--success);
}

.toast.error .toast-icon {
  color: var(--error);
}

.toast.warning .toast-icon {
  color: var(--warning);
}

.toast-message {
  flex: 1;
  font-size: 14px;
}

.toast-close {
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-muted);
  flex-shrink: 0;
}

.toast-close:hover {
  color: var(--text);
}

/* ===================================
   Custom Leaflet Marker
   =================================== */
.arrow-marker {
  display: flex;
  align-items: center;
  justify-content: center;
}

.arrow-marker svg {
  width: 24px;
  height: 24px;
  filter: drop-shadow(1px 1px 2px rgba(0, 0, 0, 0.3));
}

.arrow-marker.selected svg {
  transform: scale(1.2);
}

.marker-no-direction {
  color: var(--secondary);
}

.marker-default {
  color: var(--primary);
}

.marker-selected {
  color: var(--error);
}

/* Leaflet overrides */
.leaflet-popup-content-wrapper {
  border-radius: var(--border-radius);
}

.leaflet-popup-content {
  margin: 12px 16px;
  font-size: 13px;
}

/* ===================================
   Responsive Design
   =================================== */
@media (max-width: 1024px) {
  .metadata-panel {
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    z-index: 100;
    transform: translateX(100%);
    transition: transform var(--transition);
  }

  .metadata-panel.open {
    transform: translateX(0);
  }
}

/* タブレット対応 */
@media (max-width: 1024px) {
  :root {
    --panel-width: 350px;
  }

  .metadata-preview {
    max-height: 350px;
  }

  .metadata-preview .preview-image {
    max-height: 350px;
  }
}

/* スマートフォン対応 */
@media (max-width: 768px) {
  :root {
    --sidebar-width: 100%;
    --panel-width: 100%;
    --header-height: 50px;
  }

  .header {
    padding: 0 12px;
  }

  .logo {
    font-size: 16px;
  }

  .header-right .btn-text {
    display: none;
  }

  .main-content {
    flex-direction: column;
  }

  .sidebar {
    width: 100%;
    height: auto;
    max-height: 150px;
    border-right: none;
    border-bottom: 1px solid var(--border);
    order: 2;
  }

  .sidebar-header {
    padding: 8px 12px;
  }

  .sidebar-header h2 {
    font-size: 12px;
  }

  .photo-list {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    padding: 8px;
    gap: 8px;
    -webkit-overflow-scrolling: touch;
  }

  .photo-item {
    flex-direction: column;
    min-width: 70px;
    max-width: 70px;
    margin-bottom: 0;
    padding: 6px;
  }

  .photo-thumbnail {
    width: 56px;
    height: 56px;
  }

  .photo-info {
    text-align: center;
  }

  .photo-name {
    font-size: 10px;
    max-width: 60px;
  }

  .map-container {
    order: 1;
    flex: 1;
    min-height: 40vh;
  }

  /* メタデータパネル - スマホではスライドアップ表示 */
  .metadata-panel {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: auto;
    max-height: 70vh;
    border-left: none;
    border-top: 1px solid var(--border);
    border-radius: 16px 16px 0 0;
    transform: translateY(100%);
    transition: transform 0.3s ease;
    z-index: 1000;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
  }

  .metadata-panel.open {
    transform: translateY(0);
  }

  .metadata-panel .panel-header {
    padding: 12px 16px;
    position: relative;
  }

  .metadata-panel .panel-header::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 4px;
    background-color: var(--border);
    border-radius: 2px;
  }

  .metadata-panel .panel-content {
    padding: 12px 16px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  /* スマホ用プレビュー - 画面幅に合わせて大きく表示 */
  .metadata-preview {
    max-height: 40vh;
    margin-bottom: 12px;
  }

  .metadata-preview .preview-image {
    max-height: 40vh;
    width: 100%;
  }

  .metadata-section {
    margin-bottom: 16px;
  }

  .metadata-row {
    padding: 4px 0;
    font-size: 12px;
  }

  /* モーダル調整 */
  .modal-nav {
    width: 36px;
    height: 36px;
  }

  .modal-prev {
    left: 8px;
  }

  .modal-next {
    right: 8px;
  }

  .modal-close {
    top: 12px;
    right: 12px;
    width: 36px;
    height: 36px;
  }

  /* エクスポートダイアログ */
  .export-dialog {
    width: 95%;
    max-width: none;
    margin: 16px;
  }

  /* トースト */
  .toast {
    left: 16px;
    right: 16px;
    bottom: 16px;
    max-width: none;
  }
}

/* 小さいスマートフォン対応 */
@media (max-width: 480px) {
  .photo-item {
    min-width: 60px;
    max-width: 60px;
    padding: 4px;
  }

  .photo-thumbnail {
    width: 48px;
    height: 48px;
  }

  .sidebar {
    max-height: 120px;
  }

  .metadata-panel {
    max-height: 75vh;
  }

  .metadata-preview {
    max-height: 35vh;
  }

  .metadata-preview .preview-image {
    max-height: 35vh;
  }
}

/* ===================================
   Mobile Notice - スマホ向け注意事項
   =================================== */
.mobile-notice {
  background: var(--warning-light);
  border: 1px solid var(--warning);
  border-radius: var(--border-radius);
  margin: 8px;
  padding: 12px;
  font-size: 12px;
  position: relative;
}

.mobile-notice-content h4 {
  font-size: 13px;
  margin-bottom: 6px;
  color: var(--text);
}

.mobile-notice-content p {
  color: var(--text-muted);
  margin-bottom: 8px;
}

.mobile-notice-content details {
  color: var(--text-muted);
}

.mobile-notice-content summary {
  cursor: pointer;
  color: var(--primary);
  font-weight: 500;
}

.mobile-notice-content ul {
  margin-top: 8px;
  padding-left: 20px;
}

.mobile-notice-content li {
  margin-bottom: 4px;
}

.mobile-notice-close {
  position: absolute;
  top: 8px;
  right: 8px;
  background: none;
  border: none;
  font-size: 18px;
  cursor: pointer;
  color: var(--text-muted);
  line-height: 1;
  padding: 0;
  width: 20px;
  height: 20px;
}

.mobile-notice-close:hover {
  color: var(--text);
}

/* デスクトップでは非表示 */
@media (min-width: 769px) {
  .mobile-notice {
    display: none !important;
  }
}

/* ===================================
   Dialog Overlay - 汎用ダイアログ
   =================================== */
.dialog-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3000;
  padding: 16px;
}

.dialog-overlay[hidden] {
  display: none;
}

.dialog {
  background-color: var(--surface);
  border-radius: var(--border-radius);
  width: 100%;
  max-width: 480px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-lg);
}

.dialog-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
}

.dialog-header h2 {
  font-size: 16px;
  font-weight: 600;
  margin: 0;
}

.dialog-close {
  background: none;
  border: none;
  font-size: 24px;
  color: var(--text-muted);
  cursor: pointer;
  padding: 0;
  line-height: 1;
}

.dialog-close:hover {
  color: var(--text);
}

.dialog-body {
  padding: 20px;
}

.dialog-footer {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  padding: 16px 20px;
  border-top: 1px solid var(--border);
}

/* ===================================
   Import Guide Dialog - インポートガイド
   =================================== */
.import-guide-dialog {
  max-width: 380px;
}

.import-guide-warning {
  background: var(--error-light);
  border: 1px solid var(--error);
  border-radius: var(--border-radius);
  padding: 12px;
  margin-bottom: 16px;
  font-size: 13px;
}

.import-guide-warning p {
  margin: 0;
}

.import-guide-intro {
  font-size: 14px;
  margin-bottom: 12px;
  color: var(--text);
}

.import-guide-visual {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 16px;
}

.picker-option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px;
  border-radius: var(--border-radius);
  font-size: 13px;
}

.picker-option.wrong {
  background: var(--error-light);
  border: 1px solid var(--error);
  opacity: 0.7;
}

.picker-option.correct {
  background: var(--success-light);
  border: 2px solid var(--success);
}

.picker-icon {
  font-size: 20px;
}

.picker-label {
  flex: 1;
  font-weight: 600;
}

.picker-status {
  font-size: 12px;
}

.import-guide-hint {
  font-size: 12px;
  color: var(--text-muted);
  margin: 0;
}

.import-guide-footer {
  flex-direction: column;
  gap: 8px;
}

.btn-block {
  width: 100%;
}

.import-guide-footer .btn {
  width: 100%;
}
