:root {
  --text-primary: #FFFFFF;
  --text-secondary: #718096;
  --text-button: #177CBF;
  --color-background-primary: #1A202C;
  --color-background-accent: #131720;
}

/*
:root {
  --text-primary: #2A2D34;
  --text-secondary: #40444F;
  --text-button: #009DDC;
  --color-background-primary: #EEF0F2;
  --color-background-accent: #DCE0E4;
}
*/

  body {
    font-family: "kade", sans-serif;
    margin: 0 auto;
    padding: 0;
    background-color: var(--color-background-primary);
    overflow-x: hidden;
  }
  
  header {
    color: var(--text-primary);
    padding: 20px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 80vw;
    margin: 0 auto;
  }

  .logo-link {
    padding: none;
    margin: none;
  }

  .logo-image {
    height: 75px;
  }

  nav {
    display: flex;
    justify-content: space-between;
    width: 100%;
  }

  nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
  }

  nav li {
    margin: 0;
    font-weight: 500;
  }

  nav li:last-child {
    margin-right: 0;
  }

  nav a {
    color: var(--text-primary);
    font-size: 1rem;
    text-decoration: none;
    margin-right: 20px;
    padding: 10px 20px;
    border-radius: 5px;
    transition: background-color 0.3s ease;
  }

  #nav-links a:hover {
    background-color: #1f2735;
    transition: background-color 0.3s ease;
  }

  #nav-links-wrapper {
    flex: 1;
  }

  ul#nav-links {
    padding: 0;
  }

  #buttons-wrapper {
    display: flex;
    justify-content: flex-end;
    align-items: center;
  }

  .nav-button {
    padding: 10px 20px;
    border-radius: 5px;
    border-width: 2px;
    border-color: var(--text-button);
    outline: inherit;
    color: var(--text-primary);
    border-style: solid;
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 700;
  }

  .nav-button.signup {
    background-color: var(--text-button);
    border-color: transparent;
    transition: background-color 0.2s ease;
  }

  .nav-button.nav-button.signup:hover {
    background-color: #135a8e;
  }

  .nav-button.login {
    background: none;
    margin-right: 15px;

    transition: background-color 0.2s ease;
  }

  .nav-button.login:hover {
    background-color: #1f2735;
  }


  #burger-menu, #mobile-nav {
    display: none;
    z-index: 1001;
  }

  #mobile-nav {
    position: fixed;
    top: 0;
    right: -70%;
    width: 70%;
    height: 100%;
    background-color: var(--color-background-accent);
    z-index: 1000;
    overflow-y: auto;
    transition: right 0.3s ease-in-out;
  }

  #nav-links-wrapper-mobile {
    display: none;
  }

  #mobile-nav.closed {
    right: -70%;
  }

  #mobile-nav.open {
      right: 0;
  }

  h1 {
    color: var(--text-primary);
    font-weight: 700;
    font-size: 2rem;
    line-height: 1.15;
    text-transform: uppercase;
    margin-top: 50px;
    margin-bottom: 0;
  }

  :-webkit-any(article, aside, nav, section) h1 {
    margin-block-start: none;
    margin-block-end: none;
}

  .logo-text {
    text-decoration: none;
    color: inherit;
  }

  h2 {
      color: var(--text-primary);
      font-weight: 400;
      font-size: 1.4rem;
      margin-block-start: none;
      margin-block-end: none;
      margin-bottom: 20px;
  }

  h3 {
    margin-top: 0;
    margin-bottom: 0;
  }

  h4 {
    margin-top: 10px;
    margin-bottom: 50px;
  }

  p {
      color: var(--text-primary);
      font-size: 1rem !important;
      font-weight: 300 !important;
      line-height: 1.4 !important;
  }

  .custom-popup-class {
    background-color: var(--color-background-primary);
    border: 2px solid var(--text-button);
    color: var(--text-primary);
  }

  /* INDEX PAGE */

  #hero-section {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: var(--color-background-accent);
    height: 640px; 
    width: 100%;
    position: relative;
    overflow-x: hidden !important;
  }

  #padelcourt-pic {
    position: absolute;
    mix-blend-mode: soft-light;
    z-index: 1;
  }

  #padel-balls1 {
    position: absolute;
    left: -120px;
    bottom: 20px ;
    opacity: 0.2;
    overflow: hidden;
  }

  #padel-balls2 {
    position: absolute;
    right: -40px;
    top: 30px ;
    opacity: 0.2;
    overflow: hidden;
  }
  
  .about-content {
    max-width: 590px;
    padding: 50px;
    text-align: center;
    z-index: 2;
  }

  .about-content.login {
    max-width: 700px;
    padding: 0px;
    text-align: center;
    z-index: 2;

  }

  .about-content h1 {
    font-size: 2.9rem;
  }

  .about-content span {
    color: var(--text-button);
  }

  .hero-button {
    padding: 12px;
    border-radius: 5px;
    border-width: 2px;
    border-color: var(--text-button);
    outline: inherit;
    color: var(--text-primary);
    border-style: solid;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 700;
    background-color: var(--text-button);
    text-decoration: none;

    transition: background-color 0.2s ease;
  }

  .hero-button:hover {
    background-color: #135a8e;
    border-color: transparent;
  }

  .about-content h2::after {
    content: '';
    height: 20px;
    display: block;
}
  
  .content-wrapper-page {
    max-width: 80vw;
    margin: 0 auto;
  }

  .padding-wrapper {
    max-width: 80vw;
    margin: 0 auto;
  }
  

.info-section h4, .info-section h1 {
  text-align: center;
}

.info-section h4 {
  color: var(--text-secondary);
  font-weight: 400;
}

.section-header-text {
  width: 750px;
  margin: 0 auto;
}

.info-container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-gap: 60px 20px;
  background-color: var(--color-background-primary);
  align-items: start;
}

.card {
  padding: 20px;
  /* background-color: var(--color-background-accent); */
  color: white;
  border-radius: 5px;
  display: flex; /* Enables Flexbox */
  align-items: stretch; /* Ensures child elements take up full height */
}

.card p {
  color: white;
  font-weight: 400;
  font-size: 0.9rem;
  margin: 5px 0;
  color: var(--text-secondary);
}

.card a {
  color: var(--text-button);
}

.icon-div {
  display: flex;
  flex: 0.2;
  align-items: flex-start;
  justify-content: center;
}

.content-info {
  display: flexbox;
  flex: 0.8;
  align-items: center;
  justify-content: center;
}

.content-info a {
  display: none;
}

.community-join-section {
  margin-top: 80px;
  height: 350px;
  background-color: var(--color-background-accent);
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 0 10%; /* This will give the same padding effect as 80vw width of the wrapper */
}

.community-join-section h1 {
  margin-top: 0;
  margin-bottom: 0;
}

.hero-button.join {
  display: inline-block;
  margin-top: 5px;
}

.collaborating-with-section {
  background-color: var(--text-button);
  padding: 25px 10%;
}

.collaborating-with-section h1 {
  margin-top: 0;
  margin-bottom: 0;
}

.grid-wrapper {
  display: grid;
  align-items: center;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: 1fr;
  grid-column-gap: 50px;
  grid-row-gap: 0px;
}

.info-container-collab {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-gap: 20px;
  align-items: center;
}

.card-collab {
  padding: 20px;
  /* background-color: var(--color-background-accent); */
  color: white;
  border-radius: 5px;
  display: flexbox; /* Enables Flexbox */
  align-items: center; /* Ensures child elements take up full height */
}

.img-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  border: 1px solid var(--color-background-accent);
  border-radius: 15px;
  max-width: fit-content;
  height: fit-content;
  margin: 0 auto;
  margin-bottom: 25px;
  background-color: #13172033;
}

.img-wrapper img {
  box-sizing: border-box;
  height: 415px;
  width: auto;
  border: 1px solid var(--color-background-accent);
  border-radius: 10px;
  margin: 10px;
  z-index: 29;
}

.text-columns-container {
  display: flex;
  justify-content: space-around;
  background-color: var(--color-background-accent);
  padding: 2em;
  border-radius: 10px;
  margin-top: 5em;
}

.text-columns-container .column {
  flex: 1 1 0px;
  margin: 0 1em;
  color: #fff;
}

.text-columns-container .column p {
  color: white;
}

.text-columns-container .column a {
  text-decoration: none;
  
}

.faq-section {
  margin-top: 5em;
}

.faq-section h1 {
  margin-bottom: 40px;
}

.faq {
  /* border: 1px solid var(--color-background-dark-accent); */
  margin-bottom: 10px;
  border-radius: 5px;
  overflow: hidden;
  transition: max-height 0.4s ease-in-out;
}

.faq-question {
  background: var(--color-background-accent);
  color: #fff;
  padding: 15px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-answer {
  background: var(--color-background-accent);
  padding: 15px;
  display: none;
  line-height: 1.5;
  color: white;
}

.faq.active .faq-answer {
  display: block;
}

.faq-toggle {
  transition: transform 0.3s ease-in-out;
  font-size: 28px;
  font-weight: 600;
  color: var(--text-button);
}

.faq.active .faq-toggle {
  transform: rotate(45deg);
}

/* FOOTER SECTION */

footer {
  background-color: var(--color-background-primary);
  text-align: center;
  padding: 10px;
  margin-top: 50px;
}

.footer-container {
  display: flex;
  justify-content: space-between; /* This will push the logo to the right and the grid to the left */
  align-items: flex-start;
}

.logo-footer {
  margin-left: 20px; /* Optional: Add some spacing between the grid and the logo */
}

.logo-footer img {
  width: 100px;
  height: auto;
}

.footer-grid {
  display: flex;
  text-align: left;
  flex-wrap: wrap;
  gap: 200px;
  margin-bottom: 50px;
}

.footer-col h4 {
  font-weight: bold;
  margin-top: 0;
  margin-bottom: 5px;
  color: var(--text-secondary);
  text-transform: uppercase;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-col ul li a {
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 400;
  font-size: 14px;
}

footer p {
  color: var(--text-secondary) !important;
  font-weight: 400;
  font-size: 14px;
}

.footer-col i {
  font-size: 25px;
}

/* LOGIN / SIGNUP PAGE */

#hero-section-login {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 640px; 
  width: calc(100vw - 17px); /* subtracting the scrollbar width */
  position: relative;
  flex-direction: column;
}

.form-container {
  padding: 20px;
  border-radius: 5px;
  position: relative;
}

#signup-form .form-label, #loginForm label {
  display: block;
  margin: 10px 0;
  color: var(--text-secondary);
  font-weight: 500;
  text-align: left;
}

.form-group {
  position: relative;
  margin-bottom: 1em;
  padding-right: 10%;
  max-width: 300px;
}

.form-group.consent {
  min-width: 200%; /* or any other preferred width */
  left: 50%;
  transform: translateX(-50%); /* this will center the div */
  display: flex;
  justify-content: center;
  gap: 10px;
  color: var(--text-secondary);
  align-items: center;
}

.form-group.consent input[type="checkbox"] {
  width: 18px;
  height: 18px;
}

.form-group.consent a {
  color: var(--text-button);
}

.form-label {
  position: absolute;
  top: 6px;  /* Adjust as needed */
  left: 10px;  /* Adjust as needed */
  font-size: 1em;
  transition: all 0.1s ease-in-out;
}

.form-group input:valid + .form-label,
.form-group input:focus + .form-label {
  top: 0;
  font-size: 0.75em;  /* Adjust as needed */
}

.about-content-signup {
  max-width: 590px;
  padding: 50px;
  text-align: center;
  z-index: 2;
}

#loginForm input[type="text"],
#loginForm input[type="email"],
#loginForm input[type="password"],
#loginForm input[type="number"],
#signup-form input[type="text"],
#signup-form input[type="email"],
#signup-form input[type="password"],
#signup-form input[type="number"],
#signup-form input[type="tel"]  {
  width: 100%;
  height: 30px;
  padding: 20px 10px 0 10px;
  border-radius: 5px;
  border: 2px solid var(--text-button);
  background: var(--color-background-accent);
  color: var(--text-primary);
  font-weight: 600;
  font-size: 1rem;
}

#loginForm select, #signup-form select {
  width: 90%;
  padding: 10px 10px 10px 5px;
  border-radius: 5px;
  border: 2px solid var(--text-button);
  background: var(--color-background-accent);
  color: var(--text-primary);
  font-weight: 600;
  font-size: 1rem;
  margin-bottom: 20px;
  cursor: pointer;
}

#loginForm select:required:invalid, 
#signup-form select:required:invalid {
  color: var(--text-secondary);
}

#loginForm input[type="submit"],
#signup-form input[type="submit"] {
  margin-top: 10px;
  padding: 15px;
  background-color: var(--text-button);
  border: none;
  border-radius: 5px;
  color: var(--text-primary);
  cursor: pointer;
  font-weight: 600;
  font-size: 1rem;

  transition: background-color 0.2s ease;
}

#signupBtn {
  display: block;
  margin: 0 auto;
}

#loginForm input[type="submit"]:hover,
#signup-form input[type="submit"]:hover {
  background-color: #135a8e;
}

#togglePassword, #togglePassword2, #togglePassword3 {
  cursor: pointer;
  position: absolute;
  right: 15px;
  top: 20px;
  color: var(--text-secondary);
}

.password-reset-text a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.9rem;
}

.password-reset-text a:hover {
  border-bottom: 1px solid var(--text-secondary);
}

.password-reset-text {
  margin-top: -10px;
  margin-bottom: 15px;
}

#open-modal-button-signup {
  cursor: pointer;
  position: absolute;
  right: 20px;
  top: 20px;
  color: var(--text-secondary);
  z-index: 3;
}

#modal-backdrop-signup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 3;
}

#modal-signup {
  background-color: var(--color-background-primary);
  padding: 20px;
  border-radius: 5px;
  max-width: 90%;
  position: relative;
  border: 2px solid var(--text-button);
  z-index: 3;
  display: flex;
  justify-content: center;  /* center horizontally */
  align-items: center;  /* center vertically */
}

#close-modal-button-signup {
  position: absolute;
  top: 10px;
  right: 10px;
  background: none;
  border: none;
  font-size: 35px;
  cursor: pointer;
  color: #FF5A5F;
  z-index: 3;
}

.niveau-help-img {
  width: 90%;
  height: auto;
}

#message {
  margin-top: 60px;
  color: #FF5A5F;
  text-align: center;
}

/* PROFILE PAGE */

.profile-section {
  background-color: var(--color-background-accent);
  display: flex;
  flex-direction: column; /* ADD THIS */
  align-items: stretch;
  justify-content: flex-start;
  padding: 3% 10%; 
}


.dropdown-container {
  position: relative;
  display: inline-block;
}

.dropdown-toggle {
  background-color: transparent;
  color: white;
  padding: 10px 20px;
  font-size: 1rem;
  font-weight: 500;
  border: none;
  cursor: pointer;
  font-family: "kade", sans-serif;
  border-radius: 5px;
  transition: background-color 0.3s ease;
}

.dropdown-toggle:hover {
  background-color: #1f2735;
  transition: background-color 0.3s ease;
}

.dropdown-toggle.active {
  background-color: #1f2735;
}

#dropdownArrow {
  transition: transform 0.3s;
  margin-left: 8px;
}


.dropdown-menu {
  display: none;
  position: absolute;
  background-color: #f9f9f9;
  min-width: 160px;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  border-radius: 5px;
  top: 100%; /* Position it right at the bottom of the dropdown-toggle */
  left: 50%; /* Move the left edge of the dropdown to the center */
  transform: translateX(-50%); /* Shift the dropdown-menu to the left by half its width */
  z-index: 1;
}

.dropdown-menu a {
  color: black;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
  margin: 0;
  font-size: 1rem;
}

.dropdown-menu a:hover,
.profile-logout-button:hover {
  background-color: #e7e7e7;
  border-radius: 5px;
}

.profile-logout-button {
  padding: 12px 16px;
  border-radius: 5px;
  outline: none;
  border-style: none;
  cursor: pointer;
  font-size: 1rem;
  background-color: #f9f9f9;
  width: 160px;
  text-align: left;
}

.padel-level {
  text-align: center;
  width: 30px;
  color: var(--text-primary);
  background-color: var(--text-button);
  padding: 2px 5px;
  display: block;
  border: 2px solid var(--text-button);
  border-radius: 5px;
  font-weight: 500;
  font-size: 1.1rem;
}

.niveau-change-span {
  display: block;
  text-align: center;
}

.profile-picture img {
  width: 100px !important;  /* Set the width of the image */
  height: 100px !important; /* Set the height of the image */
  margin-right: 20px; /* Add some space between the image and the text */
  border: 3px solid var(--text-button);
  border-radius: 50%; /* Optional: Round the image to make it circular */
  object-fit: cover; /* Ensure the aspect ratio of the image is preserved */
}

.profile-info-text h1 {
  margin-top: 0;
}

.profile-picture {
  margin-right: 20px; /* Add some space between the image and the text */
  position: relative;
  width: 100px;  /* Set the width of the profile-picture div */
  height: 100px; /* Set the height of the profile-picture div */
  /* Other styles for .profile-picture */
}

.profile-picture img {
  width: 100%;
  height: auto;
  cursor: pointer;
}

#editIcon {
  display: none;
  position: absolute;
  top: 55%;
  left: 55%;
  transform: translate(-50%, -50%);
  font-size: 1.5em;
  color: white;
  cursor: pointer;
}

.profile-picture:hover img {
  opacity: 0.5;
}

.profile-picture:hover #editIcon {
  display: block;
}

.profile-top {
  display: flex;
}

.profile-card-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-gap: 20px;
  margin-top: 50px;
}

.profile-card {
  padding: 10px;
  background-color: var(--color-background-primary);
  color: white;
  border-radius: 5px;
  border: 2px solid var(--color-background-primary);
}

.profile-card h3 {
  color: white;
  text-align: center;
  font-size: 20px;
}

.match-container {
  width: 100%; 
  height: 250px; /* set the height as per your need */
  overflow-y: auto; /* Enable vertical scroll */
  display: flex; 
  flex-direction: column; 
  align-items: stretch; 
}

.match-container::-webkit-scrollbar {
  width: 10px;  /* Adjust the width of the scrollbar */
}

.match-container::-webkit-scrollbar-track {
  background-color: var(--text-secondary);  /* Background color for the track */
  border-radius: 10px;  /* You can even have rounded corners for the track */
}

.match-container::-webkit-scrollbar-thumb {
  background-color: var(--text-primary);  /* Color of the draggable scrollbar element */
  border-radius: 5px;  /* Rounded corners for the scrollbar thumb */
}

.match-container::-webkit-scrollbar-thumb:hover {
  background-color: #d8dee7;  /* Color of the scrollbar thumb on hover */
}

.match {
  width: 100%;
  margin: 10px 0;
  padding: 10px 0;
  background-color: var(--color-background-primary);
  border-radius: 5px;
  display: flex;
  align-items: center;
}

.match-content,
.more-info {
  display: flex;
  flex-direction: column;
}

.more-info {
  margin-left: auto; /* Pushes this div to the right side of the .match div */
  text-align: right;
}

.match i {
  margin-right: 10px; /* creates space between the icon and the text */
  color: var(--text-button); /* changes color of the icon */
  font-size: 40px;
}

.played-matches-section h1 {
  text-align: center;
  margin-bottom: 20px;
}

.played-matches-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr); /* Creates a responsive grid */
  gap: 20px; /* Space between the cards */
  padding: 20px 0;
}

.played-match-card {
  padding: 20px;
  background-color: var(--color-background-accent);
  border-radius: 5px;
  color: var(--text-primary);
}

.played-match-header {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
}

.played-match-header i {
  margin-right: 15px;
  color: var(--text-button);
  font-size: 30px;
}

.played-match-header h2 {
  margin: 0;
  font-size: 20px;
}

.played-match-details {
  display: flex;
  flex-direction: column;
}

.played-match-details div:nth-child(3) {
  margin-bottom: 8px;
}

.participant-images img {
  width: 35px;
  height: 35px;
  border-radius: 50%;
  margin-right: 5px;
  border: 2px solid var(--text-button);
  object-fit: cover;
}

.badge-result {
  padding: 2px 6px;
  border-radius: 5px;
  color: white;
  font-weight: bold;
  width: fit-content;
  text-align: center;
  margin-bottom: 20px;
}

/* The Modal */
.result-modal {
  display: none;
  position: fixed;
  z-index: 1;
  padding-top: 100px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0,0,0,0.4);
}

.result-modal-content {
  background-color: var(--color-background-primary);
  margin: auto;
  padding: 20px;
  border: 2px solid var(--text-button);
  width: 30%;
  border-radius: 5px;
  color: var(--text-primary);
}

.close {
  color: #FF5A5F;
  float: right;
  font-size: 28px;
  font-weight: bold;
}

.close:hover, .close:focus {
  color: #c74449;
  text-decoration: none;
  cursor: pointer;
}

.matchOutcome-wrapper {
  margin-bottom: 15px;
}

.set-scores {
  margin-top: 20px;
}

.set-score {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  border: 1px solid #ccc;
  border-radius: 10px;
  padding: 10px;
  margin-bottom: 10px;
}

.set-score h3 {
  flex-basis: 100%;
  margin: 0;
  margin-bottom: 10px;
}

.set-score label,
.set-score input[type="number"] {
  margin: 5px;
}

input[type="submit"] {
  background-color: #007bff;
  color: #fff;
  border: none;
  padding: 10px 20px;
  border-radius: 5px;
  cursor: pointer;
}

input[type="submit"]:hover {
  background-color: #0056b3;
}

.sets-wrapper {
	background: var(--color-background-accent);
	padding: 4px;
	border-radius: 5px;
	position: relative;
  width: fit-content;
}

.sets-wrapper input {
	width: auto;
	height: 100%;
  margin: 2px;
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	outline: none;
	cursor: pointer;
	border-radius: 2px;
	padding: 8px 45px;;
	background: var(--color-background-primary);
	color: var(--text-secondary);
	font-size: 1rem;
  font-weight: 500;

	transition: all 100ms linear;
}

.sets-wrapper input:checked {
	background-color: var(--text-button);
	color: #fff;
}

.sets-wrapper input:before {
	content: attr(label);
	display: inline-block;
	text-align: center;
	width: 100%;
}


.lds-spinner {
  position: absolute;
  width: 50px;
  height: 50px;
  top: 15%;
  left: 15%;
}
.lds-spinner div {
  transform-origin: 40px 40px;
  animation: lds-spinner 1.2s linear infinite;
}
.lds-spinner div:after {
  content: " ";
  display: block;
  position: absolute;
  top: 3px;
  left: 37px;
  width: 6px;
  height: 18px;
  border-radius: 20%;
  background: #fff;
}
.lds-spinner div:nth-child(1) {
  transform: rotate(0deg);
  animation-delay: -1.1s;
}
.lds-spinner div:nth-child(2) {
  transform: rotate(30deg);
  animation-delay: -1s;
}
.lds-spinner div:nth-child(3) {
  transform: rotate(60deg);
  animation-delay: -0.9s;
}
.lds-spinner div:nth-child(4) {
  transform: rotate(90deg);
  animation-delay: -0.8s;
}
.lds-spinner div:nth-child(5) {
  transform: rotate(120deg);
  animation-delay: -0.7s;
}
.lds-spinner div:nth-child(6) {
  transform: rotate(150deg);
  animation-delay: -0.6s;
}
.lds-spinner div:nth-child(7) {
  transform: rotate(180deg);
  animation-delay: -0.5s;
}
.lds-spinner div:nth-child(8) {
  transform: rotate(210deg);
  animation-delay: -0.4s;
}
.lds-spinner div:nth-child(9) {
  transform: rotate(240deg);
  animation-delay: -0.3s;
}
.lds-spinner div:nth-child(10) {
  transform: rotate(270deg);
  animation-delay: -0.2s;
}
.lds-spinner div:nth-child(11) {
  transform: rotate(300deg);
  animation-delay: -0.1s;
}
.lds-spinner div:nth-child(12) {
  transform: rotate(330deg);
  animation-delay: 0s;
}
@keyframes lds-spinner {
  0% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}


/* MATCHES PAGE */

#modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1002;
}

#modal {
  background-color: var(--color-background-primary);
  padding: 20px;
  border-radius: 5px;
  position: relative;
  width: 450px;
  border: 2px solid var(--text-button);
  z-index: 1000;
}

#close-modal-button {
  position: absolute;
  top: 10px;
  right: 10px;
  background: none;
  border: none;
  font-size: 35px;
  cursor: pointer;
  color: #cf2d2d;
}

.hidden {
  display: none !important;
}

#modal form {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  margin-top: 20px;
}

#modal label {
  font-weight: bold;
  color: var(--text-secondary);
}

#modal input[type="text"],
#modal input[type="datetime-local"],
#modal select {
  padding: 10px;
  border: none;
  border-radius: 5px;
  width: 100%;
  box-sizing: border-box; /* To include padding and border in element's total width and height */
  font-size: 16px;
}

#modal input[type="checkbox"] {
  width: auto; /* Override width for checkbox input */
}

#modal #match_price {
  width: 90%;
}

#modal .price-wrapper {
  display: flex;
  flex-direction: column;
}

.price-wrapper label {
  margin-bottom: 10px;
}

.form-court-wrapper {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(2, 1fr);
  grid-gap: 25px;
}

.form-court-wrapper label {
  display: inline-block;
  margin-bottom: 10px !important;
}

.select2-container .select2-selection--single {
  height: 39px !important; /* Adjust height as needed */
  width: 215px !important;
  padding: 8px 4px !important;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
  line-height: 25px !important; /* Should match the height you set above */
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
  top: 7px !important;
}

.players-container {
  display: flex;
  justify-content: space-between;
  width: 100%;
}

.player-box {
  position: relative;
  width: 120px;
  height: 80px;
  border: 2px dotted var(--text-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--text-secondary);
  font-weight: 600;
  border-radius: 5px;
  background-color: var(--color-background-accent);
}

.player-box:hover {
  border: 2px dotted var(--text-button);
  color: var(--text-button);
}

.player-name {
  text-align: center;
}

.player-name i {
  font-size: 23px;
}

.player-added {
  border: 2px dotted var(--text-button);
  color: var(--text-button);
}

.delete-icon {
  position: absolute;
  top: -2px;
  right: -2px;
  cursor: pointer;
  background-color: #FF5A5F;
  color: var(--text-primary);
  padding: 3px 8px;
  border-radius: 5px;
}

.filter-wrapper {
  margin-top: 30px;
}

.filter-component {
  display: inline-block;
  margin-right: 10px;
  margin-top: 15px;
}

.filter-header {
  display: flex;
  align-items: center;   /* Vertically align items */
}

.selectedFilters {
  gap: 4px; /* Provide a small gap between badges */
  margin-left: auto; /* Push badges to the far right within filter-header */
  display: inline-flex;
  flex-wrap: nowrap; /* Prevent badges from wrapping to the next line */
  white-space: nowrap; /* Prevent text inside badges from wrapping */
}

.selectedFilters.has-filters::before {
  content: "|";
  margin-right: 5px;
  color: var(--text-secondary);  /* Adjust color according to your preference */
}

.filter-container {
  position: relative;
  display: inline-flex;   /* This is fine */
  flex-direction: column; /* This is fine */
  border: 2px dotted var(--text-secondary);
  border-radius: 5px;
  background-color: var(--color-background-accent);
  padding: 0 8px;
}

.filterButton {
  padding: 10px;
  color: var(--text-primary);
  border: none;
  outline: inherit;
  cursor: pointer;
  font-size: 0.85rem;
  font-weight: 700;
  background-color: transparent;
  width: 100%;
}

.filterDropdown {
  display: none;
  position: absolute;
  top: 108%; /* This will make it appear below the filter-header */
  left: 0; /* Align it to the left of filter-container */
  background-color: var(--text-primary);
  width: max-content;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  z-index: 1;
  padding: 10px;
  border-radius: 5px; /* Add a border-radius for a rounded look */
}

.filterDropdown label {
  display: block;
  margin-bottom: 4px;
  cursor: pointer;
  padding: 12px 6px;
  border-radius: 5px;
  color: black;
}

.filterDropdown label:hover {
  background-color: #ebebeb;
}

.filterDropdown input {
  cursor: pointer;
}

.badge {
  display: inline-block;
  padding: 3px 8px;
  margin: 2px;
  background-color: var(--text-secondary);
  color: #ffffff;
  border-radius: 5px;
  font-size: 12px;
  font-weight: 400;
}

.resetFilters {
  padding: 10px;
  color: var(--text-primary);
  border: none;
  outline: inherit;
  cursor: pointer;
  font-size: 0.85rem;
  font-weight: 700;
  background-color: transparent;
  width: 100%;
  border-radius: 5px;

  /* transition property added */
  transition: background-color 0.2s ease; /* adjust the 0.3s to your desired fade duration */
}

.resetFilters:hover {
  background-color: #273042;

}

.filterDropdown::-webkit-scrollbar {
  width: 10px;  /* Adjust the width of the scrollbar */
}

.filterDropdown::-webkit-scrollbar-track {
  background-color: #f7f7f7;  /* Background color for the track */
  border-radius: 10px;  /* You can even have rounded corners for the track */
}

.filterDropdown::-webkit-scrollbar-thumb {
  background-color: #888;  /* Color of the draggable scrollbar element */
  border-radius: 5px;  /* Rounded corners for the scrollbar thumb */
}

.filterDropdown::-webkit-scrollbar-thumb:hover {
  background-color: #555;  /* Color of the scrollbar thumb on hover */
}


.matches-header {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  align-content: center;
  justify-content: space-between;
  gap: 30px;
  margin: 50px 0 30px 0;
}

.matches-section {
  text-align: left;
  min-height: 80vh;
}

.matches-section h1 {
  margin: 0;
}

.matches-section h4 {
  margin: 0px;
  margin-bottom: 15px;
}

.matches-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-gap: 20px;
  background-color: var(--color-background-primary);
}

.match-cards {
  padding: 20px;
  background-color: var(--color-background-accent);
  color: var(--text-primary);
  border-radius: 5px;
  border: 2px solid var(--color-background-accent);
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.match-cards .card-content {
  display: flex;
  flex-direction: column; /* Set direction as column */
  width: 100%;
}

.match-cards .card-content span {
  font-weight: 900;
  
}

.match-cards .left-side, .match-cards .right-side {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex-basis: calc(50% - 10px); /* Subtract half of the gap you want between the divs */
  padding: 0; /* Add some padding from the card's edges */
}

.match-cards p {
  color: var(--text-primary);
  font-weight: 400;
  font-size: 0.9rem !important;
  margin-top: 0;
}

.match-cards .participant-info {
  display: block;  /* Changed from flex */
}

.participant-info p {
  margin-bottom: 8px;
}

.match-cards .profile-pictures {
  display: flex;
  gap: 10px;
  justify-content: flex-start; /* Align the images to the start */
  flex-wrap: wrap; /* Allow the images to wrap to a new line if there isn't enough space */
}

.match-cards .profile-pictures img {
  width: 28px; /* Adjust the size as needed */
  height: 28px;
  border-radius: 50%; /* To make the images round */
  object-fit: cover;
  border: 2px solid var(--text-button); /* A white border */
}

#loading-overlay img {
  width: 75px;
}

.flex-container {
  display: flex;
  flex-direction: row; /* Set direction as row */
  justify-content: space-between;
  width: 100%; /* Ensure it takes up the full width */
  gap: 30px;
}

/* The "3 dots" button */
.dots-btn {
  background: none;
  border: none;
  color: var(--text-secondary); /* or whatever fits your design */
  font-size: 24px;
  cursor: pointer;
  outline: none;
  position: absolute; /* position it at the top-right corner of match-cards */
  top: 12px;
  right: 10px;
  padding: 0;
}

.dots-btn:hover {
  color: var(--text-primary);
}

.white-color {
  color: white;
}

/* Dropdown content */
.dropdown-content {
  display: none;
  position: absolute;
  background-color: #f9f9f9;
  min-width: 160px;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  top: 45px;
  right: 0px;
  border-radius: 5px;
}

.dropdown-content a {
  color: black;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
}

.dropdown-content a:hover {
  background-color: #f1f1f1;
  border-radius: 5px;
}

.join-match-button {
  padding: 10px;
  border-radius: 5px;
  border-width: 2px;
  border-color: transparent;
  outline: inherit;
  color: var(--text-primary);
  border-style: solid;
  cursor: pointer;
  font-size: 0.85rem;
  font-weight: 700;
  background-color: var(--text-button);
  width: 100%;

  transition: background-color 0.2s ease;
}

.join-match-button-create {
  padding: 10px;
  border-radius: 5px;
  border-width: 2px;
  border-color: transparent;
  outline: inherit;
  color: var(--text-primary);
  border-style: solid;
  cursor: pointer;
  font-size: 0.85rem;
  font-weight: 700;
  background-color: var(--text-button);
  width: 50%;
  margin: 0 auto;

  transition: background-color 0.2s ease;
}

.join-match-button-disabled {
  padding: 10px;
  border-radius: 5px;
  border-width: 2px;
  border-color: var(--text-secondary);
  outline: inherit;
  color: var(--text-secondary);
  border-style: solid;
  cursor: pointer;
  font-size: 0.85rem;
  font-weight: 700;
  background-color: transparent;
  width: 100%;
}

.join-match-button:hover, .join-match-button-create:hover {
  background-color: #135a8e;
}

#match-details-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0,0,0,0.6);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.hidden {
  display: none;
}

.modal-content {
  background-color: var(--color-background-primary);
  padding: 20px;
  border-radius: 5px;
  width: 500px;
  max-width: 600px;
  position: relative;
  border: 2px solid var(--text-button);
}

#close-details-modal-button {
  position: absolute;
  top: 10px;
  right: 10px;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 35px;
  color: #cf2d2d;
}

.match-detail-card {
  border-radius: 8px;
  margin: 0 auto;
}

.match-detail-card h4 {
  margin-top: 0;
  margin-bottom: 12px;
  font-size: 18px;
  font-weight: 600;
  color: white;
}

.match-detail-card p {
  margin: 6px 0;
  font-size: 16px;
}

.match-detail-card .participant-info {
  border-top: 1px solid var(--text-secondary);
  padding-top: 10px;
  margin-top: 50px;
}

.match-detail-card .profile-pictures {
  display: flex;
  gap: 15px;  /* provides space between image elements */
}

.match-detail-card .profile-pictures img {
  border-radius: 50%; /* assuming you want profile pictures to be circular */
  width: 40px;
  height: 40px;
  object-fit: cover; /* keeps the aspect ratio of the images */
  border: 3px solid var(--text-button);
  margin-bottom: 20px;
}

.radio {
	background: var(--color-background-accent);
	padding: 4px;
	border-radius: 5px;
	position: relative;
}

.radio input {
	width: auto;
	height: 100%;
  margin: 2px;
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	outline: none;
	cursor: pointer;
	border-radius: 2px;
	padding: 8px 45px;;
	background: var(--color-background-primary);
	color: var(--text-secondary);
	font-size: 1rem;
  font-weight: 500;

	transition: all 100ms linear;
}

.radio input:checked {
	background-color: var(--text-button);
	color: #fff;
}

.radio input:before {
	content: attr(label);
	display: inline-block;
	text-align: center;
	width: 100%;
}




.skeleton {
  animation: skeleton-loading 1s linear infinite alternate;
  opacity: .7;
}

@keyframes skeleton-loading {
  0% {
    background-color: hsl(200, 20%, 70%);
  }

  100% {
    background-color: hsl(200, 20%, 95%);
  }
}


/* USER SETTINGS PAGE */
.settings-section {
  display: none;
}
#user-settings {
  display: block;
}

.content-wrapper-page-settings {
  display: flex;
  flex-direction: row;
  max-width: 80vw;
  margin: 0 auto;
  gap: 25px;
}

.settings-wrapper {
  display: flex;
  justify-content: space-between;
  max-width: 1200px; /* Or whatever maximum width you desire */
  margin: 0 auto;
  flex: 4;
  background-color: var(--color-background-accent);
  border-radius: 5px;
}

.settings-sections, .settings-aside {
  flex: 1;
  padding: 20px;
}

.content-wrapper-settings {
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 100%;
}

.settings-aside {
  flex: 1;
  background-color: var(--color-background-accent);
  border-radius: 5px;
  padding: 1em; /* Added padding around the whole aside */
  height: fit-content;
  position: sticky;  /* Makes it sticky */
  top: 20px;  /* Stick to the top of the viewport */
  min-width: 200px;
}

.aside-link {
  display: block;
  padding: 10px 15px;
  text-decoration: none;
  color: var(--text-primary); /* set the text color */
  font-size: 1em;
  font-weight: 600;
  border-radius: 5px; /* optional: rounded corners */
  margin: 5px 0;  /* spacing between links */
  cursor: pointer; /* indicates clickability */
  color: #ffffffc4;

  transition: all 0.2s ease;  /* smooth transition for hover effects */
}

.aside-link:hover {
  background-color: #1f242e;  /* a slightly darker color when hovered */
  color: #fff;
}

.aside-link.active {
  background-color: #242a39;  /* background color for active link */
  border-left: 4px solid #fff;  /* add a left border to indicate active state */
  color: #fff;
}

.aside-link i {
  margin-right: 5px;
}

.settings-sections {
  color: var(--text-primary);
  border-radius: 8px;
  padding: 20px;
  max-width: 600px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  min-height: 80vh; /* Sets minimum height to 100% of the viewport height */
}

#user-settings-form, #user-settings-form-pass {
  width: 100%; /* If you want to limit to a maximum width, you can use max-width */
  text-align: left;
}

#user-settings-form-pass {
  width: 65% !important;
}

.settings-section h1 {
  text-align: left;
  margin-bottom: 20px;
}

.settings-section label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
}

.settings-section input[type="text"],
.settings-section input[type="email"],
.settings-section input[type="number"],
.settings-section input[type="password"],
.settings-section input[type="tel"] {
  width: 100%;
  padding: 12px;
  margin-bottom: 20px;
  background-color: var(--color-background-primary);
  color: var(--text-primary);
  border: 2px solid var(--text-button);
  border-radius: 4px;
  box-sizing: border-box;
  font-weight: 600;
  font-size: 1rem;
}

.settings-section input[type="submit"],
#download-data,
#delete-account-form button {
  padding: 12px 24px;
  background-color: var(--text-button);
  color: var(--text-primary);
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

#user-info-btn {
  display: block;
  margin: auto;
}

/* Basic button styles */
#deleteAccountButton {
  background-color: #FF5A5F; /* Bright red for destructive action */
  color: #fff; /* White text color */
  padding: 10px 20px;
  border: none;
  border-radius: 5px;
  font-size: 16px;
  cursor: pointer;
  font-weight: bold;
  transition: background-color 0.3s, transform 0.2s, box-shadow 0.2s;
}

/* Hover and focus styles */
#deleteAccountButton:hover,
#deleteAccountButton:focus {
  background-color: #a5393d; /* Darker red on hover */
}

.form-name {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 35px;
}

.name-container {
  width: -webkit-fill-available;
}

#user-settings-form #padel_level {
  width: 100% !important;
  padding: 12px !important;
  margin-bottom: 20px;
  background-color: var(--color-background-primary);
  color: var(--text-primary);
  border: 2px solid var(--text-button);
  border-radius: 4px;
  box-sizing: border-box;
}

.profile-picture.settings {
  margin-right: 0px !important;
}

.profile-picture-wrapper {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 30px;
}

.profile-picture-edit {
  height: 100px;
  /* background-color: var(--color-background-primary); */
  width: 200px;
  /* border: 2px dotted var(--text-secondary); */
  border-radius: 5px;
  padding: 5px;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  flex-direction: column;
  overflow: hidden;
  gap: 10px;
}

#remove-pp {
  padding: 10px;
  color: var(--text-primary);
  border: none;
  outline: inherit;
  cursor: pointer;
  font-size: 0.85rem;
  font-weight: 700;
  background-color: var(--color-background-accent);
  width: 100%;
  border-radius: 5px;
  transition: background-color 0.2s ease;
}

#remove-pp:hover {
  background-color: #273042;
}

#user-settings-form select#gender {
  width: 100% !important;
  padding: 12px !important;
  margin-bottom: 20px;
  background-color: var(--color-background-primary);
  color: var(--text-primary);
  border: 2px solid var(--text-button);
  border-radius: 4px;
  box-sizing: border-box;
  font-weight: 600;
  font-size: 1rem;
}

#user-settings-form-pass .input-wrapper {
  position: relative;
}

#user-settings-form-pass .password-input {
  padding-right: 30px; /* give space for the icon */
}

#user-settings-form-pass .toggle-password {
  position: absolute;
  top: 35% !important;
  right: 10px !important;
  transform: translateY(-50%) !important;
  cursor: pointer !important;
  color: var(--text-secondary);
}

/* For Webkit browsers like Safari and Chrome */
input[type="password"]::placeholder {
  color: var(--text-secondary);
}

/* For Firefox */
input[type="password"]::-moz-placeholder {
  color: var(--text-secondary);
}

/* For Internet Explorer and Microsoft Edge */
input[type="password"]::-ms-input-placeholder {
  color: var(--text-secondary);
}

/* For Microsoft Edge */
input[type="text"]::-ms-input-placeholder {
  color: var(--text-secondary);
}

input[type="text"]::placeholder {
  color: var(--text-secondary);
}

/* For Firefox */
input[type="text"]::-moz-placeholder {
  color: var(--text-secondary);
}

/* For Internet Explorer and Microsoft Edge */
input[type="text"]::-ms-input-placeholder {
  color: var(--text-secondary);
}

/* For Microsoft Edge */
input[type="text"]::-ms-input-placeholder {
  color: var(--text-secondary);
}

input:focus {
  outline: none;
  box-shadow: 0 0 5px var(--text-button);
}

.switch {
  position: relative;
  display: inline-block;
  width: 60px;
  height: 34px;
  margin: 0px !important;
}

.switch input { 
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  -webkit-transition: .4s;
  transition: .4s;
}

.slider:before {
  position: absolute;
  content: "";
  height: 26px;
  width: 26px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  -webkit-transition: .4s;
  transition: .4s;
}

.consent-wrapper {
  display: flex;
  gap: 15px;
  align-items: center;
  margin-bottom: 25px;
}

input:checked + .slider {
  background-color: var(--text-button);
}

input:focus + .slider {
  box-shadow: 0 0 1px var(--text-button);
}

input:checked + .slider:before {
  -webkit-transform: translateX(26px);
  -ms-transform: translateX(26px);
  transform: translateX(26px);
}

/* Rounded sliders */
.slider.round {
  border-radius: 34px;
}

.slider.round:before {
  border-radius: 50%;
}

.error {
  margin-top: 35px !important;
  color: #ffa2a4 !important;
  background-color: rgba(255, 90, 95, 0.5);
  border: 2px solid rgba(255, 90, 95, 1);
  border-radius: 5px;
  padding: 10px;
  font-weight: 500;
  font-size: 1rem;
  margin-bottom: 35px;
}


/* Landscape phones and down */
@media screen and (max-width: 430px) {
  #nav-links {
    display: none;
    position: absolute;
    background-color: var(--color-background-accent);
    top: 60px;
    right: 0;
    width: 100%;
    text-align: center;
  }
  
  #nav-links li {
    padding: 10px;
  }

  nav {
    display: block;
  }

  nav a {
    color: var(--text-primary);
    font-size: 1.1rem;
    text-decoration: none;
    margin-right: 0px;
  }

  nav ul {
    list-style: none;
    display: block;
  }

  #nav-links-wrapper-mobile {
    display: block;
  }

  /* Unordered list styling */
  #nav-links-wrapper-mobile ul {
    list-style-type: none;  /* Remove bullet points */
    padding: 0;  /* Remove default padding */
    margin: 100px 0;  /* Remove default margin */
  }

  /* List item styling */
  #nav-links-wrapper-mobile li {
    margin-bottom: 10px;  /* Space between items */
    text-align: center;  /* Center align the text */
  }

  /* Links styling */
  #nav-links-wrapper-mobile li a {
    text-decoration: none;  /* Remove underline */
    color: #FFF;  /* White color text */
    padding: 10px 20px;  /* Some padding for touch friendliness */
    display: block;  /* Make the entire area clickable */
    transition: background-color 0.3s;  /* Smooth background transition */
  }

  /* Hover & Active states for links */
  #nav-links-wrapper-mobile li a:hover,
  #nav-links-wrapper-mobile li a:active {
    background-color: rgba(255, 255, 255, 0.1);  /* Slight white background on hover */
  }
  
  #burger-menu, #mobile-nav {
    display: block;
    cursor: pointer;
    /*right: 5%;
    top: 5%;
    position: absolute;*/
  }
  
  #burger-menu {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 50px;  /* adjust as necessary */
    height: 20px; /* adjust as necessary */
    cursor: pointer;
}

#burger-menu > div {
    background: #fff;  /* color of the burger lines */
    height: 3px;
    width: 100%;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

#burger-menu.open > div:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

#burger-menu.open > div:nth-child(2) {
    opacity: 0;
}

#burger-menu.open > div:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

.profile-logout-button {
  color: var(--text-primary);
  text-align: center;
  background-color: var(--text-button);
}

  #buttons-wrapper {
    display: none;
  }

  #hero-section {
    width: fit-content;
    height: 450px;
  }

  #padelcourt-pic {
    width: 90%;
    overflow: hidden;
  }

  #padel-balls2 {
    display: none;
  }

  #padel-balls1 {
    display: none;
  }

  .about-content {
    padding: 20px;
  }

  .about-content h1 {
    font-size: 2.5rem;
  }

  .section-header-text {
    width: 100%;
    margin: 0 auto;
  }

  .info-container {
    grid-template-columns: repeat(1, 1fr);
  }

  .card {
    padding: 0;
  }

  .icon-div {
    padding-right: 15px;
  }

  .remove-phone {
    display: none;
  }

  .grid-wrapper {
    grid-template-columns: repeat(1, 1fr);
  }

  .img-wrapper img {
    height: 180px;
    margin: 4px;
  }


  .text-columns-container {
    flex-direction: column;
    padding: 0;
  }

  .footer-container {
    display: none;
  }

  .form-group.consent {
    min-width: 100%;
    width: 235px;
  }

  #hero-section-login {
    height: 720px;
    width: 100%;
  }


  .matches-container {
    grid-template-columns: repeat(1, 1fr);
  }

  .match-cards .profile-pictures {
    gap: 6px;
  }

  .match-cards .profile-pictures img {
    width: 26px;
    height: 26px;
  }

  .filter-component {
    display: block;
  }

  .filter-container {
    padding: 0 5px;
  }

  #modal {
    width: 350px;
  }

  .radio input {
    padding: 8px 28px;
  }

  .select2-container .select2-selection--single {
    width: 165px !important;
  }



.profile-top {
  margin-top: 25px;
  justify-content: center;
}

.profile-card {
  padding: 15px 0;
}

.profile-card-container {
  grid-template-columns: repeat(1, 1fr);
}

.played-matches-grid {
  grid-template-columns: repeat(1, 1fr);
}


.content-wrapper-page-settings {
  justify-content: center;
}

.settings-aside {
  display: none;
}

.settings-section {
  display: block !important;
}
  
}

/* Small devices (tablets, 768px and up) */
@media (max-width: 768px) {
  #nav-links {
    display: none;
    position: absolute;
    background-color: var(--color-background-accent);
    top: 60px;
    right: 0;
    width: 100%;
    text-align: center;
  }
  
  #nav-links li {
    padding: 10px;
  }

  nav {
    display: block;
  }

  nav a {
    color: var(--text-primary);
    font-size: 1.1rem;
    text-decoration: none;
    margin-right: 0px;
  }

  nav ul {
    list-style: none;
    display: block;
  }

  #nav-links-wrapper-mobile {
    display: block;
  }

  /* Unordered list styling */
  #nav-links-wrapper-mobile ul {
    list-style-type: none;  /* Remove bullet points */
    padding: 0;  /* Remove default padding */
    margin: 100px 0;  /* Remove default margin */
  }

  /* List item styling */
  #nav-links-wrapper-mobile li {
    margin-bottom: 10px;  /* Space between items */
    text-align: center;  /* Center align the text */
  }

  /* Links styling */
  #nav-links-wrapper-mobile li a {
    text-decoration: none;  /* Remove underline */
    color: #FFF;  /* White color text */
    padding: 10px 20px;  /* Some padding for touch friendliness */
    display: block;  /* Make the entire area clickable */
    transition: background-color 0.3s;  /* Smooth background transition */
  }

  /* Hover & Active states for links */
  #nav-links-wrapper-mobile li a:hover,
  #nav-links-wrapper-mobile li a:active {
    background-color: rgba(255, 255, 255, 0.1);  /* Slight white background on hover */
  }
  
  #burger-menu, #mobile-nav {
    display: block;
    cursor: pointer;
    /*right: 5%;
    top: 5%;
    position: absolute;*/
  }
  
  #burger-menu {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 50px;  /* adjust as necessary */
    height: 20px; /* adjust as necessary */
    cursor: pointer;
}

#burger-menu > div {
    background: #fff;  /* color of the burger lines */
    height: 3px;
    width: 100%;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

#burger-menu.open > div:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

#burger-menu.open > div:nth-child(2) {
    opacity: 0;
}

#burger-menu.open > div:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

.profile-logout-button {
  color: var(--text-primary);
  text-align: center;
  background-color: var(--text-button);
}

  #buttons-wrapper {
    display: none;
  }

  #hero-section {
    width: fit-content;
    height: 450px;
  }

  #padelcourt-pic {
    width: 90%;
    overflow: hidden;
  }

  #padel-balls2 {
    display: none;
  }

  #padel-balls1 {
    display: none;
  }

  .about-content {
    padding: 20px;
  }

  .about-content h1 {
    font-size: 2.5rem;
  }

  .section-header-text {
    width: 100%;
    margin: 0 auto;
  }

  .info-container {
    grid-template-columns: repeat(1, 1fr);
  }

  .card {
    padding: 0;
  }

  .icon-div {
    padding-right: 15px;
  }

  .remove-phone {
    display: none;
  }

  .grid-wrapper {
    grid-template-columns: repeat(1, 1fr);
  }

  .img-wrapper img {
    height: 180px;
    margin: 4px;
  }


  .text-columns-container {
    flex-direction: column;
    padding: 0;
  }

  .footer-container {
    display: none;
  }
}

/* Medium devices (desktops, 992px and up) */
@media (max-width: 992px) {
  
}

/* Large devices (large desktops, 1200px and up) */
@media (max-width: 1440px) {
  
}