.input-group-text.playlist {
  font-size: 1.5rem;
  background-color: transparent;

  padding-right: 0;
  color: #495057;
}
.form-control.playlist {
  border-radius: 0 !important;
  background-color: transparent;
  border: none;
  border-bottom: 2px solid #495057;
  box-shadow: none;
  padding-left: 0;
  font-size: 1.5rem;
  color: #495057;
  transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}
.form-control:focus.playlist {
  background-color: #e6e6e6;
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
  border-bottom: 2px solid #0275d8;
}
.input-group-append button.playlist {
  font-size: 1.5rem;
  background-color: #0275d8;
  border: none;
  color: #fff;
  transition: background-color 0.15s ease-in-out;
}
.input-group-append button:hover.playlist {
  background-color: #0061b5;
}


/* set a specific width for the handle column */
#file-table th:nth-child(1).playlist,
#file-table td:nth-child(1).playlist,
#file-table th:nth-child(2).playlist,
#file-table td:nth-child(2).playlist,
#file-table th:nth-child(4).playlist,
#file-table td:nth-child(4).playlist,
#file-table th:nth-child(5).playlist,
#file-table td:nth-child(5).playlist,
#file-table th:nth-child(6).playlist,
#file-table td:nth-child(6).playlist{
  width: 10% !important; /* or however wide you want it */
}
#file-table th:nth-child(7).playlist,
#file-table td:nth-child(7).playlist{
 display: none;
}
#file-table th:nth-child(3).playlist,
#file-table td:nth-child(3).playlist{
  width: 50%;
}
#file-table.playlist {
  width: 100%;
  
}
 

.sortable-placeholder.playlist {
  width: 100%;
}


 
 
.handle.playlist {
  cursor: move;
  text-align: center;
  vertical-align: middle;
  /* add more styles if needed */
}
tr:hover.playlist {
  background-color: lightgray;  
}
tr.playlist {
  text-align: center;
  vertical-align: middle;
}
.btn-delete-row.playlist {
  border: none;
  background: none;
  cursor: pointer;
}
/* Base styles for the rows */
.draggable-row.playlist {
  transition: background-color 0.3s ease, transform 0.3s ease;
}

/* Styles for the dragged row */
.dragging.playlist {
  transform: scale(1.02) rotateX(20deg); /* Slight 3D effect */
  box-shadow: 0 20px 30px rgba(0, 0, 0, 0.2); /* Deep shadow for "lifting" effect */
  background-image: linear-gradient(to right, #eaeaea, #f5f5f5, #eaeaea); /* Subtle gradient background */
  z-index: 1000; /* Ensure it's above other rows */
}

/* Placeholder styles */
.sortable-placeholder.playlist {
  transition: height 0.3s ease, opacity 0.3s ease;
  height: 50px; /* Initial height */
  background: #dcdcdc; /* Light gray */
  border: 2px dashed #aaa; /* Dashed border */
  opacity: 0.5;
}
 
.draggable-row:hover.playlist {
  background-color: lightgrey;
}

.table-container.playlist {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  margin: 1em;
  background-color: #ffffff;
}

/* Table */
table.playlist {
  width: 100%;
  border-collapse: collapse;
}

/* Table Headers */
th.playlist {
  background-color: #f4f4f4;
  color: #333;
  padding: 10px;
  text-align: center;
}

/* Table Rows */
tr.playlist {
  transition: background-color 0.2s;
}

tr:hover.playlist {
  background-color: #f7f7f7;
}

/* Table Data Cells */
td.playlist {
  padding: 10px;
  border-bottom: 1px solid #eee;
}

/* Draggable icon */
.handle.playlist {
  cursor: grab;
}

/* Trash icon cell */
.btn-delete-row.playlist {
  color: red;
  cursor: pointer;
  background: none;
  border: none;
}

/* Time Input */
.time-input-container.playlist {
  display: flex;
  justify-content: center;
  align-items: center;
}

.duration-span[contenteditable="true"]:focus-visible.playlist {
  display: inline-block;
  outline: none;
  min-width: 20px;
  padding: 0 5px; /* Adjust as needed */
  border: 1px solid #ccc !important; /* Adjust as needed */
  border-radius: 10px;
  background-color: white;
}

.creative-font.playlist {
  font-weight: bold;
   background-color: #f2f2f2;
  border-radius: 10px;
  padding: 10px;
}

.btn.playlist {
  display: block !important;
}
/* CSS */
.zoom-btn.playlist {
  transition: transform 0.1s ease; /* 0.3s duration, can be adjusted */
}

.zoom-btn:active.playlist {
  transform: scale(1.1); /* Scale the button to 110% of its size */
}

/* General modal styling */
.modal-content.playlist {
  border-radius: 20px;
  background: #f5f7f9; /* A very soft gray background */
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.modal-header,
.modal-footer.playlist {
  border: none;
}

.card-body.playlist {
  padding: 8px 16px; /* Reduced padding for tighter rows */
}

.checkbox-container.playlist {
  display: inline-block;
  margin-left: auto;
  margin-right: 20px; /* Added margin for spacing before the checkbox */
}
/* ... other CSS styles ... */

/* Container and Tree Structure */
.modal-files-lst.playlist {
  font-family: 'Helvetica Neue', Arial, sans-serif;
  max-height: 600px;
  overflow-y: auto;
  padding: 0px;
}

.card.playlist {
  
  margin-bottom: 10px;
  border: 1px solid #eaeaea; /* Light gray border */
  border-radius: 15px;
  background: transparent;
  box-shadow: 8px 0 10px -8px rgba(0, 0, 0, 0.2), 0 5px 10px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s; /* Added transition for border-color */
}

.card:hover.playlist {
  transform: translateY(-3px);
  box-shadow: 8px 0 15px -8px rgba(0, 0, 0, 0.25),
    0 8px 20px rgba(0, 0, 0, 0.08);
  border-color: #d0d0d0; /* Slightly darker gray border on hover */
}

.card-header.playlist { 
  display: flex;
  border-bottom: none;
  align-items: center;
  justify-content: space-between;
  border-radius: 15px !important;
  
}

.d-flex.align-items-center.playlist {
  display: flex;
  align-items: center;
}

/* Media Thumbnails */
video.playlist,
img.playlist {
  border-radius: 10px;
  margin-right: 20px;
  object-fit: cover;
  /* Setting consistent width and height for thumbnails */
  width: 70px;
  height: 50px;
}

/* File and Folder Names */
.btn-link.playlist {
  color: #333;
  font-weight: 600;
  text-decoration: none;
  flex-grow: 1;
  transition: color 0.3s;
}

.btn-link:hover.playlist {
  color: #555;
}

/* Custom Checkbox */
.custom-checkbox-label {
  display: inline-block;
  width: 24px;
  height: 24px;
  background-color: #f5f7f9;
  border: 1px solid #d1d4d9;
  border-radius: 6px;
  position: relative;
  cursor: pointer;
  transition: all 0.3s;
}

.custom-checkbox-label:hover {
  background-color: #e7eaf0;
}

.custom-checkbox-label::before {
  content: "\2713";
  position: absolute;
  top: 50%;
  left: 50%;
  font-size: 20px;
  color: #333; /* Dark gray */
  transform: translate(-50%, -50%) scale(0);
  transition: transform 0.2s ease-in-out;
}

.card-header.checked .custom-checkbox-label::before {
  transform: translate(-50%, -50%) scale(1);
}
.modal-body.playlist {
  max-height: calc(100vh - 310px);
  overflow-y: auto;
}

 