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

body {
  font-family: Arial;
  text-align: center;
  margin: 0;
  background: linear-gradient(to right, #EE5D6C, #e78181, #FFB4B4, #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;
}

nav {
  padding: 20px;
}

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: 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;
}

.small-text {
  padding-bottom: 0;
  /* GEEN extra ruimte onder de tekst */
  margin-bottom: auto;
  margin-top: 2.5rem ;

  /* klein beetje ruimte is genoeg */
}

.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;
  /* ← center instead of flex-start */
  margin-top: auto;
  margin-bottom: 10rem;
  /* ← remove margin-bottom, use margin-top: auto instead */
  
  width: 100%;
}


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


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

.left-inner {

  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 2rem;
  height: 100%;
}

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

/* Hier kun je een letters-achtergrond als image gebruiken */
.right-panel {
  background-image: url("assets/crayon-letter.PNG");
  background-size: cover;
  background-position: center;
}

.right-panel::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(240, 90, 110, 0.5);
  /* ← pink color on top of image */
}

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

.right-overlay {
  width: 70%;
  max-width: 550px;
}

.login-title {
  font-family: 'Fredoka One', cursive;
  font-size: 3rem;
  color: #ffffff;
  margin-bottom: 2rem;
}

/* Inputvelden */
.input-field {
  background-color: #ffffff;
  border-radius: 999px;
  padding: 0.7rem 1.4rem;
  display: flex;
  align-items: center;
  margin-bottom: 1.2rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.input-field input {
  border: none;
  outline: none;
  width: 100%;
  font-size: 0.95rem;
  font-family: inherit;
}

/* Login-knop rechts */
.btn-login {
  background-color: #4b0082;
  /* paars */
  color: #ffffff;
  width: 100%;
  margin-top: 1.5rem;
}

.btn-login:hover {
  background-color: #3a0066;
}

.forgot-password {
  text-align: right;
  font-size: 0.90rem;
  margin-bottom: 0.5rem;
}

.forgot-password a {
  color: #ffffff;
  text-decoration: none;
}

.forgot-password a:hover {
  text-decoration: underline;
}

.remember-me {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 0.5rem;
}

.remember-me label {
  color: #ffffff;
  font-size: 0.9rem;
  cursor: pointer;
}

.remember-me input[type="checkbox"] {
  width: 16px;
  height: 16px;
  cursor: pointer;
}

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

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

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