/* -----BODY STYLES----- */

/* -----TITLE STYLES----- */
h1 {
  font-size: 50px;
  text-transform: uppercase;
  font-family: 'Gambetta', serif;
  letter-spacing: -2px;
  transition: 700ms ease;
  font-variation-settings: "wght" 311;
  margin-bottom: 0.8rem;
  color: #11680B;
  outline: none;
  text-align: center;
}

h1:hover {
  font-variation-settings: "wght" 582; 
  letter-spacing: 1px;
}

h2 {
  text-align: center;
}

/* NAVIGATION STYLES */
nav {
  width: 100%;
  margin: 0 auto;
  background: #ffffff;
  padding: 5px 0;
}

nav ul {
    list-style: none;
    text-align: center;
    margin: 0px;
    padding: 0px;
}
nav ul li {
  display: inline-block;
}
nav ul li a {
  display: block;
  padding: 10px;
  text-decoration: none;
  color: #358938;
  font-weight: 800;
  text-transform: uppercase;
  margin: 0 10px;
}
nav ul li a,
nav ul li a:after,
nav ul li a:before {
  transition: all .5s;
}
nav ul li a:hover {
  color: #224924;
}

nav.stroke ul li a,
nav.fill ul li a {
  position: relative;
}

nav.stroke ul li a:after,
nav.fill ul li a:after {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  margin: auto;
  width: 0%;
  content: '.';
  color: transparent;
  background: #224924;
  height: 1px;
}
nav.stroke ul li a:hover:after {
  width: 100%;
}

nav.fill ul li a {
  transition: all 2s;
}

/* Dropdown button */
.dropbtn {
  color: #358938;
  padding: 16px;
  font-size: 16px;
  border: none;
  cursor: pointer;
}

/* Dropdown container (position it relative to the dropdown button) */
.dropdown {
  position: relative;
  display: inline-block;
}

/* Dropdown content (hidden by default) */
.dropdown-content {
  display: none;
  position: absolute;
  background-color: #f9f9f9;
  width: 100%;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  z-index: 1;
}

/* Links inside the dropdown */
.dropdown-content a {
  color: #358938;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
}

/* Change color of dropdown links on hover */
.dropdown-content a:hover {
  color: #11680B;
}

/* Show the dropdown menu on hover */
.dropdown:hover .dropdown-content {
  display: block;
}

/* Clear floats after the dropdown menu */
.dropdown:after {
  content: "";
  clear: both;
  display: table;
}

/* -----TABLE STYLES----- */

table {
  margin: 0 auto;
}

th, td {
  text-align: center;
  padding-right: 8px;
  padding-left: 8px;
  padding-bottom: 5px;
  word-wrap: break-word;
}

td[type="names"] {
  text-align: left;
}

/* ----FORM STYLES----- */

div {
  padding-bottom: 10px;
  text-align: center;
}

label {
  padding-right: 5px;
}

button {
  background-color: #11680B;
  color: white;
  padding: 10px 30px;
  margin-left: 50px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

form input[type="submit"] {
  background-color: #4CAF50;
  color: white;
  padding: 10px 30px;
  margin: 0 auto;
  display: block;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

form input[type="submit"]:hover {
  background-color: #11680B;
}

p {
  text-align: center;
}

/* -----FLASH MESSAGE STYLES----- */
.container-messages {
    text-align: center;
    padding: 0px;
}

.flash-message {
    padding: 10px;
    margin: 5px;
    border: 1px solid transparent;
    border-radius: 4px;
    text-align: center;
    display: inline-block;
}

.error {
    color: #a94442; /* Dark red text */
    background-color: #f2dede; /* Light red background */
    border-color: #ebccd1; /* Red border */
}

.success {
    color: #3c763d; /* Dark green text */
    background-color: #dff0d8; /* Light green background */
    border-color: #d6e9c6; /* Green border */
}

/* ----- ADD SEASON STYLES ----- */
/* Style for the central information block */
.season-info-box {
    max-width: 650px; /* Set a readable width */
    margin: 20px auto; /* Centers the block horizontally */
    padding: 25px;
    border: 1px solid #dcdcdc; /* Subtle border for definition */
    border-radius: 8px;
    background-color: #f9f9f9; /* Slight off-white background for contrast */
    text-align: left; /* IMPORTANT: Ensures text is left-aligned for readability */
}

/* Highlight style for season numbers and key actions */
.highlight {
    color: #11680B; /* Dark green, same as your H1 title color */
    font-weight: 900;
}

/* Consequence style for list items */
.consequence {
    color: #358938; /* Lighter green, same as your navigation links */
    font-weight: bold;
}

/* Fix for buttons and alignment */
.red-button-submit {
  background-color: #f44336 !important; /* Bright Red */
  color: white !important;
  display: inline-block !important; 
}

.red-button-submit:hover {
  background-color: #d32f2f !important; /* Darker Red on hover */
}

.season-submit input[type="submit"] {
  background-color: #4CAF50; /* This keeps the default Green */
  color: white;
  padding: 10px 30px;
  margin: 10px; /* Added spacing */
  display: inline-block; /* FIX: Allows buttons to sit side-by-side */
  border: none;
  border-radius: 4px;
  cursor: pointer;
}