html {
  font-size: 14px;
}

@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%;
}

/* Basketball Theme */
body {
  margin-bottom: 60px;
  background: linear-gradient(135deg, #D2691E 0%, #CD853F 50%, #D2691E 100%);
  background-attachment: fixed;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  min-height: 100vh;
}

main {
  background-color: rgba(255, 255, 255, 0.95);
  border-radius: 8px;
  padding: 2rem;
  margin-top: 1.5rem;
  margin-bottom: 1.5rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* Navbar Styling */
.navbar {
  background-color: #1a1a1a !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.navbar-brand {
  font-weight: 700;
  font-size: 1.5rem;
  color: #FF8C00 !important;
  letter-spacing: 0.5px;
}

.nav-link {
  color: white !important;
  margin: 0 0.5rem;
  transition: color 0.3s ease;
}

.nav-link:hover {
  color: #FF8C00 !important;
  text-shadow: 0 0 5px rgba(255, 140, 0, 0.5);
}

/* Headings */
h1, h2, h3, h4, h5, h6 {
  color: #1a1a1a;
  font-weight: 600;
  margin-top: 1.5rem;
  margin-bottom: 1rem;
}

h1 {
  border-bottom: 3px solid #FF8C00;
  padding-bottom: 0.5rem;
  font-size: 2rem;
}

h2 {
  border-bottom: 2px solid #FF8C00;
  padding-bottom: 0.3rem;
  font-size: 1.5rem;
}

h5 {
  color: #333;
  margin-top: 2rem;
  margin-bottom: 1rem;
  font-size: 1.1rem;
  font-weight: 600;
}

/* Tables */
.table {
  background-color: white;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  margin-bottom: 1.5rem;
}

.table thead {
  background-color: #1a1a1a;
  color: white;
  font-weight: 600;
}

.table thead.table-dark th {
  background-color: #1a1a1a;
  border-bottom: 2px solid #FF8C00;
}

.table tbody tr:hover {
  background-color: #f5f5f5;
  transition: background-color 0.2s ease;
}

.table td {
  vertical-align: middle;
  padding: 0.75rem;
}

.roster-compact-table {
  font-size: 0.875rem;
}

.roster-compact-table th,
.roster-compact-table td {
  padding: 0.4rem 0.45rem;
}

/* Badges */
.badge {
  padding: 0.5rem 0.75rem;
  font-weight: 600;
  font-size: 0.85rem;
}

.badge.bg-success {
  background-color: #28a745 !important;
}

.badge.bg-info {
  background-color: #17a2b8 !important;
}

/* Buttons */
.btn-primary {
  background-color: #FF8C00;
  border-color: #FF8C00;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  background-color: #E07B00;
  border-color: #E07B00;
  box-shadow: 0 4px 8px rgba(255, 140, 0, 0.3);
}

.btn-outline-primary {
  color: #FF8C00;
  border-color: #FF8C00;
  font-weight: 600;
}

.btn-outline-primary:hover {
  background-color: #FF8C00;
  border-color: #FF8C00;
  color: white;
}

.btn-outline-secondary {
  color: #666;
  border-color: #999;
  font-weight: 600;
}

.btn-outline-secondary:hover {
  background-color: #666;
  border-color: #666;
  color: white;
}

/* Footer */
footer {
  background-color: #1a1a1a;
  color: white;
  margin-top: 3rem;
  padding: 1rem;
  text-align: center;
  border-top: 3px solid #FF8C00;
}

footer a {
  color: #FF8C00;
  text-decoration: none;
}

footer a:hover {
  text-decoration: underline;
}

/* Utility Text */
.text-muted {
  color: #666 !important;
}

.small {
  font-size: 0.875rem;
}

/* Responsive */
@media (max-width: 768px) {
  main {
    padding: 1rem;
  }

  h1 {
    font-size: 1.5rem;
  }
}

.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;
}