/* === KLEUREN === */
:root {
  --boog: #005a7c;
  --link-poot: #bebebe;
  --middenpoot: #1e73be;
  --rechtepoot: #ff7731;
  --schaduw: #e6e7e8;
}

/* === ALGEMENE STIJLEN === */
body {
  background-color: var(--schaduw);
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: #333;
}

img[alt*="Logo"] {
  margin-bottom: 1.5rem;
  max-width: 140px;
}

/* === ALERTS === */
.alert-mededeling {
  background-color: var(--link-poot);
  color: var(--boog);
  border: 2px solid var(--rechtepoot);
  font-weight: bold;
  padding: 15px;
  border-radius: 10px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

/* === LOGIN PAGINA === */
body.login-page {
  background-color: var(--link-poot);
  display: flex;
  justify-content: center;
  align-items: center;
}

.login-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  padding: 20px;
}

.login-container {
  max-width: 400px;
  width: 100%;
  padding: 30px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.12);
  border-top: 4px solid var(--middenpoot);
}

.login-title {
  color: var(--boog);
  font-weight: bold;
  text-align: center;
  font-size: 1.6rem;
  margin-bottom: 20px;
}

/* === FORMULIEREN === */
.form-control {
  background-color: #f5f9ff;
  border: 1px solid #b6d4fe;
  border-radius: 8px;
  transition: border-color 0.3s ease;
}
.form-control:focus {
  border-color: var(--middenpoot);
  outline: none;
  box-shadow: 0 0 6px rgba(30, 115, 190, 0.3);
}

/* === KNOPPEN === */
.btn-custom {
  border: 2px solid var(--middenpoot);
  border-radius: 8px;
  padding: 12px 0;
  font-size: 16px;
  color: var(--middenpoot);
  background-color: #fff;
  text-align: center;
  display: block;
  width: 100%;
  min-height: 50px;
  text-decoration: none;
  transition: all 0.3s ease;
  margin-bottom: 15px;
  font-weight: bold;
}
.btn-custom:hover {
  background-color: var(--middenpoot);
  color: #fff;
  border-color: #155a99;
}
.btn-custom:active {
  background-color: #0e4273;
  border-color: #0a3257;
  color: #fff;
}

/* === MODALS === */
.modal-header {
  background-color: var(--boog);
  color: #fff;
  border-top-left-radius: 12px;
  border-top-right-radius: 12px;
}
.modal-header .btn-close {
  filter: invert(1);
}

/* === CARDS === */
.card.p-4 {
  padding: 30px;
  width: 100%;
  max-width: 400px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
  border-radius: 12px;
  background: #fff;
}

.card-left-border {
  border-left: 6px solid var(--rechtepoot);
  border-radius: 12px;
  padding: 18px;
  margin-bottom: 20px;
  background-color: #fff;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.card-left-border:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 18px rgba(0,0,0,0.12);
}

/* === RESPONSIVE === */
@media (max-width: 576px) {
  body {
    padding: 10px;
    flex-direction: column;
  }
  .login-container {
    max-width: 98%;
    padding: 25px;
  }
  img[alt*="Logo"] {
    margin-bottom: 1rem;
    max-width: 100px;
  }
  .login-title {
    font-size: 1.3rem !important;
  }
  .form-control {
    font-size: 1rem;
    min-height: 42px;
  }
  .alert {
    font-size: 1rem !important;
    padding: 10px 12px !important;
  }
  main {
    max-width: 900px;
    margin: 0 auto;
  }
}
