  .form-notification-bg {
    background-color: #e4dfea !important;
  }

  .form-field-hint {
    display: block;
    width: 100%;
    margin: 0.35em 0 0;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9em;
    line-height: 1.4;
  }

  .form-field-group.is--error .form-field-hint {
    display: none;
  }

  .form-field-error {
    display: none;
    width: 100%;
    margin: 0.35em 0 0;
    padding: 0.55em 0.75em;
    border-radius: 8px;
    background-color: rgba(255, 76, 36, 0.15);
    border: 1px solid #ff4c24;
    color: #fff;
    font-size: 0.95em;
    font-weight: 600;
    line-height: 1.35;
  }

  .form-field-group.is--error .form-field-error {
    display: block;
  }

  .form-field-group.is--error .form-input {
    border-color: #ff4c24 !important;
    box-shadow: 0 0 0 2px rgba(255, 76, 36, 0.2);
  }
  
/* PLAYLIST */

.music-card {
  display: flex;
  align-items: center;
  padding: 5px;
}

.album-art img {
  max-width: 100px;
}

.music-info {
  flex-grow: 1;
  padding-left: 20px; /* Adjust the spacing as needed */
}

.artist {
  font-size: 20px;
  font-weight: bold;
  color: #4a3c5d; /* Replace with the exact color used in the design */
}

.title {
  font-size: 18px;
  color: #333;
}

.time {
  font-size: 14px;
  color: #333;
  padding-right: 20px; /* Adjust the spacing as needed */
  white-space: nowrap;
}


/* BUTTONS */

btn-outline-primary {
    border-color: #332741;
    color: #332741;
}

.btn-outline-primary, .btn-outline-primary:hover, .btn-outline-primary:focus {
    color: #332741;
    background-color: #ffffff;
    border-color: #332741;
}

.btn-check:active+.btn-outline-primary, .btn-check:checked+.btn-outline-primary, .btn-outline-primary.active, .btn-outline-primary.dropdown-toggle.show, .btn-outline-primary:active {
    color: #ffffff;
    background-color: #332741;
    border-color: #332741;
}

.news-article .article-content .btn.btn-outline-primary {
    border-color: #fff;
    color: #f74d72;
}


.programmas-bg {
    color: #332741 !important;    
    background-color: #d9ac00 !important;
}

/* Ja/Nee slider. Covers forms saved before the slider markup. */
.form-container .btn-group:has(> .btn-check) {
  position: relative;
  display: inline-grid !important;
  grid-template-columns: 1fr 1fr;
  width: max-content !important;
  max-width: 100%;
  min-width: 9.5rem;
  padding: 4px;
  border: 2px solid #e4dfea;
  border-radius: 999px;
  background: #fff;
  vertical-align: middle;
}
.form-container .btn-group:has(> .btn-check)::before {
  content: "";
  position: absolute;
  z-index: 0;
  top: 4px;
  bottom: 4px;
  left: 4px;
  width: calc(50% - 4px);
  border-radius: 999px;
  background: #332741;
  opacity: 0;
  transform: translateX(0);
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.form-container .btn-group:has(> .btn-check):has(input[value="Ja"]:checked)::before {
  opacity: 1;
  transform: translateX(0);
}
.form-container .btn-group:has(> .btn-check):has(input[value="Nee"]:checked)::before {
  opacity: 1;
  transform: translateX(100%);
}
.form-container .btn-group:has(> .btn-check) > .btn {
  position: relative;
  z-index: 1;
  margin: 0 !important;
  padding: 0.45rem 1.15rem !important;
  border: 0 !important;
  border-radius: 999px !important;
  background: transparent !important;
  box-shadow: none !important;
  color: #f74d72 !important;
}

.np-switch { position: relative; display: inline-block; vertical-align: middle; }
.np-switch-input {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
  white-space: nowrap;
}
.np-switch-track {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-width: 9.5rem;
  padding: 4px;
  border: 2px solid #e4dfea;
  border-radius: 999px;
  background: #fff;
}
.np-switch-thumb {
  position: absolute;
  z-index: 0;
  top: 4px;
  bottom: 4px;
  left: 4px;
  width: calc(50% - 4px);
  border-radius: 999px;
  background: #332741;
  opacity: 0;
  transform: translateX(0);
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.np-switch-input[value="Ja"]:checked ~ .np-switch-track .np-switch-thumb { opacity: 1; transform: translateX(0); }
.np-switch-input[value="Nee"]:checked ~ .np-switch-track .np-switch-thumb { opacity: 1; transform: translateX(100%); }
.np-switch-track label {
  position: relative;
  z-index: 1;
  margin: 0;
  padding: 0.45rem 1.15rem;
  text-align: center;
  font-weight: 600;
  color: #f74d72;
  cursor: pointer;
  user-select: none;
}
.np-switch-input:focus-visible ~ .np-switch-track { outline: 2px solid #f74d72; outline-offset: 3px; }

/* Homepage promo blocks: 3 across, then the next row */
.homepage-blocks {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 768px) {
  .homepage-blocks {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
