/*
 * This is a manifest file that'll be compiled into application.css, which will include all the files
 * listed below.
 *
 * Any CSS (and SCSS, if configured) file within this directory, lib/assets/stylesheets, or any plugin's
 * vendor/assets/stylesheets directory can be referenced here using a relative path.
 *
 * You're free to add application-wide styles to this file and they'll appear at the bottom of the
 * compiled file so the styles you add here take precedence over styles defined in any other CSS
 * files in this directory. Styles in this file should be added after the last require_* statement.
 * It is generally better to create a new file per style scope.
 *


 */

body {
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
  font-family: 'Roboto', sans-serif;
}

/* Remove button styling */
.link-button {
  background: none;
  border: none;
  padding: 0;
  margin: 0;
  color: #007bff;
  /* or your link color */
  text-decoration: underline;
  cursor: pointer;
  font: inherit;
}

/* Optional: display inline if button appears inside a list or next to other text */
.inline-button {
  display: inline;
}

table {
  width: 100%;
  border-collapse: collapse;
}

th,
td {
  padding: 0.5rem;
  text-align: left;
  border: 1px solid #ddd;
  font-size: 14px;
}

thead {
  background-color: #f0f0f0;
}

.players-table-wrapper {
  padding-left: 2%;
  padding-right: 2%;
  overflow-x: auto;
}

.players-table-container {
  max-height: 600px;
  /* or whatever fits your layout */
  overflow-y: auto;
  border: 1px solid #ccc;
}

/* Make table header sticky */
#available-players-table thead th {
  position: sticky;
  top: 0;
  background: #f0f0f0;
  z-index: 2;
  border-bottom: 1px solid #ccc;
}

.season-stats {
  margin-top: 8px;
  font-size: 0.85em;
  color: #444;
}

.drafted-player {
  text-decoration: line-through;
}

.hidden {
  display: none;
}

.season-toggle-indicator {
  margin-left: 5px;
  cursor: pointer;
  font-size: 0.9em;
  vertical-align: middle;
}

body.dark-mode .season-stats {
  color: #ddd;
}

@media (max-width: 768px) {
  .season-stats {
    margin-top: 8px;
    font-size: 0.75rem;
    white-space: normal;
    line-height: 1.4;
  }

  .season-stats .season-row {
    display: block;
    margin-bottom: 6px;
  }

  .season-toggle-indicator {
    display: none;
  }

  .taken-player-pick-number {
    display: none;
  }
}

.headshot {
  margin-right: 5px;
}

@media (max-width: 768px) {
  .headshot {
    display: none;
  }
}

.player-name-cell-main {
  display: flex;
  align-items: center;
}

@media (max-width: 768px) {
  .player-name-cell-main {
    display: revert;
  }
}

th .sort-icon.active-sort {
  color: #007bff;
  font-weight: bold;
}

.bold-text {
  font-weight: bold;
}

.grayed-out {
  color: #888;
}

.very-small {
  font-size: 0.7rem;
}

.draft-results-wrapper {
  overflow-x: auto;
  margin-top: 1rem;
}

.draft-results-table {
  border-collapse: collapse;
  table-layout: fixed;
  width: max-content;
  font-size: 0.9rem;
  margin-left: auto;
  margin-right: auto;
}

.draft-results-table th,
.draft-results-table td {
  border: 1px solid #ccc;
  padding: 6px 10px;
  text-align: left;
  vertical-align: top;
  min-width: 100px;
  width: 100px;
  white-space: normal;
}

.draft-results-table .current-pick {
  background-color: #ffffcc;
}

.position-center {
  background-color: rgba(0, 123, 255, 0.1);
}

.position-left-wing {
  background-color: rgba(255, 193, 7, 0.1);
}

.position-right-wing {
  background-color: rgba(255, 87, 34, 0.1);
}

.position-defense {
  background-color: rgba(40, 167, 69, 0.1);
}

.position-goalie {
  background-color: rgba(111, 66, 193, 0.2);
}

.position-center-left-wing {
  background-color: rgba(255, 193, 7, 0.1);
}

.position-center-right-wing {
  background-color: rgba(255, 87, 34, 0.1);
}

.position-left-wing-right-wing {
  background-color: rgba(255, 193, 7, 0.1);
}

.position-center-left-wing-right-wing {
  background-color: rgba(255, 193, 7, 0.1);
}

.draft-results-table .position-center-left-wing {
  background: linear-gradient(
    to bottom right,
    rgba(0, 123, 255, 0.1) 50%,
    rgba(255, 193, 7, 0.1) 50%
  );
}

.draft-results-table .position-center-right-wing {
  background: linear-gradient(
    to bottom right,
    rgba(0, 123, 255, 0.1) 50%,
    rgba(255, 87, 34, 0.1) 50%
  );
}

.draft-results-table .position-left-wing-right-wing {
  background: linear-gradient(
    to bottom right,
    rgba(255, 193, 7, 0.1) 50%,
    rgba(255, 87, 34, 0.1) 50%
  );
}

.draft-results-table .position-center-left-wing-right-wing {
  background: linear-gradient(
    to bottom right,
    rgba(0, 123, 255, 0.1) 33.3%,
    rgba(255, 193, 7, 0.1) 33.3% 66.6%,
    rgba(255, 87, 34, 0.1) 66.6%
  );
}

.btn {
  background-color: #007bff;
  color: #fff;
  font-weight: 500;
  border: none;
  border-radius: 4px;
  padding: 5px 10px;
  cursor: pointer;
  font-size: 12px;
  display: inline-block;
  transition: background-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
  line-height: 1.3;
}

.btn:hover {
  background-color: #0069d9;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
}

.btn:disabled {
  background-color: #ccc;
  cursor: not-allowed;
  box-shadow: none;
}

.btn-danger {
  background-color: #dc3545;
}

.btn-danger:hover {
  background-color: #c82333;
}

.btn-secondary {
  background-color: #f0f0f0;
  /* Neutral gray */
  color: #333;
  border: 1px solid #ccc;
}

.btn-secondary:hover {
  background-color: #e2e2e2;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.join-draft-button {
  margin-top: 10px;
  font-size: 36px;
}

@media (max-width: 1432px) {
  .btn-bottom {
    margin-top: 6px;
  }
}

.draft-room-flex {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  padding: 5px;
}

.draft-room-section .extra-pick-details {
  display: none;
}

@media (min-width: 900px) {
  .draft-room-flex {
    flex-direction: row;
    gap: 40px;
    padding: 20px;
  }

  .draft-room-section {
    flex: 1;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 24px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
  }

  .draft-room-section .extra-pick-details {
    display: inline;
  }

  .draft-room-section:hover {
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
  }

  body.dark-mode .draft-room-section {
    background: rgba(31, 41, 55, 0.7);
    border: 1px solid rgba(75, 85, 99, 0.3);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
  }

  body.dark-mode .draft-room-section:hover {
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
  }
}

#team-select {
  margin-bottom: 10px;
  border-radius: 8px;
  padding: 2px;
  width: 200px;
}

#player-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: flex-end;
  margin-bottom: 15px;
  padding: 15px;
  background: rgba(248, 250, 252, 0.8);
  backdrop-filter: blur(10px);
  border-radius: 12px;
  border: 1px solid rgba(226, 232, 240, 0.5);
}

body.dark-mode #player-filters {
  background: rgba(17, 24, 39, 0.8);
  border: 1px solid rgba(55, 65, 81, 0.5);
}

.filter-group {
  display: flex;
  flex-direction: column;
  min-width: 140px;
}

.filter-group label {
  margin-bottom: 4px;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.025em;
}

body.dark-mode .filter-group label {
  color: #d1d5db;
}

.filter-group select,
.filter-group input {
  font-size: 16px;
  padding: 8px 12px;
  border: 2px solid #e5e7eb;
  border-radius: 8px;
  background: white;
  transition: all 0.3s ease;
}

.filter-group select:focus,
.filter-group input:focus {
  outline: none;
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

body.dark-mode .filter-group select,
body.dark-mode .filter-group input {
  background-color: #374151;
  color: #f9fafb;
  border-color: #6b7280;
}

body.dark-mode .filter-group select:focus,
body.dark-mode .filter-group input:focus {
  border-color: #60a5fa;
  box-shadow: 0 0 0 3px rgba(96, 165, 250, 0.1);
}

.csv-action {
  display: none;
}

@media (min-width: 900px) {
  .csv-action {
    display: inline;
  }
}

label.btn.disabled {
  pointer-events: none;
  opacity: 0.6;
}

.drag-handle {
  cursor: grab;
  text-align: center;
  color: #555;
  padding: 4px;
  min-width: 30px;
}

.drag-handle:active {
  cursor: grabbing;
}

.sortable-ghost {
  opacity: 0;
  background-color: #f0f0f0;
}

.draft-team-li {
  margin-bottom: 10px;
}

.draft-team-drag-handle {
  cursor: grab;
  text-align: center;
  color: #555;
  padding: 12px;
  font-size: 2rem;
  min-width: 60px;
  display: inline-block;
}

#team-display {
  line-height: 1.2;
}

.roster-slot {
  display: flex;
  justify-content: flex-start;
  margin-bottom: 2px;
}

.roster-slot .position {
  width: 50px;
  font-weight: bold;
}

.roster-slot .player-info {
  flex: 1;
  margin-left: 3px;
}

.position-group {
  margin-top: 5px;
}

a.bigger-link {
  font-size: 20px;
}

p.position-counts {
  margin-top: 5px;
  margin-bottom: 5px;
  font-style: italic;
}

p.total-position-counts {
  margin-top: 0px;
  font-style: italic;
  display: flex;
  justify-content: center;
}

p.results-table-position-counts {
  margin-top: 0px;
  margin-bottom: 0px;
  font-style: italic;
  font-size: 10px;
}

.queue-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 1rem;
  margin-bottom: 0.5rem;
}

.queue-header h3 {
  margin: 0;
  flex-shrink: 0;
}

.queue-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.queue-position-col {
  width: 15px;
}

@media (max-width: 768px) {
  .queue-position-col {
    display: none;
  }
  .rank-adp-col {
    display: none;
  }
}

#toast {
  display: none;
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: #323232;
  color: white;
  padding: 12px 20px;
  border-radius: 4px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  z-index: 9999;
  opacity: 0;
  transition: opacity 0.3s ease;
}

#toast-message {
  margin-right: 10px;
}

#toast-close {
  background: none;
  border: none;
  color: white;
  font-size: 16px;
  cursor: pointer;
}

#toast a {
  color: #7cc4ff;
  text-decoration: underline;
}

#toast a:hover {
  color: #a8d8ff;
}

/* === DARK MODE OVERRIDES === */
body.dark-mode {
  color: #e0e0e0;
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #334155 100%);
}

body.dark-mode h1,
body.dark-mode h2,
body.dark-mode h3,
body.dark-mode label {
  color: #f0f0f0;
}

body.dark-mode table {
  background-color: #1e1e1e;
  color: #e0e0e0;
  border: 1px solid #444;
}

body.dark-mode th,
body.dark-mode td {
  border: 1px solid #555;
}

body.dark-mode thead {
  background-color: #2a2a2a;
}

body.dark-mode .players-table-container,
body.dark-mode .players-table-wrapper {
  border-color: #555;
}

body.dark-mode .btn {
  background-color: #0056b3;
  color: #fff;
}

body.dark-mode .btn:hover {
  background-color: #004a99;
}

body.dark-mode .btn:disabled {
  background-color: #555;
}

body.dark-mode .btn-secondary {
  background-color: #333;
  color: #eee;
  border-color: #555;
}

body.dark-mode .btn-secondary:hover {
  background-color: #444;
}

body.dark-mode .btn-danger {
  background-color: #dc3545;
}

body.dark-mode .btn-danger:hover {
  background-color: #c82333;
}

body.dark-mode .draft-results-table .current-pick {
  background-color: #444400;
}

body.dark-mode .position-center {
  background-color: rgba(0, 123, 255, 0.2);
}

body.dark-mode .position-left-wing {
  background-color: rgba(255, 193, 7, 0.2);
}

body.dark-mode .position-right-wing {
  background-color: rgba(255, 87, 34, 0.2);
}

body.dark-mode .position-defense {
  background-color: rgba(40, 167, 69, 0.2);
}

body.dark-mode .position-goalie {
  background-color: rgba(111, 66, 193, 0.2);
}

body.dark-mode .position-center-left-wing {
  background-color: rgba(255, 193, 7, 0.2);
}

body.dark-mode .position-center-right-wing {
  background-color: rgba(255, 87, 34, 0.2);
}

body.dark-mode .position-left-wing-right-wing {
  background-color: rgba(255, 193, 7, 0.2);
}

body.dark-mode .position-center-left-wing-right-wing {
  background-color: rgba(255, 193, 7, 0.2);
}

body.dark-mode .draft-results-table .position-center-left-wing {
  background: linear-gradient(
    to bottom right,
    rgba(0, 123, 255, 0.2) 50%,
    rgba(255, 193, 7, 0.2) 50%
  );
}

body.dark-mode .draft-results-table .position-center-right-wing {
  background: linear-gradient(
    to bottom right,
    rgba(0, 123, 255, 0.2) 50%,
    rgba(255, 87, 34, 0.2) 50%
  );
}

body.dark-mode .draft-results-table .position-left-wing-right-wing {
  background: linear-gradient(
    to bottom right,
    rgba(255, 193, 7, 0.2) 50%,
    rgba(255, 87, 34, 0.2) 50%
  );
}

body.dark-mode .draft-results-table .position-center-left-wing-right-wing {
  background: linear-gradient(
    to bottom right,
    rgba(0, 123, 255, 0.2) 33.3%,
    rgba(255, 193, 7, 0.2) 33.3% 66.6%,
    rgba(255, 87, 34, 0.2) 66.6%
  );
}

body.dark-mode #available-players-table thead th {
  background-color: #1e1e1e;
  border-bottom-color: #444;
}

body.dark-mode .sortable-ghost {
  background-color: #222;
}

body.dark-mode .roster-slot .position {
  color: #ccc;
}

body.dark-mode #toast {
  background-color: #1e1e1e;
  color: #eee;
}

body.dark-mode select,
body.dark-mode input {
  background-color: #222;
  color: #f0f0f0;
  border: 1px solid #555;
}

body.dark-mode a {
  color: #4da6ff;
}

body.dark-mode a:visited {
  color: #9bbcff;
}

body.dark-mode a:hover {
  color: #80cfff;
  text-decoration: underline;
}

body.dark-mode .position-center a,
body.dark-mode .position-left-wing a,
body.dark-mode .position-right-wing a,
body.dark-mode .position-defense a,
body.dark-mode .position-goalie a {
  color: #aeefff;
}

body.dark-mode .position-center a:visited,
body.dark-mode .position-left-wing a:visited,
body.dark-mode .position-right-wing a:visited,
body.dark-mode .position-defense a:visited,
body.dark-mode .position-goalie a:visited {
  color: #99d4e6;
}

body.dark-mode .position-center a:hover,
body.dark-mode .position-left-wing a:hover,
body.dark-mode .position-right-wing a:hover,
body.dark-mode .position-defense a:hover,
body.dark-mode .position-goalie a:hover,
body.dark-mode .position-center a:focus,
body.dark-mode .position-left-wing a:focus,
body.dark-mode .position-right-wing a:focus,
body.dark-mode .position-defense a:focus,
body.dark-mode .position-goalie a:focus {
  color: #ffffff;
}

#toggle-dark-mode {
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 16px;
}

/* === HEADER BASE === */
.site-header {
  background: rgba(255, 255, 255, 0.95);
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
  padding: 12px 24px;
  top: 0;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
}

/* Responsive header padding overrides */
@media (max-width: 768px) {
  .site-header { padding: 4px 12px; }
}

@media (max-width: 480px) {
  .site-header { padding: 3px 8px; }
}

@media (max-width: 360px) {
  .site-header { padding: 2px 6px; }
}

/* === HEADER STRUCTURE === */
.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1400px;
  margin: 0 auto;
  gap: 20px;
}

@media (min-width: 769px) {
  .header-top-row {
    display: contents;
  }

  .header-content {
    flex-direction: row;
    justify-content: flex-end;
    align-items: center;
    position: relative;
    gap: 16px;
  }

  .header-left {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
  }

  .header-center {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: auto;
    margin: 0;
    z-index: 1;
  }

  .header-right {
    background: none;
    border-radius: 0;
    margin: 0;
    padding: 0;
    order: 1;
  }

  #toggle-dark-mode {
    order: 2;
  }
}

/* === HEADER LEFT === */
.header-left {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.site-logo {
  height: 40px;
  width: auto;
  border-radius: 6px;
  transition: all 0.3s ease;
}

.site-logo:hover {
  transform: scale(1.05);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* === HEADER CENTER === */
.header-center {
  text-align: center;
  flex: 1;
}

.site-title {
  font-size: 1.5rem;
  font-weight: 400;
  color: #1e3a5f;
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  position: relative;
  z-index: 1;
}

@media (max-width: 768px) {
  .site-title { font-size: 1.2rem; }
}

@media (max-width: 360px) {
  .site-title { font-size: 1rem; }
}

.site-title::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(135deg, #5ba4d0 0%, #4a94c0 50%, #1e3a5f 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  z-index: -1;
}

/* === HEADER RIGHT === */
.header-right {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
  z-index: 2;
  position: relative;
}

.user-greeting {
  font-size: 1rem;
  color: #374151;
  font-weight: 500;
  margin: 0;
  white-space: nowrap;
}

.user-name {
  color: #1f2937;
  font-weight: 600;
}

.logout-link {
  color: #dc2626;
  text-decoration: none;
  font-weight: 500;
  padding: 6px 12px;
  border-radius: 6px;
  transition: all 0.3s ease;
  font-size: 0.9rem;
  border: 1px solid transparent;
  white-space: nowrap;
}

.logout-link:hover {
  background: rgba(220, 38, 38, 0.1);
  border-color: rgba(220, 38, 38, 0.2);
  transform: translateY(-1px);
}

#toggle-dark-mode {
  position: static;
  font-size: 16px;
  margin: 0;
}

/* === HEADER LINK (e.g., Lobby) === */
.header-link {
  color: #2563eb;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9rem;
  padding: 6px 12px;
  border-radius: 6px;
  border: 1px solid transparent;
  transition: all 0.2s ease;
  white-space: nowrap;
  margin-left: 10px;
}

.header-link:hover {
  background: rgba(37, 99, 235, 0.1);
  border-color: rgba(37, 99, 235, 0.2);
  transform: translateY(-1px);
}

.header-right .header-link {
  display: none;
}

/* === DARK MODE === */
body.dark-mode .site-header {
  background: rgba(17, 24, 39, 0.95);
  border-bottom: 1px solid rgba(75, 85, 99, 0.8);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

body.dark-mode .user-greeting {
  color: #d1d5db;
}

body.dark-mode .user-name {
  color: #f9fafb;
}

body.dark-mode .logout-link {
  color: #f87171;
}

body.dark-mode .logout-link:hover {
  background: rgba(248, 113, 113, 0.1);
  border-color: rgba(248, 113, 113, 0.2);
}

body.dark-mode .site-title {
  color: #7bc4e8;
  font-style: italic;
  text-shadow: none;
}

body.dark-mode .site-title::before {
  background: linear-gradient(135deg, #9dd6f0 0%, #7bc4e8 30%, #5ba4d0 70%, #4a94c0 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

body.dark-mode .header-link {
  color: #60a5fa;
}

body.dark-mode .header-link:hover {
  background: rgba(96, 165, 250, 0.1);
  border-color: rgba(96, 165, 250, 0.2);
}

/* === MOBILE RESPONSIVE === */
@media (max-width: 768px) {
  .header-content {
    flex-direction: column;
    gap: 12px;
  }

  .header-top-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    gap: 12px;
  }

  .header-left {
    order: 1;
    flex-shrink: 0;
  }

  .header-center {
    order: 2;
    flex: 1;
    margin: 0 8px;
    text-align: center;
  }

  #toggle-dark-mode {
    order: 3;
    flex-shrink: 0;
  }

  .site-logo { height: 32px; }

  .header-right {
    order: 4;
    width: 100%;
    justify-content: space-between;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    margin-top: 4px;
  }

  .user-greeting {
    font-size: 0.9rem;
    flex: 1;
    text-align: left;
  }

  .logout-link {
    font-size: 0.85rem;
    padding: 5px 10px;
    flex-shrink: 0;
  }

  body.dark-mode .header-right {
    background: rgba(17, 24, 39, 0.1);
  }

  .header-left .header-link {
    display: none;
  }

  /* Show it in .header-right instead */
  .header-right .header-link {
    display: inline-block;
    order: 1;
    font-size: 0.85rem;
    padding: 5px 10px;
  }

  /* Reorder other items in header-right */
  .header-right .user-greeting {
    order: 0;
  }

  .header-right .logout-link {
    order: 2;
  }
}

@media (max-width: 480px) {
  .site-header { padding: 10px 12px; }
  .header-top-row { gap: 8px; }
  .site-title { font-size: 1.2rem; }
  .site-logo { height: 28px; }
  .user-greeting { font-size: 0.85rem; }
  .logout-link { font-size: 0.8rem; padding: 4px 8px; }
}

@media (max-width: 360px) {
  .header-top-row { gap: 6px; }
  .header-center { margin: 0 4px; }
  .site-title { font-size: 1rem; }
  .site-logo { height: 24px; }
}

/* === UTILITIES === */
.header-section {
  display: flex;
  align-items: center;
  gap: 12px;
}

.header-divider {
  width: 1px;
  height: 24px;
  background: rgba(156, 163, 175, 0.3);
  margin: 0 8px;
}

body.dark-mode .header-divider {
  background: rgba(107, 114, 128, 0.5);
}

.draft-room-header {
  text-align: center;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  text-transform: uppercase;
  color: #333;
}

.draft-results-header {
  margin-bottom: 0px;
}

.download-link {
  margin-left: 5px;
  text-decoration: none;
  line-height: 1px;
}

.download-link:hover {
  opacity: 0.8; /* subtle hover effect */
}

.draft-room-header-wrapper {
  padding: 1rem;
}

body.dark-mode .draft-room-header {
  color: #eee;
}

.form-section {
  margin-bottom: 2rem;
}

.form-header {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1rem;
  border-bottom: 2px solid #ccc;
  padding-bottom: 0.25rem;
}

.form-group {
  margin-bottom: 1rem;
}

.form-label {
  display: block;
  font-weight: 500;
  margin-bottom: 0.25rem;
}

.form-input {
  width: 300px;
  padding: 0.5rem;
  font-size: 1rem;
  border: 1px solid #bbb;
  border-radius: 6px;
}

.scoring-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 1rem;
}

.scoring-grid .form-input {
  width: 100px;
}

.form-actions {
  margin-top: 1.5rem;
}

.form-actions .btn {
  font-size: 24px;
  margin-bottom: 20px;
}

a.injury-status {
  color: #c82333 !important;
  margin-left: 2px;
  text-decoration: none;
}

body.dark-mode input[type="search"]::-webkit-search-cancel-button {
  filter: invert(1); /* makes dark → light */
}

#no-results-message {
  margin-top: 1rem;
  margin-bottom: 1rem;
  text-align: center;
  font-style: italic;
}

.auto-pick-banner {
  background: #7f1d1d;       /* deep red background */
  color: #fff;               /* white text */
  padding: 1rem;
  border-radius: 8px;
  margin-bottom: 1rem;
  text-align: center;
  font-weight: 900;
  font-size: 1.25rem;        /* bigger */
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: 0 0 12px rgba(127, 29, 29, 0.7);
}

.auto-pick-banner .auto-pick-subtext {
  font-size: 1rem;
  font-weight: 600;
  margin-top: 0.5rem;
  text-transform: none;
}

/* Dark mode */
body.dark-mode .auto-pick-banner {
  background: #b91c1c;       /* brighter red for dark mode */
  color: #fff;
}

@media (max-width: 768px) {
  .auto-pick-banner {
    font-size: 1rem;
  }

  .auto-pick-banner .auto-pick-subtext {
    font-size: 0.85rem;
  }
}
