/* html,
body {
  height: 100%;
} */
 
html{
  min-height: 100%;
  overflow-y: auto;
  scrollbar-gutter: stable;
  scrollbar-width: thin;
  scrollbar-color: rgba(44, 62, 80, 0.75) rgba(255, 255, 255, 0.35);
}

@supports not (scrollbar-gutter: stable) {
  html {
    overflow-y: auto;
  }
}

html::-webkit-scrollbar,
body::-webkit-scrollbar,
#open-requests::-webkit-scrollbar,
#my-requests::-webkit-scrollbar,
#party-open-requests::-webkit-scrollbar,
#search-result::-webkit-scrollbar,
select::-webkit-scrollbar {
  width: 12px;
  height: 12px;
}

html::-webkit-scrollbar-track,
body::-webkit-scrollbar-track,
#open-requests::-webkit-scrollbar-track,
#my-requests::-webkit-scrollbar-track,
#party-open-requests::-webkit-scrollbar-track,
#search-result::-webkit-scrollbar-track,
select::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.4);
  border-radius: 12px;
}

html::-webkit-scrollbar-thumb,
body::-webkit-scrollbar-thumb,
#open-requests::-webkit-scrollbar-thumb,
#my-requests::-webkit-scrollbar-thumb,
#party-open-requests::-webkit-scrollbar-thumb,
#search-result::-webkit-scrollbar-thumb,
select::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, rgba(44, 62, 80, 0.8), rgba(26, 118, 200, 0.9));
  border-radius: 12px;
  border: 2px solid rgba(255, 255, 255, 0.45);
}

html::-webkit-scrollbar-thumb:hover,
body::-webkit-scrollbar-thumb:hover,
#open-requests::-webkit-scrollbar-thumb:hover,
#my-requests::-webkit-scrollbar-thumb:hover,
#party-open-requests::-webkit-scrollbar-thumb:hover,
#search-result::-webkit-scrollbar-thumb:hover,
select::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, rgba(33, 50, 66, 0.9), rgba(12, 97, 172, 0.95));
}

body {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-align: center;
  flex-direction: column;
  align-items: center;
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  background: transparent;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image: url(/images/background.jpg);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  z-index: -1;
  pointer-events: none;
}

@media (max-width: 1200px), (pointer: coarse) {
  html,
  body {
    overflow-x: hidden;
  }

  body::before {
    position: absolute;
    min-height: 100%;
  }
}

div#search-track-main {
    margin-top: 15px;
}
.search-sticky-wrap {
  position: sticky;
  top: 8px;
  z-index: 40;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(255, 255, 255, 0.88));
  border: 1px solid rgba(26, 118, 200, 0.2);
  border-radius: 12px;
  padding: 10px;
  box-shadow: 0 6px 18px rgba(15, 40, 64, 0.12);
  backdrop-filter: blur(4px);
}

.search-empty-state {
  margin-top: 10px;
  margin-bottom: 12px;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid #bcd7f1;
  background: #eef6ff;
  color: #24527a;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
}

.cooldown-banner {
  border-radius: 12px;
  border: 1px solid rgba(230, 187, 47, 0.75);
  box-shadow: 0 6px 14px rgba(142, 106, 8, 0.2);
}

.cooldown-icon {
  margin-right: 8px;
}
button#request-btn-rules {
    margin: 15px;
}
button#send-request-btn {
    margin-top: 15px;
}
div#open-requests-header {
    cursor: pointer;
}

div#search-result {
  text-align: left;
  overflow-y: auto;
  max-height: 500px;
  font-size: larger;
  padding-left: 0px;
  padding-right: 5px;
  padding-bottom: 10px;
  padding-top: 10px;
  margin-bottom: 30px; /* was 15px, nu extra ruimte voor scrollbar */
  margin-top: 10px;
}
.input-wrong{
  border: 3px solid #bb4848;
}
.input-warning{
  border: 3px solid #e6bb2f;
}
.container, .container-md, .container-sm {
  min-width: 100%;
  position: relative;
}

label{
  width: 100%;
}
.link-secondary {
  color: #1a76c8;
}
a.navbar-brand {
  color: #1a76c8;
}
/* a.navbar-brand, a:visited.navbar-brand{
  color: rgb(134, 45, 4)
} */

.btn-wide {
  margin: 15px;
  min-width: 300px;
}
/* #search{
  margin-bottom: 5px;
} */
.album-cover-queue{
  width: 150px;
  float: left;
}
.requests-open {
  transform: rotateY(0deg) rotate(90deg);
}
#my-requests,
#party-open-requests{
  max-height: 450px;
  overflow-y: auto;
}
.search-result-item {
  background-color: #ffffffba;
  margin: 0px;
  margin-bottom: 5px;
  margin-right: 5px;
  padding: 5px;
  border-radius: 15px;
  min-height: 155px;
}
.artist{
  font-weight: bold;
  margin-left: 30px;
}

.title {
  margin-left: 30px;
}

.artist-history{
  font-weight: bold;
  font-size: larger;
  text-align: left;
  /* margin-left: 15px; */
}
.title-history{
  text-align: left;
  font-size: larger;
  /* margin-left: 15px; */
}
.details{
  text-align: initial;
  /* margin-left: 30px; */

}
/* .essential_audio {
  margin-top: 12px;
  max-width: 97%;
} */
span.share-icons {
  font-size: x-large;
}

.request-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  vertical-align: middle;
}

.request-btn .share-request-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.5em;
  height: 1.5em;
  padding: 0 !important;
  line-height: 1;
}

.request-btn .share-request-btn i {
  line-height: 1;
}

.share-request-btn {
  color: inherit;
  border: 0;
  text-decoration: none;
  line-height: 1;
  cursor: pointer;
}

.share-request-btn:hover,
.share-request-btn:focus {
  color: inherit;
  text-decoration: none;
  box-shadow: none;
}

.request-mini-header {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  margin: 4px auto 8px;
}

.request-mini-header .request-language-slot {
  display: flex;
  align-items: center;
}

.request-mini-header .language-selector {
  position: static;
  top: auto;
  right: auto;
  margin: 0;
  z-index: auto;
}

.request-mini-header .share-request-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: linear-gradient(148deg, #24c059 38%, #035b10 95%);
  color: #ffffff !important;
  box-shadow: 0 8px 18px rgba(232, 65, 24, 0.35);
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.request-mini-header .share-request-btn i {
  font-size: 1.05rem;
}

.request-mini-header .share-request-btn:hover,
.request-mini-header .share-request-btn:focus {
  color: #ffffff !important;
  box-shadow: 0 12px 24px rgba(232, 65, 24, 0.45);
  transform: translateY(-1px) scale(1.04);
  filter: saturate(1.08);
}

.public-mini-header {
  width: min(94%, 560px);
  margin: 4px auto 4px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 8px 12px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.64);
  border: 1px solid rgba(26, 74, 114, 0.14);
  box-shadow: 0 10px 24px rgba(11, 40, 66, 0.12);
  backdrop-filter: blur(4px);
  position: relative;
  z-index: 120;
}

body.landing-page .public-mini-header {
  width: min(94%, 560px);
  flex: 0 0 100%;
}

.public-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  color: #183d60;
  text-decoration: none;
}

.public-brand:hover,
.public-brand:focus {
  color: #183d60;
  text-decoration: none;
}

.public-brand img {
  width: 34px;
  height: 34px;
  object-fit: contain;
  flex: 0 0 auto;
}

.public-brand span {
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.public-header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  margin-left: auto;
}

.public-mini-header .landing-language-slot,
.public-mini-header .request-language-slot {
  display: flex;
  align-items: center;
}

.public-mini-header .language-selector {
  position: static;
  top: auto;
  right: auto;
  margin: 0;
  z-index: 130;
}

.public-mini-header .language-selector .dropdown-menu {
  z-index: 2000;
}

.public-mini-header .language-selector .btn {
  border-radius: 999px;
  min-height: 36px;
  color: #1a3a52;
  background-color: rgba(255, 255, 255, 0.75);
  border-color: rgba(26, 58, 82, 0.25);
}

.public-mini-header .language-selector .btn:hover,
.public-mini-header .language-selector .btn:focus,
.public-mini-header .language-selector .btn.show {
  color: #0f2233;
  background-color: rgba(255, 255, 255, 0.92);
  border-color: rgba(26, 58, 82, 0.4);
}

@media (max-width: 480px) {
  .request-mini-header {
    gap: 8px;
    margin: 6px 0 8px 0;
  }

  .request-mini-header .share-request-btn {
    width: 34px;
    height: 34px;
  }
}

.share-modal .modal-title {
  font-weight: 700;
}

.share-modal .btn {
  border-radius: 0.9rem;
}

body.dj-portal .share-modal {
  background: var(--dj-surface);
  color: var(--dj-text);
  border: 1px solid var(--dj-border);
}

body.dj-portal .share-modal .modal-header {
  border-bottom: 1px solid var(--dj-border);
}

body.dj-portal .share-modal .modal-title,
body.dj-portal .share-modal .modal-body,
body.dj-portal #share-request-link-preview {
  color: var(--dj-text);
}

body.dj-portal .share-modal .text-muted,
body.dj-portal .share-modal .small.text-muted {
  color: var(--dj-muted) !important;
}

body.dj-portal .share-modal .btn-close {
  filter: var(--dj-modal-close-filter, invert(1) grayscale(1) brightness(1.2));
}

html[data-theme="light"] body.dj-portal .share-modal .btn-close {
  filter: none;
}


.hide{
  display: none;
}
input[type=checkbox]
{
  /* Double-sized Checkboxes */
  -ms-transform: scale(2); /* IE */
  -moz-transform: scale(2); /* FF */
  -webkit-transform: scale(2); /* Safari and Chrome */
  -o-transform: scale(2); /* Opera */
  transform: scale(2);
  padding: 10px;
  margin-right: 10px;
}

/* Might want to wrap a span around your checkbox text */
.checkboxtext
{
  /* Checkbox text */
  font-size: 110%;
  display: inline;
}

input[type=search]::-webkit-search-cancel-button {
  -webkit-appearance: searchfield-cancel-button;
}
.font-w700{
  font-weight: 700;
}
/* .form-request {
  width: 100%;
  max-width: 90%;
  padding: 5px;
  margin: auto;
} */
.form-control {
  background-color: #ffffff42;
  margin-bottom: 5px;
}
.form-control:focus {
  background-color: #ffffff86;
}
.form-signin .checkbox {
  font-weight: 400;
}
.form-signin .form-control {
  position: relative;
  box-sizing: border-box;
  height: auto;
  padding: 10px;
  font-size: 16px;
}
.form-signin .form-control:focus {
  z-index: 2;
}
.form-signin input[type="email"] {
  margin-bottom: -1px;
  border-bottom-right-radius: 0;
  border-bottom-left-radius: 0;
}
.form-signin input[type="password"] {
  margin-bottom: 10px;
  border-top-left-radius: 0;
  border-top-right-radius: 0;
}

.response-message{
  padding: 8px;
  margin-top: 30px;
}
.main-max {
  max-width: 99% !important;
}
.main{
  background-color: #ffffffc9;
  width: 100%;
  max-width: 90%;
  padding: 5px;
  margin: auto;
  margin-top: 8px;
  margin-bottom: 8px;
  border-radius: 2px;
}

.bd-placeholder-img {
  font-size: 1.125rem;
  text-anchor: middle;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.btn-frontpage{
  min-width: 180px;
  /* text-align: left; */
  /* padding-left: 38px; */
  margin: 5px;
  font-size: x-large;
}

body.landing-page .main.landing-shell {
  width: min(94%, 560px);
  max-width: 560px;
  padding: 22px 18px 18px;
  border-radius: 18px;
  border: 1px solid rgba(17, 61, 97, 0.2);
  box-shadow: 0 18px 36px rgba(11, 40, 66, 0.2);
  backdrop-filter: blur(3px);
}

/* Center card + footer vertically on all screen sizes */
body.landing-page .container > .row {
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding-top: 0px;
  padding-bottom: 24px;
}

body.landing-page .landing-title {
  font-size: clamp(1.8rem, 4.8vw, 2.2rem);
  line-height: 1.2;
  margin-bottom: 8px;
  color: #123251;
}

body.landing-page .landing-subtitle {
  font-size: clamp(1.08rem, 3.7vw, 1.24rem);
  line-height: 1.35;
  color: #204d73;
  max-width: 28ch;
  margin: 0 auto 14px;
}

body.landing-page .landing-description {
  font-size: 1.02rem;
  line-height: 1.55;
  color: #213f5a;
  margin: 0 auto 12px;
  max-width: 38ch;
}

body.landing-page .landing-switch {
  margin-bottom: 12px !important;
}

body.landing-page .landing-switch .btn-group {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: inset 0 0 0 1px rgba(19, 69, 109, 0.18);
}

body.landing-page .landing-switch .btn {
  min-height: 44px;
  padding: 9px 16px;
  font-weight: 700;
}

body.landing-page .landing-alert {
  margin: 14px auto !important;
  border-radius: 12px;
  border-width: 1px;
  font-size: 0.97rem;
  line-height: 1.45;
}

body.landing-page .landing-action {
  margin-top: 10px;
}

body.landing-page .btn-frontpage {
  width: min(100%, 420px);
  min-height: 50px;
  font-size: clamp(1.1rem, 4vw, 1.7rem);
  border-radius: 12px;
  font-weight: 700;
  letter-spacing: 0.01em;
}

body.landing-page #btn-nosp.btn-frontpage {
  background: #5e6b78;
  border-color: #5e6b78;
}

body.landing-page #btn-login-request.btn-frontpage {
  box-shadow: 0 10px 18px rgba(24, 132, 78, 0.3);
}

body.landing-page .btn-frontpage-subtle {
  min-height: 44px;
  border-radius: 10px;
  padding-left: 18px;
  padding-right: 18px;
  font-weight: 700;
}

body.landing-page #nosp-saved-name-caption,
body.landing-page #resume-session-caption {
  font-size: 0.9rem;
}

body.landing-page .landing-nosp-form {
  margin-top: 16px !important;
  padding: 12px 12px 14px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.68);
  border: 1px solid rgba(26, 74, 114, 0.18);
}

body.landing-page .landing-dj-contact {
  border-radius: 999px;
  min-height: 38px;
  font-weight: 600;
}

body.landing-page .location-image-div {
  padding-top: 12px;
}

body.landing-page .location-image {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  box-shadow: 0 6px 16px rgba(20, 54, 84, 0.24);
}



body.landing-page .language-selector .btn {
  border-radius: 999px;
  min-height: 36px;
  color: #1a3a52;
  background-color: rgba(255, 255, 255, 0.75);
  border-color: rgba(26, 58, 82, 0.25);
}

body.landing-page .language-selector .btn:hover,
body.landing-page .language-selector .btn:focus,
body.landing-page .language-selector .btn.show {
  color: #0f2233;
  background-color: rgba(255, 255, 255, 0.92);
  border-color: rgba(26, 58, 82, 0.4);
}

@media (max-width: 480px) {
  body.landing-page .main.landing-shell {
    width: 95%;
    padding: 18px 14px 14px;
    border-radius: 14px;
  }

  body.landing-page .landing-description {
    font-size: 0.98rem;
    max-width: 34ch;
  }

  body.landing-page .btn-frontpage {
    min-height: 48px;
  }

  body.landing-page .footer.landing-footer {
    width: 95%;
    font-size: 0.93rem;
  }
}

body.request-page .main.request-shell {
  width: min(94%, 560px);
  max-width: 560px;
  padding: 22px 18px 18px;
  border-radius: 18px;
  border: 1px solid rgba(17, 61, 97, 0.2);
  box-shadow: 0 18px 36px rgba(11, 40, 66, 0.2);
  backdrop-filter: blur(3px);
}

body.request-page .container > .row {
  flex-direction: column;
  align-items: center;
  justify-content: center;
  /* min-height: 100vh; */
  padding-top: 0px;
  padding-bottom: 24px;
}

body.request-page .request-mini-header {
  width: min(94%, 560px);
  margin: 4px auto 4px;
}

body.request-page .header.row {
  margin-left: 0;
  margin-right: 0;
  padding: 10px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.64);
  border: 1px solid rgba(26, 74, 114, 0.14);
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 8px;
  align-items: stretch;
}

body.request-page .profile-div.request-profile-card {
  min-width: 0;
  width: 100%;
  border-radius: 12px;
  padding: 10px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas:
    "guestPhoto djMeta"
    "guestMain djMeta"
    "djAction djAction";
  align-items: start;
  gap: 10px;
  background: rgba(255, 255, 255, 0.66);
  border: 1px solid rgba(26, 74, 114, 0.12);
}

body.request-page .profile-image-div {
  grid-area: guestPhoto;
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  margin: 0;
  padding: 0;
  padding-left: 0;
}

body.request-page .profile-image,
body.request-page .location-image {
  width: clamp(58px, 18vw, 82px);
  height: clamp(58px, 18vw, 82px);
  object-fit: cover;
  border-radius: 10px;
}

body.request-page .request-guest-main {
  grid-area: guestMain;
  display: block;
  min-width: 0;
}

body.request-page .request-dj-meta {
  grid-area: djMeta;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 6px;
  min-width: 0;
  margin: 0;
  padding: 0;
  opacity: 0.9;
  font-size: 0.85rem;
  text-align: center;
}

body.request-page .request-dj-meta .location-image-div {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 0;
  flex: 0 0 auto;
}

body.request-page .request-dj-meta .location-image {
  width: clamp(58px, 18vw, 82px);
  height: clamp(58px, 18vw, 82px);
  border-radius: 8px;
}

body.request-page .user-name {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  padding: 0;
  font-size: clamp(1.06rem, 3.8vw, 1.24rem);
  line-height: 1.25;
}

body.request-page .user-name,
body.request-page #location-text {
  padding-left: 0;
  padding-right: 0;
}

body.request-page .maxtext {
  width: auto;
  max-width: 100%;
  white-space: nowrap;
  overflow: hidden !important;
  text-overflow: ellipsis;
}

body.request-page .user-name .user-name-text,
body.request-page #location-text {
  min-width: 0;
}

body.request-page .user-name .user-name-text {
  display: -webkit-box;
  line-clamp: 2;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  white-space: normal;
}

body.request-page #location-text {
  font-weight: 600;
  font-size: 0.82rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 14ch;
}

body.request-page .user-name .edit-name-btn {
  margin-right: 0 !important;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(26, 118, 200, 0.12);
}

body.request-page .request-dj-actions {
  grid-area: djAction;
  display: flex;
  align-items: center;
  justify-content: center;
}

body.request-page #search-track-main.request-panel {
  margin-top: 14px;
  padding: 10px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.56);
  border: 1px solid rgba(26, 74, 114, 0.14);
}

body.request-page .request-rules-btn {
  min-height: 42px;
  border-radius: 10px;
  font-weight: 700;
}

body.request-page .request-send-btn {
  width: min(100%, 420px);
  min-height: 48px;
  border-radius: 12px;
  font-weight: 700;
}

body.request-page #search,
body.request-page #name {
  min-height: 44px;
  border-radius: 10px;
}

body.request-page .request-dj-contact {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: center;
  max-width: 100%;
  white-space: normal;
  text-align: center;
  line-height: 1.25;
  border-radius: 10px;
  min-height: 30px;
  padding: 5px 10px;
  font-size: 0.78rem;
  font-weight: 600;
}

body.request-page .response-message {
  margin-top: 14px;
}

body.landing-page .footer.landing-footer {
  width: min(94%, 560px);
  max-width: 560px;
  border-radius: 12px;
  font-size: 0.98rem;
  padding: 9px 12px;
}

body.landing-page .footer.landing-footer a {
  text-underline-offset: 2px;
}

body.landing-page .footer.landing-footer .landing-footer-link-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 18px;
  color: inherit;
  opacity: 0.2;
}

body.landing-page .footer.landing-footer .landing-footer-link-icon:hover,
body.landing-page .footer.landing-footer .landing-footer-link-icon:focus {
  opacity: 0.35;
}

body.request-page .footer.request-footer {
  width: min(94%, 560px);
  max-width: 560px;
  border-radius: 12px;
  font-size: 0.98rem;
  padding: 9px 12px;
}

@media (max-width: 768px) {
  body.request-page .main.request-shell,
  body.request-page .request-mini-header,
  body.request-page .footer.request-footer {
    width: 95%;
  }

  body.request-page .main.request-shell {
    border-radius: 14px;
    padding: 14px 10px 12px;
  }

  body.request-page .header.row {
    padding: 7px;
  }

  body.request-page .profile-div.request-profile-card {
    padding: 8px;
    gap: 8px;
  }

  body.request-page .request-send-btn {
    min-height: 46px;
  }
}
@media (max-width: 480px) {
  body.request-page .footer.request-footer {
    font-size: 0.93rem;
  }

  body.request-page .request-rules-btn {
    min-height: 40px;
  }
}

@media (max-width: 600px) {
  body.request-page .header.row {
    gap: 6px;
    padding: 6px;
  }

  body.request-page .profile-div.request-profile-card {
    gap: 6px;
    padding: 6px;
  }

  body.request-page .profile-image,
  body.request-page .location-image {
    width: clamp(52px, 16vw, 70px);
    height: clamp(52px, 16vw, 70px);
  }

  body.request-page .request-dj-contact {
    min-height: 32px;
    font-size: 0.76rem;
    padding-left: 9px;
    padding-right: 9px;
  }
}

@media (max-width: 359px) {
  body.request-page .profile-div.request-profile-card {
    gap: 4px;
    padding: 5px;
    grid-template-columns: minmax(0, 1fr) 78px;
  }

  body.request-page .maxtext,
  body.request-page #location-text {
    max-width: 100%;
  }

  body.request-page .request-dj-meta {
    gap: 6px;
  }

  body.request-page .request-dj-contact {
    font-size: 0.72rem;
    min-height: 28px;
    padding: 5px 8px;
  }

  body.request-page .user-name {
    font-size: 1rem;
  }
}
.spotify-logo{
  width: 35px;
  padding-bottom: 3px;
  margin-right: 4px;
  filter: invert(48%) sepia(91%) saturate(2351%) hue-rotate(-253deg) brightness(102%) contrast(114%) drop-shadow(1px 2px 2px rgb(0 0 0 / 0.4));
}

.fa-spotify{
  padding-left: 2px;
}

.footer {
  /* background-color: #ffffffc9;
  width: 100%; */
  /* max-width: 90%; */
  /* padding: 5px;
  margin: auto;
  border-radius: 2px; */
  background-color: #ffffffc9;
  width: 100%;
  max-width: 90%;
  padding: 5px;
  margin: auto;
  margin-top: 8px;
  margin-bottom: 8px;
  border-radius: 2px;
}
.blurdiv{
  -webkit-filter: blur(3px);
  -moz-filter: blur(3px);
  -o-filter: blur(3px);
  -ms-filter: blur(3px);
  filter: blur(3px);
}
.profile-image, .location-image{
  width: 72px;
  object-fit: cover;
  height:72px;
}


.questionmark {
  font-size: larger;
  font-family: sans-serif, monospace;
}

.clicked {
  color: #e6bb2f;
}
.update-body{
  background-color: #fff3ddb0;
}
.input-wrong{
  outline: none;
  border-color: #f14967;
  box-shadow: 0 0 9px #f14967;
}

input#djs_join_setting {
  margin: 10px;
}
.song-aproved{
  background-color: #00ff401a;
}
.song-reject{
  background-color: #ffc40033;
}
.song-removed{
  background-color: #ff000031;
}
.song-not-played{
  background-color: #8f6bff2a;
}

/* Dj page */

.dj-setting-col {
  margin-top: 15px;
}

.dj-setting-name {
  font-weight: bold;
  font-size: small;
}
.songartist-div{
  font-weight: bold;
}
.songtitle-div{
  font-weight: bold;
}
.request-list-item {
  margin-bottom: 15px;
  text-align: left;
  font-size: large;
}
.request-list-item-hr {
  margin: 8px;
}
.request-list-item-details{
  font-size: smaller;
}
.request-details-time{
  text-align: left;
  font-size: smaller;
}
.request-icons{
  text-align: right;
}
/* .btn-request-info:hover, .btn-song-info:hover */
.request-list-item-outer:hover{
  /* background-color: #6b6b6b17; */
  box-shadow: 0px 0px 5px 0px #868686, 0em 0px 0em #868686;
}
.request-list-item-outer {
  margin-top: 5px;
}
.row.request-list-item {
  margin-bottom: 1px;
}
.album-image{
  width: 50px;
}
.btn-last{
  padding-right: 15px;
}
.row.songdetails-item {
  padding-bottom: 15px;
}

div#outer-requests {
  margin: 20px;
}
.col-info {
  max-width: 44px;
}

.request-select-control {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  min-height: 30px;
}
.noscroll {
  overflow: hidden; 
}
div#outer-popup {
  /* min-height: 100vh;
  min-width: 100%;
  z-index: 999;
  position: fixed; */
  position: fixed;
  overflow-y: auto;
  top: 0;
  left: 0;
  top: 0;
  bottom: 0;
  width: 80%;
  max-width: 650px;
  padding: 30px;
  min-height: 200vh;
  background: rgb(25 25 25 / 98%);
  color: #ffffffed;
  min-height: 100vh;
  min-width: 100%;
  z-index: 999;
}
div#inner-popup {
  font-size: xx-large;
}
.popup-heading{
  padding-top: 50px;
  padding-bottom: 20px;
}
span#popup-close {
  margin-right: 10px;
  font-size: xx-large;
}

/* Compact song detail modal for tablet portrait */
#outer-popup #inner-popup {
  font-size: 1rem !important;
  max-width: 980px;
  margin: 0 auto;
}

#outer-popup .popup-heading {
  margin: 0;
  padding: 0;
  font-size: 2rem;
  line-height: 1.15;
}

.songpopup-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.songpopup-state {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 3px 10px;
  margin-top: 6px;
  font-size: 0.9rem;
  font-weight: 700;
  border: 1px solid rgba(255, 255, 255, 0.22);
}

.songpopup-state.state-new { background: rgba(13, 110, 253, 0.2); color: #9fc3ff; }
.songpopup-state.state-reject { background: rgba(220, 53, 69, 0.2); color: #ffb4bd; }
.songpopup-state.state-played { background: rgba(25, 135, 84, 0.2); color: #9de3bf; }
.songpopup-state.state-removed { background: rgba(108, 117, 125, 0.3); color: #d6d8da; }
.songpopup-state.state-not-played { background: rgba(143, 107, 255, 0.22); color: #d9ccff; }

.request-status-chip {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 2px 9px;
  margin-left: 8px;
  font-size: 0.8rem;
  font-weight: 700;
  line-height: 1.1;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.request-status-chip.state-new { background: rgba(13, 110, 253, 0.24); color: #9fc3ff; }
.request-status-chip.state-reject { background: rgba(220, 53, 69, 0.26); color: #ffb4bd; }
.request-status-chip.state-played { background: rgba(25, 135, 84, 0.26); color: #9de3bf; }
.request-status-chip.state-removed { background: rgba(108, 117, 125, 0.34); color: #d6d8da; }
.request-status-chip.state-not-played { background: rgba(143, 107, 255, 0.28); color: #d9ccff; }

.songpopup-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.songpopup-vip-switch {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 2px 4px;
  border-radius: 6px;
  border: 0;
  background: transparent;
  margin: 0;
}

.songpopup-vip-switch input[type="checkbox"] {
  width: 18px;
  height: 18px;
  transform: none;
  margin: 0;
}

.songpopup-vip-text {
  font-size: 0.9rem;
  opacity: 0.9;
}

.songpopup-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 10px;
  padding: 10px 12px;
  margin-bottom: 10px;
}

.songpopup-card-title {
  font-weight: 700;
  margin-bottom: 8px;
}

.songpopup-duplicates-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.songpopup-duplicate-item {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  font-size: 0.93rem;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.16);
  padding-bottom: 4px;
}

.songpopup-duplicate-item .name { font-weight: 600; }
.songpopup-duplicate-item .meta { opacity: 0.86; font-size: 0.88rem; }
.songpopup-duplicate-item.is-current .name { color: #9fc3ff; }

#outer-popup .row.songdetails-item {
  padding-bottom: 6px;
  font-size: 1rem;
}

#outer-popup .songdetails-personal-message-row {
  margin-top: 3px;
}

#outer-popup .songdetails-personal-message-row.has-message {
  /* padding: 8px; */
  /* border-radius: 10px; */
  background: linear-gradient(90deg, rgba(159, 195, 255, 0.14) 0%, rgba(159, 195, 255, 0.06) 45%, rgba(255, 255, 255, 0.02) 100%);
  padding-top: 8px;
  padding-bottom: 8px;
  /* border: 1px solid rgba(159, 195, 255, 0.3); */
}

#outer-popup .songpopup-personal-message-box {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

#outer-popup .songpopup-personal-message-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 999px;
  background: rgba(159, 195, 255, 0.18);
  color: #9fc3ff;
  font-size: 0.82rem;
  flex-shrink: 0;
  margin-top: 1px;
  box-shadow: inset 0 0 0 1px rgba(159, 195, 255, 0.28);
}

#outer-popup .songpopup-personal-message-text {
  font-size: 0.97rem;
  line-height: 1.4;
  font-weight: 500;
  color: #e5edf8;
  white-space: pre-wrap;
  word-break: break-word;
}

/* Rules popup styles */
.rules-popup-body {
  font-size: 1.1em;
  line-height: 1.65;
  padding: 0 4px;
}
.rules-popup-intro {
  font-weight: 600;
  margin-bottom: 16px;
  opacity: 0.9;
}
.rules-popup-list {
  list-style: none;
  padding: 0;
  margin: 0 0 16px 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.rules-popup-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.rules-icon {
  flex-shrink: 0;
  font-size: 1.15em;
  line-height: 1.5;
}
.rules-popup-closing {
  margin-top: 20px;
  font-size: 1.05em;
  font-weight: 600;
  text-align: center;
}

@media (max-width: 900px) and (orientation: portrait) {
  #outer-popup #inner-popup { font-size: 0.95rem !important; }
  #outer-popup .popup-heading { font-size: 1.6rem; }
  .songpopup-actions .btn { min-width: 106px !important; }
  .songpopup-duplicate-item { flex-direction: column; gap: 2px; }
}


#requests-button-bar {
  padding-bottom: 15px;
}
.dj-event-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

body.dj-events-page #update_settings_form > .dj-setting-col:not(.event-create-card) {
  display: none;
}

#event-management-modal .modal-body {
  max-height: 75vh;
  overflow-y: auto;
}
.request-btn {
  padding-left: 15px;
}
.request-toolbar-btn {
  margin-right: 8px;
  border-radius: 10px;
}
.new-request-indicator {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #e8f6ec;
  color: #17643a;
  border: 1px solid #8fd1a9;
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 0.92rem;
  font-weight: 700;
  margin-left: 8px;
}

.new-request-indicator::before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #20a45a;
  box-shadow: 0 0 0 0 rgba(32, 164, 90, 0.55);
  animation: newRequestDotPulse 1.4s ease-out infinite;
}

.date-filter-indicator {
  display: inline-flex;
  align-items: center;
  min-height: 31px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 600;
  margin-right: 8px;
}

.date-filter-today {
  background: #e8f7ed;
  color: #1f6f43;
}

.date-filter-warning {
  background: #fff2d8;
  color: #8a5700;
  box-shadow: inset 0 0 0 1px #f0c36d;
}

.date-filter-changed {
  border-color: #f0b34d !important;
  box-shadow: 0 0 0 0.12rem rgba(240, 179, 77, 0.25);
}

.bulk-actions-bar {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-right: 8px;
}

.bulk-select-all-wrap {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.92rem;
}

.bulk-selected-count {
  font-size: 0.9rem;
  color: #6c757d;
  min-width: 96px;
  text-align: left;
}

.bulk-request-checkbox {
  transform: none !important;
  -ms-transform: none !important;
  -moz-transform: none !important;
  -webkit-transform: none !important;
  -o-transform: none !important;
  width: 18px;
  height: 18px;
  margin: 0 !important;
  padding: 0 !important;
  cursor: pointer;
}
.date-select {
  min-width: 150px;
  margin-right: 6px;
}

#filter-event {
  width: clamp(260px, 35vw, 520px);
  min-width: 260px;
}

#filter-event.active-event-selected {
  border-color: #74c69d;
  box-shadow: 0 0 0 0.18rem rgba(116, 198, 157, 0.32);
  background: linear-gradient(180deg, #f7fff9 0%, #e9f9ef 100%);
  color: #14532d;
  font-weight: 700;
}

#filter-event option.event-option-active {
  font-weight: 700;
  background-color: #dcfce7;
  color: #14532d;
}

#settings-export-event {
  width: 100%;
}

@media (max-width: 900px) {
  #filter-event {
    width: clamp(230px, 40vw, 420px);
    min-width: 230px;
  }
}

.vip-toggle {
  color: #9e9e9e;
  cursor: pointer;
  margin-right: 8px;
}
.vip-toggle.active {
  color: #ffb300;
}
.request-list-item-outer.vip-row {
  border-left: 6px solid #ffb300;
  box-shadow: 0 0 0 2px #ffb30099, 0 0 14px rgba(255, 179, 0, 0.22);
  background-color: rgba(255, 179, 0, 0.06);
  border-radius: 6px;
}

.request-list-item-outer.song-aproved.vip-row {
  background-color: #00ff401a;
}
.requester-summary {
  font-size: 0.98rem;
  border-top: 1px solid #ffffff33;
  margin-top: 10px;
  max-width: 100%;
}
.requester-summary ul {
  margin-bottom: 0;
  padding-left: 18px;
}

.requester-summary-list li {
  display: list-item;
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: break-word;
  line-height: 1.35;
  margin-bottom: 2px;
}

.requester-count-badge {
  margin-left: 6px;
  font-size: 0.9em;
  white-space: nowrap;
}


.requester-summary-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
}

.requester-summary-header > strong {
  min-width: 0;
}

.requester-summary-toggle-compact {
  border: 0;
  background: transparent;
  color: #f3f3f3;
  padding: 0;
  line-height: 1;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}

.requester-summary-toggle-compact:hover,
.requester-summary-toggle-compact:focus {
  color: #ffffff;
  opacity: 0.95;
}

.requester-summary-toggle-count {
  font-weight: 700;
  font-size: 0.85em;
  opacity: 0.85;
}

#requester-summary,
#requester-summary * {
  max-width: 100%;
}

.song-duplicate-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-left: 8px;
  font-size: 0.86em;
  color: #255a2e;
  background: rgba(40, 167, 69, 0.16);
  border: 1px solid rgba(40, 167, 69, 0.35);
  border-radius: 12px;
  padding: 1px 8px;
  font-weight: 700;
}

.new-request-badge {
  display: inline-flex;
  align-items: center;
  margin-left: 8px;
  padding: 1px 8px;
  border-radius: 999px;
  font-size: 0.78em;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: #ffffff;
  background: linear-gradient(135deg, #1f9d55, #167c43);
}

.request-list-item-outer.request-new-highlight {
  animation: newRequestRowHighlight 4.5s ease-out;
  box-shadow: 0 0 0 2px rgba(31, 157, 85, 0.28), 0 8px 22px rgba(31, 157, 85, 0.18);
}

@keyframes newRequestRowHighlight {
  0% {
    transform: translateY(-3px);
    background-color: rgba(31, 157, 85, 0.2);
  }
  35% {
    transform: translateY(0);
    background-color: rgba(31, 157, 85, 0.12);
  }
  100% {
    transform: translateY(0);
    background-color: transparent;
  }
}

@keyframes newRequestDotPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(32, 164, 90, 0.55);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(32, 164, 90, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(32, 164, 90, 0);
  }
}

.request-list-item-details .requester-name,
.request-list-item-details .requester-spid {
  min-width: 0;
}

.request-list-item-details .requester-spid {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.btn-add-to-playlist i {
  margin-right: 4px;
}

@media (max-width: 800px) {
  .request-list-item-details .requester-spid {
    display: none !important;
  }

  .request-list-item-details .requester-name {
    flex: 1 1 58%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .request-list-item-details .col:last-child {
    flex: 1 1 42%;
    text-align: right;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .requester-count-badge {
    margin-left: 4px;
  }
}

.request-list-item-outer.swipe-left {
  transform: translateX(-18px);
  transition: transform 0.15s ease;
}

.request-list-item-outer.swipe-right {
  transform: translateX(18px);
  transition: transform 0.15s ease;
}

.request-list-item-outer.swipe-preview-left {
  background: linear-gradient(90deg, rgba(206, 82, 82, 0.24), rgba(206, 82, 82, 0.05));
}

.request-list-item-outer.swipe-preview-right {
  background: linear-gradient(90deg, rgba(40, 167, 69, 0.26), rgba(40, 167, 69, 0.05));
}

.dragging-left{
  background-color: #5294ceb0;
  padding-left: 5px;
  padding-right: 5px;
}
.dragging-left-def{
  background-color: #5294cefb;
  padding-left: 5px;
  padding-right: 5px;
}
.dragging-right{
  background-color: #ce5252b0;
  padding-left: 5px;
  padding-right: 5px;
}
.dragging-right-def{
  background-color: #ce5252fb;
  padding-left: 5px;
  padding-right: 5px;
}
.swipe-overlays-div{
  display: none;
  width: 100%;
  /* height: 79px; */
  /* position: fixed; */
  top: 0px;
  left: 0px;
  opacity: 0.8;
  text-align: center;
  font-size: xx-large;
  font-weight: 900;
  text-shadow: 0 0 0px rgb(0 0 0);
  pointer-events: none;
}

.request-list-item-outer.swipe-preview-left .swipe-overlays-div,
.request-list-item-outer.swipe-preview-right .swipe-overlays-div {
  display: block;
}

.swipe-overlays-span {
  display: inline-block;
  font-size: 0.42em;
  font-weight: 800;
  border-radius: 10px;
  padding: 2px 10px;
  color: #fff;
  background-color: rgba(0, 0, 0, 0.45);
}

.blurry-text {
  color: transparent;
  text-shadow: 0 0 5px rgba(0,0,0,0.5);
}
/* when scrolling */
.fixed {
  position: fixed;
  top:0; left:0;
  width: 100%; 
}
.page-select{
  background-color: #b7b7b76b;
  border-style: none;
  border-radius: 10px;
}


@keyframes dismiss {
  50% { left: -100vw; }
  100% { left: -100vw; height:0; margin:0 0 -1em; }
  /* height set explicitly via JS before .dismiss added  */
}

.dismiss {
  animation: dismiss .25s forwards;
}
.profile-image, .location-image {
  width: 160px;
  object-fit: cover;
  height:160px;
}

@media (min-width: 1500px) {
  /* .song-preview{
    margin-left: 30px;
  } */
  .requester-name{
    text-align: right;
  }
  .profile-image, .location-image {
    width: 120px;
    object-fit: cover;
    height:120px;
  }
  .album-image{
    width: 100px;
  }
  .request-list-item {
    margin-bottom: 15px;
    text-align: left;
    font-size: x-large;
  }
  /* .statusrow{
    margin-left: 0px;
  } */
  .main {
    margin-top: 40px;
    margin-bottom: 40px;
  }
  .request-list-item-details {
    font-size: small;
  }
  .col-info {
    max-width: 60px;
    font-size: x-large;
  }
}
@media (orientation: landscape ){
  .requester-name{
    text-align: right;
  }
  .artist-history {
    margin-left: 35px;
  }
  .title-history {
    margin-left: 35px;
  }
}
@media (min-width: 819px) and (orientation: portrait  ){
  .requester-name{
    text-align: right;
  }
}
@media (max-width: 1024px)  {

  .bd-placeholder-img-lg {
    font-size: 3.5rem;
  }
  .statusrow{
    width: 100%;
  }
  /* .location-image-div{
    min-width: 200px;
    min-height: 200px;
  } */
  .profile-image, .location-image {
      width: 160px;
      object-fit: cover;
      height:160px;
  }
  .album-image {
    width: 60px;
  }
  .request-list-item {
    margin-bottom: 15px;
    text-align: left;
    font-size: large;
  }
  div#inner-popup {
    font-size: x-large;
  }
}
/* Mobile */
@media (max-width: 768px) {
  .profile-image, .location-image {
    width: 60px;
    object-fit: cover;
    height:60px;
  }
  .album-cover-queue{
    width: 60px;
  }
  /* .location-image-div{
    min-width: 72px;
    min-height: 72px;
  } */
  .album-image {
    width: 55px;
  }
  .request-list-item {
    font-size: large;
  }
  div#inner-popup {
    font-size: larger;
  }
  .date-select {
    min-width: 125px;
    margin-bottom: 8px;
  }
  .request-toolbar-btn {
    margin-bottom: 8px;
  }
  .date-filter-indicator {
    margin-bottom: 8px;
  }
  .bulk-actions-bar {
    flex-wrap: wrap;
    justify-content: flex-end;
    margin-bottom: 8px;
  }
}
@media (max-width: 600px) {
  .artist{
    font-size: medium;
  }
  .title{
    font-size: smaller;

  }
  .artist-history{
    font-size: medium;
    margin-left: 15px;

  }
  .title-history{
    font-size: smaller;
    margin-left: 15px;

  }
  .maxtext{
    display: inline-block;
    /* width: 150px; */
    /* white-space: nowrap; */
    overflow: hidden !important;
    text-overflow: ellipsis;
  }
  .album-cover-queue{
    width: 60px;
  }
  /* .location-image-div{
    min-width: 72px;
    min-height: 72px;
  } */
  .album-image {
    display: none;
  }
  .mobilehide{
    display: none;
  }
  .request-list-item {
    font-size: medium;
  }
  div#inner-popup {
    font-size: medium;
  }
  #requests-button-bar {
    text-align: left !important;
  }
  body.dj-portal #requests-button-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.4rem;
  }
  body.dj-portal #filter-event {
    width: 100%;
    min-width: 0;
  }
  body.dj-portal #filter-start-date,
  body.dj-portal #filter-end-date {
    flex: 1 1 40%;
    width: 0;
    min-width: 0;
  }
  body.dj-portal .request-list-item-outer .request-list-item-details .requester-spid {
    display: none;
  }
  body.dj-portal .request-list-item-outer .request-created-time {
    display: none;
  }
  body.dj-portal .songartist-div,
  body.dj-portal .songtitle-div {
    min-width: 0;
    overflow-wrap: anywhere;
  }
  body.dj-portal .dj-event-actions .btn {
    min-height: 44px;
  }
  .date-select {
    min-width: 48%;
  }
  .date-filter-indicator {
    display: inline-flex;
    width: 100%;
    justify-content: center;
  }
}
@media (max-width: 361px) {
  .maxtext{
    display: inline-block;
    width: 130px;
    white-space: nowrap;
    overflow: hidden !important;
    text-overflow: ellipsis;
  }
}
@media (max-width: 325px) {
  .btn-frontpage{
    font-size: large;
  }
  .maxtext{
    display: inline-block;
    width: 120px;
    white-space: nowrap;
    overflow: hidden !important;
    text-overflow: ellipsis;
  }
}

/* Mobielvriendelijke zoekresultaten */
.search-result-item-mobile {
  border-radius: 12px;
  background: #fff;
  border: none;
  padding: 0;
  font-size: 1em;
  overflow: hidden;
  transition: box-shadow 0.2s;
}
.search-result-item-mobile .fw-bold {
  font-size: 1.1em;
}
.search-result-item-mobile .small {
  font-size: 0.95em;
}
.search-result-item-mobile .form-check-input {
  transform: scale(1.3);
  margin-left: 0.5em;
}
.search-input-wrap {
  position: relative;
}

.search-input-control {
  padding-right: 44px;
}

.search-clear-btn {
  position: absolute;
  top: 50%;
  right: 10px;
  transform: translateY(-50%);
  width: 28px;
  height: 28px;
  border: 0;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.07);
  color: #4f4f4f;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  cursor: pointer;
}

.search-clear-btn:hover,
.search-clear-btn:focus {
  background: rgba(0, 0, 0, 0.12);
  color: #1f1f1f;
}

.search-overlay-topbar {
  padding: 12px 8px 0 8px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.search-overlay-input-wrap {
  position: relative;
  flex: 1 1 auto;
}

.search-overlay-input-wrap .search-clear-btn {
  right: 8px;
}
.search-result-item-mobile audio {
  width: 100%;
  margin-top: 0.5em;
}

/* DJ portal scoped theme system */
html[data-theme="dark"] {
  --dj-bg-1: #0b1420;
  --dj-bg-2: #102033;
  --dj-surface: rgba(14, 24, 38, 0.9);
  --dj-surface-soft: rgba(16, 29, 44, 0.78);
  --dj-border: rgba(133, 163, 196, 0.35);
  --dj-text: #e9f1fb;
  --dj-muted: #aac1d8;
  --dj-primary: #4da3ff;
  --dj-accent: #66d6a8;
  --dj-input-bg: rgba(14, 27, 43, 0.88);
  --dj-input-border: rgba(138, 169, 201, 0.45);
  --dj-shadow: 0 16px 34px rgba(0, 0, 0, 0.42);
}

html[data-theme="light"] {
  --dj-bg-1: #f3f7fb;
  --dj-bg-2: #dfe9f5;
  --dj-surface: rgba(255, 255, 255, 0.95);
  --dj-surface-soft: rgba(255, 255, 255, 0.9);
  --dj-border: rgba(31, 88, 146, 0.2);
  --dj-text: #122338;
  --dj-muted: #5b7086;
  --dj-primary: #156dbe;
  --dj-accent: #258f60;
  --dj-input-bg: rgba(255, 255, 255, 0.92);
  --dj-input-border: rgba(40, 101, 161, 0.25);
  --dj-shadow: 0 14px 30px rgba(18, 44, 70, 0.15);
}

body.dj-portal {
  color: var(--dj-text);
}

body.dj-portal::before {
  background-image:
    radial-gradient(1200px 700px at 12% -10%, rgba(77, 163, 255, 0.2), transparent 68%),
    radial-gradient(900px 500px at 95% 0%, rgba(102, 214, 168, 0.12), transparent 66%),
    linear-gradient(140deg, var(--dj-bg-1), var(--dj-bg-2));
}

body.dj-portal .main,
body.dj-portal .footer {
  background: var(--dj-surface);
  color: var(--dj-text);
  border: 1px solid var(--dj-border);
  border-radius: 14px;
  box-shadow: var(--dj-shadow);
}

body.dj-portal .main {
  padding: 14px 16px;
}

body.dj-portal .footer {
  padding-top: 10px;
  padding-bottom: 10px;
}

body.dj-portal .text-muted,
body.dj-portal .small.text-muted,
body.dj-portal .footer .text-muted,
body.dj-portal .dj-setting-name {
  color: var(--dj-muted) !important;
}

body.dj-portal .navbar {
  border: 1px solid var(--dj-border);
  border-radius: 12px;
  background: var(--dj-surface-soft);
  padding: 8px 10px;
}

body.dj-portal .navbar .brand-logo {
    padding: 6px 12px;
    border-radius: 31px;
    background: #fff;
}

body.dj-portal .navbar .brand-logo .brand-logo-img {
  height: 34px;
  width: auto;
  display: block;
  filter: brightness(1.18) contrast(1.16) drop-shadow(0 1px 1px rgba(255, 255, 255, 0.22));
}

body.dj-portal .navbar .brand-logo:hover {
  background: linear-gradient(130deg, rgba(237, 245, 255, 0.28), rgba(188, 212, 240, 0.18));
}

body.dj-portal a.navbar-brand,
body.dj-portal .navbar .nav-link,
body.dj-portal .link-secondary {
  color: var(--dj-text) !important;
}

body.dj-portal .navbar .nav-link.active,
body.dj-portal .navbar .nav-link:hover,
body.dj-portal .navbar-brand:hover {
  color: var(--dj-primary) !important;
}

body.dj-portal .dj-language-slot {
  min-width: 64px;
}

body.dj-portal .language-selector .btn,
body.dj-portal #btn-theme-toggle,
body.dj-portal #btn-install-dj-app {
  border-radius: 10px;
}

body.dj-portal .dj-navbar-actions {
  min-width: 0;
  justify-content: flex-end;
}

body.dj-portal .dj-status-chip {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid var(--dj-border);
  background: rgba(77, 163, 255, 0.14);
  color: var(--dj-text);
  font-size: 0.83rem;
  white-space: nowrap;
}

body.dj-portal .language-selector .btn {
  border-color: var(--dj-input-border);
  color: var(--dj-text);
  background: var(--dj-input-bg);
}

body.dj-portal .language-selector .dropdown-menu {
  background: var(--dj-surface);
  border: 1px solid var(--dj-border);
}

body.dj-portal .language-selector .dropdown-item {
  color: var(--dj-text);
}

body.dj-portal .language-selector .dropdown-item:hover,
body.dj-portal .language-selector .dropdown-item:focus {
  background: rgba(77, 163, 255, 0.16);
}

body.dj-portal hr {
  border-color: var(--dj-border);
  opacity: 1;
}

body.dj-portal .card,
body.dj-portal .song-requests.card,
body.dj-portal .request-list-item-outer {
  background: var(--dj-surface-soft);
  border: 1px solid var(--dj-border);
  border-radius: 12px;
  color: var(--dj-text);
}

body.dj-portal .table {
  --bs-table-bg: transparent;
  --bs-table-color: var(--dj-text);
  --bs-table-striped-bg: rgba(77, 163, 255, 0.08);
  --bs-table-striped-color: var(--dj-text);
  --bs-table-hover-bg: rgba(77, 163, 255, 0.14);
  --bs-table-hover-color: var(--dj-text);
  --bs-table-border-color: var(--dj-border);
  color: var(--dj-text);
}

body.dj-portal .table > :not(caption) > * > * {
  color: var(--dj-text);
  border-bottom-color: var(--dj-border);
}

body.dj-portal .table thead th {
  color: var(--dj-muted);
}

body.dj-portal .request-list-item-outer:hover {
  box-shadow: 0 8px 24px rgba(3, 18, 34, 0.35);
}

body.dj-portal .request-list-item-outer.song-aproved {
  background: linear-gradient(0deg, rgba(16, 95, 59, 0.48), rgba(16, 95, 59, 0.48)), var(--dj-surface-soft);
  border-color: rgba(88, 199, 141, 0.55);
}

body.dj-portal .request-list-item-outer.song-reject {
  background: linear-gradient(0deg, rgba(128, 36, 44, 0.46), rgba(128, 36, 44, 0.46)), var(--dj-surface-soft);
  border-color: rgba(255, 124, 137, 0.55);
}

body.dj-portal .request-list-item-outer.song-removed {
  background: linear-gradient(0deg, rgba(98, 106, 118, 0.42), rgba(98, 106, 118, 0.42)), var(--dj-surface-soft);
  border-color: rgba(198, 204, 212, 0.5);
}

body.dj-portal .request-list-item-outer.song-not-played {
  background: linear-gradient(0deg, rgba(86, 64, 138, 0.46), rgba(86, 64, 138, 0.46)), var(--dj-surface-soft);
  border-color: rgba(181, 161, 241, 0.55);
}

body.dj-portal .form-control,
body.dj-portal .page-select {
  background: var(--dj-input-bg);
  border: 1px solid var(--dj-input-border);
  color: var(--dj-text);
}

body.dj-portal .form-control:focus,
body.dj-portal .page-select:focus {
  background: var(--dj-input-bg);
  color: var(--dj-text);
  border-color: rgba(77, 163, 255, 0.75);
  box-shadow: 0 0 0 0.18rem rgba(77, 163, 255, 0.2);
}

body.dj-portal .form-control::placeholder {
  color: var(--dj-muted);
}

body.dj-portal .btn-primary {
  background: var(--dj-primary);
  border-color: var(--dj-primary);
}

body.dj-portal .btn-outline-primary {
  border-color: var(--dj-primary);
  color: var(--dj-primary);
}

body.dj-portal .btn-outline-primary:hover {
  background: var(--dj-primary);
  color: #fff;
}

body.dj-portal .btn-outline-secondary {
  border-color: var(--dj-input-border);
  color: var(--dj-text);
}

body.dj-portal .btn-outline-secondary:hover {
  background: rgba(77, 163, 255, 0.14);
  color: var(--dj-text);
}

body.dj-portal .alert-info {
  background: rgba(58, 130, 196, 0.2);
  border-color: rgba(94, 165, 229, 0.35);
  color: var(--dj-text);
}

body.dj-portal .alert-warning {
  background: rgba(204, 146, 23, 0.2);
  border-color: rgba(243, 191, 88, 0.38);
  color: var(--dj-text);
}

body.dj-portal .alert-danger {
  background: rgba(188, 63, 83, 0.2);
  border-color: rgba(227, 117, 133, 0.45);
  color: var(--dj-text);
}

body.dj-portal .datetimepicker {
  background: var(--dj-surface-soft);
  border: 1px solid var(--dj-border);
  border-radius: 8px;
  color: var(--dj-text);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35);
}

body.dj-portal .datetimepicker table tr td,
body.dj-portal .datetimepicker table tr th,
body.dj-portal .datetimepicker table tr td span {
  color: var(--dj-text);
}

body.dj-portal .datetimepicker table tr td.day:hover,
body.dj-portal .datetimepicker table tr td.hour:hover,
body.dj-portal .datetimepicker table tr td.minute:hover,
body.dj-portal .datetimepicker table tr td span:hover,
body.dj-portal .datetimepicker thead tr:first-child th:hover,
body.dj-portal .datetimepicker tfoot tr:first-child th:hover {
  background: rgba(77, 163, 255, 0.18);
}

body.dj-portal .datetimepicker table tr td.disabled,
body.dj-portal .datetimepicker table tr td.disabled:hover,
body.dj-portal .datetimepicker table tr td span.disabled,
body.dj-portal .datetimepicker table tr td span.disabled:hover {
  color: rgba(196, 209, 224, 0.42);
}

body.dj-portal .datetimepicker table tr td.active,
body.dj-portal .datetimepicker table tr td span.active {
  background: var(--dj-primary);
  color: #fff;
  text-shadow: none;
}

body.dj-portal .datetimepicker table tr td.today {
  background: rgba(77, 163, 255, 0.22);
}

body.dj-portal .datetimepicker-dropdown:before,
body.dj-portal .datetimepicker-dropdown:after,
body.dj-portal [class*=" datetimepicker-dropdown"]:before,
body.dj-portal [class*=" datetimepicker-dropdown"]:after {
  display: none;
}

body.dj-portal #outer-popup {
  background: rgba(7, 15, 26, 0.97);
}

body.dj-portal .profile-shell {
  max-width: 1040px;
}

body.dj-portal .logo-uploader {
  border-color: var(--dj-input-border);
  background: var(--dj-surface-soft);
}

body.dj-portal .logo-uploader.dragover {
  border-color: var(--dj-primary);
  background: rgba(77, 163, 255, 0.2);
}

body.dj-portal .logo-preview {
  border-color: var(--dj-border);
  background: rgba(16, 29, 44, 0.3);
}

body.dj-portal .modal-content {
  background: var(--dj-surface);
  color: var(--dj-text);
  border: 1px solid var(--dj-border);
}

body.dj-portal .modal-header,
body.dj-portal .modal-footer {
  border-color: var(--dj-border);
}

body.dj-portal .modal-title,
body.dj-portal .modal-body,
body.dj-portal .modal-body .form-label,
body.dj-portal .modal-body .form-check-label {
  color: var(--dj-text);
}

body.dj-portal .modal .text-muted,
body.dj-portal .modal .small.text-muted {
  color: var(--dj-muted) !important;
}

body.dj-portal .modal .btn-close {
  filter: var(--dj-modal-close-filter, invert(1) grayscale(1) brightness(1.2));
}

html[data-theme="light"] body.dj-portal .modal .btn-close {
  filter: none;
}

body.dj-portal #event-edit-modal .form-switch {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-left: 0;
}

body.dj-portal #event-edit-modal .form-switch .form-check-input {
  transform: none !important;
  -ms-transform: none !important;
  -moz-transform: none !important;
  -webkit-transform: none !important;
  -o-transform: none !important;
  margin: 0;
  float: none;
  width: 2.5em;
  height: 1.35em;
}

body.dj-portal #event-edit-modal .form-switch .form-check-label {
  margin: 0;
}

@media (max-width: 768px) {
  body.dj-portal .main,
  body.dj-portal .footer {
    max-width: 96%;
  }

  body.dj-portal .dj-navbar-actions {
    width: 100%;
    margin-top: 8px;
    justify-content: flex-start;
  }

  body.dj-portal .dj-status-chip {
    font-size: 0.78rem;
    padding: 3px 8px;
  }

  body.dj-portal .navbar {
    padding: 8px;
  }
}

/* Mobielvriendelijke geschiedenis-items */
.song-requests.card {
  border-radius: 12px;
  border: none;
  padding: 0;
  font-size: 1em;
  overflow: hidden;
  margin-bottom: 10px;
}
.song-requests.card .fw-bold {
  font-size: 1.05em;
}
.song-requests.card .small {
  font-size: 0.95em;
}
.song-requests.card .delete-track-request {
  cursor: pointer;
  font-size: 1.2em;
  vertical-align: middle;
}

/* Statuskleuren voor geschiedenis */
.song-requests.bg-success {
  background-color: #198754 !important;
  color: #fff !important;
}
.song-requests.bg-primary {
  background-color: #0d6efd !important;
  color: #fff !important;
}
.song-requests.bg-danger {
  background-color: #dc3545 !important;
  color: #fff !important;
}
.song-requests.bg-secondary {
  background-color: #6c757d !important;
  color: #fff !important;
}
.song-requests.bg-light {
  background-color: #f8f9fa !important;
  color: #212529 !important;
}

/* Zorg dat tekst altijd goed leesbaar is */
.song-requests.bg-success .fw-bold,
.song-requests.bg-primary .fw-bold,
.song-requests.bg-danger .fw-bold,
.song-requests.bg-secondary .fw-bold {
  color: #fff !important;
}
.song-requests.bg-light .fw-bold {
  color: #212529 !important;
}

/* Responsive spacing voor kaarten */
@media (max-width: 600px) {
  .search-result-item-mobile,
  .song-requests.card {
    margin-left: 0;
    margin-right: 0;
    border-radius: 8px;
    font-size: 0.98em;
  }
  .search-result-item-mobile .fw-bold,
  .song-requests.card .fw-bold {
    font-size: 1em;
  }
}

.edit-name-btn {
  display: inline-block;
  color: #1a76c8;
  font-size: 1.2em;
  margin-left: 6px;
  vertical-align: middle;
}
.edit-name-btn:hover {
  color: #0d6efd;
}

body:not(.request-page) div#location-text {
    padding-right: 15px;
}
body:not(.request-page) .col-12.location-image-div {
    padding-right: 15px;
    padding-top: 15px;
}
body:not(.request-page) .col-12.profile-image-div {
    padding-left: 15px;
    padding-top: 15px;
}
body:not(.request-page) .user-name{
  padding-left: 15px;
}
nav.nav-history {
    padding-bottom: 5px;
}

.party-open-item .open-count-badge {
  font-size: 0.82em;
  font-weight: 700;
}

.party-open-item .own-request-badge {
  font-size: 0.8em;
  font-weight: 600;
}

/* Language Selector Styles */
.language-selector {
    position: fixed;
    top: 15px;
    right: 15px;
    z-index: 1050;
}

body.dj-portal .language-selector {
  position: static;
  top: auto;
  right: auto;
  z-index: auto;
}

.language-selector.language-selector-inline {
  position: relative;
  top: auto;
  right: auto;
  display: flex;
  justify-content: flex-end;
  margin: 8px 0 12px 0;
  z-index: 10;
}

.language-selector .btn {
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    font-size: 0.9em;
    padding: 5px 12px;
    border-radius: 20px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.language-selector .btn:hover,
.language-selector .btn:focus,
.language-selector .btn.show {
    background-color: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
    color: white;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.language-selector .current-lang-flag {
    margin-right: 5px;
}

.language-selector .current-lang-flag .flag-icon {
    width: 18px;
    height: 13px;
    vertical-align: middle;
}

.language-selector .current-lang-code {
    font-weight: 600;
    font-size: 0.85em;
}

.language-selector .dropdown-menu {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 15px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    padding: 8px 0;
    min-width: 180px;
}

.language-selector .dropdown-item {
    padding: 8px 16px;
    color: #333;
    font-size: 0.9em;
    transition: background-color 0.2s ease;
    border-radius: 0;
}

.language-selector .dropdown-item:hover,
.language-selector .dropdown-item:focus {
    background-color: rgba(26, 118, 200, 0.1);
    color: #1a76c8;
}

.language-selector .lang-flag {
    margin-right: 8px;
}

.language-selector .flag-icon {
    width: 20px;
    height: 15px;
    display: inline-block;
    vertical-align: middle;
}

/* Fullscreen button styling */
#fullscreen-btn {
    text-decoration: none !important;
    transition: color 0.2s ease;
}

#fullscreen-btn:hover {
    color: #ffffff !important;
}

#fullscreen-btn i {
    margin-right: 4px;
}

.language-selector .lang-code {
    font-weight: 600;
    margin-right: 8px;
    min-width: 25px;
    display: inline-block;
}

.language-selector .lang-name {
    font-size: 0.85em;
    opacity: 0.8;
}

/* Mobile responsiveness for language selector */
@media (max-width: 768px) {
    .language-selector {
        top: 10px;
        right: 10px;
    }

  body.dj-portal .language-selector {
    top: auto;
    right: auto;
  }

  .language-selector.language-selector-inline {
    top: auto;
    right: auto;
    margin: 6px 0 10px 0;
  }
    
    .language-selector .btn {
        font-size: 0.8em;
        padding: 4px 10px;
    }
    
    .language-selector .dropdown-menu {
        min-width: 160px;
        right: 0;
    }
    
    .language-selector .lang-name {
        display: none;
    }
}

@media (max-width: 480px) {
    .language-selector {
        top: 8px;
        right: 8px;
    }

  body.dj-portal .language-selector {
    top: auto;
    right: auto;
  }

  .language-selector.language-selector-inline {
    top: auto;
    right: auto;
    margin: 4px 0 8px 0;
  }
    
    .language-selector .btn {
        font-size: 0.75em;
        padding: 3px 8px;
    }
    
    .language-selector .current-lang-flag {
        margin-right: 3px;
    }
}

/* Ensure language selector stays above modals */
.language-selector {
    z-index: 1060;
}

/* When modal is open, adjust language selector */
body.modal-open .language-selector {
    z-index: 1070;
}

.guest-profile-editor {
  border: 1px solid rgba(12, 54, 89, 0.18);
  background: #f8fbff;
}

.guest-profile-photo-editor {
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.guest-profile-photo-preview {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #d5e6f6;
  background: #ffffff;
}

.request-message-indicator {
  display: inline-flex;
  align-items: center;
  margin-left: 6px;
  color: #ff7a18;
  font-size: 1rem;
  text-shadow: 0 0 8px rgba(255, 122, 24, 0.55);
  animation: requestMessageBlink 1.2s ease-in-out infinite;
}

.request-message-indicator i {
  filter: drop-shadow(0 0 6px rgba(255, 122, 24, 0.55));
}

.request-list-item-outer.has-personal-message {
  border-left: 4px solid #175a88;
  background: linear-gradient(90deg, rgba(23, 90, 136, 0.12) 0%, rgba(23, 90, 136, 0.02) 18%, rgba(255, 255, 255, 0) 45%);
}

.request-list-item-outer.has-personal-message .request-list-item-details {
  box-shadow: inset 0 0 0 1px rgba(23, 90, 136, 0.14);
}

@keyframes requestMessageBlink {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.45;
    transform: scale(1.14);
  }
}

@media (prefers-reduced-motion: reduce) {
  .request-message-indicator {
    animation: none;
  }
}