
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;700&display=swap');

/*--------------------------------------------------------------
  1. Root Variables
--------------------------------------------------------------*/
:root {
  --primary: #be9e55;
/*  --gray-light: #DB000C; */
  --primary-dark: #010102;
  --text-color: #edf0f5;
  --background: black;
  --white: black;
  --gray-dark: #320608;

  --accent-green: #00C853;
  --accent-red: #D50000;
  --accent-orange: #FF7F50;
  --accent-secondary: silver;
  --color-secondary: black;
  --font-body: 'Montserrat', sans-serif;
  
  /* Info boxes */
  --info-box-gray: #cccccc39;
  --info-box-green: #DFF0D8;
  --info-box-red: #F2DEDE;
  --info-box-border: 4px solid #777;
  --info-box-border-green: 4px solid green;
  --info-box-border-red: 4px solid red;

  --table-border: rgba(176, 170, 170, 0.692);
  --table-row-even: rgba(151, 151, 151, 0.14);

  --border-gradient-country: linear-gradient(to right,
#be9e55,#CE1124, /* Engeland rood */
  #FFFFFF, /* Engeland wit */
  #be9e55,
 
  #0065BD, /* Schotland blauw */
  #FFFFFF, /* Schotland wit */
  #be9e55,

  #D22730, /* Wales rood */
  #00A650, /* Wales groen */
  #FFFFFF, /* Wales wit */
  #be9e55,
  
  #0055A4, /* Frankrijk blauw */
  #FFFFFF, /* Frankrijk wit */
  #EF4135, /* Frankrijk rood */
  #be9e55,
  
  #009246, /* Italië groen */
  #FFFFFF, /* Italië wit */
  #CE2B37, /* Italië rood */
  #be9e55,
  
  #169B62, /* Ierland groen */
  #FFFFFF, /* Ierland wit */
  #FF883E,  /* Ierland oranje */
  #be9e55
    ) 1;

  --border-image-country-header: linear-gradient(to right,  
    #be9e55,#CE1124, /* Engeland rood */
  #FFFFFF, /* Engeland wit */
  #be9e55,
 
  #0065BD, /* Schotland blauw */
  #FFFFFF, /* Schotland wit */
  #be9e55,

  #D22730, /* Wales rood */
  #00A650, /* Wales groen */
  #FFFFFF, /* Wales wit */
  #be9e55,
  
  #0055A4, /* Frankrijk blauw */
  #FFFFFF, /* Frankrijk wit */
  #EF4135, /* Frankrijk rood */
  #be9e55,
  
  #009246, /* Italië groen */
  #FFFFFF, /* Italië wit */
  #CE2B37, /* Italië rood */
  #be9e55,
  
  #169B62, /* Ierland groen */
  #FFFFFF, /* Ierland wit */
  #FF883E,  /* Ierland oranje */
  #be9e55
  
  ) 1;
}
/*--------------------------------------------------------------
  2. Global Styles & Resets
--------------------------------------------------------------*/
html, body {
  margin: 0;
  height: 100%;
  box-sizing: border-box;
}

/* Target alle toestanden van de link tegelijk */
a, a:visited, a:hover, a:active {
    color: inherit;           /* Neemt de kleur over van de parent (normale tekst) */
    outline: none;            /* Verwijdert de blauwe rand bij klikken/selecteren */
}

body {
  font-family: var(--font-body);
  background: var(--background);
  color: var(--text-color);
  font-size: 1rem;
  display: flex;
  flex-direction: column;
  max-height: 100rem;
}

h1 { 
  font-size: 2.8rem; 
  font-weight: bold; 
  margin-bottom: 1rem; 
}
h2 { 
  font-size: 1.4rem; 
  font-variant: small-caps; 
  text-transform: uppercase; 
  margin-bottom: 0.625rem; 
  color: var(--primary); 
}
h4 { 
  font-size: 0.9rem; 
}

h3 {
    color: var(--primary); 
}

p { 
  margin-top: 0; 
}

.hidden { 
  display: none !important; 
}

.text-align_l { 
  text-align: left; 
}
.text-align_r { 
  text-align: right; 
}
.text-align_c { 
  text-align: center; 
}

/*--------------------------------------------------------------
  3. Layout
--------------------------------------------------------------*/
.wrapper {
  flex: 1;
  width: 100%;
  padding: 0 0.625rem;
  box-sizing: border-box;
  max-width: 100rem;
  margin: 1rem auto 0;
}

.columns { 
  display: flex; 
  gap: 1rem; 
  align-items: stretch; 
}
.column { 
  flex: 1; 
  display: flex; 
  flex-direction: column; 
  gap: 1rem; 
}
.column_picks > .box_color { 
  flex: 1; 
  display: flex; 
  flex-direction: column; 
}

/* Login/Reset Password Specific Layout */
.wrapper-login .columns { 
  justify-content: center; 
  flex-wrap: wrap; 
  gap: 1rem; 
}
.wrapper-login .column { 
  flex: 0 0 30rem; 
  max-width: 100%; 
}
.wrapper-login .column > .box,
.wrapper-login .column > .box_color { 
  flex: 1; 
  display: flex; 
  flex-direction: column; 
}

.login-actions { 
  display: flex; 
  align-items: center; 
  justify-content: space-between; 
  margin-top: 1rem; 
}

/*--------------------------------------------------------------
  4. Boxes & Panels
--------------------------------------------------------------*/
.box,
.box_color {
  padding: 1rem;
  border: 1px solid var(--primary);
  border-radius: 12px;
  background: var(--white);
}

.box_color {
  background: var(--primary);
  color: var(--white);
}
.box_color h2 { 
  color: var(--white); 
}

.box_profile {
  max-width: 600px;
  width: 100%;
  margin: 0 auto;
  padding: 2rem;
  box-sizing: border-box;
}

.info-box,
.info-box_main,
.info-box_green,
.info-box_red {
  padding: 1rem;
  margin-bottom: 1rem;
}

.info-box { 
  background: var(--white); 
  border-left: var(--info-box-border); 
}
.info-box_main { 
  background: var(--info-box-gray); 
  border-left: var(--info-box-border); 
}
.info-box_green { 
  background: var(--info-box-green); 
  border-left: var(--info-box-border-green); 
  color: black
}
.info-box_red { 
  background: var(--info-box-red); 
  border-left: var(--info-box-border-red); 
    color: black;

}

/*--------------------------------------------------------------
  5. Logos & Icons
--------------------------------------------------------------*/
.logo,
.grey-logo {
  height: 0.8rem;
  width: auto;
  object-fit: contain;
  vertical-align: middle;
  margin: 0 0.4rem ;
}

.grey-logo { 
  filter: grayscale(100%); 
  opacity: 0.6; 
}
.updateBtn {
  margin-top: 0rem; 
  border: none;
}
.logo_large { 
  width: 180px; 
  height: auto; 
  margin-top: 5px; 
}
img.crestio { 
  width: 100px; 
  height: auto; 
  margin-top: 5px; 
}

/*--------------------------------------------------------------
  6. Tables
--------------------------------------------------------------*/
table {
  width: 100%;
  border-collapse: collapse;
  text-align: center;
  font-family: var(--font-body);
  margin: 1.25rem 0;
  font-size: 1rem;
}

table th,
table td {
  padding: 0.4rem;
  border: 1px solid var(--table-border);
}

.table-divider {
  height: 1rem;
  background-color: var(--white);
  border: none;
}

table th {
  background-color: var(--primary);
  color: var(--white);
  font-weight: bold;
}

table tr:nth-child(even) {
  background-color: var(--table-row-even);
}

.standings-table th:nth-child(2),
.standings-table td:nth-child(2),
.club-table th:first-child,
.club-table td:first-child {
  text-align: left;
  padding-left: 0.5rem;
}


.highlight-row {
    background-color: rgba(190, 158, 85, 0.5) !important; /* Lichtgroen of kies je eigen kleur */
}

.search-container {
    margin-bottom: 15px;
    text-align: left;
    display: inline-block; margin-left: 0;"

}
.search-container input {
    width: 100%;
    max-width: 400px;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 1rem;
    box-sizing: border-box;
    font-family: var(--font-body);
      }


/* Behalve de tweede kolom (de teams), die moet links */
.pure-table th:nth-child(2),
.pure-table td:nth-child(2) {
    text-align: left;
    padding-left: 10px;
}

/*--------------------------------------------------------------
  7. Match Cards & Club Info
--------------------------------------------------------------*/
fieldset {
  background: var(--white);
  padding: 20px;
  border: 1px solid #ccc;
  border-radius: 12px;
  margin-bottom: 32px;
}

.match-card {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin: 1rem 0 1rem;
  background: var(--white);
}

legend { 
  font-size: 1.1em; 
  font-weight: bold; 
}

.matchday {
  background: var(--primary);
  padding: 5px;
  border-radius: 3px;
  color: var(--white);
  font-size: 1.6rem;
}
.matchday_large { 
  font-size: 3rem; 
}

.match-choices { 
  display: flex; 
  align-items: center; 
}
.match-option { 
  display: flex; 
  align-items: center; 
  cursor: pointer; 
  padding-bottom: 10px; 
}

.match-option input[type="radio"] { 
  margin: 0; 
  vertical-align: middle; 
}

.vs-text { 
  font-weight: normal; 
  font-size: 0.8rem; 
  margin: 0 6px 10px; 
}

.vs-text-predicted { 
  font-weight: normal; 
  font-size: 0.8rem; 
  margin: 0 6px ;
  margin-bottom: 10px; 
}

.joker-block {
  display: inline-flex;      /* shrink-to-fit en flex eigenschappen behouden */
  align-items: center;
  gap: 0.375rem;
  font: 0.8rem var(--font-body);
  color: var(--primary);
  cursor: pointer;
  font-weight: bold;
  border: 1px dotted var(--primary);
  border-radius: 20px;
  margin-top: -20px;
  margin-left: -10px;
  padding: 5px;
  width: auto;
}

.joker-block-used {
  display: inline-flex;      /* shrink-to-fit en flex eigenschappen behouden */
  align-items: center;
  gap: 0.375rem;
  font: 0.8rem var(--font-body);
  color: var(--primary);
  cursor: pointer;
  font-weight: bold;
  border: 1px dotted var(--primary);
  border-radius: 20px;
  margin-top: -20px;
  margin-left: 5px;
  padding: 5px;
  width: auto;
}

.team-name_picks { 
  margin: 0; 
  padding: 0; 
  vertical-align: top; 
  font-size: 1.1rem;
}



.highlight-red { 
  color: var(--accent-red); 
  font-weight: bold; 
}

label img,
.result img { 
  height: 24px; 
  vertical-align: middle; 
  margin: 0 6px; 
}

.match small { 
  display: block; 
  font-size: 0.8em; 
  color: #fff; 
  margin-bottom: 28px; 
}
.match-past { 
  color: #999; 
}
.match-future { 
  color: #000; 
}

label:has(input[type="radio"]:checked) .team-name_picks,
.chosen-team-highlight,
.highlighted-choice {
  border-bottom: 2px solid var(--accent-red);
  font-weight: bold;
}

.radio-spacer {
    width: 10px;   /* Pas dit aan naar de breedte van je radiobutton */
    height: 20px;  /* Pas dit aan naar de hoogte van je radiobutton */
    display: inline-block;
    flex-shrink: 0; /* Zorgt dat de spacer niet wordt platgedrukt */
}

/*--------------------------------------------------------------
  8. Forms & Inputs
--------------------------------------------------------------*/
.selected_round {
  min-width: 160px;
  margin: 0 40px 15px 0;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 1rem;
  font-family: var(--font-body);
  padding: 10px 32px 10px 12px;
  appearance: none;
  background: var(--white) url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='10' height='5' viewBox='0 0 10 5'><path fill='%23fff' d='M0 0l5 5 5-5z'/></svg>") no-repeat right 10px center/10px 5px;
  outline: none;
  color: white
}

.contact-box input,
.register-box input,
.login-box input,
.reset-box input {
  width: calc(100% - 20px);
  padding: 10px;
  margin-bottom: 15px;
  border: 1px solid var(--gray-dark);
  border-radius: 4px;
  font-size: 1em;
  font-family: var(--font-body);
}

.form-message {
  margin-top: 1rem;
  display: block;
}

/*--------------------------------------------------------------
  9. Buttons & Links
--------------------------------------------------------------*/
.btn-submit,
.btn-submit_alt,
.btn-submit_sec {
  padding: 10px 20px;
  color: var(--white);
  border-radius: 24px;
  font-size: 1rem;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s ease;
  box-sizing: border-box;
  text-decoration: none;
  margin-top: auto;
  align-self: flex-start;
  font-family: var(--font-body);

}

.btn-submit { 
  background: var(--primary); 
  border: none; 
}
.btn-submit_alt { 
  background: var(--primary); 
  border: 2px solid var(--white); 
}
.btn-submit_sec { 
  background: var(--accent-secondary); 
  border: solid 1px var(--color-secondary); 
  color: var(--color-secondary) 
}

/* Knoppen Stand */
.tab-button,
.sub-tab-button {
  display: inline-block;
  padding: 10px 20px;
  margin-right: 5px;
  border: none;
  background: var(--primary);
  color: var(--white);
  cursor: pointer;
  border-radius: 24px;
  font-variant: small-caps;
  text-transform: uppercase;
}

.tab-button.active,
.sub-tab-button.active {
  background: var(--accent-secondary);
  color:black; 
  font-weight: bold; 
  border: 1px solid black; 
}

.tab-content { 
  display: none; 
}
.tab-content.active { 
  display: block; 
}

.extra-links { 
  text-align: right; 
}
.extra-links a { 
  color: var(--primary); 
  text-decoration: none; 
}
.extra-links a:hover { 
  text-decoration: underline; 
}

.change_club a {
  font-size: 0.7em;
  text-decoration: none;
  font-variant: small-caps;
  text-transform: uppercase;
  color: var(--primary);
}
.change_club a:visited { 
  color: var(--primary); 
}
.change_club a:hover { 
  text-decoration: underline; 
}

.login-actions .forgot-link { 
  text-decoration: none; 
  margin-left: 1rem; 
  color: var(--primary); 
}
.login-actions .forgot-link:hover { 
  text-decoration: underline; 
}

/*--------------------------------------------------------------
  10. Profile Page
--------------------------------------------------------------*/
.profile_header { 
  display: flex; 
  justify-content: space-between; 
  align-items: flex-start; 
  margin-bottom: 2rem; 
}
.right-side { 
  display: flex; 
  flex-direction: column; 
  align-items: center; 
}
.club-display { 
  display: flex; 
  flex-direction: column; 
  align-items: flex-start; 
  gap: 5px; 
}
#club-form { 
  display: none; 
}

/*--------------------------------------------------------------
  11. Spinner & Modal
--------------------------------------------------------------*/
.spinner-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 200px;
  text-align: center;
  padding: 2rem;
  opacity: 1;
  transition: opacity 0.8s ease;
}
.spinner-container.fade-out { 
  opacity: 0; 
  pointer-events: none; 
}

.spinner {
  width: 40px;
  height: 40px;
  border: 8px solid #ccc;
  border-top: 8px solid var(--primary);
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin: 1rem auto 20px;
}

@keyframes spin { 
  to { transform: rotate(360deg); } 
}
@keyframes fadeIn { 
  from { opacity: 0; } 
  to { opacity: 1; } 
}

#spinner-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 2000;
  justify-content: center;
  align-items: center;
}


/* ===============================
   MOBILE TOGGLE BUTTONS
================================ */
.table-controls {
    display: flex;
    gap: 8px;
    justify-content: flex-end;
    width: 100%;
    margin-top: 5px;
    margin-bottom: -10px;
}

.col-joker, .col-score, .col-pts {
    width: 3.05rem; 
    min-width: 3.05rem;
    text-align: center;

}

.btn-toggle {
    background: #f0f0f0;
    border: 1px solid #ccc;
    padding: 4px 10px;
    border-radius: 20px;
    cursor: pointer;
    font-size: 0.85rem;
    transition: 0.2s;
    width: 2.5rem; 
    min-width: 2.5rem;

}

.btn-toggle.active {
    background: var(--primary);
    border-color: var(--primary);
    font-weight: bold;
}

@media (min-width: 769px) {
    .mobile-only-text {
        display: none !important;
    }

    .col-joker,
    .col-score,
    .col-pts {
        display: table-cell !important;
    }

    .table-controls {
        display: none !important;
    }
}

@media (max-width: 768px) {
    .desktop-only-text {
        display: none !important;
    }

    .col-joker,
    .col-score,
    .col-pts {
        display: none;

    }

    .active-col {
        display: table-cell !important;
    }

    .stats-table td {
        font-size: 0.9rem;
    }

}



@media (max-width: 768px) {
    .table-controls {
        display: flex !important;
    }
}

.table-controls {
    display: none; /* standaard verborgen */
    gap: 5px;
}
/*--------------------------------------------------------------
  12. Responsive
--------------------------------------------------------------*/
.mobile { 
  display: none; 
  flex-direction: column; 
  align-items: flex-start; 
  gap: 2px; 
}
.desktop { 
  display: flex; 
}
.show-mobile { 
  display: none; 
}
.rotate-icon { 
  display: none; 
}

.mobile-only {
  display: none;
}
.desktop-only {
  display: inline;
}

@media (max-width: 499px) {
  h2 { 
    font-size: 1.3rem; 
    font-variant: small-caps; 
    text-transform: uppercase; 
    margin-bottom: 0.625rem; 
    color: var(--primary); 
  }

  .wrapper-login .column,
  .wrapper-reset .column { 
    flex: 1 1 100%; 
  }

  .btn-picks {
    padding: 0.6rem 1rem;
    margin-bottom: 0.6rem;
    font-size: 0.9rem;
  }

  .standings-table th,
  .standings-table td {
    padding: 0.25rem 0.2rem;

  }

.standings-table th:nth-child(0),
.standings-table td:nth-child(0) {
  padding: 0rem;
}

  .pick-table th,
  .pick-table td {
    padding: 0.25rem 0.15rem;
    font-size: 1rem;
  }

  .tab-button .full-label,
  .sub-tab-button .full-label {
    display: none;
  }
  .tab-button::after,
  .sub-tab-button::after {
    content: attr(data-short);
    font-weight: 700;
  }

    .club-table .logo {
    /* Plaats hier uw stijlen */
    width: auto;          /* Bijv. maak het logo 30 pixels breed */
    height: 0.8rem;         /* En 30 pixels hoog */
    margin-right: 2px;   /* Voeg wat ruimte rechts toe */
    margin-left: 2px;   /* Voeg wat ruimte rechts toe */
}

  .hide-mobile { 
    display: none; 
  }
  .show-mobile { 
    display: block; 
  }
  .columns { 
    flex-direction: column; 
  }

  .rotate-icon { 
    display: inline-block; 
  }

  .mobile { 
    display: flex; 
  }
  .desktop { 
    display: none; 
  }
  .vs-text { 
    display: none; 
  }
  .match-option { 
    justify-content: flex-start; 
  }

  .mobile-only { 
    display: inline; 
  }        
  .desktop-only { 
    display: none; 
  }

  .tab-button, .sub-tab-button {
    /* Minder verticale padding, minder breedte */
    padding: 8px 16px; 
    
    /* Verminderde ruimte tussen de knoppen */
    margin: 0 4px 0 0; 
}

    /* Zorg ervoor dat de desktop tekst verdwijnt */
    .desktop-only-text {
        display: none !important; 
    }

    /* Zorg ervoor dat de mobiele tekst verschijnt */
    .mobile-only-text {
        display: inline !important; 
    }



.joker-block,
.joker-block-used {
  border: 1px solid rgba(190, 158, 85, 0.8);

}
}



/*--------------------------------------------------------------
  13. Stand (ranking.php)
--------------------------------------------------------------*/
.rotate-icon {
  max-height: 1.2rem;
  height: 1em;
  vertical-align: middle;
  margin-left: 8px;
}

.update-info { 
  font-style: italic; 
}

hr {
  border: none;
  height: 1px;
  background-color: color-mix(in srgb, var(--primary) 40%, transparent);
  margin: 0rem 0 0 0;
}

  match-hr {
  border: 0;
  border-bottom: 2px solid transparent;
  border-image: var(--border-gradient-country);
  border-image-slice: 1;
  margin: -1rem auto 1rem auto;
  width: 15rem;
}

.match-separator
{
  height: 3px;
  width: auto;
}

.small[data-utc-time] {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.8);
  font-weight: bold;
  margin-left: 0.5rem;
}

.gespeeld {
  margin-top: 1rem;
}

/*--------------------------------------------------------------
  13. Profielpage
--------------------------------------------------------------*/

/* Game list */
ul.game-list {
  list-style: none;
  padding: 0;
  margin: 0; 
}

ul.game-list li {
  margin-bottom: 0.5rem;
  border-radius: 6px;
}

/* Stijl voor de link (a) - Standaard staat, actieve staat en bezochte staat */
ul.game-list a,
ul.game-list a:visited,
ul.game-list a:active {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  
  padding: 0.6rem 1rem;
  border-radius: 6px;
  
  /* ACHTERGROND: Wit (255, 255, 255) met 90% dekking (alpha 0.8) */
  background-color: rgba(255, 255, 255, 0.9);
  
  text-decoration: none;
  font-weight: 500;
  
  /* TEKSTKLEUR: Primary Dark */
  color: var(--primary-dark);
  
}

/* Hover staat */
ul.game-list a:hover {
  /* ACHTERGROND: Primary Dark */
  background-color: var(--primary-dark);
  
  /* TEKSTKLEUR: Primary */
  color: var(--primary); 
  
  /* FONT: Bold */
  font-weight: bold;
}

/* Logo blijft ongewijzigd */
ul.game-list .game-logo {
  width: 1.3rem;
  flex-shrink: 0;
}

/* Action list */
ul.action-list {
  list-style: none;
  padding: 0;
  color: var(--text-color); /* standaard tekstkleur */
}

ul.action-list li {
  margin-bottom: 0.5rem;
  border-radius: 6px;
  transition: background-color 0.3s ease;
}

ul.action-list a {
  display: block;
  padding: 0.6rem 1rem;
  border-radius: 6px;
  background-color: rgba(0, 0, 0, 0.04);
  text-decoration: none;
  font-weight: 500;
  color: var(--text-color);
  transition: background-color 0.3s ease;
}

ul.action-list a:hover {
  background-color: rgba(0, 0, 0, 0.12);
  font-weight: bold;
}


/* Active state for password link */
#toggle-password-link.active {
  font-weight: bold;
  color: var(--white);
  background-color: var(--primary);
}

/*--------------------------------------------------------------
  13. Subleagues
--------------------------------------------------------------*/
.subleague-heading {
  font-weight: 600;
  color: #2c3e50;
  margin-top: 1.5em;
}


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

.subleague-list li {
  margin-bottom: 0.5rem;
    color: var(--primary-dark);

}

.subleague-list a {
  text-decoration: none;
  color: var(--text-color);
  display: block;
  padding: 1rem;
  background-color: #f0f0f0;
  border-radius: 8px;
  transition: background-color 0.3s ease;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.subleague-list h3 {
  margin: 0.5rem;
  font-size: 1.2rem;
  color: var(--primary-dark);
}


.subleague-list a.active,
.subleague-list li.active a {
  background-color: #e0e0e0;
}

.subleague-list a:hover {
  background-color: #dcdcdc;
}
.subleague-list li.open a {
  background-color: var(--primary);
  color: var(--white);
}

.form-box-subleague {
  border: 1px solid var(--primary);
  padding: 1.5rem;
  margin-top: 1rem;
  border-radius: 8px;
  background-color: #f9f9f9;
}
.form-box-subleague_sec {
  border: 1px solid #ccc;
  padding: 1.5rem;
  margin-top: 1rem;
  border-radius: 8px;
  background-color: #f9f9f9;
}

.form-box-subleague input[type="text"] {
  width: 100%;
  padding: 0.8rem;
  font-size: 1rem;
  font-family: var(--font-body);
  margin-top: 0.5rem;
  border: 1px solid #ddd;
  border-radius: 4px;
  box-sizing: border-box;
}

.form-box-subleague button {
  padding: 0.8rem 1.5rem;
  color: var(--white);
  border: none;
  cursor: pointer;
  font-size: 1rem;
  transition: background-color 0.3s ease;
}

.form-box-invite {
  margin-left: 0rem;
  color: var(--primary-dark);
}


.invite_friends {
  margin-left: 1.5rem;
  color: white;
}

.invite-input {
  font-family: var(--font-body);
  font-size: 1em;
  width: 80%;
  padding: 0.6em 1em;
  border: 1px solid #ccc;
  border-radius: 6px;
    color: var(--primary-dark);
background-color: #f9f9f9;
  resize: none;
  box-sizing: border-box;
  white-space: pre-wrap;
  overflow-wrap: break-word;
  overflow: hidden;
  margin-top: 0.5rem;
}

.share-buttons {
  display: flex;
  gap: 1rem;
  margin-top: 1em;
    color: var(--primary-dark);

}

.share-link {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-body);
  font-size: 1em;
  text-decoration: none;
  padding: 0.6em 0.5em;
  border-radius: 6px;
  background-color: #f0f0f0;
  border: 1px solid #ccc;
  transition: background-color 0.3s ease;
  color: var(--primary-dark);
  width: fit-content;
}

.share-link:hover {
  background-color: #e0e0e0;
}

.share-link:visited {
  color: var(--primary-dark);
}

.icon {
  width: 20px;
  height: 20px;
  margin-right: 0.2em;
}

.invite-actions {
  display: flex;
  flex-direction: column;
  gap: 0.6em;
  margin-left: 0.5rem;
}

.button-row {
  display: flex;
  gap: 1.5rem;
}

#temp-info-box {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  padding: 15px 30px;
  border: 1px solid var(--primary);
  background: var(--primary);
  border-radius: 8px;
  z-index: 10000;
  font-weight: bold;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  animation: fadeInOut 3s forwards;
  text-align: center;
  display: none;
  color: var(--white);
}

.link-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 1em;
  gap: 1.4em;
  margin-left: 0.5rem;
}

.nav-left a,
.nav-right a {
  text-decoration: none;
  font-weight: bold;
}

.whatsapp-icon {
  font-size: 1.2em;         /* maakt het groter */
  color: #25D366;           /* officiële WhatsApp-groen */
  margin-left: 0.3em;       /* optioneel: ruimte tussen tekst en icoon */
  vertical-align: middle;   /* uitlijning met tekst */
}


/* Standaard (Desktop): Toon de lange tekst, verberg de korte tekst */
.desktop-only-text {
    display: inline;
}

.mobile-only-text {
    display: none;
}


.trash-icon {
  /* Zorgt ervoor dat de knop zelf geen randen of achtergrond heeft */
  border: none;
  background: none;
  cursor: pointer;
  
  /* Optioneel: Vergroot de emoji voor betere zichtbaarheid */
  font-size: 1rem; 
  
  /* Simuleert een lichter/witter icoon met een heldere schaduw */
  /* Wit (of een zeer lichte kleur) als basis, met een kleine verspreiding */
  text-shadow: 
    0 0 2px #fff, 
    0 0 6px #fff; 
}
/* Hover-effect om aan te geven dat het klikbaar is */
.trash-icon:hover {
  text-shadow: 
    0 0 2px #fff, 
    0 0 6px #fff; 
}

#subleague-label, #subleague-invite-label {
    /* Gebruik de variabele --white die je in je :root hebt gedefinieerd */
    color: white; 
    /* Eventueel vetgedrukt voor betere zichtbaarheid */
    font-weight: bold; 
}