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

body {
  font-family: Arial;
  margin: 0;
  background: linear-gradient(to right, #EE5D6C, #e78181, #f2a172, #FFE4C4, #f8ead8);
}


body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('assets/crayon-letter.PNG') repeat;
  opacity: 0.3;
  z-index: -4;
}


html,
body {
  height: 100%;
  margin: 0;
}


header {
  background: #fb918f;
  color: white;
  padding: 25px;
  text-align: center;
}

nav {
  padding: 20px;
  text-align: center;
}

nav a {
  color: white;
  margin: 10px;
  text-decoration: none;
}

footer {
  background: #ffd08f;
  padding: 30px;
  margin-top: 0;

}

.app {
  width: 100%;
  max-width: 1200px;
  /* ← controls the width */
  margin: 0 auto;
  /* ← centers it horizontally */
  padding: 2rem;
}


.card {
  height: auto;
  min-height: 650px;
  /* ← controls the height */
  border-radius: 16px;
  /* ← adds nice rounded corners back */
  display: flex;
  overflow: hidden;
}


.title {
  font-family: 'Fredoka One', cursive;
  font-size: 60px;
  color: rgb(16, 116, 215);
  padding-top: 40px;
  margin-bottom: 2rem;
}

.signUp-title {
  font-family: 'Fredoka One', cursive;
  color: #ffffff;
  font-size: 3rem;
  /* ← pas dit aan naar wens */
  margin-top: 7rem;
  margin-bottom: 0.5rem;
}

.small-text {
  padding-bottom: 0;
  color: #ffffff;
  /* GEEN extra ruimte onder de tekst */
}

.small-text2 {
  margin-bottom: 1rem;
}


.divider {
  margin-bottom: 1rem;

}


.btn {
  border: none;
  border-radius: 999px;
  padding: 0.9rem 2.2rem;
  font-size: 1.1rem;
  cursor: pointer;
  font-weight: 600;
}

.btn-signup {
  background-color: #c026d3;
  color: white;
  align-self: center;
  width: 100%;
  margin-bottom: 6rem;
  margin-top: 1.5rem;
}


.btn-signup:hover {
  background-color: #a422b6;
}

.left-panel {
  flex: 0 0 35%;
  /* ongeveer 1/3 deel */
  background-color: #EE5D6C;
  display: flex;
  position: relative;
}




.left-inner {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 3rem;
  height: 100%;
  text-align: center;
}

.btn-login {
  background-color: #4b0082;
  color: #ffffff;
  width: 100%;
  margin-bottom: 23rem;

}

.right-panel {
  flex: 1;
  background-color: #FB9062;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}




.right-panel::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("assets/crayon-letter.PNG");
  background-size: cover;
  background-position: center;
  opacity: 0.30;
  /* ← pink color on top of image */
}

.right-overlay {
  position: relative;
  z-index: 1;
  /* ← keeps the form above the overlay */
}

.right-panel::after {
  content: '';
  position: absolute;
  inset: 0;
  /* ← pink color on top of image */
}

.right-overlay {
  position: relative;
  z-index: 1;
  /* ← keeps the form above the overlay */
}



.parent-permission {
  font-size: 0.9rem;
  color: #280342;
  text-decoration: underline;

}


.permission-box {
  font-size: 1rem;
  margin-bottom: 4rem;
  color: #280342;
  text-decoration: underline;


}










.row {
  display: flex;
  gap: 50px;
  margin-bottom: 1rem;
}

.row .input-field {
  flex: 1;
  margin-bottom: 0;
}

.input-field {
  display: flex;
  flex-direction: column;
  margin-bottom: 1rem;
  width: 100%;
}

.input-field label {
  font-size: 0.9rem;
  color: rgb(0, 0, 0);
  margin-bottom: 4px;
}

.input-field input,
.input-field select {
  border: none;
  border-radius: 12px;
  padding: 0.8rem 1rem;
  font-size: 0.95rem;
  outline: none;
  width: 100%;
}

.groep-field select {
  padding: 1.2rem 1.2rem;
  width: 100%;
  font-size: 1 rem;
}

#signup-message {
  margin-top: 15px;
  padding: 10px;
  border-radius: 5px;
  text-align: center;
  font-size: 14px;
  display: none;
}

#signup-message.success {
  background-color: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

#signup-message.error {
  background-color: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}