/*
 * MagicFleet - Dark Navy/Metallic Theme
 */

body {
  background-color: #0d1117;
  color: #e2e8f0;
}

/* Metallic text effect */
.metallic-text {
  background: linear-gradient(135deg, #a8b8c8 0%, #d4e0ec 30%, #f0f6ff 50%, #c8d8e8 70%, #8898a8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Gold accent text */
.gold-text {
  background: linear-gradient(135deg, #b8860b 0%, #f5c518 40%, #ffd700 60%, #c8a000 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Metallic glow on hover */
.metallic-glow:hover {
  box-shadow: 0 0 12px rgba(99, 179, 237, 0.4), 0 0 24px rgba(99, 179, 237, 0.15);
}

/* Gold glow on hover */
.gold-glow:hover {
  box-shadow: 0 0 12px rgba(245, 197, 24, 0.5), 0 0 24px rgba(245, 197, 24, 0.2);
}

/* Panel/card metallic border */
.panel {
  background: linear-gradient(145deg, #161c26 0%, #111620 100%);
  border: 1px solid #2a3a4a;
  box-shadow: 0 4px 16px rgba(0,0,0,0.4), inset 0 1px 0 rgba(255,255,255,0.05);
}

/* Table row hover with subtle metallic sheen */
.table-row-hover:hover {
  background: linear-gradient(90deg, rgba(30,58,95,0.3) 0%, rgba(37,99,235,0.1) 50%, rgba(30,58,95,0.3) 100%);
}

/* Blue accent button */
.btn-primary {
  background: linear-gradient(135deg, #1e4a8a 0%, #2563eb 50%, #1d4ed8 100%);
  color: #fff;
  border: 1px solid #3b82f6;
  box-shadow: 0 2px 8px rgba(37,99,235,0.3);
  transition: all 0.2s;
}
.btn-primary:hover {
  background: linear-gradient(135deg, #2563eb 0%, #3b82f6 50%, #2563eb 100%);
  box-shadow: 0 4px 16px rgba(59,130,246,0.5);
}

/* Outline/secondary button */
.btn-secondary {
  background: linear-gradient(135deg, #1e2a3a 0%, #243040 100%);
  color: #94a3b8;
  border: 1px solid #2a3a4a;
  transition: all 0.2s;
}
.btn-secondary:hover {
  background: linear-gradient(135deg, #243040 0%, #2a3a4a 100%);
  color: #e2e8f0;
  border-color: #3a5a7a;
  box-shadow: 0 0 8px rgba(99,179,237,0.2);
}

/* Danger button */
.btn-danger {
  background: linear-gradient(135deg, #7f1d1d 0%, #991b1b 50%, #b91c1c 100%);
  color: #fecaca;
  border: 1px solid #ef4444;
  box-shadow: 0 2px 8px rgba(239,68,68,0.2);
  transition: all 0.2s;
}
.btn-danger:hover {
  background: linear-gradient(135deg, #991b1b 0%, #b91c1c 50%, #dc2626 100%);
  box-shadow: 0 4px 16px rgba(239,68,68,0.4);
}

/* Form inputs */
.input-dark {
  background: #0d1117;
  border: 1px solid #2a3a4a;
  color: #e2e8f0;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.input-dark:focus {
  outline: none;
  border-color: #3b82f6;
  box-shadow: 0 0 0 2px rgba(59,130,246,0.2);
}
.input-dark option {
  background: #0d1117;
}

/* Nav active link */
.nav-active {
  background: linear-gradient(135deg, rgba(37,99,235,0.2) 0%, rgba(59,130,246,0.15) 100%);
  color: #93c5fd;
  border-bottom: 2px solid #3b82f6;
}

/* Notice/alert flash */
.flash-notice {
  background: linear-gradient(135deg, #052e16 0%, #064e3b 100%);
  border: 1px solid #10b981;
  color: #6ee7b7;
}
.flash-alert {
  background: linear-gradient(135deg, #450a0a 0%, #7f1d1d 100%);
  border: 1px solid #ef4444;
  color: #fca5a5;
}

/* Empty state */
.empty-state {
  background: linear-gradient(145deg, #111620 0%, #0d1117 100%);
  border: 1px dashed #2a3a4a;
}

/* Thead */
.thead-dark {
  background: linear-gradient(90deg, #111827 0%, #161e2e 100%);
  border-bottom: 1px solid #2a3a4a;
}

/* Divider */
.divide-dark > * + * {
  border-top: 1px solid #1e2a3a;
}

/* Upload spinner */
@keyframes spin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}
.upload-spinner {
  animation: spin 0.8s linear infinite;
}

/* Import status badges */
.badge-in-progress {
  display: inline-block;
  background: linear-gradient(135deg, #78350f 0%, #92400e 100%);
  border: 1px solid #f59e0b;
  color: #fcd34d;
}
.badge-success {
  display: inline-block;
  background: linear-gradient(135deg, #052e16 0%, #064e3b 100%);
  border: 1px solid #10b981;
  color: #6ee7b7;
}
.badge-error {
  display: inline-block;
  background: linear-gradient(135deg, #450a0a 0%, #7f1d1d 100%);
  border: 1px solid #ef4444;
  color: #fca5a5;
}

/* Progress bar */
.progress-track {
  background: #1e2a3a;
  border-radius: 9999px;
  height: 6px;
  overflow: hidden;
}
.progress-fill {
  background: linear-gradient(90deg, #2563eb 0%, #3b82f6 100%);
  height: 100%;
  border-radius: 9999px;
  transition: width 0.3s ease;
}

/* Scrollbar styling */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
::-webkit-scrollbar-track {
  background: #0d1117;
}
::-webkit-scrollbar-thumb {
  background: #2a3a4a;
  border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
  background: #3b82f6;
}
