:root {
      --red: #A41F13;
      --bg-light: #F7F8FD;
      --neutral-light: #E0DBD8;
      --text-light: #0D1732;
      --accent-light: #0D1732;

      --bg-dark: #1E242B;
      --neutral-dark: #323741;
      --text-dark: #FFFFFF;
      --accent-dark: #0473FF;
    }


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

    body, html {
      font-family: 'Inter', sans-serif;
      min-height: 100%;
      background-color: var(--bg-light);
    }

    .dark .container {
      background-color: var(--bg-dark);
      color: var(--text-dark);
    }
    .dark .topcolorbar, .dark body , html.dark{
      background-color: var(--bg-dark);
    }
    .dark .topbar .logo {
      background-image: url('../pictures/logo_dark.png');
    }
    .dark .copyright {
      color: var(--text-dark);
    }
    .dark .footer a {
      color: var(--text-dark);
    }
    .dark .footer div a:hover {
      text-shadow: 1px 2px 10px rgba(255, 255, 255, 0.7);
    }
    .dark .center-section {
      background-color: var(--neutral-dark);
      box-shadow: 0px 10px 27px rgba(0, 0, 0, 0.35);
      border: 2px solid #3C424B;
    }
    .dark .forgot-title {
      color: var(--text-dark);
    }

    .dark .forgot-form label , .dark .alert-div {
      color: var(--text-dark);
    }

    .dark .forgot-form input {
      background-color: #242732;
      color: var(--text-dark);
      border: 2px solid #3C424B;
    }

    .dark .forgot-form input:focus {
      box-shadow: 0 0 0 2px var(--text-dark);
    }
    .dark .forgot-form button {
      background-color: var(--accent-dark);
    }


    .container {
      display: block;
      flex-direction: row;
      min-height: 100vh;
      width: 100%;
      position: relative;
      background-color: var(--bg-light);
    }
    .topcolorbar {
      width: 100%;
      height: 12px;
      background-color:#0D1732;
      
    }
    .topbar{
      width: 100%;
      height: 100px;
      
      
    }
    .topbar .logo {
      background-image: url('../pictures/logo.png');
      background-size: cover;
    width: 100px;
    height: 100px;
      margin-top: 2.5rem;
      margin-left: 4rem;
      cursor: pointer;
    }
    .copyright {
      position: absolute;
      bottom: 1rem;
      right: 2rem;
      color: var(--text-light);
      font-size: 0.8rem;
    }
    

    .theme-switch-wrapper {
      position: absolute;
      top: 20px;
      right: 20px;
  }

  .theme-switch {
      position: relative;
      display: inline-block;
      width: 50px;
      height: 26px;
  }

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

  .slider {
      position: absolute;
      cursor: pointer;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      background-color: #ECEFF6;
      border: 1px solid #0D1732;
      transition: 0.4s;
      border-radius: 34px;
  }

  .slider:before {
      position: absolute;
      content: "";
      height: 18px;
      width: 18px;
      left: 4px;
      bottom: 3px;
      transition: 0.4s;
      border-radius: 50%;
      background-color: #0D1732;
  }
  input:checked + .slider {
      background-color: #CFCFCF;
  }

  input:checked + .slider:before {
      transform: translateX(24px);
      background-color: #1E242B;
  }
  .center-wrraper {
    display: flex;
    width: 100%;
    height: 70%;
    padding-top: 50px;
    position: relative;
    justify-content: center; 
    align-items: center;  
    padding-bottom: 10%;  
        
  }
  .center-section {
    border-radius: 40px;
    box-shadow: 0px 4px 27px rgba(0, 0, 0, 0.25);
    width: 670px;
    height: 444px;
    background-color: white;
  }
  .forgot-wrapper {
    position: relative;
  width: 100%;
  height: 100%;
  padding: 60px 60px 40px 60px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.forgot-title {
  font-size: 2.6rem;
  color: var(--text-light);
  margin-bottom: 40px;
  text-align: center;
  font-family: 'Sora', sans-serif;
}

.forgot-form {
  width: 100%;
}

.forgot-form label {
  font-size: 1.4rem;
  color: var(--text-light);
  margin-bottom: 10px;
  display: block;
  user-select: none;
}

.forgot-form input {
  font-size: 1.5rem;
  width: 100%;
  border: none;
  border-radius: 999px;
  background-color: #ECEFF6;
  color: #0D1732;
  padding: 14px 24px;
  margin-bottom: 30px;
  outline: none;
}

.forgot-form input:focus {
  box-shadow: 0 0 0 2px #0D1732;
}

.forgot-form button {
  background-color: #0D1732;
  color: white;
  padding: 14px 0;
  border: none;
  border-radius: 999px;
  font-size: 1.8rem;
  cursor: pointer;
  width: 100%;
  transition: box-shadow 0.3s ease;
}
h2 {
  user-select: none;
}

.forgot-form button:hover {
  box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.25);
}
  .footer {
      position: absolute;
      width: 100%;
      height: 60px;
      bottom: 0;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 40px;
    }
    .footer div a {
      cursor: pointer;
      color: var(--text-light);
      text-decoration: none;
      user-select: none;
    }
    .footer div a:hover {
      text-shadow: 1px 2px 10px rgba(0, 0, 0, 0.4);
    }


.cookie-banner {
  position: fixed;
  bottom: 20px;
  left: 20px;
  right: 20px;
  max-width: 600px;
  margin: 0 auto;
  background-color: #F7F8FD;
  color: #0D1732;
  border: 1px solid #E0DBD8;
  padding: 1rem 1.5rem;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  z-index: 9999;
  font-size: 0.95rem;
}

#cookie-banner {
  display: none;
}

.cookie-banner a {
  color: #0473FF;
  text-decoration: underline;
}

.cookie-button {
  background-color:#0D1732;
  color: white;
  border: none;
  padding: 0.5rem 1.2rem;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 500;
}

.cookie-button:hover {
  background-color: #0059cc;
}
.alert-div {
  display: none;
  position: absolute;
  width: 80%;
  min-height: 20px;
  border-radius: 20px;
  background-color: rgba(239, 68, 68, 0.25);
  left:50%;
  transform: translateX(-50%);
  text-align: center;
  padding: 10px 12px 10px 12px;
  color: var(--text-light);
  font-size: 0.8rem;
  top:27px;
  }
.alert-close {
  text-decoration: none;
  float: right;
  margin-left: 10px;
  cursor: pointer;
  color: #DC2626;
  font-weight: bold;
}

@media (max-width: 922px){
      .footer {
        bottom: 50px;
      }
    }
@media(max-width: 430px) {
  .footer {
  flex-direction: column;
  bottom: 130px;
  }
  .container {
    padding-bottom: 350px;
  }
}   