:root {
  --bg: #f5f6f8;
  --panel-bg: #ffffff;
  --border: #dde1e6;
  --text: #202531;
  --text-dim: #6b7280;
  --accent: #2563eb;
  --accent-dark: #1d4ed8;
  --danger: #dc2626;
  --water: #3b82f6;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Hiragino Sans", "Noto Sans JP", sans-serif;
  background: var(--bg);
  color: var(--text);
}

header {
  padding: 24px 32px 12px;
}

.header-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  flex-wrap: wrap;
}

header h1 {
  margin: 0 0 4px;
  font-size: 22px;
}

.subtitle {
  margin: 0;
  color: var(--text-dim);
  font-size: 14px;
}

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

.usage-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #f1f5f9;
  border: 1px solid #cbd5e1;
  padding: 6px 14px;
  border-radius: 9999px;
  font-size: 13px;
  font-weight: 600;
  color: #334155;
  cursor: pointer;
  transition: all 0.2s ease;
}

.usage-badge:hover {
  background: #e2e8f0;
  border-color: #94a3b8;
}

.usage-badge.is-pro {
  background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
  border-color: #f59e0b;
  color: #92400e;
  box-shadow: 0 0 12px rgba(245, 158, 11, 0.25);
}

.usage-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #10b981;
}

.usage-badge.is-limit .usage-dot {
  background-color: #ef4444;
}

.usage-badge.is-pro .usage-dot {
  background-color: #f59e0b;
}

.btn-upgrade-glow {
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
  color: #ffffff;
  border: none;
  padding: 7px 16px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.35);
  transition: all 0.2s ease;
}

.btn-upgrade-glow:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.45);
  background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
}

.btn-upgrade-glow.hidden {
  display: none;
}

.lang-switch {
  display: flex;
  border: 1px solid var(--border);
  border-radius: 6px;
  overflow: hidden;
  flex-shrink: 0;
}

.lang-btn {
  border: none;
  background: var(--panel-bg);
  color: var(--text-dim);
  font-size: 12px;
  padding: 6px 12px;
  cursor: pointer;
}

.lang-btn + .lang-btn {
  border-left: 1px solid var(--border);
}

.lang-btn.active {
  background: var(--accent);
  color: white;
  font-weight: 600;
}

main {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 20px;
  padding: 12px 32px 32px;
}

@media (max-width: 900px) {
  main { grid-template-columns: 1fr; }
}

.panel {
  background: var(--panel-bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 20px;
}

.panel h2 {
  margin-top: 0;
  font-size: 16px;
  border-bottom: 1px solid var(--border);
  padding-bottom: 8px;
}

.file-controls {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: 8px;
}

.file-input-label {
  position: relative;
  display: inline-block;
  padding: 8px 14px;
  border: 1px dashed var(--border);
  border-radius: 6px;
  cursor: pointer;
  font-size: 13px;
  color: var(--text-dim);
}

.file-input-label input[type="file"] {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}

.file-status {
  font-size: 12px;
  color: var(--text-dim);
  margin-bottom: 12px;
  word-break: break-all;
}

.btn {
  border: none;
  border-radius: 6px;
  padding: 9px 18px;
  font-size: 14px;
  cursor: pointer;
  font-weight: 600;
}

.btn.primary {
  background: var(--accent);
  color: white;
  width: 100%;
  margin-top: 6px;
}
.btn.primary:hover:not(:disabled) { background: var(--accent-dark); }

.btn.secondary {
  background: #eef1f5;
  color: var(--text);
}
.btn.secondary:hover:not(:disabled) { background: #e3e7ee; }

.btn.danger {
  background: #fee2e2;
  color: var(--danger);
  width: 100%;
  margin-top: 8px;
}

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

.viewer-container {
  position: relative;
  width: 100%;
  height: 420px;
  background: #12141a;
  border-radius: 8px;
  overflow: hidden;
}

.viewer-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #6b7280;
  font-size: 13px;
  padding: 20px;
  line-height: 1.6;
}

#viewerCanvas {
  width: 100%;
  height: 100%;
  display: block;
}

fieldset {
  border: 1px solid var(--border);
  border-radius: 8px;
  margin-bottom: 14px;
  padding: 12px 14px 14px;
}

legend {
  font-size: 12px;
  color: var(--text-dim);
  padding: 0 6px;
}

.field-row {
  margin-bottom: 10px;
}

.field-row.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

label {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 12px;
  color: var(--text-dim);
}

input[type="number"], select {
  font-size: 14px;
  padding: 7px 9px;
  border: 1px solid var(--border);
  border-radius: 6px;
  color: var(--text);
  background: white;
}

.progress-area {
  margin-top: 16px;
}

.progress-bar-outer {
  width: 100%;
  height: 10px;
  background: #eef1f5;
  border-radius: 6px;
  overflow: hidden;
}

.progress-bar-inner {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--accent), var(--water));
  transition: width 0.3s ease;
}

.progress-text {
  font-size: 12px;
  color: var(--text-dim);
  margin: 6px 0;
}

.log-area {
  background: #0f1117;
  color: #9fe3a0;
  font-size: 11px;
  padding: 10px;
  border-radius: 6px;
  max-height: 140px;
  overflow-y: auto;
  white-space: pre-wrap;
  word-break: break-all;
}

.results-panel {
  margin: 0 32px 32px;
}

.mass-balance {
  font-size: 13px;
  color: var(--text-dim);
  margin-bottom: 14px;
  background: #f0f4ff;
  border-radius: 6px;
  padding: 10px 14px;
}

.results-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
}

@media (max-width: 900px) {
  .results-grid { grid-template-columns: 1fr; }
}

.result-hint {
  font-size: 12px;
  color: var(--text-dim);
  margin: 0 0 8px;
  line-height: 1.5;
}

.still-rising-message {
  font-size: 13px;
  color: var(--text-dim);
  background: #f9fafc;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 14px;
  line-height: 1.6;
}

.result-item h3 {
  font-size: 13px;
  margin: 0 0 8px;
  color: var(--text-dim);
}

.result-item video, .result-item img {
  width: 100%;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: #000;
}

.result-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 8px;
}

.card-header-actions {
  display: flex;
  align-items: center;
  gap: 6px;
}

.card-action-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: #f1f5f9;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  padding: 4px 10px;
  font-size: 12px;
  font-weight: 600;
  color: #334155;
  cursor: pointer;
  transition: all 0.2s ease;
}

.card-action-btn:hover {
  background: #e2e8f0;
  border-color: #94a3b8;
  color: var(--accent);
  transform: translateY(-1px);
}

.card-action-btn.btn-save {
  background: #f0fdf4;
  border-color: #bbf7d0;
  color: #166534;
}

.card-action-btn.btn-save:hover {
  background: #dcfce7;
  border-color: #86efac;
  color: #14532d;
}

.media-preview-box {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: #000;
  cursor: zoom-in;
  transition: box-shadow 0.2s ease;
}

.media-preview-box:hover {
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
}

.media-preview-box video, .media-preview-box img {
  width: 100%;
  display: block;
  border: none;
}

.preview-zoom-badge {
  position: absolute;
  top: 8px;
  right: 8px;
  background: rgba(15, 23, 42, 0.75);
  color: #ffffff;
  font-size: 11px;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 4px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.media-preview-box:hover .preview-zoom-badge {
  opacity: 1;
}

/* Coordinate Selector for Max Depth Map */
.coord-selector-box {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 10px 12px;
  margin-bottom: 10px;
}

.coord-selector-header {
  font-size: 12px;
  font-weight: 600;
  color: #334155;
  margin-bottom: 6px;
}

.coord-inputs-row {
  display: flex;
  gap: 8px;
  align-items: flex-end;
  flex-wrap: wrap;
}

.coord-input-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
  min-width: 110px;
}

.coord-input-item label {
  font-size: 11px;
  color: #64748b;
  font-weight: 500;
}

.coord-input-item input {
  font-size: 13px;
  padding: 5px 8px;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  background: #fff;
  color: #1e293b;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}

.btn-coord-go {
  background: var(--accent);
  color: #ffffff;
  border: none;
  border-radius: 6px;
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  height: 31px;
  transition: all 0.15s ease;
}

.btn-coord-go:hover {
  background: var(--accent-dark);
}

.coord-range-hint {
  font-size: 11px;
  color: #64748b;
  margin-top: 5px;
  font-family: ui-monospace, monospace;
}

.point-map-links {
  display: flex;
  gap: 8px;
  margin-top: 8px;
  flex-wrap: wrap;
}

.map-link-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  border-radius: 4px;
  color: #1d4ed8;
  font-size: 11px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.15s ease;
}

.map-link-btn:hover {
  background: #dbeafe;
  border-color: #93c5fd;
  transform: translateY(-1px);
}

.depth-map-wrap {
  position: relative;
  display: block;
  max-width: 100%;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: #000;
  cursor: crosshair;
}

.depth-map-raw {
  width: 100%;
  display: block;
  image-rendering: pixelated;
}

.depth-map-marker {
  position: absolute;
  width: 24px;
  height: 24px;
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 10;
  filter: drop-shadow(0 0 2px rgba(0, 0, 0, 0.8));
}

.depth-legend {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
}

.depth-legend-gradient {
  flex: 1;
  height: 10px;
  border-radius: 4px;
  border: 1px solid var(--border);
  background: linear-gradient(to right,
    #cde2fb, #b7d3f6, #9ec5f4, #86b6ef, #6da7ec, #5598e7,
    #3987e5, #2a78d6, #256abf, #1c5cab, #184f95, #104281, #0d366b);
}

.depth-legend-label {
  font-size: 11px;
  color: var(--text-dim);
  white-space: nowrap;
}

.point-info-hint {
  font-size: 12px;
  color: var(--text-dim);
  margin-top: 8px;
  font-style: italic;
}

.point-info {
  margin-top: 12px;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 12px 14px;
  background: #f9fafc;
}

.point-info-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 8px;
  font-size: 12px;
}

.point-info-key {
  color: var(--text-dim);
  margin-right: 6px;
}

.point-info-val {
  font-weight: 600;
  color: var(--text);
}

.point-chart-container {
  margin-top: 10px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  padding: 8px 10px;
}

.point-chart-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 6px;
}

.point-chart-title {
  font-size: 12px;
  font-weight: 600;
  color: #475569;
}

.point-chart-actions {
  display: flex;
  align-items: center;
  gap: 6px;
}

.point-chart-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: #f8fafc;
  border: 1px solid #cbd5e1;
  border-radius: 4px;
  padding: 3px 8px;
  font-size: 11px;
  font-weight: 600;
  color: #334155;
  cursor: pointer;
  transition: all 0.15s ease;
}

.point-chart-btn:hover {
  background: #e2e8f0;
  border-color: #94a3b8;
  color: #0f172a;
}

.point-chart-btn.btn-chart-png {
  background: #f0fdf4;
  border-color: #bbf7d0;
  color: #166534;
}

.point-chart-btn.btn-chart-png:hover {
  background: #dcfce7;
  border-color: #86efac;
}

.point-chart-btn.btn-chart-csv {
  background: #eff6ff;
  border-color: #bfdbfe;
  color: #1d4ed8;
}

.point-chart-btn.btn-chart-csv:hover {
  background: #dbeafe;
  border-color: #93c5fd;
}

.point-chart {
  width: 100%;
  height: 140px;
  display: block;
}


/* ---------------------------------------------------------------------
   Universal Zoomable / Pannable Lightbox Modal
   --------------------------------------------------------------------- */

.media-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(10, 15, 29, 0.88);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  animation: modalFadeIn 0.2s ease-out;
}

.media-modal-window {
  position: relative;
  background: #111827;
  color: #f3f4f6;
  width: 96vw;
  height: 94vh;
  max-width: 1600px;
  border-radius: 14px;
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(255, 255, 255, 0.1);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  animation: modalSlideUp 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.media-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 20px;
  background: #1f2937;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  flex-shrink: 0;
}

.media-modal-title {
  font-size: 15px;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 0.2px;
}

.media-modal-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.modal-tool-btn {
  background: #374151;
  color: #e5e7eb;
  border: 1px solid #4b5563;
  border-radius: 6px;
  padding: 5px 12px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s ease;
}

.modal-tool-btn:hover {
  background: #4b5563;
  color: #ffffff;
}

.media-modal-close {
  background: transparent;
  border: none;
  font-size: 28px;
  color: #9ca3af;
  cursor: pointer;
  line-height: 1;
  padding: 2px 8px;
  border-radius: 6px;
  transition: all 0.15s ease;
}

.media-modal-close:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.1);
}

.media-modal-body {
  position: relative;
  flex: 1;
  width: 100%;
  height: 100%;
  overflow: hidden;
  display: flex;
  background: #090d16;
  user-select: none;
}

.modal-pan-viewport {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  cursor: grab;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-pan-viewport.is-dragging {
  cursor: grabbing;
}

.modal-pan-content {
  position: absolute;
  transform-origin: 0 0;
  will-change: transform;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-target-img {
  max-width: none;
  max-height: none;
  display: block;
  pointer-events: auto;
  image-rendering: pixelated;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.modal-target-video {
  max-width: 90vw;
  max-height: 80vh;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
  border-radius: 8px;
}

.modal-point-drawer {
  position: absolute;
  bottom: 20px;
  left: 20px;
  background: rgba(17, 24, 39, 0.92);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 10px;
  padding: 12px 16px;
  z-index: 50;
  max-width: 380px;
  width: calc(100% - 40px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.5);
}

.modal-point-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  font-weight: 700;
  color: #60a5fa;
  margin-bottom: 8px;
}

.modal-point-toolbar {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 6px;
  margin-bottom: 6px;
}

.modal-point-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 4px;
  padding: 2px 7px;
  font-size: 11px;
  font-weight: 600;
  color: #e2e8f0;
  cursor: pointer;
  transition: all 0.15s ease;
}

.modal-point-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.4);
  color: #ffffff;
}

.btn-drawer-toggle {
  background: transparent;
  border: none;
  color: #9ca3af;
  cursor: pointer;
  font-size: 12px;
}

.modal-point-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px 12px;
  font-size: 12px;
  margin-bottom: 8px;
}

.modal-point-stats .point-info-key {
  color: #9ca3af;
}

.modal-point-stats span:not(.point-info-key) {
  font-weight: 600;
  color: #f3f4f6;
}

.modal-help-pill {
  position: absolute;
  bottom: 20px;
  right: 20px;
  background: rgba(15, 23, 42, 0.8);
  color: #94a3b8;
  font-size: 11px;
  padding: 6px 12px;
  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  pointer-events: none;
}

/* ---------------------------------------------------------------------
   Modal & Paywall Dialog
   --------------------------------------------------------------------- */

.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  animation: modalFadeIn 0.25s ease-out;
}

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

.modal-card {
  position: relative;
  background: #ffffff;
  width: 100%;
  max-width: 520px;
  border-radius: 16px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25), 0 0 0 1px rgba(0, 0, 0, 0.05);
  padding: 32px;
  animation: modalSlideUp 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.modal-close {
  position: absolute;
  top: 16px;
  right: 18px;
  background: transparent;
  border: none;
  font-size: 26px;
  color: #94a3b8;
  cursor: pointer;
  line-height: 1;
  padding: 4px;
  border-radius: 4px;
}

.modal-close:hover {
  color: #334155;
}

.modal-header {
  text-align: center;
  margin-bottom: 20px;
}

.modal-tag {
  display: inline-block;
  background: #eff6ff;
  color: #2563eb;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  padding: 4px 10px;
  border-radius: 9999px;
  margin-bottom: 8px;
  border: 1px solid #bfdbfe;
}

.modal-header h2 {
  margin: 0 0 6px;
  font-size: 22px;
  color: #0f172a;
}

.modal-subtitle {
  margin: 0;
  font-size: 13px;
  color: #64748b;
  line-height: 1.5;
}

.pricing-box {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 20px;
}

.pricing-price {
  text-align: center;
  margin-bottom: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid #e2e8f0;
}

.pricing-price .currency {
  font-size: 24px;
  font-weight: 700;
  color: #0f172a;
  vertical-align: super;
}

.pricing-price .price-val {
  font-size: 40px;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.03em;
}

.pricing-price .tax-period {
  display: block;
  font-size: 12px;
  color: #64748b;
  margin-top: 2px;
}

.features-list {
  list-style: none;
  margin: 0 0 20px;
  padding: 0;
  font-size: 13px;
  color: #334155;
}

.features-list li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 10px;
  line-height: 1.4;
}

.features-list .check {
  color: #10b981;
  font-weight: bold;
  flex-shrink: 0;
}

.modal-action-buttons {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.btn-stripe-checkout {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  background: #635bff;
  color: #ffffff;
  border: none;
  padding: 12px 20px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(99, 91, 255, 0.3);
  transition: all 0.2s ease;
}

.btn-stripe-checkout:hover {
  background: #534be5;
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(99, 91, 255, 0.4);
}

.btn-mock-checkout {
  width: 100%;
  background: #ffffff;
  color: #475569;
  border: 1px dashed #cbd5e1;
  padding: 9px 16px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-mock-checkout:hover {
  background: #f1f5f9;
  border-color: #94a3b8;
  color: #1e293b;
}

.security-note {
  text-align: center;
  font-size: 11px;
  color: #94a3b8;
  margin-top: 14px;
}

/* Toast notification */
.toast-notification {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: #0f172a;
  color: #f8fafc;
  padding: 14px 22px;
  border-radius: 10px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.25);
  font-size: 14px;
  font-weight: 500;
  z-index: 10000;
  display: flex;
  align-items: center;
  gap: 10px;
  border-left: 4px solid #10b981;
  animation: toastSlideIn 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes toastSlideIn {
  from { transform: translateX(50px); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

