/* Container */
.playlistenContainer {
    /* max-width: 90%; */
    margin: 20px auto;
    padding: 20px;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease-in-out;
}

.ts-control,
.ts-dropdown .option,
.ts-dropdown .optgroup-header {
	font-size: 16px;
}

.ts-control {
	display: block !important;
	font-size: 16px !important;
	background-color: #fff !important;
	border: 0px solid #ccc !important;
	padding: 0 !important;
	text-align: center !important;
	cursor: pointer !important;
}

.ts-dropdown .option {
	padding: 8px 0 8px 18px !important;
	text-align: left;
}

.ts-dropdown .optgroup-header {
	font-weight: bold;
	padding: 6px 12px;
	background-color: #f5f5f5;
	color: #333;
	border-bottom: 1px solid #ddd;
	margin-top: 0px;
	text-align: left;
}

.ts-dropdown {
	max-height: min(400px, 60vh);  
	overflow-y: auto;
}

.ts-dropdown-content {
	max-height: 1000px !important;
	overflow-y: hidden !important;
}

.ts-control:focus {
	outline: none !important;
	box-shadow: none !important;
}

.ts-control > * {
	font-size: 17px !important;
}

/* Standard: Pfeil nach unten */
.ts-control::after {
	content: "\f078"; 
	font-family: "Font Awesome 6 Free";
	font-weight: 900;
	position: absolute;
	right: 0;
	top: 50%;
	transform: translateY(-50%) rotate(0deg);
	transition: transform 0.2s ease;
	pointer-events: none;
	color: #666;
	font-size: 14px;
}

.ts-wrapper.dropdown-active .ts-control::after {
	content: "\f077"; 
}


/* .hero p { */
	/* font-size: 2.0rem; */
/* } */
/* Filterbereich */
.filter-container {
    display: flex;
    gap: 12px;
    margin-bottom: 20px;
    justify-content: center;
}


.filter-container input {
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 16px;
    background: #ffffff;
    color: #333;
    width: 300px;
	max-width: 25%;
    transition: all 0.3s ease;
}

.filter-container input:focus {
    border-color: #0056b3;
    box-shadow: 0 0 8px rgba(0, 123, 255, 0.4);
}

/* Auswahlmenü */
.select-container {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.select_playlists {
    flex: 1;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 16px;
    background: #ffffff;
    color: #333;
    transition: all 0.3s ease;
	width: 300px;
	max-width: 25%;
	cursor: pointer;
}

/* Playlist-Container */
#playlistContainer {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 15px;
    overflow-y: auto;
}

.noPlaylists {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	text-align: center;
	margin: 2rem auto;
	background: linear-gradient(135deg, #fce3ec, #f9f8e7);
	border-radius: 10px;
	box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
	color: #444;
	animation: floatIn 0.8s ease-out;
	height: 300px;
	min-width: 60%;
}


.noPlaylists i {
  font-size: 3rem;
  color: #ff9eb5;
  margin-bottom: 0.5rem;
  display: block;
}

.noPlaylists p {
  font-size: 1.4rem;
  font-weight: bold;
  margin: 0.5rem 0 0.2rem;
}

.noPlaylists span {
  font-size: 1rem;
  color: #666;
}

/* Animation */
@keyframes floatIn {
  from {
    opacity: 0;
    transform: translateY(20px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}




.playlist {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px;
    background: #ffffff;
    border-radius: 0px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: all 0.3s ease-in-out;
    position: relative;
    border: 1px solid #a8a8a8;
    justify-content: space-between;
    /* Startzustand für Animation (unsichtbar und skaliert auf 0) */
    opacity: 0;
    transform: scale(0);  /* Startet kleiner */
    transform-origin: center; /* Startet aus der Mitte */
}

/* Die 'show' Klasse wird nachträglich hinzugefügt, um die Animation zu aktivieren */
.playlist.show {
    opacity: 1;
    transform: scale(1); /* Endgröße */
}

.playlist.remove {
    opacity: 0;
    transform: scale(0.5);
}


.playlist .icon {
    font-size: 28px;
}

/* Status-Icon rechts ausrichten */
.playlist .status-icon {
    margin-left: auto;
    display: flex;
    justify-content: center;
    align-items: center;
	font-size: 22px;
}

.content-list {
	margin: -15px 0 0 25px;
	padding-left: 0;
	list-style-type: none;
}

.content-list li {
	margin-bottom: 5px;
}


.rotating {
    animation: spin 1s linear infinite;
	margin-right: 10px;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}


.duration {
	/* margin-left: 10px; */
}

.base_pl {
	display: flex;
	align-items: center;
}

.base_pl .fa-xmark, 
.base_pl .fa-check {
    margin-left: 8px;
}

.buttons-head, buttons {
	display: flex;
	gap: 10px;
	justify-content: center;
	padding: 12px 24px;
}


.buttons-paeddy {
  font-size: 14px;
  min-height: 40px;
  font-weight: bold;
  padding: 8px 15px;
  background-color: #007bff;
  color: #fff;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background 0.3s, box-shadow 0.3s;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.15);
}

.buttons-paeddy:hover {
  background-color: #0056b3;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
}

.openSharingDetails {
	border: 1px solid;
}

/* Stil für das Dialog-Fenster */
/* Abgedunkelter Hintergrund für Bestätigungsdialog */
.dialog {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1000; 
}

/* Der abgedunkelte Hintergrund (Overlay) */
.dialog .overlay_playlists {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 1; 
}

/* Der Dialog-Inhalt */
.dialog-content {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #ffffff;
    padding: 20px;
    border-radius: 12px;
    width: calc(90% - 40px);
    max-width: 500px;
    box-shadow: 0px 10px 30px rgba(0, 0, 0, 0.15);
    z-index: 2; 
    opacity: 0;
    transform: translate(-50%, -150%);
    transition: opacity 0.2s ease, transform 0.2s ease;
}

/* Zeige den Dialog an */
.dialog.show .dialog-content {
    opacity: 1;
    transform: translate(-50%, -50%); 
}



/* Container für die Farbauswahl (um den Text "Farbe:" und den Input zu gruppieren) */
.color-container {
    display: flex;
    align-items: center; /* Vertikale Ausrichtung */
    justify-content: flex-start; /* Text und Eingabefeld nebeneinander */
    gap: 10px; /* Abstand zwischen Text und Input */
}

/* Farbauswahl bleibt im Standard Input */
.colorPicker {
	width: 100%;
	height: 35px;
	border-radius: 0;
	padding: 0;
	cursor: pointer;
	max-width: 150px;
	margin-top: 5px;
	margin-bottom: 15px;
	border: 1px solid #ccc;
}

.minicolors-theme-bootstrap {
	height: 45px;
}

.minicolors-input-swatch {
	width: 140px !important;
	height: 35px !important;
	border: 1px solid #ccc !important;
	border-radius: 0 !important;
	cursor: pointer !important;
}

.minicolors-panel {
	margin-top: 45px;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important;
	background: #ffffff !important;
	border: 2px solid #aeaeae  !important;
}

#saveChangesBtn {
	display: none;
}

/* Input-Felder */
.playlistsInput-field {
    width: calc(100% - 20px);
    padding: 10px;
    margin-top: 5px;
	margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 14px;
    background: #f8f8f8;
    transition: border 0.3s ease;
}

.playlist_config {
	font-size: 25px;
	font-weight: bold;
	margin-bottom: 20px;
	text-align: center;
}
  
.playlistsInput-field:focus {
    border: 1px solid #007bff;
    background: #ffffff;
}

/* Textarea für Beschreibung */
textarea.playlistsInput-field {
    height: 110px;
    resize: vertical;
}

/* Button-Styling */
.btn-confirm, .btn-cancel {
    width: 100%;
    padding: 12px;
    margin-top: 10px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
    transition: all 0.3s ease-in-out;
	background: #007bff;
	color: #ffffff;
	border: none;	
}

.btn-confirm:hover {
    background: #0056b3;
}

.btn-publish {
    width: 100%;
    padding: 12px;
    margin-top: 10px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
    transition: all 0.3s ease-in-out;
	background: #168e23;
	color: #ffffff;
	border: none;	
}

#publishPlaylistBtn, #deletePublishPlaylistBtn {
	display: none;
}

.deleteDanger {
	font-size: 50px;
	margin-bottom: 10px;
	color: #dd0404;	
}

.disabled-btn {
  background-color: #d3d3d3 !important;
  color: #a1a1a1;
  pointer-events: none;
}


.btn-publish:hover {
    background: #0e6c18;
}

.btn-cancel {
    background: #ff4b5c;
    color: white;
    border: none;
}

.btn-cancel:hover {
    background: #d43f51;
}

/* Close-Button (rotes X) */
.close-btn {
    position: absolute;
    top: -5px;
    right: 5px;
    font-size: 35px;
    font-weight: bold;
    color: red;
    background: none;
    border: none;
    cursor: pointer;
}

.btn-danger {
    width: 100%; /* Einheitlich mit anderen Buttons */
    padding: 12px;
    margin-top: 10px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
    transition: all 0.3s ease-in-out;
    background: #ea0016; /* Rot wie "Löschen" üblich */
    color: white;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px; /* Abstand zwischen Icon & Text */
}

.btn-danger:hover {
    background: #b52a37; /* Dunkleres Rot beim Hover */
}

.btn-danger i {
    font-size: 18px; /* Icon etwas größer */
}


.red {
	color: red !important;
	font-size: 25px;
}

.green {
	color: green !important;
	font-size: 25px;
}

/* Checkbox für "Alle Playlisten auswählen" */
input[type="checkbox"] {
    /* display: none; */
}

input[type="checkbox"] + label {
    position: relative;
    padding-left: 30px;
    cursor: pointer;
    font-size: 16px;
    color: #333;
    display: inline-block;
    line-height: 20px;
}

input[type="checkbox"] + label:before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 20px;
    height: 20px;
    background-color: #fff;
    border: 2px solid #007bff;
    border-radius: 4px;
    box-shadow: 0 2px 6px rgba(0, 123, 255, 0.3);
    transition: background-color 0.3s ease;
}

input[type="checkbox"]:checked + label:before {
    background-color: #007bff;
    border-color: #007bff;
    box-shadow: 0 2px 6px rgba(0, 123, 255, 0.6);
}

input[type="checkbox"]:checked + label:after {
    content: '✔';
    position: absolute;
    top: 2px;
    left: 5px;
    font-size: 14px;
    color: white;
}

.title, .description, .detailsPlaylists {
	padding: 5px;
}


/* Rückmeldungen */
.feedback-container {
  position: fixed;
  bottom: 10px;
  right: 10px; /* Setzt es 20px vom rechten Rand des Viewports ab */
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-start; /* Optionale Anpassung, wenn du den Inhalt von links nach rechts ausrichten möchtest */
  z-index: 1000;
}



/* Stil der Meldungen */
.feedback-message {
    padding: 12px 24px;
    font-size: 16px;
    border-radius: 8px;
    color: #ffffff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    display: none;
    animation: slideDown 0.5s ease-in-out;
	width: calc(100% - 48px);
	max-width: 350px;
}

/* Meldungen animiert einblenden */
@keyframes slideDown {
    from {
        transform: translateY(-20px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.feedback-message.success {
    background: #28a745;
}

.feedback-message.error {
    background: #dc3545;
}


#statusMessage {
    font-size: 1.2rem;
    font-weight: 500;
    text-align: center;
    color: white;
}


/* Overlay-Styling */
#loadingOverlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
}

/* Container für Spinner und Text */
.loading-container {
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
	width: 100%;
	max-width: 600px;
	text-align: center;
}

.cancelButton {
    /* margin-top: 10px; */
	margin: 10px auto;
    padding: 10px 20px;
    background-color: #e74c3c;
    color: white;
    border: none;
    cursor: pointer;
    font-size: 16px;
    border-radius: 5px;
	display: none;
}

.cancelButton:hover {
    background-color: #c0392b;
}

.success-button {
  background-color: #28a745 !important; /* Grüner Hintergrund */
  color: white !important;             /* Weiße Schrift */
  font-weight: bold;
  border: none;
}


/* Spinner-Styling */
.spinner {
    border: 5px solid #f3f3f3;
    border-top: 5px solid #242424;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 2s linear infinite;
    margin-right: 20px;
}

/* Animation für den Spinner */
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Textbereich */
.loading-text p {
    margin: 5px 0;
}

#statusMessage {
    font-size: 1.2rem;
    font-weight: bold;
}

#playlistInfo {
    font-size: 1rem;
    font-weight: normal;
    color: #f1c40f; /* Gelber Farbton für Playlist Info */
}

#confirmationMessage {
	text-align: center;
}

/* ✅ Einheitliches Modal-Content-Styling */
.custom-modal-content {
    background: #ffffff;
    padding: 24px;
    border-radius: 5px;
    width: 90%;
    max-width: 700px;
    max-height: calc(90% - 48px);
    overflow-y: auto;
    box-shadow: 0px 10px 30px rgba(0, 0, 0, 0.15);
    opacity: 0;
    transform: translateY(-20px);
    transition: opacity 0.2s ease, transform 0.2s ease;
}

/* ✅ Animation für geöffnetes Modal */
.custom-modal-content.show {
    opacity: 1;
    transform: translateY(0);
}

.custom-modal.show .custom-modal-content {
    transform: translateY(0);
    opacity: 1;
}



/* ✅ Import-Button Styling */
.open-import-modal {
    background: #3498db;
    color: #ffffff;
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.1s ease;
    display: inline-block;
    margin-bottom: 16px;
    box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.1);
}

.open-import-modal:hover {
    background: #2980b9;
}

.open-import-modal:active {
    background: #2471a3;
    transform: scale(0.98);
}

.label-import-details {
	font-size: 20px;
	padding: 10px;
	display: block;
	font-weight: bold;
}

/* Grundlayout der Import-Modal */
.import-modal-content {
    background-color: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.1);
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

/* Details direkt unter der Playlist */
.import-details {
    background: #f5f5f5;
    padding: 12px;
    border-radius: 6px;
    margin-top: 8px;
    border-left: 2px solid #3498db;
    box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.1);
    display: none;
}

/* Playlist-Elemente */
.import-playlist-item {
    padding: 12px 16px;
    margin-bottom: 8px;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
    display: block;
    transition: background 0.2s ease;
	cursor: default;
}

/* Hover-Effekt für jedes Playlist-Element */
.import-playlist-item:hover {
    background: #f1f1f1;
}

/* Details-Liste */
.import-details-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* Einzelne Track-Elemente */
.import-details-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px;
    border-radius: 6px;
    background-color: #f9f9f9;
    box-shadow: 0px 2px 8px rgba(0, 0, 0, 0.05);
    transition: background-color 0.2s ease;
}

/* Hover-Effekt für jedes Track-Element */
.import-details-item:hover {
    background-color: #f1f1f1;
}

/* Künstlername und Titel */
.import-details-artist,
.import-details-title {
    flex: 1;
    overflow-wrap: break-word;
    word-wrap: break-word;
}

/* Dauer-Spalte */
.import-details-duration {
    text-align: right;
    color: #7f8c8d;
}

/* ✅ Details-Button Styling */
.import-toggle-details {
    background: #3498db;
    color: #ffffff;
    border: none;
    padding: 6px 12px;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.2s ease;
    font-size: 14px;
	width: 100%;
	margin-top: 10px;
}

.import-playlist-select {
	width: 20px;
	height: 20px;
	margin-right: 15px;
}

.import-data {
	display: flex;
	align-items: center;
	cursor: pointer;
}

/* Hover-Effekt für Details-Button */
.import-toggle-details:hover {
    background: #2980b9;
}

/* Import-Optionen Styling */
.import-options {
    width: 300px;
    max-width: 50%;
}

/* ✅ Import-Button Styling */
#import-button {
    background: #2ecc71;
    color: #ffffff;
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    cursor: pointer;
    display: none;
    margin-top: 20px;
    width: 100%;
    transition: background 0.2s ease, transform 0.1s ease;
}

#import-button:hover {
    background: #27ae60;
}

/* ✅ Kopfbereich der Import-Modal */
.import_head {
    font-size: 25px;
    font-weight: bold;
    margin-bottom: 20px;
	text-align: center;
}

.file-upload-container {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

/* ✅ Label zum Datei-Auswählen */
.file-upload-label {
    background-color: #1583c6;
    color: white;
    padding: 10px 20px;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    font-size: 14px;
    text-align: center;
}

.file-upload-label:hover {
    background-color: #0a6b96;
}


/* ✅ Datei-Upload Input (versteckt) */
#import-zipUpload {
    display: none;
}

/* ✅ Hover-Effekte */
#import-zipUpload:hover {
    border-color: red;
}


/* ✅ Verbesserte Checkbox-Styling */
.import-checkbox-options {
  /* display: flex; */
  /* flex-direction: column; */
  /* gap: 10px; */
  /* margin-top: 5px; */
  /* padding-left: 10px; */
	display: flex;
	gap: 10px 30px;
	padding-left: 10px;
	flex-flow: wrap; 
}

.tags-import-options {
	margin-top: 15px;
}

.custom-checkbox {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  cursor: pointer;
  user-select: none;
}

.custom-checkbox input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.custom-checkbox .checkmark {
  width: 20px;
  height: 20px;
  background-color: #ccc;
  border-radius: 4px;
  display: inline-block;
  position: relative;
  transition: background 0.2s;
}

.custom-checkbox input:checked + .checkmark {
  background-color: #2ecc71;
}

.custom-checkbox .checkmark::after {
  content: "";
  position: absolute;
  left: 6px;
  top: 2px;
  width: 6px;
  height: 12px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
  display: none;
}

.custom-checkbox input:checked + .checkmark::after {
  display: block;
}


/* ✅ Hintergrundmodal */
.custom-modal {
    display: none;
    position: fixed;
    z-index: 15;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
	cursor: default;
    background-color: rgba(0, 0, 0, 0.8);
	justify-content: center;
    justify-content: center;
    align-items: center;	
}

.custom-modal.show {
    display: block;
}

.detailsPlaylists {
	display: flex;
	gap: 30px;
	flex-wrap: wrap;
}
	
.detailsPlaylists .size, .detailsPlaylists .duration {
	display: inline-block;
	min-width: 80px;
	width: auto;
}

.status-icon .update-pl {
	margin-right: 10px;
}


/* Overlay */
.sharringImport_overlay {
  display: none; /* Startwert, Modal versteckt */
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  justify-content: center;
  align-items: center;
  z-index: 20;
}

.sharringImport_overlay.show {
  display: flex; /* Modal sichtbar machen */
  cursor: default;
}

/* Modal Container */
.sharringImport_modal {
  background-color: white;
  padding: 30px 10px 10px 10px;
  border-radius: 5px;
  width: 100%;
  max-width: 900px;
  position: relative;
  overflow-y: auto;
  height: calc(99% - 40px);
}
.playlist-item {
	opacity: 0;
	transform: translateY(10px);
	transition: opacity 0.3s ease, transform 0.3s ease;
}

.playlist-item.fadeIn {
	opacity: 1;
	transform: translateY(0);
}

/* Playlist Details Box */
.sharringImport_playlist-details {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
  margin-bottom: 20px;
}

.sharringImport_playlist-details p {
	display: flex;
	gap: 10px;
	font-size: 16px;
	margin: 5px 0;
}

.sharringImport_playlist-details div {
  padding: 15px;
  /* background-color: #f7f7f7; */
  border-radius: 5px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  gap: 10px;
}

.sharringImport_playlist-details div i {
  font-size: 20px;
  color: #007bff; /* Für Icons */
}

/* Track List Container */
.sharringImport_track-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
}

/* Track List Header */
.sharringImport_track-list-header,
.sharringImport_track-item {
  display: flex;
  justify-content: space-between;
  padding: 10px;
  /* background-color: #f1f1f1; */
  border-radius: 5px;
  /* margin-bottom: 10px; */
  align-items: center;
  text-align: center;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

/* Spalten mit festen Breiten */
.sharringImport_track-list-header div,
.sharringImport_track-item .sharringImport_track-info {
  text-align: left;
  padding: 10px 3px 10px 3px;
}

.sharringImport_artist,
.sharringImport_title {
	text-align: left;
	width: 25%;
}

.sharringImport_duration,
.sharringImport_genre,
.sharringImport_release-year {
  width: 10%;
}

/* Pagination Container Fixierung */
.sharringImport_pagination {
  display: flex;
  justify-content: space-between;
  padding: 10px;
}

/* Container für die Buttons (links und rechts) */
.sharringImport_pagination-left,
.sharringImport_pagination-right {
  width: 50%;
}

/* Die Buttons selbst */
.sharringImport_pagination-btn {
  padding: 10px 20px;
  background-color: #4CAF50;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 16px;
  text-align: center;
  width: 100%;
  max-width: 150px;
}

.sharringImport_pagination-btn:hover {
  background-color: #45a049;
}

.sharringImport_pagination-btn:focus {
  outline: none;
}

/* Styling für die linke und rechte Ausrichtung */
.sharringImport_pagination-left {
  text-align: left;
}

.sharringImport_pagination-right {
  text-align: right;
}


.pagination-info {
  text-align: center;
  margin: 10px 0;
  font-size: 14px;
  color: #666;
}



.filter-section {
	display: flex;
	gap: 10px;
	margin-bottom: 20px;
	justify-content: center;
	align-items: center;
}

.reloadPublish {
	font-size: 20px;
	color: #007bff;
}

.reloadPublish:hover {
	font-size: 20px;
	color: #0056b3;
	cursor: pointer;
}


.filter-section input,
.filter-section button {
	padding: 14px;
	border: 1px solid #ccc;
	border-radius: 5px;
	width: 200px;
}

.filter-section button {
  background-color: #007bff;
  color: #fff;
  cursor: pointer;
  transition: background 0.2s;
}

.filter-section button:hover {
  background-color: #0056b3;
}

.sharing-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.playlist-title {
  font-size: 16px;
  font-weight: bold;
}

.playlist-desc {
  font-size: 14px;
  margin: 5px 0 8px 0;
}

.playlist-meta {
  font-size: 14px;
}

#load-more-button {
	display: block;
	margin: 10px auto;
  background-color: #007bff;
  color: #fff;
  padding: 10px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background 0.2s;
}

#load-more-button:hover {
  background-color: #0056b3;
}
/* Standardmäßige Playlistenanzeige */
.playlist-item {
  display: flex; /* Flexbox für nebeneinander */
  align-items: center; /* Zentrierte Ausrichtung */
  justify-content: space-between; /* Abstand zwischen Info & Button */
  padding: 12px;
  border: 1px solid #6a6a6a;
  border-radius: 5px;
  /* background-color: #f9f9f9; */
  transition: background 0.2s, transform 0.2s;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.playlist-item:hover {
  background-color: #f5f5f5;
}

.playlist-info {
  flex: 1; /* Füllt verfügbaren Platz aus */
  min-width: 0; /* Verhindert Überlaufen */
}

.playlist-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  min-width: 120px; /* Platz für den Button */
}

.detailsPlaylists-button {
  font-size: 14px;
  font-weight: bold;
  padding: 8px 15px;
  background-color: #007bff;
  color: #fff;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.3s, box-shadow 0.3s;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.15);
}

.detailsPlaylists-button:hover {
  background-color: #0056b3;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
}


/* Animationseffekt */
.playlist-item.fadeIn {
  display: flex;
  opacity: 0;
  animation: fadeInAnimation 0.5s forwards; /* Animation für das sanfte Einblenden */
}

@keyframes fadeInAnimation {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

.gap-filler {
	background-color: transparent !important;
	box-shadow: none !important;
}

.sharringImport_track-list-header {
	font-weight: bold;
}


.sharringImport_checkbox-column {
	width: 20px;
}

.checkbox-column_Head {
	margin-left: -5px;
} 

/* Stil für die Checkbox-Icons */
.sharringImport_checkbox-column i.track-checkbox-icon {
	cursor: pointer;
	font-size: 1.5em;
	color: #ccc; /* Anfangszustand: Grau */
	transition: color 0.3s ease;
}

i.track-checkbox-icon:before {
	margin-left: 5px;
}

/* Wenn die Checkbox ausgewählt ist */
.sharringImport_checkbox-column i.track-checkbox-icon.fa-check-square {
	color: #4CAF50; /* Grünes Häkchen */
}

/* Wenn die Checkbox nicht ausgewählt ist */
.sharringImport_checkbox-column i.track-checkbox-icon.fa-square {
	color: #ccc; /* Grau für unselektiert */
}

/* Visueller Effekt bei Hover */
.sharringImport_checkbox-column i.track-checkbox-icon:hover {
	/* color: #333;  */
}
.sharringImport_track-item {
	position: relative;
	padding-left: 4px; /* Platz für Streifen */
}

.track-type-song::before,
.track-type-jingle::before,
.track-type-moderation::before,
.track-type-news::before,
.track-type-ad_trigger::before,
.track-type-sonstiges::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 6px;
	height: 100%;
	border-radius: 5px 0 0 5px;
}

.track-type-song::before { background-color: #fff; }
.track-type-jingle::before { background-color: #64b5f6; }
.track-type-moderation::before { background-color: #8b4513; }
.track-type-news::before { background-color: #fff176; }
.track-type-ad_trigger::before { background-color: #ef9a9a; }
.track-type-sonstiges::before { background-color: #bdbdbd; } 

.displayDescription {
	display: block !important
}

.detailsDescription {
	margin: 20px 0 10px 0 !important;
}

.displayDetails {
	margin: 15px 0 25px 0 !important;
}

.sharingPlaylistDescription {
	margin-left: 28px !important;
}


/* Mobile Ansicht */
@media (max-width: 768px) {
	.filter-section {
		display: block;
	}
	
	.filter-section input {
		width: calc(100% - 28px);
		margin-bottom: 10px;
	}
  /* Header Column Styling */
  .sharringImport_track-list-header div {
	  
    flex: none;
  }

  .sharringImport_track-item .sharringImport_track-info {
    flex: none;
  }

  .gap-filler {
    display: none !important;
  }

  .sharringImport_playlist-details {
    grid-template-columns: 1fr;
  }

  .sharringImport_track-item .sharringImport_track-info {
    text-align: left;
  }

  .sharringImport_track-list-header div {
    text-align: left;
	font-weight: bold;
  }

  .sharringImport_pagination {
    /* flex-direction: column; */
    align-items: center;
  }
	.sharringImport_track-item {
		margin-bottom: 0;
	}
	
	
  .sharringImport_pagination-left,
  .sharringImport_pagination-right {
    width: 100%; /* Vollbild auf mobilen Geräten */
    /* text-align: center; 
  }

  .sharringImport_pagination-btn {
    margin: 5px 0;
    width: auto; /* Damit die Buttons auf mobilen Geräten nicht die ganze Breite einnehmen */
  }

  /* Genre und Release Year ausblenden */
  .sharringImport_genre,
  .sharringImport_release-year {
    display: none;
  }

  /* Neue Breitenverteilung für mobile Ansicht */
  .sharringImport_artist,
  .sharringImport_title {
	word-break: break-word;
	width: 35%;
  }

  .sharringImport_duration {
    width: 14%;
  }
  
  .sharringImport_track-list-header {
	  padding: 10px 5px 10px 5px;
	  margin-bottom: 0;
  }
  
  .sharringImport_checkbox-column {
	  /* width: 10px; */
  }
	.checkbox-column_Head {
	  margin-left: 0px;
	}  
}


/* Mobile Optimierung */
@media (max-width: 480px) {
	.sharringImport_modal {
		padding: 10px;
		width: calc(99% - 20px);
		height: calc(99% - 20px);
	}
	.buttons-head, buttons {
		padding: 12px 0px 25px 0;
		justify-content: center;
		display: flex;
		gap: 15px;
		flex-direction: column;
		width: 100%;
	}
	
	.playlist .status-icon {
		font-size: 18px;
	}	
	.detailsPlaylists {
		gap: 5px;
	}
	.custom-modal-content {
		padding: 10px;
		width: calc(99% - 20px);
		min-height: calc(99% - 20px);
	}

	.import-checkbox-options {
		gap: 6px;
	}

	.custom-checkbox {
		font-size: 14px;
	}	

	.file-upload-label {
		padding: 10px;
		width: calc(80% + 24px);
	}

	.file-upload-container {
        flex-direction: column;
        /* align-items: flex-start; */
    }

	/* Spinner-Styling */
	.spinner {
		width: 30px;
		height: 30px;
	}
	.feedback-container {
		width: 90%;
		right: auto;
		left: 50%;
		transform: translateX(-50%);
	}	
	.feedback-message {
		padding: 12px 10px;
		width: calc(100% - 20px);
		text-align: center;
	}
	
	.custom-modal {
		/* width: calc(100% - 10px); */
		/* padding: 5px; */
	}
	
	#import-zipUpload {
		padding: 8px 0;
	}
	
	/* Dialog */
	.playlist_details {
		display: none;
		position: fixed;
		top: 50%;
		left: 50%;
		width: calc(100% - 20px);
		max-width: 600px;
		transform: translate(-50%, -50%);
		background: #ffffff;
		padding: 0 5px 5px 5px;
		border-radius: 12px;
		box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
		z-index: 1000;
		border: 1px solid #a8a8a8;
	}

	.close-btn {
		top: -7px;
		font-size: 40px;
	}
	
	.playlistenContainer {
	  max-width: 100%;
	  padding: 5px;
	  background: #ffffff;
	  border-radius: 16px;
	  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
	  transition: transform 0.3s ease-in-out;
	}		
    /* Titel */
    /* h1 { */
        /* font-size: 20px; */
        /* padding: 10px; */
    /* } */

    /* Filter-Container */
    .filter-container {
        flex-direction: column; /* Stellt sicher, dass die Filterinputs untereinander sind */
        gap: 10px;
        justify-content: flex-start;
        align-items: stretch;
    }

    .filter-container input {
		max-width: calc(100% - 30px);
		width: 100%;
    }

	.select_playlists {
		max-width: calc(100% - 30px);
		width: 100%;
	}

    .filter-container select {
		max-width: 100%;
		width: 100%;
    }

    /* Auswahlmenü */
    .select-container {
        width: 100%;
        gap: 8px;
    }

    select {
        width: 100%;
        padding: 10px;
        font-size: 14px;
    }

    /* Playlist Container */
    #playlistContainer {
        display: flex; /* Verhindert, dass die Playlisten zu viel Platz nebeneinander einnehmen */
        gap: 8px;
    }
	
	.description {
		display: none;
	}
	
	.detailsPlaylists {
		padding-top: 5px;
	}
	
    /* Playlist */
    .playlist {
        padding: 12px;
        font-size: 14px;
        /* flex-direction: column; */
        /* text-align: center; */
        gap: 8px;
    }

    /* Bestätigungsdialog */
    .dialog-content p {
        font-size: 14px;
    }

    /* Buttons im Dialog */
    .btn-confirm, .btn-cancel {
        padding: 10px;
    }
    .import-details-list {
        gap: 8px; /* Weniger Abstand zwischen den Tracks */
    }

    .import-details-item {
        padding: 6px; /* Weniger Padding auf kleineren Geräten */
    }
	
	.import-playlist-item {
		padding: 12px 2px;
	}
	.first_entrie {
		margin-top: 25px;
	}
	i.track-checkbox-icon:before {
		margin-left: 1px;
	}	
}

/* Tablet Optimierungen (Für Geräte mit 480px bis 768px Bildschirmbreite) */
@media (max-width: 768px) and (min-width: 481px) {
	.noPlaylists {
		min-width: 90%;
	}
	.custom-modal-content {
		padding: 14px;
		width: calc(99% - 28px);
		/* height: calc(90% - 48px); */
		max-height: calc(99% - 28px);
	}
	
    .import-playlist-item {
        /* flex-direction: column;  */
    }

    .import-details-item {
        /* flex-direction: column; */
    }

    /* Duration ausblenden auf mobilen Geräten */
    .import-details-duration {
        display: none;
    }
	
	.feedback-container {
		max-width: 80%;
	}
	.feedback-message {
		width: 100%;
	}
	
	.playlistenContainer {
	  max-width: 100%;
	  padding: 10px;
	  background: #ffffff;
	  border-radius: 16px;
	  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
	  transition: transform 0.3s ease-in-out;
	}
	
    .filter-container {
        flex-direction: column;
        gap: 10px;
        justify-content: flex-start;
        align-items: stretch;
    }

    .filter-container input {
		max-width: calc(100% - 30px);
		width: 100%;
    }

	.select_playlists {
		max-width: calc(100% - 30px);
		width: 100%;
	}
	
    .filter-container select {
		max-width: 100%;
		width: 100%;
    }
		
    .playlist {
        padding: 14px;
        font-size: 16px;
    }

}