.alert-mededeling {
  background-color: #bebebe !important;
  color: #333 !important;
  border: 2px solid #ffa500 !important;
  font-weight: bold;
  padding: 15px;
  border-radius: 8px;
}

body {
  background-color: #e6e7e8 !important; /* Lichte blauwe achtergrondkleur */
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 40px;
  padding-bottom: 40px;
}

.card.p-4 {
  padding: 30px;
  width: 100%;
  max-width: 400px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  border-radius: 10px;
  background: #fff;
  margin-top: 0 !important;
}

img[alt*="Logo"] {
  margin-bottom: 1.5rem;
  max-width: 140px;
}

.reset-title {
  font-size: 2rem;
  font-weight: bold;
  text-align: center;
  margin-bottom: 1rem;
  margin-top: 0.5rem;
}

#device-check {
  color: white;
  background-color: #007bff;
  padding: 10px;
  border-radius: 5px;
  font-size: 18px;
}

/* Device check labels */
@media (max-width: 576px) {
  #device-check::after {
    content: "✅ MOBIEL";
    color: yellow;
  }
}
@media (min-width: 577px) {
  #device-check::after {
    content: "💻 DESKTOP";
    color: lime;
  }
}

/* Loginpagina & componenten */
body.login-page {
  background-color: #bebebe;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
}
.login-body {
  background-color: #bebebe;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
}
.login-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  padding: 20px;
}
.login-container, .login-box {
  max-width: 400px;
  width: 100%;
  padding: 30px;
  background: #bebebe;
  border-radius: 12px;
  box-shadow: 0 0 12px rgba(0,0,0,0.08);
  border: 1px solid #dee2e6;
}
.login-title {
  color: #005a7c;
  font-weight: bold;
  text-align: center;
  font-size: 1.5rem;
}
.form-control {
  background-color: #e9f0ff;
  border: 1px solid #b6d4fe;
}
.btn-outline-primary {
  border-color: #005a7c;
  color: #005a7c;
}
.btn-outline-primary:hover {
  background-color: #005a7c;
  color: white;
}
.text-primary {
  color: #005a7c !important;
}
.link-terug {
  color: #005a7c !important;
  font-weight: bold;
  text-decoration: none;
}
.link-terug:hover {
  text-decoration: underline;
}

/* Custom knoppen */
.btn-custom {
  border: 2px solid #005a7c;
  border-radius: 5px;
  padding: 12px 0;
  font-size: 16px;
  color: #005a7c;
  background-color: white;
  text-align: center;
  display: block;
  width: 100%;
  min-height: 50px;
  text-decoration: none;
  transition: all 0.3s ease;
  margin-bottom: 15px;
}
.btn-custom:hover {
  background-color: #005a7c;
  color: white;
  border-color: #0056b3;
}
.btn-custom:active {
  background-color: #003e5c;
  color: white;
  border-color: #002b40;
}

.btn-custom.mt-4 {
  margin-left: 20px;
}
.btn-custom i {
  font-size: 20px;
  vertical-align: middle;
}
.btn-mini {
  font-size: 0.7rem;
  padding: 2px 6px;
  line-height: 1;
  min-width: auto;
  width: auto;
}

/* Sidebar, topbar, cardstyle, discipline-card, left-border */
.top-bar {
  background-color: #005a7c;
  color: #fff;               /* Zorg dat tekst wit is op blauwe achtergrond */
  border-radius: 5px 5px 0 0;
  padding: 14px 0;
  font-size: 20px;
  text-align: center;
  display: block;
  width: 100%;
  min-height: 50px;
  margin-bottom: 0;          /* Geen witruimte eronder */
  border: none;              /* Geen dubbele randen als je dit niet wilt */
}

.card-left-border {
  border-left: 5px solid #007b8e;
  border-radius: 10px;
  padding: 15px;
  margin-bottom: 20px;
  background-color: white;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
  transition: transform 0.2s ease;
}
.card-left-border:hover {
  transform: scale(1.01);
}
.container.card-style {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  padding: 30px;
  margin-top: 20px;
  margin-bottom: 20px;
}
.discipline-card {
  border: 1px solid #dee2e6;
  border-left: 5px solid #007b8e;
  background: #fff;
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}
.knop-gelijk {
  min-width: 170px;
  flex-grow: 1;
  text-align: center;
}

/* FullCalendar today cell */
.fc-day-today {
  background-color: #e0f7fa !important;
}

/* Verborgen onderdelen */
[id^="tijden_"],
[id^="rapport_"] {
  width: 100%;
  overflow: visible;
  display: none;
}

/* ---------- MOBIEL STIJLEN ---------- */
@media (max-width: 576px) {
  body {
    padding: 10px;
    flex-direction: column;
  }
  .container.vh-100 {
    padding: 20px 10px;
    height: auto !important;
  }
  .card.p-4 {
    max-width: 98%;
    padding: 25px;
    margin: 20px auto;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  }
  img[alt*="Logo"] {
    margin-bottom: 1rem;
    max-width: 100px;
  }
  .reset-title,
  h3, h4, h5 {
    font-size: 1.25rem !important;
  }
  .table thead tr th, .table tbody tr td {
    font-size: 1.04rem !important;
    padding: 0.5rem !important;
  }
  .form-control, .form-select {
    font-size: 1rem;
    min-height: 40px;
  }
  .alert {
    font-size: 1rem !important;
    padding: 10px 12px !important;
  }
  .d-flex.gap-2.mb-3 {
    flex-direction: column !important;
    gap: 0.5rem !important;
  }
  .modal-dialog {
    margin: 1rem auto !important;
    max-width: 98vw;
  }
  .mb-3, .mb-4 {
    margin-bottom: 1rem !important;
  }
  /* Sidebar/menubalk bovenaan op mobiel */
  #sidebarMenu {
    border-bottom: 1px solid #eee !important;
    border-right: none !important;
  }
  #sidebarMenu .nav {
    flex-direction: row !important;
    justify-content: center !important;
    gap: 1rem !important;
    padding: 0.5rem 0 !important;
  }
  #sidebarMenu .nav-link {
    margin-bottom: 0 !important;
    font-size: 1rem !important;
    text-align: center;
  }
  #sidebarMenu img[alt*="Logo"] {
    max-width: 90px !important;
    margin: 0 auto 1rem auto !important;
  }
  main {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
}

/* Tabellen horizontaal scrollbaar op mobiel */
@media (max-width: 600px) {
  .table-responsive {
    overflow-x: auto;
  }
  table.table {
    min-width: 620px;
    font-size: 0.98rem !important;
  }
  /* Compacte knoppen voor vergunningen */
.btn-compact {
    padding: 0.4rem 0.8rem !important;
    font-size: 1rem !important;
    border-radius: 8px !important;
    min-width: 0 !important;
    min-height: 0 !important;
    line-height: 1.2 !important;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}
.btn-compact .bi, .btn-compact .icon {
    font-size: 1.1rem;
    margin-right: 0.25rem;
}
.card-compact {
    padding: 1rem !important;
    border-radius: 10px !important;
}
.btn-equal {
    min-height: 56px;    /* Zorgt voor gelijke hoogte */
    font-size: 1.05rem;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.6rem 1.2rem;
    border-radius: 10px;
}
.quick-action-btn {
    min-width: 250px;       /* Breedte van de knop, pas aan naar wens */
    max-width: 270px;
    height: 38px;           /* Zelfde als je andere btn-sm */
    font-size: 1rem;
    font-weight: 500;
    padding: 0 16px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.d-flex.gap-2 > * {
    margin-bottom: 0 !important; /* Geen extra marges onder je knoppen */
}
/* Overschrijf de Bootstrap actieve/focus-stijlen voor al je kleine knoppen */
.btn-outline-primary,
.quick-action-btn {
    background: #fff !important;
    color: #005a7c !important;
    border-color: #005a7c !important;
    box-shadow: none !important;
    outline: none !important;
}

.btn-outline-primary:hover,
.quick-action-btn:hover {
    background: #005a7c !important;
    color: #fff !important;
    border-color: #005a7c !important;
}

.btn-outline-primary:active,
.btn-outline-primary:focus,
.quick-action-btn:active,
.quick-action-btn:focus,
.btn-outline-primary:visited,
.quick-action-btn:visited {
    background: #e9f0ff !important;    /* of #fff voor wit */
    color: #005a7c !important;
    border-color: #005a7c !important;
    box-shadow: none !important;
    outline: none !important;
}
@media (max-width: 600px) {
  .filter-buttons .btn-group {
    display: flex;
    flex-direction: column !important;
    width: 100%;
    gap: 8px;
  }
  .filter-buttons .btn-group > * {
    width: 100% !important;
    margin-bottom: 0 !important;
  }
}
.filter-buttons {
    text-align: center;
}
.filter-buttons .btn-group {
    display: flex;
    justify-content: center;
    width: 100%;
    gap: 8px; /* optioneel, voor ruimte tussen knoppen */
}
.knoppenbalk-bovenaan {
    width: 100vw !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center;
    gap: 14px;
    margin: 0 auto 2.5rem auto !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    left: 0 !important;
    position: relative !important;
}



@media (min-width: 992px) {
  .knoppenbalk-bovenaan {
    justify-content: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }


.knoppenbalk-bovenaan {
    width: 100% !important;
    display: flex !important;
    justify-content: center !important;
}
.modal-header {
  background-color: #ff7731; /* Oranje */
  color: white;
}

.modal-header .btn-close {
  filter: invert(1); /* maakt kruisje wit */
}
body.dashboard {
  background-color: #e6e7e8 !important; /* grijs */
}
body.app {
  margin: 0 !important;
  padding: 0 !important;
}

.banner {
  margin-top: 0 !important;
  padding-top: 4px;
  position: relative;
  top: 0;
}

main {
  margin-top: 0 !important;
  padding-top: 0 !important;
}


}
