html {
  font-size: 14px;
}

/* ═══════════════════════════════════════════
   COMPUSPORTS DESIGN SYSTEM — shared utilities
   (navy #0d1b3e  |  gold #f5a623)
   ═══════════════════════════════════════════ */

/* Page header */
.cs-page-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 28px;
}
.cs-section-tag {
  display: inline-block;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #f5a623;
  background: rgba(245,166,35,0.1);
  border: 1px solid rgba(245,166,35,0.3);
  padding: 4px 10px;
  border-radius: 4px;
  margin-bottom: 6px;
}
.cs-page-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 800;
  font-size: 30px;
  color: #0d1b3e;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 2px;
}
.cs-page-sub {
  font-size: 13.5px;
  color: #555;
  margin: 0;
}

/* Cards */
.cs-card {
  background: rgba(245, 240, 225, 0.93);
  border: 2px solid #f5a623;
  border-radius: 14px;
  box-shadow: 0 8px 32px rgba(13,27,62,0.12);
  overflow: hidden;
  margin-bottom: 24px;
}
.cs-card-header {
  background: #0d1b3e;
  color: #fff;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.cs-card-header h2,
.cs-card-header h3,
.cs-card-header h4,
.cs-card-header h5,
.cs-card-header h6 {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 800;
  font-size: 18px;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin: 0;
  color: #fff;
}
.cs-card-body {
  padding: 24px;
}
.cs-card-footer {
  background: rgba(13,27,62,0.05);
  border-top: 1px solid rgba(245,166,35,0.2);
  padding: 12px 20px;
}

/* Stat cards */
.cs-stat-card {
  background: #0d1b3e;
  border-radius: 12px;
  padding: 20px;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 16px;
  box-shadow: 0 4px 16px rgba(13,27,62,0.2);
  margin-bottom: 20px;
}
.cs-stat-icon {
  font-size: 32px;
  opacity: 0.7;
  flex-shrink: 0;
}
.cs-stat-number {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 800;
  font-size: 36px;
  color: #f5a623;
  line-height: 1;
}
.cs-stat-label {
  font-size: 12px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-top: 2px;
}

/* Tables */
.cs-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}
.cs-table thead tr {
  background: #0d1b3e;
  color: #fff;
}
.cs-table thead th {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 12px 14px;
  border: none;
  white-space: nowrap;
}
.cs-table tbody tr {
  border-bottom: 1px solid rgba(245,166,35,0.15);
  transition: background 0.15s;
}
.cs-table tbody tr:last-child { border-bottom: none; }
.cs-table tbody tr:hover { background: rgba(245,166,35,0.07); }
.cs-table td { padding: 11px 14px; vertical-align: middle; color: #0d1b3e; }

/* Buttons */
.cs-btn {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 800;
  font-size: 14px;
  letter-spacing: 1px;
  text-transform: uppercase;
  background: #f5a623;
  color: #0d1b3e;
  border: 2px solid #f5a623;
  border-radius: 8px;
  padding: 9px 22px;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s;
  line-height: 1;
}
.cs-btn:hover {
  background: #d4891a;
  border-color: #d4891a;
  color: #0d1b3e;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(245,166,35,0.4);
}
.cs-btn-outline {
  background: transparent;
  color: #0d1b3e;
  border-color: rgba(13,27,62,0.3);
}
.cs-btn-outline:hover {
  background: #0d1b3e;
  color: #f5a623;
  border-color: #0d1b3e;
  box-shadow: none;
}
.cs-btn-danger {
  background: #c0392b;
  border-color: #c0392b;
  color: #fff;
}
.cs-btn-danger:hover {
  background: #96281b;
  border-color: #96281b;
  color: #fff;
}
.cs-btn-sm {
  font-size: 12px;
  padding: 6px 14px;
}

/* Form inputs styled to match */
.cs-form-label {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #0d1b3e;
  margin-bottom: 4px;
  display: block;
}
.cs-form-control {
  border: 1.5px solid rgba(13,27,62,0.2);
  border-radius: 7px;
  padding: 10px 14px;
  font-family: 'Barlow', sans-serif;
  font-size: 14px;
  width: 100%;
  background: rgba(255,255,255,0.8);
  transition: border-color 0.2s, box-shadow 0.2s;
  color: #0d1b3e;
}
.cs-form-control:focus {
  outline: none;
  border-color: #f5a623;
  box-shadow: 0 0 0 3px rgba(245,166,35,0.2);
  background: #fff;
}
.cs-form-text {
  font-size: 12px;
  color: #666;
  margin-top: 3px;
}

/* Alert variants */
.cs-alert {
  border-radius: 8px;
  padding: 12px 16px;
  font-size: 13.5px;
  margin-bottom: 16px;
  border-left: 4px solid;
}
.cs-alert-success { background: rgba(39,174,96,0.1); border-color: #27ae60; color: #1a6e3c; }
.cs-alert-danger  { background: rgba(192,57,43,0.1);  border-color: #c0392b; color: #7b1c12; }
.cs-alert-info    { background: rgba(52,152,219,0.1);  border-color: #3498db; color: #1a5e8a; }
.cs-alert-warning { background: rgba(245,166,35,0.12); border-color: #f5a623; color: #7a4f00; }

/* Info item (overview label/value pair) */
.cs-info-item {
  padding: 10px 14px;
  border-left: 3px solid #f5a623;
  background: rgba(245,166,35,0.06);
  border-radius: 0 6px 6px 0;
  margin-bottom: 0;
}
.cs-info-label {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #888;
  display: block;
  margin-bottom: 2px;
}
.cs-info-value {
  font-weight: 600;
  color: #0d1b3e;
  margin: 0;
  font-size: 14px;
}

/* Filter button group */
.cs-filter-group {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.cs-filter-btn {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  padding: 5px 14px;
  border: 1.5px solid rgba(13,27,62,0.2);
  border-radius: 20px;
  background: transparent;
  color: #0d1b3e;
  cursor: pointer;
  transition: all 0.15s;
}
.cs-filter-btn:hover,
.cs-filter-btn.active {
  background: #0d1b3e;
  color: #f5a623;
  border-color: #0d1b3e;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
  color: var(--bs-secondary-color);
  text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
  text-align: start;
}