.service-card {
  overflow: hidden;
  cursor: pointer;
  user-select: none;
  transition: border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

.service-card-body {
  padding: 1rem;
}

.service-content {
  min-width: 0;
  padding-right: 4.5rem;
  gap: 1rem;
}

.service-icon {
  width: 6rem;
  height: 6rem;
  padding: 1rem;
  background: #4b4a4a;
  border-radius: 8px;
}

.service-icon img {
  width: 4rem;
  height: 4rem;
  object-fit: contain;
}

.service-text {
  min-width: 0;
}

.service-title {
  font-size: 1.5rem;
  line-height: 1.2;
}

.service-subtitle {
  margin-top: 0.25rem;
  font-size: 1rem;
  line-height: 1.2;
}

/* Volledige kaart klikbaar */

.service-card-click {
  position: absolute;
  inset: 0;
  z-index: 1;
  cursor: pointer;
}

/* Switch blijft zelfstandig klikbaar */

.service-switch {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 2;
  margin: 0;
  padding: 0;
}

.service-switch .form-check-input {
  float: none;
  width: 3.5rem;
  height: 1.5rem;
  margin: 0;
  cursor: pointer;
}

.service-card:hover {
  border-color: var(--bs-primary);
  box-shadow: 0 0.3rem 0.8rem rgba(0, 0, 0, 0.1);
}

.service-card:has(.form-check-input:checked) {
  border-color: var(--bs-primary);
  background-color: rgba(var(--bs-primary-rgb), 0.05);
  box-shadow: 0 0 0 1px var(--bs-primary);
}

@media (max-width: 767.98px) {
  .service-card-body {
    min-height: 5.25rem;
    padding: 0.75rem;
  }
}

@media (max-width: 767.98px) {
  .service-content {
    gap: 0.75rem;
    padding-right: 4rem;
  }
}

@media (max-width: 767.98px) {
  .service-icon {
    width: 3.75rem;
    height: 3.75rem;
    padding: 0.625rem;
    border-radius: 6px;
  }
}

@media (max-width: 767.98px) {
  .service-icon img {
    width: 2.5rem;
    height: 2.5rem;
  }
}

@media (max-width: 767.98px) {
  .service-title {
    font-size: 1.15rem;
  }
}

@media (max-width: 767.98px) {
  .service-subtitle {
    margin-top: 0.15rem;
    font-size: 0.875rem;
  }
}

@media (max-width: 767.98px) {
  .service-switch {
    top: 0.75rem;
    right: 0.75rem;
  }
}

@media (max-width: 767.98px) {
  .service-switch .form-check-input {
    width: 3rem;
    height: 1.35rem;
  }
}

.service-disabled-message {
  display: none;
  margin-top: 0.35rem;
  color: var(--bs-secondary-color);
  font-size: 0.8rem;
  line-height: 1.2;
}

.service-card:has(.form-check-input:disabled) {
  background-color: var(--bs-secondary-bg);
  opacity: 0.65;
  box-shadow: none;
}

.service-card:has(.form-check-input:disabled) .service-disabled-message {
  display: block;
}

.service-card:has(.form-check-input:disabled), .service-card:has(.form-check-input:disabled) .service-card-click {
  cursor: not-allowed;
}

.service-card:has(.form-check-input:disabled):hover {
  border-color: var(--bs-border-color);
  box-shadow: none;
}

