.steps {
  list-style-type: none;
  padding: 0;
}

.steps li {
  display: inline-block;
  margin-bottom: 0px;
}

.steps li a,
.steps li p {
  background: #e5f4fd;
  padding: 8px 16px;
  color: #0077bf;
  display: block;
  font-size: 14px;
  font-weight: bold;
  position: relative;
  text-indent: 12px;
}

.bigsteps li a,
.bigsteps li p {
  background: #e5f4fd;
  padding: 10px 25px;
  color: #0077bf;
  display: block;
  font-size: 20px;
  text-indent: 12px;
}

.steps li a:hover,
.steps li p:hover {
  text-decoration: none;
}

.steps li:first-child p:before,
.steps li:last-child p:after {
  border-left: 0;
}

.steps li a:before,
.steps li p:before {
  border-bottom: 18px solid transparent;
  border-left: 12px solid #fff;
  border-top: 18px solid transparent;
  content: "";
  height: 0;
  position: absolute;
  left: 0;
  top: 50%;
  width: 0;
  margin-top: -18px;
}

.steps li a:after,
.steps li p:after {
  border-bottom: 18px solid transparent;
  border-left: 12px solid #e5f4fd;
  border-top: 18px solid transparent;
  content: "";
  height: 0;
  position: absolute;
  /*right: -12px;*/
  left: 100%;
  top: 50%;
  width: 0;
  margin-top: -18px;
  z-index: 1;
}

.steps li.active a,
.steps li.active p {
  background: #0077bf;
  color: #fff;
}

.steps li.active a:after,
.steps li.active p:after {
  border-left: 12px solid #0077bf;
}

.steps li.undone a,
.steps li.undone p {
  background: #eee;
  color: #333;
}

.steps li.undone:last-child p:after,
.steps li.active:last-child p:after {
  border-left: 0;
}

.steps li.undone a:after,
.steps li.undone p:after {
  border-left: 12px solid #eee;
}

.steps li.undone p {
  color: #aaa;
}

.dropdown-item:hover,
.dropdown-item:focus {
  color: #1a5ea3;
  background-color: #6c757d26;
}

.nav-underline .nav-link:hover,
.nav-underline .nav-link:focus {
  color: #1a5ea3;
}

.text-lichtgrijs {
  color: #aaa;
}

.table-lichtgrijs {
  --table-bs-bg: #eee;
  background-color: #eee;
}

.bg-lichtgrijs {
  background-color: #eee;
}

.list-group-item {
  transition: box-shadow 0.2s ease-in-out;
}

.leadcss .list-group-item:hover {
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
  /* Verstelbare schaduwintensiteit */
}

.bg-lightblue {
  background-color: #f4feff;
}

.lead-placeholder {
  border: 2px dashed #ccc;
  min-height: 50px;
  margin-bottom: 5px;
}

.sticky-top-80 {
  top: 80px;
}

.offcanvas-50.offcanvas {
  width: 50%;
  max-width: 100%;
}

.offcanvas-30.offcanvas {
  width: 30%;
  max-width: 100%;
}

.high-z-index {
  z-index: 3000 !important;
}

@keyframes flash {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.5;
  }
}

.progress-steps {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1000px;
  margin: 0 auto;
  position: relative;
}

.progress-steps::before {
  content: "";
  position: absolute;
  top: 30px;
  left: 0;
  width: 100%;
  height: 4px;
  background-color: #e0e0e0;
  z-index: 1;
}

.progress-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  z-index: 2;
}

.step-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: #fff;
  border: 4px solid #e0e0e0;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 24px;
  color: #e0e0e0;
  transition: all 0.3s ease;
}

.step-label {
  margin-top: 8px;
  font-size: 14px;
  font-weight: 500;
  color: #757575;
  text-align: center;
}

.progress-step.done .step-icon {
  background-color: #4caf50;
  border-color: #4caf50;
  color: #fff;
}

.progress-step.active .step-icon {
  background-color: #2196f3;
  border-color: #2196f3;
  color: #fff;
  box-shadow: 0 0 0 4px rgba(33, 150, 243, 0.2);
}

.progress-step.done .step-label,
.progress-step.active .step-label {
  color: #333;
}

@media (max-width: 768px) {
  .progress-steps {
    flex-wrap: wrap;
  }

  .progress-step {
    flex-basis: 33.33%;
    margin-bottom: 20px;
  }

  .progress-steps::before {
    display: none;
  }
}

.progress-steps.reclamation::after {
  content: "GERECLAMEERD";
  position: absolute;
  top: -20px;
  right: 0;
  background-color: #ffa500;
  color: white;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 12px;
}

.progress-step.reclamation .step-icon {
  background-color: #ffa500 !important;
  border-color: #ffa500 !important;
}

.action-button {
  transition: all 0.3s ease;
  border: none;
  border-radius: 5px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.action-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.action-icon {
  font-size: 1rem;
  margin-right: 0.5rem;
}

/* @keyframes float {
  0% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-5px);
  }
  100% {
    transform: translateY(0px);
  }
} */

.dashboard-header {
  background: linear-gradient(135deg, #3498db, #2980b9);
  background: -webkit-linear-gradient(315deg, #3498db, #2980b9);
  background: -moz-linear-gradient(315deg, #3498db, #2980b9);
  background: -o-linear-gradient(315deg, #3498db, #2980b9);
  color: white;
  padding: 0.5rem 0;
  border-radius: 0 0 30px 30px;
  -webkit-border-radius: 0 0 30px 30px;
  -moz-border-radius: 0 0 30px 30px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  -webkit-box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  -moz-box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.dashboard-title {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 0.2rem;
}

.dashboard-subtitle {
  font-size: 0.9rem;
  opacity: 0.9;
}

.dashboard-icon {
  font-size: 2.2rem;
  -webkit-animation: float 3s ease-in-out infinite;
  -moz-animation: float 3s ease-in-out infinite;
  -o-animation: float 3s ease-in-out infinite;
  animation: float 3s ease-in-out infinite;
}

@-webkit-keyframes float {
  0% {
    -webkit-transform: translateY(0px);
  }

  50% {
    -webkit-transform: translateY(-5px);
  }

  100% {
    -webkit-transform: translateY(0px);
  }
}

@-moz-keyframes float {
  0% {
    -moz-transform: translateY(0px);
  }

  50% {
    -moz-transform: translateY(-5px);
  }

  100% {
    -moz-transform: translateY(0px);
  }
}

@-o-keyframes float {
  0% {
    -o-transform: translateY(0px);
  }

  50% {
    -o-transform: translateY(-5px);
  }

  100% {
    -o-transform: translateY(0px);
  }
}

@keyframes float {
  0% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-5px);
  }

  100% {
    transform: translateY(0px);
  }
}

.btn-ap-lichtblauw {
  background-color: #3498db;
  border-color: #3498db;
  color: white;
}

.btn-ap-lichtblauw:hover {
  background-color: #2980b9;
  border-color: #2980b9;
  color: white;
}

.ap-oranje {
  color: #e36f36;
}

.card-header h5 {
  color: #1b6494;
  /* align with APM blue / MD3 header color */
}

/* Material Design 3 card primitives + APM Brand Colors */
:root {
  /* APM Brand Colors */
  --apm-primary: #1b6494;
  --apm-accent: #e36f36;
  --apm-success: #247e3f;

  /* MD3 Card Styling */
  --md3-card-radius: 16px;
  --md3-card-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
  --md3-card-border-color: rgba(27, 100, 148, 0.12);
  --md3-header-bg: #f6f9fc;
  --md3-header-divider: rgba(27, 100, 148, 0.12);
  --md3-title-color: var(--apm-primary);
  --md3-icon-color: var(--apm-accent);
}

.md3-card {
  border-radius: var(--md3-card-radius) !important;
  border: 1px solid var(--md3-card-border-color) !important;
  background-color: #ffffff !important;
  box-shadow: var(--md3-card-shadow) !important;
  overflow: hidden;
}

.md3-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  background-color: var(--md3-header-bg);
  border-bottom: 1px solid var(--md3-header-divider);
  gap: 16px;
}

.md3-card-title {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--md3-title-color);
}

.md3-card-title i {
  color: var(--md3-icon-color);
  font-size: 1.15rem;
}

.md3-card-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.md3-card-actions .action-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  color: #6f7b8f;
  background-color: transparent;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.md3-card-actions .action-button:hover {
  background-color: rgba(27, 100, 148, 0.08);
  color: var(--md3-title-color);
}

.md3-card-actions a.action-button {
  text-decoration: none;
}

.md3-card>.card-body {
  padding: 20px;
}

.md3-card>.card-body.p-0 {
  padding: 0 !important;
}