:root {
  --bg: #070b14;
  --panel: #0f172a;
  --panel-soft: #111c35;
  --text: #e5e7eb;
  --muted: #9ca3af;
  --primary: #7c3aed;
  --primary-2: #2563eb;
  --success: #16a34a;
  --danger: #dc2626;
  --warning: #f59e0b;
  --border: rgba(148, 163, 184, 0.22);
  --radius: 14px;
  --shadow: 0 10px 30px rgba(2, 6, 23, 0.45);
}

* {
  box-sizing: border-box;
}

html,
body {
  background: radial-gradient(1200px 700px at 20% -10%, #172554 0%, var(--bg) 45%);
  color: var(--text);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

a {
  color: #c4b5fd;
  transition: 0.2s ease;
}

a:hover {
  color: #ddd6fe;
  text-decoration: none;
}

.headBar,
.mainMenu,
.settingBar,
.playerNav,
.modal-content,
.dshbrd-mdl,
.card,
.table,
.sidebarMain {
  border-radius: var(--radius);
}

.headBar {
  backdrop-filter: blur(12px);
  background: rgba(2, 6, 23, 0.82) !important;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.mainMenu {
  margin: 10px 16px 12px;
  padding: 8px 10px;
  background: linear-gradient(90deg, rgba(37, 99, 235, 0.16), rgba(124, 58, 237, 0.12));
  border: 1px solid var(--border);
}

.mainMenu a {
  border-radius: 10px;
  padding: 8px 12px !important;
}

.mainMenu a:hover {
  background: rgba(148, 163, 184, 0.16);
}

.btn {
  border-radius: 10px !important;
  border: 0 !important;
  box-shadow: none !important;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary-2), var(--primary)) !important;
}

.btn-primary:hover {
  filter: brightness(1.07);
}

.btn-outline-light {
  border: 1px solid var(--border) !important;
  background: rgba(15, 23, 42, 0.6) !important;
}

.balText,
.currentTime {
  border: 1px solid var(--border);
  border-radius: 10px;
  background: rgba(15, 23, 42, 0.65);
  color: #dbeafe !important;
}

.playerNav {
  border: 1px solid var(--border);
  background: linear-gradient(180deg, #0b1326 0%, #0f172a 100%) !important;
}

.playerNav .pl-link:hover {
  background: rgba(59, 130, 246, 0.16);
}

.modal-content {
  background: linear-gradient(180deg, #0b1326 0%, #111c35 100%) !important;
  border: 1px solid var(--border) !important;
  box-shadow: var(--shadow);
}

.form-control,
select.form-control {
  background: rgba(15, 23, 42, 0.85) !important;
  border: 1px solid var(--border) !important;
  color: #f8fafc !important;
  border-radius: 10px !important;
}

.form-control:focus,
select.form-control:focus {
  border-color: #818cf8 !important;
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.2) !important;
}

.table {
  color: var(--text);
  overflow: hidden;
  border: 1px solid var(--border);
  background: rgba(15, 23, 42, 0.55);
}

.table th {
  background: rgba(30, 41, 59, 0.9) !important;
  color: #e2e8f0 !important;
  border-color: var(--border) !important;
}

.table td {
  border-color: rgba(148, 163, 184, 0.12) !important;
}

.card,
.dshbrd-mdl {
  border: 1px solid var(--border) !important;
  background: rgba(15, 23, 42, 0.78) !important;
}

.swal2-popup {
  border-radius: 14px !important;
  background: #0f172a !important;
  color: #e2e8f0 !important;
}

.sidebarMain {
  background: #0b1222 !important;
  border-left: 1px solid var(--border);
}
