/* ===== MAIN LOGIN LAYOUT ===== */
main {
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  background-image: url("/assets/images/inlog_page_background_main.jpg");
  background-repeat: no-repeat;
  background-size: cover;
}

/* ===== LOGIN FORM ===== */
#login-div {
  margin: 2rem 0;
  width: 40%;
  display: flex;
  flex-direction: column;
  align-content: space-around;
  gap: 1rem;
  padding: 2rem;
  background-color: #f9f3e7;
  border-radius: var(--border-radius-large);
  box-shadow: 5px 8px 7px rgba(0, 0, 0, 0.2);
}

.login_div {
  justify-self: center;
}

.login_div h2 {
  font-size: 3.75rem;
  justify-self: center;
}

.login_div h3 {
  justify-self: center;
}

.login_div h3 span {
  font-size: larger;
}

#aanmeldForm {
  color: var(--primary-color);
}

/* ===== REGISTER FORM ===== */
#registreer-div {
  align-content: space-around;
  justify-content: space-around;
  width: 50%;
  padding: 2rem;
  margin: 2rem 0;
  background-color: #f9f3e7;
  border-radius: var(--border-radius-large);
  box-shadow: 5px 8px 7px rgba(0, 0, 0, 0.2);
}

#inhoudReg {
  display: flex;
  flex-direction: column;
}

.registreer_div {
  justify-self: center;
  padding-bottom: 1rem;
}

.registreer_div h2 {
  font-size: 3.75rem;
  justify-self: center;
}

.registreer_div h3 {
  display: flex;
}

.registreer_div img {
  height: 2rem;
}

#inlogForm {
  font-size: 1.20rem;
  justify-self: center;
  align-self: center;
  color: var(--primary-color);
  text-decoration: none;
}

/* ===== FORM STYLES ===== */
form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.registreer_div form {
  padding-bottom: 2rem;
}

/* Inputs blijven zoals login */
form input {
  text-indent: 1rem;
  border-radius: 1.75rem;
  padding: 0.2rem;
  background-color: whitesmoke;
}

/* ===== FIELDSET & LEGEND ===== */
form fieldset {
  border: 1px solid #ccc;
  border-radius: 1rem;
  padding: 1rem 1.5rem;
  margin-bottom: 1rem;
}

form legend {
  font-size: 1.25rem;
  font-weight: bold;
  padding: 0 0.5rem;
  color: var(--primary-color);
}

form fieldset input {
  margin-top: 0.5rem;
}

/* ===== BUTTON STYLES ===== */
form button,
.registreer_div button {
  width: 35%;
  align-self: center;
  text-align: center;
  background: var(--primary-color);
  color: var(--color-light-bg);
  border: none;
  padding: 8px 12px;
  margin: 0.75rem 0;
  border-radius: 2rem;
  cursor: pointer;
  text-decoration: none;
}

.registreer_div button {
  justify-self: center;
}

/* ===== INTERACTIVE STATES ===== */
#aanmeldForm:hover,
#inlogForm:hover {
  cursor: pointer;
}

button:hover,
form button:hover {
  background-color: var(--color-green-dark);
  transform: scale(1.05);
}

button:active,
form button:active {
  transform: scale(0.95);
}

/* ===== UTILITY CLASSES ===== */
.checkbox-group {
  display: flex;
  align-items: baseline;
}

.hiddenLog {
  display: none;
}

#login-div.hiddenLog {
  display: none;
}

/* ===== MEDIA QUERIES ===== */
@media (max-width: 1250px) {
  #login-div, #registreer-div  {
    width: 50%;
  }
}

@media (max-width: 950px) {
  #login-div, #registreer-div  {
    width: 60%;
  }
}

@media (max-width: 680px) {
  #login-div, #registreer-div  {
    width: 70%;
  }
}

@media (max-width: 590px) {
  #login-div, #registreer-div {
    width: 90%;
  }
}

@media (max-width: 450px) {
  #login-div, #registreer-div {
    width: 98%;
  }
}
