body {
  display: flex;
  flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    min-height: 100vh;
    padding-top: 2px;
  margin: 0;
  font-family: "Poppins", sans-serif;
  position: relative;
.dark-mode {
  .nav-bar {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 100;
  }
  .back-link {
    display: flex;
    align-items: center;
    color: #2196f3;
    text-decoration: none;
    font-weight: 600;
    font-size: 18px;
    background: #fff;
    border-radius: 24px;
    padding: 8px 16px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.07);
    border: 1px solid #eee;
    transition: background 0.2s, color 0.3s;
  }
  .back-link:hover {
    background: #f0f8ff;
    color: #1976d2;
  }
  background-color: #121212;
  color: #ffffff;
  .content p {
    color: #fff;
  }
  .content h1 {
    color: #fff;
  }
}
.light-mode {
  background-color: #ffffff;
  color: #000000;
}
.toggle-container {
  position: absolute;
  top: 10px;
  right: 10px;
  display: flex;
  align-items: center;
}
.toggle-container label {
  margin-right: 10px;
  font-weight: 600;
  font-size: 16px;
}
.switch {
  position: relative;
  display: inline-block;
  width: 60px;
  height: 34px;
}
.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}
.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  transition: 0.4s;
  border-radius: 34px;
}
.slider:before {
  position: absolute;
  content: "";
  height: 26px;
  width: 26px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  transition: 0.4s;
  border-radius: 50%;
    max-width: 480px;
    width: 100%;
    margin: 8px auto 0 auto;
    background: #fff;
    border-radius: 28px;
    box-shadow: 0 4px 24px rgba(33, 150, 243, 0.10), 0 1.5px 6px rgba(0,0,0,0.06);
    padding: 24px 18px 24px 18px;
    text-align: center;
    line-height: 1.7;
    box-sizing: border-box;
    border: 1px solid #e3e3e3;
  background-color: #333;
  color: white;
  padding: 10px;
  text-align: center;
  display: none;
}
#cookie-banner button {
  background-color: #2196f3;
  border: none;
  padding: 5px 10px;
  color: white;
  cursor: pointer;
  margin-left: 10px;
}
.content {
  font-size: 18px;
    margin: 8px 0 16px 0;
  color: #333;
  text-align: justify;
  text-justify: inter-word;
}
.content h1 {
  font-size: 28px;
  margin: 24px 0 16px;
}
.content p {
  font-size: 18px;
  margin: 0 0 16px;
}

.signup-form {
  max-width: 400px;
  width: 100%;
  margin: 32px auto 0 auto;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(33, 150, 243, 0.10);
  padding: 10px 24px 32px 24px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  box-sizing: border-box;
  border: 1px solid #e3e3e3;
}

.form-row {
  display: flex;
  align-items: center;
  margin-bottom: 0;
  padding-bottom: 12px;
  border-bottom: 1px solid #f0f0f0;
  background: none;
}
.form-row label {
  flex: 0 0 120px;
  text-align: left;
  margin-right: 12px;
  font-weight: 600;
  font-size: 16px;
  color: #2196f3 !important;
  letter-spacing: 0.01em;
}
.form-row input.form-input,
.form-row select.form-input,
.form-row textarea.form-input {
  flex: 1;
  width: 100%;
  min-width: 0;
  padding: 10px 12px;
  border: 2px solid #2196f3;
  border-radius: 6px;
  font-size: 16px;
  font-family: inherit;
  background: #fff;
  transition: border-color 0.2s, box-shadow 0.2s;
  box-sizing: border-box;
  box-shadow: none;
  resize: vertical;
}
.form-row input.form-input:focus,
.form-row select.form-input:focus,
.form-row textarea.form-input:focus {
  border-color: #007BFF;
  outline: none;
  box-shadow: 0 0 0 2px rgba(0,123,255,0.15);
}
.form-row.form-row-button {
  justify-content: center;
  margin-bottom: 0;
  border-bottom: none;
  padding-bottom: 0;
}
.btn-primary {
  background-color: #2196f3;
  color: white;
  padding: 16px 0;
  width: 100%;
  text-decoration: none;
  border: none;
  border-radius: 16px;
  font-weight: 700;
  font-size: 18px;
  cursor: pointer;
  transition: background-color 0.3s, box-shadow 0.2s;
  font-family: inherit;
  box-shadow: 0 2px 8px rgba(33, 150, 243, 0.10);
}
.btn-primary:hover {
  background-color: #1976d2;
  box-shadow: 0 4px 16px rgba(33, 150, 243, 0.18);
}
.message-box {
  text-align: center;
  margin-top: 8px;
  font-size: 16px;
  color: #1976d2;
  font-weight: 500;
}

/* Responsive logo styles */
.logo-img {
  max-width: 600px;
  width: 80vw;
    margin: 16px auto 0 auto;
    padding: 32px 24px 24px 24px;
  margin: 6px auto;
  box-sizing: border-box;
  padding: 0 4vw;
}
/* Desktop-specific styles */
@media (min-width: 800px) {
  .content {
    max-width: 700px;
    margin: 32px auto 32px auto;
    padding: 32px 40px;
    box-sizing: border-box;
    border-radius: 24px;
    box-shadow: 0 4px 24px rgba(33, 150, 243, 0.10), 0 1.5px 6px rgba(0,0,0,0.06);
  }
  .signup-form {
    max-width: 480px;
    margin: 40px auto 40px auto;
    padding: 32px 32px 40px 32px;
    border-radius: 16px;
    box-shadow: 0 4px 24px rgba(33, 150, 243, 0.10), 0 1.5px 6px rgba(0,0,0,0.06);
  }
}
@media (max-width: 600px) {
  .logo-img {
    margin: 16px auto;
    padding: 0 6vw;
  }
  .content {
    max-width: 100vw;
    margin: 4px auto 0 auto;
    padding: 0 4vw;
    box-sizing: border-box;
    text-align: left;
    border-radius: 18px;
    box-shadow: 0 2px 12px rgba(33, 150, 243, 0.10);
  }
  }
  .form-row {
    flex-direction: column;
    align-items: stretch;
    margin-bottom: 0;
    padding-bottom: 12px;
    border-bottom: 1px solid #f0f0f0;
  }
  .form-row label {
    text-align: left;
    margin-bottom: 6px;
    margin-right: 0;
    flex: unset;
    font-size: 17px;
  }
  .form-row input.form-input,
  .form-row select.form-input {
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
    font-size: 18px;
    border-radius: 12px;
    padding: 16px 12px;
  }
  .btn-primary {
    width: 100%;
    padding: 16px 0;
    font-size: 18px;
    border-radius: 14px;
  }
}
