/* ==========================================================================
   AUTH.CSS - Login, Register & Forgot Password Styling
   ========================================================================== */

/* ---------- Wrapper (Layout) ---------- */
.auth-wrapper {
  display: flex;
  width: 100%;
  max-width: 1100px;
  box-sizing: border-box;
  border-radius: 8px;
  overflow: hidden;
  min-height: 550px;
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.6);
  margin: 100px auto 80px auto;
  background: #141414;
}

/* ---------- Linkerhelft (Formulier) ---------- */
.form-container {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: linear-gradient(180deg, #141414 0%, #0a0a0a 100%);
  padding: 50px 40px;
  box-sizing: border-box;
  text-align: center;
  border-radius: 8px 0 0 8px;
}

.logo {
  margin-bottom: 25px;
}

.logo img {
  width: 160px;
  filter: drop-shadow(0 0 8px rgba(255, 215, 0, 0.25));
}

.form-container h2 {
  color: #ffd700;
  font-size: 22px;
  margin-bottom: 20px;
  letter-spacing: 1px;
  font-weight: 600;
}

/* ---------- Alert Messages ---------- */
.alert {
  width: 100%;
  max-width: 350px;
  padding: 10px 14px;
  border-radius: 5px;
  font-size: 12px;
  margin-bottom: 15px;
  text-align: center;
  font-weight: 500;
  box-sizing: border-box;
}

.alert.error {
  background: rgba(185, 29, 29, 0.15);
  border: 1px solid #b91d1d;
  color: #ff6b6b;
}

.alert.success {
  background: rgba(0, 195, 0, 0.15);
  border: 1px solid #00c300;
  color: #5fff5f;
}

.alert.warning {
  background: rgba(212, 175, 55, 0.15);
  border: 1px solid #d4af37;
  color: #ffd700;
}

.alert.info {
  background: rgba(41, 128, 185, 0.15);
  border: 1px solid #3498db;
  color: #5dade2;
}

/* ---------- Form Styling ---------- */
form {
  width: 100%;
  max-width: 350px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

label {
  font-size: 12px;
  color: #bbb;
  text-align: left;
  font-weight: 500;
}

input {
  width: 100%;
  padding: 11px 13px;
  background: rgba(255, 255, 255, 0.05);
  border: none;
  border-bottom: 2px solid #333;
  color: #fff;
  border-radius: 4px;
  font-size: 13px;
  transition: all 0.3s ease;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  box-sizing: border-box;
}

input:focus {
  border-bottom-color: #ffd700;
  outline: none;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 2px 8px rgba(255, 215, 0, 0.15);
}

input::placeholder {
  color: #666;
  font-size: 12px;
}

button.btn {
  margin-top: 8px;
  background: linear-gradient(180deg, #ffd700 0%, #c6a600 100%);
  border: none;
  color: #111;
  font-weight: 700;
  padding: 11px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  font-size: 13px;
  letter-spacing: 0.5px;
  box-shadow: 0 2px 8px rgba(255, 215, 0, 0.3);
}

button.btn:hover {
  background: linear-gradient(180deg, #ffec7a 0%, #d1a800 100%);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 215, 0, 0.4);
}

button.btn:active {
  transform: translateY(0);
}

/* ---------- Formulier-links (onder de knop) ---------- */
.form-links {
  margin-top: 14px;
  text-align: center;
  font-size: 12px;
  color: #aaa;
}

.form-links a {
  color: #ffd700;
  text-decoration: none;
  transition: color 0.2s ease;
  font-weight: 500;
}

.form-links a:hover {
  color: #fff;
  text-decoration: underline;
}

.form-links span {
  color: #666;
  margin: 0 6px;
}

/* ---------- Info / SEO-tekst ---------- */
.auth-text {
  margin-top: 30px;
  color: #bbb;
  font-size: 12px;
  line-height: 1.6;
  max-width: 420px;
}

.auth-text h3 {
  color: #ffd700;
  font-size: 14px;
  margin-bottom: 10px;
  text-align: center;
  font-weight: 600;
}

.auth-text p {
  margin-bottom: 10px;
  text-align: center;
}

.auth-text strong {
  color: #ffd700;
  font-weight: 600;
}

.auth-text em {
  color: #ddd;
  font-style: italic;
}

.auth-text .small {
  font-size: 11px;
  color: #888;
  text-align: center;
  margin-top: 12px;
  line-height: 1.5;
}

.support-link,
.auth-text a {
  color: #ffd700;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
}

.support-link:hover,
.auth-text a:hover {
  color: #fff;
  text-decoration: underline;
}

/* ---------- Rechterhelft (Afbeelding) ---------- */
.auth-image,
.auth-image2,
.auth-image3 {
  flex: 1;
  position: relative;
  filter: brightness(0.85) contrast(1.1);
  border-radius: 0 8px 8px 0;
  min-height: 550px;
}

.auth-image {
  background: url('/images/banners/login.png') center center/cover no-repeat;
}

.auth-image2 {
  background: url('/images/banners/register.png') center center/cover no-repeat;
}

.auth-image3 {
  background: url('/images/banners/forgot.png') center center/cover no-repeat;
}

.auth-image::after,
.auth-image2::after,
.auth-image3::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to left, 
    rgba(0,0,0,0.7) 0%, 
    rgba(0,0,0,0.3) 40%, 
    transparent 100%
  );
  border-radius: 0 8px 8px 0;
}

/* ---------- Checkbox styling ---------- */
.checkbox-group {
  display: flex;
  align-items: center;
  gap: 8px;
  text-align: left;
  margin: 6px 0;
}

.checkbox-group input[type="checkbox"] {
  width: auto;
  margin: 0;
  cursor: pointer;
  accent-color: #ffd700;
}

.checkbox-group label {
  font-size: 12px;
  color: #bbb;
  cursor: pointer;
  margin: 0;
}

/* ---------- Divider ---------- */
.form-divider {
  display: flex;
  align-items: center;
  margin: 18px 0;
  color: #666;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.form-divider::before,
.form-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: #333;
}

.form-divider::before {
  margin-right: 12px;
}

.form-divider::after {
  margin-left: 12px;
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .auth-wrapper {
    flex-direction: column;
    width: calc(100% - 20px);
    margin: 10px;
    border-radius: 8px;
    min-height: auto;
  }

  .auth-image,
  .auth-image2,
  .auth-image3 {
    height: 250px;
    min-height: 250px;
    flex: none;
    order: -1;
    border-radius: 8px 8px 0 0;
  }

  .auth-image::after,
  .auth-image2::after,
  .auth-image3::after {
    background: linear-gradient(
      to top, 
      rgba(0,0,0,0.7) 0%, 
      rgba(0,0,0,0.3) 40%, 
      transparent 100%
    );
    border-radius: 8px 8px 0 0;
  }

  .form-container {
    padding: 35px 25px;
    border-radius: 0 0 8px 8px;
  }

  .logo img {
    width: 140px;
  }

  .form-container h2 {
    font-size: 20px;
    margin-bottom: 18px;
  }

  form {
    max-width: 100%;
  }

  .alert {
    max-width: 100%;
  }

  .auth-text {
    max-width: 100%;
    margin-top: 25px;
  }

  button.btn {
    padding: 12px;
  }
}

@media (max-width: 500px) {
  .auth-wrapper {
    margin: 5px;
    width: calc(100% - 10px);
  }

  .form-container {
    padding: 25px 20px;
  }

  .logo img {
    width: 120px;
  }

  .form-container h2 {
    font-size: 18px;
  }

  input {
    font-size: 12px;
    padding: 10px 12px;
  }

  button.btn {
    font-size: 12px;
  }

  .auth-text {
    font-size: 11px;
  }
}