
/* Placeholder styling */

::placeholder {
    color: #888 !important;
    font-style: italic !important;
    opacity: 1 !important;
    font-size: 16px !important;
}

::-webkit-input-placeholder {
    color: #888 !important;
    font-style: italic !important;
    opacity: 1 !important;
    font-size: 16px !important;
}

:-ms-input-placeholder {
    color: #888 !important;
    font-style: italic !important;
    opacity: 1 !important;
    font-size: 16px !important;
}

::-ms-input-placeholder {
    color: #888 !important;
    font-style: italic !important;
    opacity: 1 !important;
    font-size: 16px !important;
}

::placeholder {
    color: #888!important;
    font-style: italic !important;
    opacity: 1 !important;
    font-size: 16px !important;
}

.refresh-button:before {
    font-family: 'dashicons';
    content: "\f463";
    font-size: 40px;
    color: #0277bd;
    margin-right:10px;
}
.refresh-button {
    font-size: 0;
    background: transparent !important;
    margin-bottom: 0px;
    border:none;
    cursor:pointer;
  }

  .form-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 98%;
    margin: 0px auto;
}

.form-container.active {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background-color: #fff;
    padding: 0px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: all 0.5s ease-in-out;
}

form .input-guestname-wrapper,
form .input-songname-wrapper {
    position: relative;
    width: 100% !important;

}

form .input-guestname,
form .input-songname {
    padding: 5px 10px;
    border: 1px solid #000 !important;
    border-radius:5px;
    font-size: 16px !important;
    width: calc(100% - 22px);
    height: 40px;
}

form .input-songname-wrapper {
    margin-top: 25px !important;
}

.clear-button:before {
  content: "\f158";
  font-family: "dashicons";
  font-size: 28px;
  color: #9d9d9d;
}
.clear-button {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    font-size: 0;
}

.submit-button {
    background-color: #1278bb !important;
    padding: 10px;
    margin-top: 25px;
    border: 1px solid #0177bd !important;
    border-radius:5px;
    font-size:16px;
    color: #fff;
    text-align: center;
    width: 60%;
    height:45px !important;
	  cursor:pointer;
}

/* Refresh On/Off Toggle Switch */
/* Controls Container Styling */
.controls-container {
  display: flex;
align-items: center;
gap: 10px;
margin-bottom: 15px;
margin-top:15px;
}

.controls-container .delete-all-form {
    margin-left: auto;
}

/* Toggle-Switch-Styling */
.toggle-container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.toggle-switch {
    position: relative;
    width: 60px;
    height: 30px;
    display: inline-block;
    margin-left: 10px;
}

.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: grey;
    transition: .4s;
    border-radius: 30px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 22px;
    width: 22px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}

input:checked + .slider {
    background-color: green;
}

input:checked + .slider:before {
    transform: translateX(30px);
}

.on-text, .off-text {
    position: absolute;
    width: 50%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 12px;
    font-weight: bold;
    text-transform: uppercase;
    pointer-events: none;
}

.on-text {
    left: 5px;
}

.off-text {
    right: 5px;
}

input:checked + .slider .on-text {
    display: flex;
}

input:checked + .slider .off-text {
    display: none;
}

input:not(:checked) + .slider .on-text {
    display: none;
}

input:not(:checked) + .slider .off-text {
    display: flex;
}

/* Optional: Stil für das Label */
.toggle-label {
    display: inline-block;
    margin-bottom: 5px;
    vertical-align: middle;
    font-size:12px;
    color:#807b7a;
    display:none;
}



.delete-all-button {
    background-color: #ff7800 !important;
    padding: 10px;
    border: 1px solid #ff7800 !important;
    font-size:13px;
    color: #fff;
    cursor:pointer;
    margin-right:10px;
}

.amount-paid {
  font-size: 12px;
  color:#575555;
  margin-left: 6px;
  border: 1px dotted #8a8a8a;
  display: inline-flex;
  align-items: center;
  padding: 0px 3px;
  background-color:#cff1d1;
  border-radius:3px;
}

.amount-paid:before {
  content: "\f18e";
  font-family: 'dashicons';
  font-size: 17px;
  color: #0a9c47;
  margin-right: 0px;
  display: inline-block;
}


.delete-icon:before {
    content: "\f153";
    font-family: 'dashicons';
    font-size: 35px;
    color: #8f8f8f;
}

.delete-icon {
    font-size: 0;
    background: transparent !important;
    margin-right: 0px;
}

.play-button:before {
    font-family: 'dashicons';
    content: "\f522";
    font-size: 35px;
    color: #8f8f8f;
}

.play-button {
    font-size: 0;
    background: transparent !important;
    margin-right: 10px;
}

.spotify-button:before {
    content: "\f196";
    font-family: 'dashicons';
    font-size: 35px;
    color: #4caf50;
}

.spotify-button {
    font-size: 0;
    background: transparent !important;
    margin-right: 10px;
}

.gespielt-icon:before {
    font-family: 'dashicons';
    content: "\f147";
    font-size: 35px;
    color: #a1c62d;
}

.gespielt-icon {
    background: transparent !important;
    margin-right: 10px;
}

.delete-icon, .play-button, .spotify-button, .gespielt-icon {
    padding: 5px 2px;
    border: none;
    cursor: pointer;
}

.guestname {
    padding: 2px 6px;
    background-color: #096398;
    width: fit-content;
}

.songname {
    cursor: pointer;
}

.copy {
    cursor: pointer;
}
  .copy.active {
    cursor: pointer;
    background-color: lightgreen;
}

/* Popup Styling */
#spotify-popup {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #1DB954;
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    font-family: Arial, sans-serif;
    font-size: 16px;
}

#spotify-popup.show {
    display: block;
}

/* Basic styling for the list items */
#djmList {
    list-style-type: none;
    padding: 0;
}

.djm-list-head {
  font-size:13px;
  font-family: "Roboto", sans-serif !important;
  text-transform: uppercase;
  color: #3c3a3a;
  margin-left:20px;
  margin-top:15px;
  text-align:right;
}

.request-item {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    margin-bottom: 10px;
    padding: 5px 0px 5px 10px;
    border: 1px solid #b7b4b4;
    border-radius: 5px;
}

/* Flex container for request info and actions */
.request-info {
    display: flex;
    flex-direction: column;
}

.request-info .guestname {
    font-weight: normal;
    color: #fff;
    font-size: 13px;
    font-style: italic;
    text-transform: capitalize;
    border-radius: 3px;
}

.request-info .songname {
    font-family: "Roboto", sans-serif !important;
    margin-top: 0px;
    cursor: pointer;
    color: #605d5d;
    font-weight: 300;
    font-size: 14px;
}

.vote-count{
  color: #ffffff;
  font-size: 12px;
  margin-left:5px;
  background-color:#918e8a;
  padding:2px 5px;
  border-radius:9px;
  width: fit-content;
}

.request-actions {
    display: flex;
    justify-content: end;
    gap: 5px;
    margin-top: 10px;
    flex-wrap: nowrap;
    align-items: center;
    min-width:fit-content;
    margin-left:10px;

}

/* Button styling */
.request-form {
    display: flex;
    gap: 10px;
}


/* Responsive styling */
@media (min-width: 320px) {
    .request-item {
        flex-direction: row;
        align-items: center;
    }

    .request-info {
        flex-direction: row;
        align-items: center;
    }

    .request-info .songname {
        margin-left: 10px;

    }

    .request-actions {
        margin-top: 0;
    }

}


/* Ergebniscontainer Styling */
#spotify-results {
    border: 0px solid #ccc;
    background: #074c74;
    max-height: 300px;
    overflow-y: auto;
    margin-top: 0px;
    min-width: 100%;
}

/* Einzelnes Ergebnis Styling */
.spotify-result {
    padding: 10px;
    border-bottom: 1px solid #236d98;
    cursor: pointer;
    display: flex;
    align-items: center;
    color: #fff;
    min-width: auto;
}

.spotify-result:hover {
    background-color: #035484;
}

/* Plus-Icon Styling */
.plus-icon:before {
    font-family: 'dashicons';
    content: "\f502";
    font-size: 22px;
    color: #fff;
    margin-right: 10px;
}

/* Voting */
.vote-button:before {
    font-family: 'dashicons';
    content: "\f154";
    font-size: 30px;
    color: #939393;
    cursor: pointer;
}

.vote-button {
    background: transparent !important;
	  margin:0px 10px;
    border: none;
    font-size:0;
    cursor: pointer;
}

.vote-button.voted:before {
    font-family: 'dashicons';
    content: "\f155";
    font-size: 30px;
    color: #99bf1d;
    cursor: pointer;
}

.vote-button.voted {
    background: transparent !important;
    font-size:0;
}

.thankyou-message {
  display: none;
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #3fb01b;
    color: white;
    padding: 10px 30px;
    border-radius: 5px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    font-size: 16px;
    text-align: center;
    width: 90%;
    height:auto;
}

.limit-message {
    display: none;
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: rgba(205, 9, 9, 0.91); /* Beispiel Farbe */
    color: white;
    padding: 15px 30px;
    border-radius: 5px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    font-family: Arial, sans-serif;
    font-size: 16px;
    text-align: center;
    width: 90%;
}

.tip-message {
    display: none;
    position: fixed;
    top: 0;
    background-color: rgba(0, 0, 0, 0.91);
    padding: 15px 20px;
    z-index: 1000;
    text-align: center;
    color:white;
    width: 100%;
    height:100%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

/* Design elements */
.djm-design-container {
    text-align: center;
    margin-bottom: 20px;
}

.djm-logo img {
    width: 100px;
    height: auto;
}

.djm-logo {
    position: relative;
}

.djm-language-selector-container {
    position: absolute;
    top: 0;
    right: 0;
    margin: 10px;
}

.djm-language-selector select {
    padding: 10px;
    font-size:16px;
}

.djm-event-name {
	  font-size: 18px;
    font-style: italic;
    margin-top: 10px;
}

.djm-dj-slogan {
    font-size: 16px;
    font-weight: bold;
    margin-top: 5px;
    margin-bottom:20px;
}

/* CSS für den Serverstatus-Indikator */
.server-status-indicator {
    display: inline-block;
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background-color: red;
    margin-right: 10px;
}

.server-status-indicator.green {
    background-color: green;
}

#server-status-container {
    margin-bottom: 20px;
    display: flex;
    align-items: center;
}



.confirmation-popup {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #fff;
    padding: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    border-radius: 8px;
    border: solid 1px #c1c1c1;
    width:80%;
}

.confirmation-popup-content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.confirmation-popup-buttons {
  display: flex;
  gap: 10px;
  margin-top: 10px;
}

.delete-button, .cancel-button {
  color: #fff;
  font-size: 14px;
  border: none;
  padding: 10px 20px;
  cursor: pointer;
  border-radius: 4px;
}

.delete-button {
  background-color: #d9534f;
}

.cancel-button {
  background-color: #5bc0de;
}

.show-amount-field-button, .no-tip-button, .stripe-link-button {
  color: #fff;
  border: none;
  padding: 15px 20px;
  cursor: pointer;
  border-radius: 4px;
  text-decoration: none !important;
  font-size:18px;
}

.show-amount-field-button {
  background-color: #11728f;
}
.no-tip-button {
  background-color: #d9534f;
}
.no-tip-button-icon {
  background:transparent !important;
  font-size:0;
  position:absolute;
  top:10px;
  right:10px;
  border:none;
}
.no-tip-button-icon:before {
  content: "\f153";
  font-family: "dashicons";
  font-size: 30px;
  color: #cfcaca;
}

.stripe-link-button {
  background-color: #11728f;
}


.tip-container {
  border:1px dashed #a7ca37;
  padding:40px;
  margin-top:40px;
  position:relative;
  width:80%;
}
.tip-form {
  margin-bottom: 30px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 5px;
}

.thankyou-guest-text {
  font-size:18px;
  color:white;
  margin-bottom:10px;
  text-transform: capitalize;
}

.thank-you-text {
  font-size:16px;
  color:white;
}

.tip-text {
  font-size:18px;
  color:#ffffff;
}

.tip-buttons{
  margin-top: 40px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  flex-direction: column;
  gap: 20px;

}
.message-icon{
  position: absolute;
  top: 50px;
  left: auto;
}
.message-icon:before {
  content: "\f147";
  font-family: "dashicons";
  font-size: 70px;
  color: #a7ca37;
}

#tip-popup {
      display: none;
      position: fixed;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
      background: white;
      padding: 20px;
      box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
      z-index: 1000;
      width: 80%;
      text-align: center;
      border-radius: 10px;
      min-height: 150px;

}

.popup-content p {
font-size:20px;
}

.tip-button {
    color: #fff;
    border: none;
    padding: 15px 40px;
    cursor: pointer;
    border-radius: 4px;
    text-decoration: none !important;
    font-size: 18px;
    background-color: #1081c6;

}
