/* Bootstrap Overrides — Retro Terminal Theme */

body,
.container,
.container-fluid,
main {
  background-color: #0d0d0d !important;
  color: #e8e0d0 !important;
}

/* Cards */
.card {
  background: #1c1c1c !important;
  border: 1px solid #2a2a2a !important;
  color: #e8e0d0 !important;
  border-radius: 4px !important;
  transition: border-color 0.25s, box-shadow 0.25s !important;
}
.card:hover {
  border-color: rgba(232,160,32,0.4) !important;
  box-shadow: 0 4px 24px rgba(232,160,32,0.1) !important;
}
.card-header {
  background: #141414 !important;
  border-bottom: 1px solid #2a2a2a !important;
  color: #e8a020 !important;
  font-family: 'Share Tech Mono', monospace !important;
  font-size: 0.8rem !important;
  letter-spacing: 0.08em !important;
}
.card-footer {
  background: #141414 !important;
  border-top: 1px solid #2a2a2a !important;
  color: #a09880 !important;
  font-size: 0.78rem !important;
}
.card-body {
  background: #1c1c1c !important;
  color: #e8e0d0 !important;
}

/* Buttons */
.btn-primary {
  background: #e8a020 !important;
  border: none !important;
  color: #0d0d0d !important;
  font-family: 'Rajdhani', sans-serif !important;
  font-weight: 700 !important;
  letter-spacing: 0.1em !important;
  text-transform: uppercase !important;
  border-radius: 2px !important;
  transition: background 0.2s, box-shadow 0.2s !important;
}
.btn-primary:hover {
  background: #f0b030 !important;
  box-shadow: 0 0 16px rgba(232,160,32,0.5) !important;
}
.btn-secondary, .btn-outline-secondary {
  background: transparent !important;
  border: 1px solid #2a2a2a !important;
  color: #a09880 !important;
  border-radius: 2px !important;
}
.btn-secondary:hover {
  border-color: rgba(232,160,32,0.4) !important;
  color: #e8a020 !important;
}
.btn-sm {
  font-size: 0.78rem !important;
  padding: 0.3rem 0.75rem !important;
}

/* Navbar */
.navbar {
  background: #141414 !important;
  border-bottom: 1px solid rgba(232,160,32,0.3) !important;
  box-shadow: 0 2px 20px rgba(232,160,32,0.06) !important;
}

/* Forms */
.form-control,
.form-select,
select {
  background: #0a0a0a !important;
  border: 1px solid #2a2a2a !important;
  color: #e8e0d0 !important;
  border-radius: 2px !important;
  font-family: 'Share Tech Mono', monospace !important;
}
.form-control:focus,
.form-select:focus {
  border-color: rgba(232,160,32,0.5) !important;
  box-shadow: 0 0 10px rgba(232,160,32,0.12) !important;
  background: #0a0a0a !important;
  color: #e8e0d0 !important;
}
select option {
  background: #1c1c1c !important;
  color: #e8e0d0 !important;
}

/* Badges */
.badge {
  font-family: 'Share Tech Mono', monospace !important;
  font-size: 0.68rem !important;
  letter-spacing: 0.08em !important;
  border-radius: 2px !important;
}
.badge.bg-dark {
  background: #1c1c1c !important;
  border: 1px solid #2a2a2a !important;
  color: #a09880 !important;
}

/* Tables */
.table {
  color: #e8e0d0 !important;
  border-color: #2a2a2a !important;
}
.table th {
  background: #141414 !important;
  border-color: #2a2a2a !important;
  color: #e8a020 !important;
  font-family: 'Rajdhani', sans-serif !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
  font-size: 0.82rem !important;
}
.table td {
  background: rgba(28,28,28,0.5) !important;
  border-color: #2a2a2a !important;
}

/* Modals */
.modal-content {
  background: #141414 !important;
  border: 1px solid rgba(232,160,32,0.4) !important;
  color: #e8e0d0 !important;
  border-radius: 4px !important;
}
.modal-header, .modal-footer {
  border-color: #2a2a2a !important;
}

/* Progress */
.progress {
  background: #1c1c1c !important;
  border-radius: 2px !important;
  height: 4px !important;
}
.progress-bar {
  background: linear-gradient(90deg, #a06810, #e8a020) !important;
}

/* Misc overrides */
.bg-white, .bg-light, .bg-body { background-color: #0d0d0d !important; }
.text-white { color: #e8e0d0 !important; }
.text-muted { color: #605850 !important; }
.border { border-color: #2a2a2a !important; }
.border-bottom { border-bottom-color: #2a2a2a !important; }
hr { border-color: #2a2a2a; opacity: 1; }

/* Scrollbar */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: #0d0d0d; }
::-webkit-scrollbar-thumb { background: #2a2a2a; border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: rgba(232,160,32,0.4); }
