
body, html {
    height: 100%;
    margin: 0;
  }
  
 

.header-wrapper {
    display: flex;
    justify-content: center;
    margin-top: 20px; /* optional */
  }
  
.dashboard-header {
    display: flex;
    flex-direction: column;
    width: 100%;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  }
  
  /* Row styles */
.row {
    width: 100%;
    padding: 10px 20px;
    box-sizing: border-box;
  }
  
  .row1 {
    display: flex;
    background: #1e2d3a;
    color: white;
    border-top: 3px solid rgb(101, 182, 84);
    transition: background-color 0.3s ease;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
  }
  
  .row1:hover {
    background-color: #263746;
    cursor: pointer;
  }
  
  .row1 .col {
    flex: 1;
    text-align: center;
    padding: 10px 0;
    border-left: 1px solid #3D3D2A;
  }
  
  .row1 .col:first-child {
    border-left: none;
    background: #3D3D3D;
    width: 5%;
  }
  
  .row1 .col:last-child {
    border-left: none;
    background: #3D3D3D;
    width: 15%;
  }
  
  /* Responsive: Stack columns on small screens */
  @media (max-width: 600px) {
    .row1 {
      flex-direction: column;
    }
  
    .row1 .col {
      width: 100% !important;
      border-left: none;
      border-top: 1px solid #3D3D2A;
    }
  
    .row1 .col:first-child,
    .row1 .col:last-child {
      background: #3D3D3D;
    }
  }

  .row2 {
    display: flex;
    background: #1e2d3a;
    color: white;
    border-top: 3px solid rgb(101, 182, 84);
    transition: background-color 0.3s ease;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
  }

  .row3 {
    display: flex;
    background: #1e2d3a;
    color: white;
    border-top: 3px solid rgb(101, 182, 84);
    transition: background-color 0.3s ease;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
  }

  .row3:hover {
    background-color: #263746;
    cursor: pointer;
  }
  
  .row3 .col {
    flex: 1;
    text-align: center;
    padding: 10px 0;
    border-left: 1px solid #3D3D2A;
  }
  
  .row3 .col:first-child {
    border-left: none;
    
    }
  
  .row3 .col:last-child {
    border-left: none;
    
    
  }

  .season-button-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
  }
  
  .season-btn {
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 5px;
    border-radius: 8px;
    transition: transform 0.2s;
  }
  
  .season-btn:hover {
    transform: scale(1.1);
  }
  
  .flag-icon {
    width: 20px;
    height: auto;
    border-radius: 4px;
  }

  .season-button-grid-wrapper {
    display: flex;
    justify-content: center;
  }

  .season-button-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding: 10px;
  }
  
  .season-btn.flag-button {
    width: 50px;
    height: 35px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border: 2px solid #ccc;
    border-radius: 6px;
    cursor: pointer;
    transition: transform 0.2s, border-color 0.2s;
  }
  
  .season-btn.flag-button:hover {
    transform: scale(1.1);
    border-color: #66cc66;
  }
  
  @media (max-width: 600px) {
    .flag-icon {
      width: 16px;
    }
  }
  

  .land-button-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding: 10px 0;
    justify-content: center;
  }
  
  .land-btn {
    background: #2a3b4d;
    color: white;
    border: 1px solid #66cc66;
    padding: 6px 12px;
    font-size: 14px;
    border-radius: 5px;
    cursor: pointer;
    transition: 0.3s ease;
  }
  
  .land-btn:hover {
    background-color: #3c546d;
    transform: scale(1.05);
  }
  
  
  .division-menu {
    display: flex;
    justify-content: center; /* centers horizontally */
    flex-wrap: wrap;
    gap: 10px;
    margin: 20px auto;
  }
  
  .division-btn {
    background-color: #2a3b4d;
    color: white;
    border: 1px solid #66cc66;
    padding: 6px 12px;
    border-radius: 5px;
    cursor: pointer;
    transition: 0.3s;
  }
  
  .division-btn:hover {
    background-color: #3c546d;
  }
  
  .match-group {
    margin: 20px;
    padding: 10px;
    border-top: 2px solid #66cc66;
  }
  
  .match-group h3 {
    margin-top: 0;
    color: #66cc66;
  }
  
  .match-item {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    padding: 8px 10px;
    border-bottom: 1px solid #333;
    color: rgb(26, 170, 69);
    font-size: 14px;
  }
  
  .match-item span {
    white-space: nowrap;
  }
  
  .match-date {
    min-width: 90px;
    color: #0a3b57;
  }
  
  .match-title {
    flex: 1;
    font-weight: bold;
    min-width: 80px;
  }
  
  .match-score {
    min-width: 60px;
    text-align: center;
  }
  
  .match-type {
    min-width: 70px;
    font-style: italic;
    color: #308630;
  }
  
  .match-attend {
    min-width: 80px;
    text-align: right;
    color: #c72c2c;
  }
  

  .match-list {
    list-style: none;
    padding: 0;
    margin: 20px;
  }
  
  .match-list li {
    background: #1c7e09;
    color: white;
    margin-bottom: 8px;
    padding: 10px;
    border-radius: 6px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
  }

  .flagheader{
    text-align: center;
    width: 80%;
    margin-top: 22px;
    margin-left: 100px;
    background: #1e2d3a;
    color: white;
    border-top: 3px solid rgb(101, 182, 84);
    transition: background-color 0.3s ease;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: medium;
  
  }
  
  .menu-heading {
    color: #66cc66;
    text-align: center;
    margin: 10px 0 5px;
    font-size: 18px;
  }
  

  .view-toggle {
    text-align: center;
    margin: 1em 0;
  }
  .view-toggle button {
    margin: 0 10px;
    padding: 10px 20px;
    font-weight: bold;
    cursor: pointer;
  }
  
  .match-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 0.5em;
    margin-bottom: 1.5em;
    font-size: 0.95em;
  }
  
  .match-table thead {
    background-color: #eaeaea;
  }
  
  .match-table th, .match-table td {
    padding: 8px 12px;
    border: 1px solid #ccc;
    text-align: left;
  }
  
  .match-table tbody tr:nth-child(even) {
    background-color: #f9f9f9;
  }
  
  .match-table tbody tr:hover {
    background-color: #eef;
  }
  
  .match-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 0.5em;
    margin-bottom: 1.5em;
    font-size: 0.95em;
    table-layout: fixed;
  }
  
  .match-table thead {
    background-color: #eaeaea;
    position: sticky;
    top: 0;
    z-index: 2;
  }
  
  .match-table th,
  .match-table td {
    padding: 8px 12px;
    border: 1px solid #ccc;
    text-align: left;
    word-wrap: break-word;
  }
  
  .match-table tbody tr:nth-child(even) {
    background-color: #f9f9f9;
  }
  
  .match-table tbody tr:hover {
    background-color: #eef;
  }
  
  /* Sorting arrows */
  .match-table th.asc::after {
    content: " ▲";
  }
  .match-table th.desc::after {
    content: " ▼";
  }
  
  /* Nottingham Forest row highlight */
  .match-table tbody tr.forest-highlight {
    background-color: #daefe0 !important;
    font-weight: bold;
  }
  
  .dropdown {
    position: relative;
  display: inline-block;
  font-family: 'Courier New', Courier, monospace;
  background-color: #003300;
  border: 3px solid #00ff00;
  border-radius: 8px;
  width: fit-content;
  box-shadow: 0 0 10px #00ff00;
  }
  
  .dropbtn {
    background-color: rgb(0, 129, 0);
    color: white;
    padding: 10px 16px;
    font-size: 16px;
    border: none;
    cursor: pointer;
    white-space: nowrap;
    line-height: 1.2;
  }
  
  .dropdown-content {
    display: none;
    position: absolute;
    background-color: #f9f9f9;
    min-width: 220px;
    box-shadow: 0px 8px 16px rgba(0,0,0,0.2);
    z-index: 1;
  }
  
  .dropdown-content a {
    color: #333;
    padding: 10px 14px;
    text-decoration: none;
    display: block;
  }
  
  .dropdown-content a:hover {
    background-color: #ddd;
  }
  
  .dropdown:hover .dropdown-content {
    display: block;
  }
  
  .dropdown:hover .dropbtn {
    background-color: #006600;
  }
  
  /* SCOREBOARD DROPDOWN STYLING */
.scoreboard-dropdown {
  position: relative;
  display: inline-block;
  font-family: 'Courier New', Courier, monospace;
  background-color: #003300;
  border: 3px solid #00ff00;
  border-radius: 8px;
  width: fit-content;
  box-shadow: 0 0 10px #00ff00;
}

.scoreboard-btn {
  background-color: transparent;
  color: #00ff00;
  padding: 14px 20px;
  font-size: 18px;
  font-weight: bold;
  border: none;
  cursor: pointer;
  text-align: left;
  line-height: 1.4;
}

.scoreboard-content {
  position: absolute;
  top: 100%;
  left: 0;
  background-color: #111;
  border-top: 2px solid #00ff00;
  width: 100%;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
  z-index: 1000;
}

.scoreboard-dropdown:hover .scoreboard-content {
  max-height: 500px; /* Enough to fit all items */
}

.scoreboard-content a {
  display: block;
  padding: 12px 18px;
  color: #00ff00;
  text-decoration: none;
  border-bottom: 1px solid #006600;
  background-color: #111;
  transition: background 0.2s;
}

.scoreboard-content a:hover {
  background-color: #004400;
  color: #ffffff;
}

.main-col {
  position: relative;
  width: 100px;
  height: 100px;
}

.main-col a {
  display: block;
  width: 100%;
  height: 100%;
  position: relative;
  text-align: center;
  line-height: 100px;
  font-weight: bold;
  color: white; /* or black depending on your picture */
  text-decoration: none;
}

.main-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  opacity: 0.7; /* Make background image slightly transparent if you want */
}

.main-text {
  position: relative;
  z-index: 2;
}


.oldpaper {
  width: 80%;
  max-width: 800px;
  position: relative;
  margin: 40px auto;
  padding: 2em;
  background: 
    linear-gradient(to bottom, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0) 10%, rgba(0,0,0,0) 90%, rgba(0,0,0,0.1) 100%),
    linear-gradient(to right, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0) 10%, rgba(0,0,0,0) 90%, rgba(0,0,0,0.1) 100%),
    #f7f3e9 url('https://www.transparenttextures.com/patterns/paper-1.png');
  background-size: cover;
  background-blend-mode: overlay;
  border: 1px solid #d0c8b0;
  box-shadow: 0 0 20px rgba(0,0,0,0.15);
  font-family: 'Georgia', serif;
  font-size: 1.05em;
  color: #2a2a2a;
  line-height: 1.8;
}

.oldpaper::after {
  content: "";
  position: absolute;
  bottom: 0;
  right: 0;
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, transparent 40%, rgba(0,0,0,0.2) 41%, rgba(0,0,0,0.2) 60%, transparent 61%);
  transform: rotate(2deg);
  pointer-events: none; /* so it doesn't block clicks */
}

.oldtitle {
  font-family: 'Times New Roman', serif;
  text-align: center;
  font-size: 2em;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 1em;
  border-bottom: 1px solid #bbb;
  padding-bottom: 0.5em;
}

.oldintro {
  font-style: italic;
  text-align: center;
  margin-bottom: 2em;
  color: #555;
}

.oldbody {
  text-align: justify;
  white-space: pre-line; /* preserves your line breaks */
}

.oldfooter {
  margin-top: 2em;
  text-align: center;
  font-family: 'Georgia', serif;
  font-size: 1em;
  color: #444;
}

.oldfooter a {
  color: #2a2a2a;
  text-decoration: underline;
}

.oldfooter a:hover {
  color: #555;
}


  