/* ============================
   WorkBase Skin
   Deze laadt je NA bootstrap.css
   ============================ */
html, body {
  height: 100%;
}

body {
  display: flex;
  flex-direction: column;
}

main {
  flex: 1 0 auto; /* main vult de beschikbare ruimte */
}

footer {
  flex-shrink: 0;
}

/* === Navbar === */
.navbar {
  background-color: #1E5424 !important; /* Calm Veiligheid groen */
}
.navbar .navbar-brand,
.navbar .nav-link {
  color: #fff !important;
}
.navbar .nav-link.active {
  font-weight: bold;
  text-decoration: underline;
}

/* === Buttons === */
.btn-primary {
  background-color: #F09027 !important; /* WorkBase oranje */
  border-color: #F09027 !important;
  color: #fff !important;
}
.btn-primary:hover,
.btn-primary:focus {
  background-color: #d97914 !important;
  border-color: #d97914 !important;
}

.btn-secondary {
  background-color: #F09027 !important; /* WorkBase oranje */
  border-color: #F09027 !important;
  color: #fff !important;
}
.btn-secondary:hover,
.btn-secondary:focus {
  background-color: #d97914 !important;
  border-color: #d97914 !important;
}

.btn-danger {
  background-color: #dc3545 !important;
  border-color: #dc3545 !important;
}

.btn-outline-primary {
  border-color: #F09027 !important;
  color: #F09027 !important;
}
.btn-outline-primary:hover,
.btn-outline-primary:focus {
  background-color: #F09027 !important;
  color: #fff !important;
}

.btn-back {
  background-color: #007bff;
  color: white;
}
.btn-back:hover {
  background-color: #0056b3;
}

.btn-outline-back {
  border-color: #007bff !important;
  color: #007bff !important;
}


/* === Alerts === */
.alert-success {
  background-color: #d4edda !important;
  border-color: #c3e6cb !important;
  color: #155724 !important;
}
.alert-danger {
  background-color: #f8d7da !important;
  border-color: #f5c6cb !important;
  color: #721c24 !important;
}
.alert-warning {
  background-color: #fff3cd !important;
  border-color: #ffeeba !important;
  color: #856404 !important;
}

/* === Cards === */
.card {
  border-radius: .5rem !important;
  box-shadow: 0 .125rem .25rem rgba(0,0,0,.075) !important;
}

/* === Tables === */
.table th {
  background-color: #f2f2f2;
}
.table-secondary {
  background-color: #e2e3e5 !important;
}

/* === Forms === */
.form-label {
  font-weight: 500;
}
.form-control:focus {
  border-color: #F09027 !important;
  box-shadow: 0 0 0 .2rem rgba(240, 144, 39, .25) !important;
}
