:root {
    --brand: #f2b90d;
    --brand-dark: #d5a109;
    --night: #0f172a;
    --night-soft: #1e293b;
    --ink: #e2e8f0;
    --muted: #94a3b8;
}

* {
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background: radial-gradient(circle at top right, #1e293b 0%, #0f172a 45%, #020617 100%);
}

main {
    min-height: 100vh;
}

.hero-bg {
    position: relative;
    overflow: hidden;
}

.hero-bg::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, rgba(2, 6, 23, 0.85), rgba(15, 23, 42, 0.55));
    z-index: 1;
}

.hero-bg > * {
    position: relative;
    z-index: 2;
}

.glass-card {
    background: rgba(15, 23, 42, 0.66);
    border: 1px solid rgba(148, 163, 184, 0.2);
    backdrop-filter: blur(12px);
}

.btn-brand {
    background: var(--brand);
    color: #111827;
    border: none;
    transition: all 0.2s ease;
}

.btn-brand:hover,
.btn-brand:focus {
    background: var(--brand-dark);
    color: #0b1021;
}

.section-title {
    letter-spacing: 0.06em;
    text-transform: uppercase;
    font-weight: 700;
    color: var(--brand);
    font-size: 0.88rem;
}

.surface-card {
    background: rgba(15, 23, 42, 0.82);
    border: 1px solid rgba(148, 163, 184, 0.25);
    border-radius: 1rem;
}

.form-control,
.form-select {
    background: #0f172a;
    border-color: rgba(148, 163, 184, 0.35);
    color: #f8fafc;
}

.form-control::placeholder {
    color: #94a3b8;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--brand);
    box-shadow: 0 0 0 0.2rem rgba(242, 185, 13, 0.15);
    background: #0f172a;
    color: #f8fafc;
}

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

.gif-frame {
    border-radius: 1rem;
    overflow: hidden;
    border: 1px solid rgba(148, 163, 184, 0.25);
}

.gif-frame img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.stats-pill {
    border-radius: 999px;
    padding: 0.2rem 0.6rem;
    font-size: 0.72rem;
    font-weight: 600;
}

.stats-pill.category {
    background: rgba(14, 165, 233, 0.2);
    color: #7dd3fc;
}

.stats-pill.department {
    background: rgba(16, 185, 129, 0.2);
    color: #6ee7b7;
}

.table-wrap {
    border-radius: 1rem;
    overflow: hidden;
    border: 1px solid rgba(148, 163, 184, 0.25);
}

.table > :not(caption) > * > * {
    background: transparent;
    color: #e2e8f0;
    border-color: rgba(148, 163, 184, 0.18);
}

.admin-header {
    background: rgba(2, 6, 23, 0.95);
    border-bottom: 1px solid rgba(148, 163, 184, 0.2);
}

.footer-note {
    color: #94a3b8;
    font-size: 0.82rem;
}

@media (min-width: 768px) {
    .gif-frame img {
        height: 300px;
    }
}


/* Select2 + Bootstrap dark styling */
.select2-container { width: 100% !important; }

.select2-container--default .select2-selection--single{
  height: 48px;
  display:flex;
  align-items:center;
  background: rgba(15, 23, 42, .85);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: .75rem;
}

.select2-container--default .select2-selection--single .select2-selection__rendered{
  color: #fff;
  padding-left: 12px;
  line-height: 46px;
}

.select2-container--default .select2-selection--single .select2-selection__arrow{
  height: 46px;
}

.select2-dropdown{
  background: #0f172a;
  border: 1px solid rgba(255,255,255,.12);
}

.select2-results__option{
  color: #e5e7eb;
}

.select2-container--default .select2-results__option--highlighted.select2-results__option--selectable{
  background: #f2b90d;
  color: #111827;
}

