:root {
  --vh: 100vh; /* Fallback for older browsers */

  --volleyYellow: #FFDD00;
  --volleyBlueLight: #58BDF8;
  --volleyBlueMedium: #028AED;
  --volleyBlueDark: #045593;
  --volleyGreen: #66C149;

  --volleyRed: #ef3024;
  --volleyDark: #0b192d;
  --volleyMedium: #192639;
  --volleyLight: #2e3a4a;
  --volleyYellowLight:#f9de4b;
  --volleyDarkest: #0a182c;
  --volleyBlue: #0289bf;


  --mainBG: #ffffff;/*f7f5f2*/
}


* {
      box-sizing: border-box;
      margin: 0;
      padding: 0;
    }

body {
  height: 100%;
        margin: 0;
        font-family: 'Segoe UI', 'Tahoma', 'Geneva', 'Verdana', 'Inter', sans-serif;
        font-family: "Inter", sans-serif;
        background: #f4f4f4;
        background: white;/*var(--volleyBlueDark);*/
        display: flex;
        justify-content: center;
        align-items: center;
        /*height: 100vh;*/

        overscroll-behavior: none; /* voorkomt rubber-band effect */
        -webkit-overflow-scrolling: auto; /* voorkomt elastisch scrollen */
        /*overflow:hidden;*/
    }


.inter {
  font-family: "Inter", sans-serif;
  font-optical-sizing: auto;
  font-weight: normal;
  font-style: normal;
}
.inter button {
  font-family: "Inter", sans-serif;
  font-optical-sizing: auto;
  font-weight: normal;
  font-style: normal;
}

.poppinsItalic {
  font-family: "Poppins", sans-serif;
  font-weight: 400;
  font-style: italic;
}

/* Voor moderne browsers */
#miniCompName::placeholder {
    color: white;
    opacity: 1; /* opacity 1 zodat het volledig zwart is */
}

/* Voor oudere Webkit browsers */
#miniCompName::-webkit-input-placeholder {
    color: white;
    opacity: 1;
}

/* Voor Mozilla Firefox */
#miniCompName::-moz-placeholder {
    color: white;
    opacity: 1;
}

/* Voor Internet Explorer 10+ */
#miniCompName:-ms-input-placeholder {
    color: white;
    opacity: 1;
}


 /* overlay achtergrond */
  #winstonMessageOverlay {
    display: none;
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.6);
    z-index: 9999; /* helemaal vanboven */
    justify-content: center;
    align-items: center;
  }

  /* venster */
  #winstonMessageBox {
    background: #fff;
    padding: 20px;
    border-radius: 0px;
    max-width: 400px;
    text-align: center;
    box-shadow: 0 8px 25px rgba(0,0,0,0.4);
    font-family: "Inter", sans-serif;
    animation: winstonFadeIn 0.2s ease;
  }

  #winstonMessageText {
    margin-bottom: 20px;
    font-size: 16px;
    color: #333;
  }

  .winstonmMessageButtons {
    display: flex;
    justify-content: center;
    gap: 10px;
  }

  .winstonMessageBtn {
    padding: 8px 16px;
    border: none;
    border-radius: 0px;
    font-size: 14px;
    cursor: pointer;
    width:100px;
    margin-left:20px; margin-right:20px;
  }

  .okBtn {
    background: var(--volleyYellowLight);
    color: black;
  }

  .cancelBtn {
    background: var(--volleyYellowLight);
    color: black;
  }

  @keyframes winstonFadeIn {
    from {opacity: 0; transform: scale(0.9);}
    to {opacity: 1; transform: scale(1);}
  }





.image-container {
  position: relative;
  width: 100%;
  height: 400px; /* vaste hoogte */
  overflow: hidden;
}

.background-img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* vult container netjes zonder te vervormen */
  display: block;
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;

  /* zwarte fade van boven naar beneden */
  background: linear-gradient(rgba(0,0,0,0.8), rgba(0,0,0,0.6));

  display: flex;
  flex-direction: column;
  justify-content: center; /* verticaal centreren */
  align-items: flex-start; /* links uitlijnen */
  color: white;
  text-align: left; /* tekst links uitlijnen */
  padding: 25px; /* extra marge vanaf de rand */
}

.overlay-title {
  font-size: calc(clamp(26px, 2vw, 36px));
  font-weight: bold;
  margin: 0 0 10px 0;
}

.overlay-description {
  font-size: calc(clamp(18px, 2vw, 22px));
  margin: 0;
  font-weight:normal;
}



.ploegBtn {
  font-size: 18px;
  width: 270px;
  border: none;
  padding: 12px 16px;
  /*border-radius: 8px;*/
  font-weight: bold;
  cursor: pointer;
  background-color:var(--volleyYellowLight);
}




    .loginPage {
        width: 90%;
        max-width: 400px;
        background-color:white;/*var(--volleyBlueMedium);*/
        padding: 2rem;
        border-radius: 0px;
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
        position: relative;
        box-sizing: border-box;


    }

    .lang-switch {
        position: absolute;
        top: 15px;
        right: 15px;
        display: flex;
        gap: 10px;
    }

    .CreateQuestionLangSwitchLogin {
        cursor: pointer;
        padding: 6px 12px;
        border-radius: 6px;
        background-color: transparent;
        font-size: 14px;
        color:white;
        /*transition: background-color 0.3s ease;*/
    }

    .CreateQuestionLangSwitchLogin[data-selected="true"] {
        /*var(--volleyYellow);*/
        color: var(--volleyYellowLight);
        font-weight: bold;
    }

    .CreateQuestionLangSwitchLogin:hover {
        /*color: var(--volleyYellow);*/
    }


    .loginBody {
        display: flex;
        flex-direction: column;
        gap: 1rem;
        margin-top: 2.5rem;

        
    }

    .loginBody input {
        padding: 0.75rem 1rem;
        font-size: 16px;
        border: 1px solid #ccc;
        border-radius: 0px;
        border:none;
        width: 100%;
        box-sizing: border-box;
        background-color: #0b192d;
        color:white;
        
    }

    .loginBtn {
        background-color: var(--volleyYellowLight);
        color: black;
        padding: 0.75rem;
        font-size: 16px;
        border: none;
        border-radius: 0px;
        cursor: pointer;
        transition: background-color 0.2s ease;
    }
/*
    .loginBtn:hover {
        background-color: var(--volleyRed);
    }*/

    .links {
        display: flex;
        flex-direction: column;
        margin-top: 1.5rem;
        gap: 0.5rem;
        font-size: 14px;
        text-align: center;
    }

    .links a {
        color: var(--volleyRed);
        text-decoration: none;
        transition: color 0.2s ease;
    }

    .links a:hover {
        color: var(--volleyRed);
    }




    .registerPage {
        width: 90%;
        max-width: 450px;
        background: white;
        padding: 2rem;
        border-radius: 0px;
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
        position: relative;
        box-sizing: border-box;
        border:none;
    }

    .registerBody {
        display: flex;
        flex-direction: column;
        gap: 1rem;
    }

    .registerBody input,
    .registerBody select {
        padding: 0.75rem 1rem;
        font-size: 16px;
        border: none;/*1px solid #ccc;*/
        border-radius: 0px;
        width: 100%;
        background-color:#0b192d;
        box-sizing: border-box;
        color:white;
    }

    .disabledEmail{
        padding: 0.75rem 1rem;
        font-size: 16px;
        border: none;/*1px solid #ccc;*/
        border-radius: 0px;
        width: 100%;
        background-color:#0b192d;
        box-sizing: border-box;
        color:white;
    }

    .registerBtn {
        background-color: var(--volleyYellowLight);
        color: black;
        padding: 0.75rem;
        font-size: 16px;
        border: none;
        border-radius: 0px;
        cursor: pointer;
        transition: background-color 0.2s ease;
    }
/*
    .registerBtn:hover {
        background-color: var(--volleyRed);
    }*/

    .infoText {
        font-size: 13px;
        color: black;
        margin-top: -0.5rem;
        margin-bottom: 0.5rem;
        line-height: 1.4;
        background-color: transparent;/*#f0f8ff;*/
        padding: 0.5rem 0.75rem;
        border-left: 4px solid black;
        border-radius: 0px;
    }

#formError
{
    color: var(--volleyYellowLight);
}


.header-bar {
    width: 100%;
    padding: 10px 20px;
    background-color: white;/*#028AED;*/
    border-bottom: 0px solid #58BDF8;
  }

  .header-content {
    display: flex;
    height: 60px;
    max-width: 1440px;
    justify-content: space-between;
    align-items: center;
    margin: 0 auto;
  }

  .hero-container {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    height: 280px;
    padding: 0;
    background-color: #58BDF8;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 0px;
    /*margin-top:20px;*/
  }

  .hero-left {
    height: 50%;
    padding: 20px;
    width: 50%;
    font-size: 1.5rem;
    font-weight: bold;
    display: flex;
    flex-direction: column;
  }

  .hero-right {
    width: 50%;
    height: 100%;
  }

  .hero-right img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }

  .section-title {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 60px;
    width: 100%;
    text-align: center;
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 0px;
    color: white;
  }

  .steps-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: space-between;
    margin-top: 0px;
  }

  .step-box {
    background-color: var(--volleyDarkest);
    width: calc(25% - 15px);
    /*border-radius: 12px;*/
    overflow: hidden;
    display: flex;
    flex-direction: column;
    min-width: 250px;
  }

  .step-box img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
  }

  .step-title {
    color: white;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: left;
    font-size: 24px;
    padding: 10px;
    font-weight: bold;
    text-align:left;
  }

  .step-text {
    color: white;
    padding: 10px;
    min-height:180px;
  }

  .container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 20px 0px;
    box-sizing: border-box;
    width: 100%;
  }
  .container2 {
    max-width: 1440px;
    margin: 0 auto;
    padding: 20px 0px;
    box-sizing: border-box;
    width: 100%;
  }

  .navbar-container {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 60px;
    position: relative;
    padding: 0 20px;
    box-sizing: border-box;
  }

  .hamburger {
    display: none;
    font-size: 30px;
    cursor: pointer;
    color: white;
    background: none;
    border: none;
    position: absolute;
    left: 0;
  }

  .navbar-login {
    position: absolute;
    right: 0;
  }

  .navbar-menu {
    display: flex;
    justify-content: center;
    background-color: white;/*var(--volleyBlueMedium);*/
    width: 100%;
  }

  .navbarMenuBurger
  {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh; /* full screen height */
    background-color: var(--volleyRed);
    width: 100%;
    color: white;
  }

  .navbar-menu-inner {
    display: flex;
    gap: 30px;
    max-width: 1440px;
    width: 100%;
    padding: 10px 20px;
    box-sizing: border-box;
    color: var(--volleyRed);
  }
  .navbarMenuBurger-inner {
    display: flex;
    gap: 30px;
    max-width: 1440px;
    width: 100%;
    padding: 10px 20px;
    box-sizing: border-box;
    color: white;
  }
  

  .navbar-menu-inner div {
    cursor: pointer;
    transition: color 0.3s ease, text-decoration 0.3s ease;
  }

  .navbar-menu-inner div:hover,
  .navbar-menu-inner div[data-selected="true"] {
    /*color: #FFDD00;*/
    text-decoration: underline;
  }


    .navbarMenuBurger-inner div {
    cursor: pointer;
    transition: color 0.3s ease, text-decoration 0.3s ease;
  }

  .navbarMenuBurger-inner div:hover,
  .navbarMenuBurger-inner div[data-selected="true"] {
    color: white;
    text-decoration: underline;
  }


  .selectCaptain-dropdown {
    width:100%; 
    background-color:#0b192d; 
    /*border-radius:8px;*/
    font-size:16px;
    padding:6px;
    height:30px;
    box-sizing: border-box;
  }


  .dropdownPlayer_Option {
    color:white;
  }
    .dropdownPlayer_Option:hover {
    color:var(--volleyYellowLight);
    /*text-decoration: underline;*/
  }

  .not-selectable {
  padding: 10px 16px;
  cursor: default;
  white-space: nowrap;
  font-size: 14px;
  font-weight: normal;
  color: white;
  position: relative;
  user-select: none; /* prevent text selection */
  pointer-events: auto; /* allow hover events */
}
.not-selectable:hover {
  background-color: transparent; /* or any subtle hover effect */
  color: #ccc;
}

.hoverableYellow {
  background-color:white !important;;
}
.hoverableYellow:hover {
  background-color:var(--volleyYellowLight) !important;;
}

.not-selectable .disabled-icon {
  display: none;
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 16px;
}

.not-selectable:hover .disabled-icon {
  display: inline;
}



.pickPlayerButton {
  background-color: var(--volleyYellowLight); 
  cursor:pointer;
}
.pickPlayerButton:hover {
  background-color: var(--volleyRed); 
}


/*
.navbar-language-dropdown {
  font-family: inter;
}*/

  .dropdownLang_Option {
    color:white;
  }
  .dropdownLang_Option:hover {
    /*color:var(--volleyYellow);*/
    text-decoration: underline;
  }

  .navbar-login button {
    background-color: var(--volleyRed);
    color:white;
  }
  .navbar-login button:hover {
    /*background-color:var(--volleyGreen);*/
  }


  .bigButton {
    border: none; background-color: var(--volleyYellowLight);  color:black; font-weight:bold; font-size:14px; width:100%; height:35px;
    cursor:pointer;
  }
  .bigButton:hover {
    /*background-color:var(--volleyRed);*/
  }



  .team_Part1 {
  min-height: 400px;
  width: calc(50% - 10px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  /*border: 1px solid black;*/
  box-sizing: border-box;

  background-color:var(--volleyLight);
}
  .team_Part2 {
  min-height: 400px;
  width: calc(50% - 10px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  /*border: 1px solid black;*/
  box-sizing: border-box;
    /*background-color:var(--volleyLight);*/
    /*:1px solid black;*/

}

.section-title {
  width: 100%;
  font-size: 24px;
  text-align: left;
  justify-content:left;
  align-items:left;
  color: white;
  height: 50px;
  font-weight: bold;
}

.selection-box {
  /*border-radius: 12px;*/
  background-color: var(--volleyLight);
  min-height: 200px;
  width: 100%;
  /*padding: 0px 10px;*/
}

.selection-row {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items:center;
  height: 40px;
  color: white;
  font-size: 16px;
  font-weight: bold;
}

.selection-row input {
  background-color:#0b192d;/*var(--volleyBlueLight);*/
  /*border-radius:8px;*/
  width:100%;
  box-sizing: border-box;
  font-size: 14px;
  /*border-radius: 6px;*/
  border:none;
  height:30px;
  outline:none;
  padding:6px;
  color:white;
}

.selection-row div:last-child {
  font-size: 20px;
}

.separator {
  height: 10px;
  border-bottom: 1px solid #58BDF8;
}



.overlay-btn {
  position: absolute;
  width: clamp(36px, 4vw, 58px);/*clamp(32px, 4vw, 48px);*/
  height: clamp(36px, 4vw, 58px);/*clamp(32px, 4vw, 48px);*/
  border-radius: 50%;
  background-color: white;
  color: black;
  font-size: 24px;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.3s ease;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
  user-select: none;

  text-align: center;
}

.responsive-ball-size {
  width: clamp(32px, 4vw, 48px);
  height: clamp(32px, 4vw, 48px);
}

.overlay-btn:hover {
  background-color: #ffdd00;
}

.overlay-btn.reserve {
  position: static;
}





.overlay-menu_teamReq {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.3); /* black with 0.3 opacity */
  z-index: 9999;
  display: none;
  transition: opacity 0.3s ease;
}

.menu-panel_teamReq {
  position: absolute;
  top: 0;
  right: -300px; /* off screen initially */
  width: 300px;
  height: 100%;
  background-color: white;
  box-shadow: -2px 0 5px rgba(0,0,0,0.5);
  padding: 20px;
  transition: right 0.4s ease;
  display: flex;
  flex-direction: column;
}

.overlay-menu_teamReq.open .menu-panel_teamReq {
  right: 0;
}

.menu-items_teamReq {
  list-style: none;
  padding: 0;
  margin: 0;
}

.menu-items_teamReq li {
  display: flex;
  align-items: center;
  margin-bottom: 12px;
  font-size: 16px;
  font-weight: bold;
  color: #333;
}

.status-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  margin-right: 10px;
  flex-shrink: 0;
}

.status-green {
  background-color: #2ecc71; /* green */
}

.status-red {
  background-color: #e74c3c; /* red */
}

.close-btn_teamReq {
  align-self: flex-end;
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
}



.button-container {
  display: flex;
  flex-wrap: wrap;
  gap: 16px; /* ruimte tussen knoppen */
  margin-top: 20px; /* ruimte tussen tekst en knoppen */
  justify-content: flex-start;
}

.button-container .loginBtn {
  font-size: 18px;
  width: 270px;
  border: none;
  padding: 12px 16px;
  /*border-radius: 8px;*/
  font-weight: bold;
  cursor: pointer;
}



.SearchPlayerInput::placeholder {
    color: white;
    opacity: 1;
  }

.SearchPlayerInput::-webkit-input-placeholder {
    color: white;
    opacity: 1;
  }

.SearchPlayerInput::-moz-placeholder {
    color: white;
    opacity: 1;
  }

.SearchPlayerInput:-ms-input-placeholder {
    color: white;
    opacity: 1;
  }

.SearchPlayerInput:-moz-placeholder {
    color: white;
    opacity: 1;
  }
/* Works across all browsers */
    input::placeholder {
      color: white;
      opacity: 1; /* Ensures it's fully visible */
    }

    input::-webkit-input-placeholder {
      color: white;
      opacity: 1;
    }

    input::-moz-placeholder {
      color: white;
      opacity: 1;
    }

    input:-ms-input-placeholder {
      color: white;
      opacity: 1;
    }

    input:-moz-placeholder {
      color: white;
      opacity: 1;
    }

#EmailInput::placeholder {
  color: white;
  opacity: 0.5;
}
#PassInput::placeholder {
  color: white;
  opacity: 0.5;
}
#emailInput::placeholder {
  color: white;
  opacity: 0.5;
}
#registerNickname::placeholder {
  color: white;
  opacity: 0.5;
}
#registerPassInput::placeholder {
  color: white;
  opacity: 0.5;
}
#registerRepeatPassInput::placeholder {
  color: white;
  opacity: 0.5;
}



    .countdown-timer {
    font-size: 1.5rem;
    font-weight: bold;
    display: flex;
    gap: 8px;
  }

  .countdown-timer span.unit {
    font-weight: normal;
    font-size: 0.9rem;
    color: #242424;
    margin-left: 2px;
  }

  .countdown-timer div.part {
    display: flex;
    align-items: baseline;
  }

  .speeldagBanner
  {
    display: flex; width: 100%; height: 50px; 
    background-color: var(--volleyBlueMedium); 
    align-items: center; justify-content: space-between; padding: 0 20px; color: white;
  }
  


  /* Mobile layout */
  @media (max-width: 1440px) {
    .container {
      padding: 0 20px;      
      

    }
    .container2 {
      padding: 0 20px;      
      

    }
    .hero-container {
      flex-direction: column;
      height: auto;
      margin-top:20px;

    }
    .navbar-container-wrapper{
      padding: 0 20px;     
    }
}
  @media (max-width: 790px) {

    .button-container {
    flex-direction: column;
    align-items: stretch;
    gap: 16px; /* ruimte tussen knoppen */
    
  }
.button-container .loginBtn {

  padding: 12px 8px;

}

  


    .hero-container {
      flex-direction: column;
      height: auto;
      margin-top:20px;

    }

    .hero-left,
    .hero-right {
      width: 100%;
      height: auto;
    }

    .steps-container {
      flex-direction: column;
      align-items: center;
    }

    .step-box {
      width: 100%;
      height: auto;
    }

    .step-box img {
      height: 180px;
    }

    .container{
        padding: 0 20px;
    }
    .navbar-container-wrapper{
      padding: 0 20px;     
    }


    .navbar-menu {
      position: absolute;
      top: 60px;
      left: 0;
      flex-direction: column;
      display: none;
      z-index: 999;

      background-color: var(--volleyBlueMedium); 
      width: 100%;
    }
    .navbarMenuBurger {
      position: absolute;
      top: 60px;
      left: 0;
      flex-direction: column;
      display: none;
      z-index: 999;

      background-color: var(--volleyRed); 
      width: 100%;

      
      
    }


    .navbar-menu.active {
      display: flex;
    }

    .navbarMenuBurger.active {
      display: flex;
    }

    .navbar-menu-inner {
      flex-direction: column;
      gap: 0;
    }

    .navbar-menu-inner div {
      padding: 15px 20px;
      border-top: 1px solid rgba(255, 255, 255, 0.2);
    }

    .navbarMenuBurger-inner {
      flex-direction: column;
      gap: 0;
    }

    .navbarMenuBurger-inner div {
      padding: 15px 20px;
      border-top: 1px solid rgba(255, 255, 255, 0.2);
    }

    .hamburger {
      display: block;
    }


    .team_Part1,
  .team_Part2 {
    width: 100%;
  }
    

    
  }
    

    @media screen and (min-width: 600px) {
        .loginPage {
            padding: 2.5rem 3rem;
        }

        .loginBody input,
        .loginBtn {
            font-size: 18px;
        }

        .registerPage {
            padding: 2.5rem 3rem;
        }

        .registerBody input,
        .registerBtn {
            font-size: 18px;
        }
    }







#winston_loadingScreen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);/*transparent;*//*rgba(0, 0, 0, 0.5);*/
  display: flex;
  justify-content: center;
  align-items: center;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  z-index: 1000;
}

.winston_loading-content {
  background: transparent;/*white;*/
  padding: 20px;
  /*border-radius: 10px;*/
  /*box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);*/
  text-align: center;
}

.winston_spinner {
  border: 4px solid rgba(0, 0, 0, 0.1);
  border-left-color: var(--volleyYellowLight);/*#8DC73F;*/
  border-radius: 50%;
  width: 40px;
  height: 40px;
  animation: spin 1s linear infinite;
  margin: 10px auto;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}