/* Base layout */
body {
  background-color: #f5f7f5;
  color: #333333;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

h1, h2, h3 {
  color: #333333;
}

/* Navbar */
.navbar {
  background-color: #b08567;
}

.navbar .navbar-brand,
.navbar .nav-link,
.navbar .btn {
  color: #ffffff !important;
}

/* Buttons */
.btn-primary {
  background-color: #b08567;
  border-color: #b08567;
}

.btn-primary:hover {
  background-color: #9d7054;
  border-color: #9d7054;
}

.btn-secondary {
  background-color: #6c8e9c;
  border-color: #6c8e9c;
}

.btn-secondary:hover {
  background-color: #5a788a;
  border-color: #5a788a;
}

/* Tables */
.table-striped > tbody > tr:nth-of-type(odd) {
  background-color: #f1f3f1;
}

/* Alerts */
.alert-success {
  background-color: #e0f2e6;
  color: #3c9d61;
}

.alert-danger {
  background-color: #fbeaea;
  color: #c94e4e;
}

/* Forms */
form .form-label {
  font-weight: 500;
}

.sidebar {
  background-color: #f5f7f5;
  height: auto;
  padding-top: 1rem;
  border-right: 1px solid #dee2e6;
}

.sidebar .nav-link {
  color: #333;
  padding: 10px 15px;
  border-left: 4px solid transparent;
  transition: all 0.2s ease;
}

.sidebar .nav-link:hover {
  background-color: #e9ecef;
  border-left: 4px solid #b08567;
  color: #000;
  font-weight: 500;
}

.sidebar .nav-link.active {
  background-color: #fff;
  border-left: 4px solid #b08567;
  font-weight: 600;
}

.sidebar .nav-link i {
  margin-right: 8px;
  opacity: 0.8;
}

.nav-link.active {
  color: #b08567;
  font-weight: bold;
}

.card-title {
  font-weight: 600;
  font-size: 1.1rem;
}

.profile-photo {
  width: 80px;
  height: 80px;
  object-fit: cover;
  object-position: center;
  border-radius: 50%;
}

.profile-preview {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  overflow: hidden;
  display: inline-block;
}

.profile-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* Zorg dat de header vast blijft staan bij scrollen */
.table-sticky thead th {
  position: sticky;
  top: 0;
  background: #f5f7f5;
  z-index: 1;
  border-bottom: 2px solid #dee2e6;
}

/* Compactere rijen */
.table td,
.table th {
  padding: 0.65rem 0.75rem;
  vertical-align: middle;
}

/* Subtiele zebra-striping */
.table tbody tr:nth-child(odd) {
  background-color: #f9f9f9;
}

/* Maak het acties-gedeelte compacter */
.user-action {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

/* Duidelijke knoppen */
.user-action button {
  padding: 0.3rem 0.5rem;
  font-size: 0.875rem;
}

/* Rolbadges wat ronder en strakker */
.badge {
  border-radius: 0.4rem;
  font-size: 0.75rem;
  padding: 0.35em 0.6em;
}