html body  {
  margin: 0;
  padding: 0;
}

body {
    margin: 0;
    font-family: 'Nunito Sans', sans-serif;
    background-image: url('wembley-dark.png');;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    }



    :root {
      --main-dark: #00061B;
      --main-light: #011338;
      --text-colour: white;
      --border: #062151;

    }

 label {
      cursor: pointer;
    }

    .teams {
        display: flex;
        justify-content: space-between;
        width: 100%;
        align-items: center;
        margin-bottom: 10px;
      }

      #starContainerHome, #starContainerAway  {
        margin-bottom: 10px;
      }

    .team-panel {
        width: 48%;
        min-width: 200px;
        padding: 10px;
        text-align: center;
      }
  
  header {
    height: 40px;
    backdrop-filter: blur(5px);
    padding: 20px;
    color: var(--text-colour);
    text-align: center;
    font-size: 24px;
    font-weight: bold;
  }

  header img  {
    position: fixed;
    right: 100px;
    height: 30px;
  }

  header img:hover  {
    cursor: pointer;
  }



  .container {
    margin: 65px auto;
    padding: 40px;
    max-width: 900px;
    min-width: 350px;
    text-align: center;
  }

  .match-area {
    backdrop-filter: blur(12px);
    padding: 40px;
    display: flex;
    justify-content: space-around;
    align-items: center;

    border-radius: 10px;
    color: var(--text-colour);
    font-style: bold;

    min-width: 300px;
  }





  .team-panel {
    position: relative;
    background: linear-gradient(45deg, var(--main-dark), var(--main-light));
    padding: 20px;
    width: 32%;
    min-width: 150px;
    height: 100%;

    display: flex;
    flex-direction: column;
    justify-content: space-between;
    text-align: center;


    border-radius: 10px;
    border: 5px solid var(--border);

    font-size: 14px;
    text-align: center;
    align-items: center;
    min-height: 300px;

  }
  
  .key-player-checkbox, .key-player-checkbox-away {
    border: 1px solid var(--border);
    width: 200px;
    border-radius: 5px;
    margin: none;
  }

  .banner {
    height: 50px;

    color: white;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    text-align: center; 
  }
  
  .team-panel img {
    border-radius: 50%;
    width: 100px;
    height: 100px;
    margin-top: 10px;
    margin-bottom: 10px;

  }
  .team-panel select {
    margin-top: 10px;
    width: 100%;
    padding: 10px;
    font-size: 14px;
    text-transform: uppercase;
    margin-bottom: 10px;
  }

.round-dropdown {
  text-transform: uppercase;
}

  .round-select select {
    padding: 10px;
    font-weight: bold;
    margin: 0;
  }

  .round-select {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    font-weight: bold;
    margin: 0;
  }
  
  .simulate-btn {
    background: var(--main-dark);
    color: var(--text-colour);
    padding: 15px 30px;
    font-size: 24px;
    font-weight: bold;
    border: none;
    border-radius: 5px;
    cursor: pointer;
  }

  .simulate-btn:hover {
    background-color: var(--text-colour);
    color: var(--main-dark);
    border: 3px solid var(--border);
  }

  .match-details-money {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 40px;
  }
  
  .money-item {
    display: flex;
    flex-direction: column;
    align-items: center; 
    text-align: center;
  }
  
  .icon {
    width: 20px;
    height: 20px;
    margin-bottom: 10px; 
  }
  
  .svg  {
    fill: #00061B;
  }

#ifDraw {
  margin: 0;
}

  .team-select  {
    background-color: var(--main-dark);
    border: none;
    border-radius: 5px;
    color: var(--text-colour);
    font-weight: bold;
    font-size: 18px;
    text-align: center;
    overflow-y: auto;
    max-height: 100px;
    max-width: 100%;
  }
  
  #teamSelectHome option {
    height: 30px;
    overflow-y: auto; 
    max-height: 200px; 
  }


  .round-dropdown {
    background-color: var(--main-dark);
    color: var(--text-colour);
    border: none;
    border-radius: 5px;
    font-weight: bold;
    font-size: 14px;
    text-align: center;
  }

  .Key-Player-Toggle  {
    font-size: 12px;
    margin: 0px;
  }

  .simulate-btn {
    margin-top: 20px;
  }

  #kickOffTime  {
    margin-top: 5px;
  }

  .icon {
    margin-top: 25px;
    margin-bottom: 5px;
  }

  #ifDrawContainer {
    margin: none;
  }

  .match-details {
    font-size: 12px;
  }

  .team-select:focus  {
    border: none;
  }

  .fa-cup-logo  {
    margin: 0;
    max-height: 50px;
  }

  input[type="checkbox"] {
    appearance: none;
    margin-left: -20px;
    -webkit-appearance: none;
    -moz-appearance: none;
    width: 20px;
    height: 20px;
    vertical-align: middle;
    cursor: pointer;
  }
  
input[type="checkbox"]:checked + label {
    background-color: var(--main-light);
    padding: 5px 50px;
    border-radius: 2px;
  }

  .hidden {
    display: none !important;
   }

   #matchReportModal {
    position: fixed;
    top: 0; left: 0;
    width: 100vw; height: 100vh;
    background-color: rgba(3, 2, 19, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    backdrop-filter: blur(16px);

}

.modal-content {
    max-width: 90%;
    width: 800px;
    background: linear-gradient(45deg, var(--main-dark), var(--main-light));
    padding: 30px;
    border-radius: 10px;
    color: var(--text-colour);
    box-sizing: border-box;
    border: 5px solid var(--border);
}

.content  {
  justify-items: center;
  align-items: center;
}

.match-result {
  display: flex;
  flex-direction: row;
  justify-items: center;
  align-items: center;
  gap: 80px;
}

.home-team-stars, .away-team-stars  {
  text-transform: uppercase;
  font-size: 12px;
}




.home-result, .away-result  {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.home-result .away-result p  {
  margin-top: 10px;
}

#reportScore  {
  font-size: 32px;
  font-weight: bold;
}

#replayButton, #closeReport {
  background-color: var(--main-dark);
  color: var(--text-colour);
  border: 2px solid var(--border);
  padding: 10px;
  border-radius: 5px;
  margin: 10px;
}

#replayButton:hover, #closeReport {
  background-color: var(--main-light);
  color: var(--text-colour);
  border: 2px solid var(--border);
  padding: 10px;
  border-radius: 5px;
  margin: 10px;
}

#reportRound  {
  margin-top: 0px;
}

.result p {
  font-weight: bold;
  margin-top: 30px;
  font-size: 18px;

}



#divisionTextHome, #divisionTextAway {
  margin-bottom: 5px;
}

.international-stars {
  font-weight: bold;
}

.tooltip {
  position: relative;
  display: inline-block;
  cursor: help;
}

.copyright  {
  color: var(--text-colour);
}


.tooltip-text {
  visibility: hidden;
  opacity: 0;
  width: 220px;
  background-color: var(--text-colour);
  color: var(--main-light);
  text-align: left;
  padding: 8px;
  border-radius: 4px;
  font-size: 12px;
  line-height: 1.5;
  border: 1px solid var(--border);
  
  position: absolute;
  top: 100%;
  left: 0;
  margin-top: 0px;
  z-index: 100;
}

footer  {
  bottom: 0;
}

.tooltip:hover .tooltip-text {
  visibility: visible;
  opacity: 1;
}
