@import url('https://fonts.googleapis.com/css2?family=Oxanium:wght@400;600;700;800&display=swap');

:root {
  --bg: #0f172a;
  --panel: rgba(255, 255, 255, 0.05);
  --muted: #94a3b8;
  --accent: #ff7b54;
  --accent-2: #22d3ee;
  --border: rgba(255, 255, 255, 0.1);
  --success: #10b981;
  --danger: #ef4444;
}

* {
  box-sizing: border-box;
}

body {
  background: radial-gradient(circle at 20% 20%, rgba(255, 123, 84, 0.08), transparent 35%),
    radial-gradient(circle at 80% 0%, rgba(34, 211, 238, 0.12), transparent 40%),
    linear-gradient(135deg, #0b1020 0%, #0f172a 40%, #0b1224 100%);
  color: #e2e8f0;
  min-height: 100vh;
  font-family: 'Oxanium', 'Space Grotesk', 'Segoe UI', system-ui, sans-serif;
  padding-bottom: 1rem;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Oxanium', 'Space Grotesk', 'Segoe UI', system-ui, sans-serif;
  font-weight: 800;
}

a,
.btn,
.panel {
  position: relative;
  z-index: 1;
}

a {
  color: var(--accent-2);
}

.navbar-brand {
  font-weight: 700;
  letter-spacing: 0.5px;
}

.navbar {
  min-height: 96px;
  padding-left: 0;
  padding-right: 0;
}

.navbar-brand-logo {
  height: 48px;
  width: auto;
  display: block;
}

.page-header {
  min-height: 96px;
}

#globalNav {
  width: min(1320px, calc(100% - 2rem));
  margin: 0 auto;
  display: flex;
  align-items: center;
  padding-left: clamp(1rem, 3vw, 1.75rem);
  padding-right: clamp(1rem, 3vw, 1.25rem);
}

.nav-toggle-input {
  display: none;
}

.nav-toggle-btn {
  width: 44px;
  height: 44px;
  border: 1px solid var(--border);
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 6px;
  margin-left: auto;
  margin-right: 0;
  position: relative;
  top: 0;
  align-self: center;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.04);
  transition: border-color 0.2s ease, background 0.2s ease;
}

.nav-toggle-btn span {
  width: 18px;
  height: 2px;
  background: #e2e8f0;
  display: block;
}

.nav-toggle-btn:hover {
  border-color: rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.08);
}

#navLinks {
  align-items: center;
}

.nav-drawer {
  position: fixed;
  inset: 0;
  max-width: 280px;
  width: 80%;
  margin-left: auto;
  padding: 1.5rem;
  background: #0b1020;
  border-left: 1px solid var(--border);
  transform: translateX(110%);
  transition: transform 0.25s ease;
  z-index: 105;
  box-shadow: -10px 0 40px rgba(0, 0, 0, 0.4);
}

.nav-close-btn {
  cursor: pointer;
  font-size: 1.25rem;
  line-height: 1;
  color: #e2e8f0;
}

.nav-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
  z-index: 104;
}

.nav-links-inline {
  display: flex;
  gap: 0.5rem;
}

.nav-toggle-input:checked ~ #navLinks .nav-drawer {
  transform: translateX(0);
}

.nav-toggle-input:checked ~ .nav-backdrop {
  opacity: 1;
  pointer-events: all;
}

.nav-toggle-input:checked ~ #navLinks .nav-links-inline {
  display: none;
}

@media (min-width: 992px) {
  .nav-links-inline {
    display: flex !important;
  }
  #navLinks .nav-drawer {
    display: none !important;
    transform: none;
  }
  .nav-backdrop {
    display: none !important;
  }
}

@media (max-width: 991.98px) {
  #globalNav {
    width: 100%;
    padding-left: 1rem;
    padding-right: 1rem;
  }
  #navLinks {
    position: absolute;
    right: 1rem;
    top: 0.75rem;
    width: 0;
    height: 0;
    padding: 0;
    margin: 0;
    gap: 0;
    overflow: visible;
  }
  .nav-links-inline {
    display: none !important;
  }
}

.site-footer {
  margin-top: 3rem;
  padding-bottom: 2rem;
}

.site-footer-panel {
  border-radius: 16px;
}

.footer-logo {
  height: 28px;
  width: auto;
}

.footer-links li + li {
  margin-top: 0.35rem;
}

.footer-links a {
  color: #e2e8f0;
  text-decoration: none;
  transition: color 0.2s ease, opacity 0.2s ease;
}

.footer-links a:hover {
  color: var(--accent-2);
  opacity: 0.9;
}

.panel {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 10px;
  box-shadow: none;
  padding: 1.5rem;
  backdrop-filter: blur(6px);
}


.btn-accent {
  background: linear-gradient(135deg, var(--accent), #ff9f68);
  border: none;
  color: #0b1020;
  font-weight: 700;
  border-radius: 10px;
}

.btn-accent:hover {
  filter: brightness(1.05);
}

.input-group .form-control.hero-input {
  border-radius: 10px;
}

.text-primary {
  color: var(--accent) !important;
}

.text-secondary {
  color: var(--accent-2) !important;
}

.input-group .btn-accent.hero-join-btn {
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
  border-top-right-radius: 10px;
  border-bottom-right-radius: 10px;
}

.btn,
.btn-sm,
.btn-lg,
.btn-outline-light,
.btn-outline-success,
.btn-outline-danger,
.btn-outline-info,
.btn-outline-warning,
.btn-outline-primary {
  border-radius: 10px;
}

.btn-accent-outline {
  border: 1px solid #ff9f68;
  color: white;
  font-weight: 700;
}

.btn-accent-outline:hover {
    border: 1px solid #ff9f68;
  background: linear-gradient(135deg, var(--accent), #ff9f68);
  color: white;
}

.btn-hero-join {
      border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}

.badge-status {
  border-radius: 10px;
  padding: 0.4rem 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-size: 0.75rem;
}

.badge-pending {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border: 1px solid var(--border);
}

.badge-requested {
  background: rgba(250, 204, 21, 0.12);
  color: #facc15;
  border: 1px solid rgba(250, 204, 21, 0.6);
}

.badge-live {
  background: rgba(34, 197, 94, 0.12);
  color: #22c55e;
  border: 1px solid rgba(34, 197, 94, 0.4);
}

.badge-upcoming {
  background: rgba(234, 179, 8, 0.12);
  color: #facc15;
  border: 1px solid rgba(234, 179, 8, 0.4);
}

.badge-played {
  background: rgba(16, 185, 129, 0.12);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.badge-queued {
  background: rgba(59, 130, 246, 0.14);
  color: #93c5fd;
  border: 1px solid rgba(59, 130, 246, 0.35);
}

.badge-ignored {
  background: rgba(239, 68, 68, 0.12);
  color: #ef4444;
  border: 1px solid rgba(239, 68, 68, 0.3);
}

.badge-explicit {
  background: rgba(239, 68, 68, 0.12);
  color: #ef4444;
  border: 1px solid rgba(239, 68, 68, 0.3);
  font-weight: 700;
  letter-spacing: 0.5px;
}

.badge-soft {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #e2e8f0;
}

.table-dark th,
.table-dark td {
  border-color: rgba(255, 255, 255, 0.08);
}

.table-dark thead {
  background: rgba(255, 255, 255, 0.05);
}

#qr img {
  max-width: 280px;
  width: 100%;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: #fff;
  padding: 8px;
}

#qr {
  width: 320px;
  max-width: 100%;
  margin: 0 auto;
}

.app-shell .container-fluid {
  max-width: 96vw;
}

.console-container {
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1rem 1.25rem;
  margin: 0 auto;
}

.dashboard .col-stack {
  height: calc(100vh - 180px);
  max-height: calc(100vh - 180px);
  overflow: hidden;
}

.dashboard .requests-panel {
  flex: 1 1 auto;
  min-height: 0;
  height: 100%;
  background: none;
}

.panel-surface {
  height: 100%;
}

.requests-panel .scroll-pane {
  max-height: 100%;
}

.toast-notice {
  position: fixed;
  top: 5%;
  left: 50%;
  transform: translateX(-50%);
  padding: 0.75rem 1.25rem;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.7);
  color: #e2e8f0;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
  z-index: 1100;
}

.toast-notice.show {
  opacity: 1;
}

.toast-notice.success {
  border-color: rgba(16, 185, 129, 0.4);
  background: rgba(16, 185, 129, 0.18);
}

.toast-notice.danger {
  border-color: rgba(239, 68, 68, 0.4);
  background: rgba(239, 68, 68, 0.18);
}

.glass-btn {
  background: rgba(255, 255, 255, 0.06) !important;
  border: 1px solid var(--border) !important;
  color: #e2e8f0 !important;
}

.small-muted {
  color: var(--muted);
  font-size: 0.95rem;
}

.text-muted {
  color: #cbd5e1 !important;
}

.table-row {
  background: rgba(255, 255, 255, 0.02);
  border-radius: 10px;
  padding: 1rem;
  margin-bottom: 0.75rem;
  border: 1px solid var(--border);
}

.request-card {
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.02);
  animation: fadeUp 0.35s ease;
}

.status-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
  margin-right: 6px;
}

.status-dot.pending {
  background: #facc15;
}

.status-dot.played {
  background: #22c55e;
}

.status-dot.ignored {
  background: #475569;
}

.guest-card-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  align-items: start;
}

.guest-action-col {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
}

.guest-action-col .btn {
  width: auto;
  border-radius: 10px;
}

.dj-card-grid {
  display: grid;
  grid-template-columns: 1fr 95px;
  gap: 12px;
  align-items: start;
}

.dj-action-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.dj-action-col .btn {
  width: 100%;
}

.scroll-pane {
  max-height: 70vh;
  overflow: hidden;
  position: relative;
}

.played-dim {
  opacity: 0.65;
  filter: grayscale(0.15);
}

@media (max-width: 768px) {
  .dj-card-grid {
    grid-template-columns: 1fr;
  }
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 768px) {
  .panel {
    padding: 1.1rem;
  }
  body {
    padding: 0.75rem;
  }
  .request-card {
    padding: 0.85rem;
  }
  .navbar {
    padding-left: 0.25rem;
    padding-right: 0.25rem;
  }
}

/* Dashboard ambience */
.dashboard {
  overflow-x: hidden;
}

.ambient-layer {
  position: fixed;
  inset: -10% -20% auto -20%;
  height: 120vh;
  z-index: 0;
  pointer-events: none;
  filter: blur(90px);
  opacity: 0.65;
}

.glow {
  position: absolute;
  border-radius: 50%;
  opacity: 0.6;
  mix-blend-mode: screen;
}

.glow-a {
  width: 320px;
  height: 320px;
  background: #ff7b54;
  left: 10%;
  top: 5%;
  animation: floaty 18s ease-in-out infinite alternate;
}

.glow-b {
  width: 280px;
  height: 280px;
  background: #22d3ee;
  right: 12%;
  top: 20%;
  animation: floaty 22s ease-in-out infinite alternate-reverse;
}

.glow-c {
  width: 360px;
  height: 360px;
  background: #8b5cf6;
  left: 25%;
  bottom: 5%;
  animation: floaty 26s ease-in-out infinite alternate;
}

@keyframes floaty {
  0% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  100% {
    transform: translate3d(30px, -30px, 0) scale(1.05);
  }
}


.pulse {
    position: relative;
    animation: animate 3s linear infinite
}

.pulse i {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 30px;
    color: #fff;
    height: 100%;
    cursor: pointer
}

@keyframes animate {
    0% {
        box-shadow: 0 0 0 0 rgba(80, 255, 74, 0.5), 0 0 0 0 rgba(74, 255, 74, 0.3)
    }

    40% {
        box-shadow: 0 0 0 10px rgb(80, 255, 74, 0), 0 0 0 0 rgb(74, 255, 74, 0.1)
    }

    80% {
        box-shadow: 0 0 0 10px rgb(80, 255, 74, 0), 0 0 0 10px rgb(74, 255, 74, 0)
    }

    100% {
        box-shadow: 0 0 0 0 rgb(80, 255, 74, 0), 0 0 0 10px rgb(74, 255, 74, 0)
    }
}
