.media-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.media-card {
  width: calc(33.333% - 10px);
  position: relative;
  padding-top: 33.333%;
  background-color: #f0f0f0;
  border: 1px solid #ddd;
  overflow: hidden;
}

.media-card img, .media-card video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.media-card .menu-button {
  position: absolute;
  bottom: 10px;
  right: 10px;
  background: rgba(0, 0, 0, 0.7);
  color: white;
  border: none;
  border-radius: 50%;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.media-card .menu {
  position: absolute;
  bottom: 50px;
  right: 10px;
  background: white;
  border: 1px solid #ddd;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  display: none;
  z-index: 100;
}
.media-card .card-footer {
  border-top: none;
}
.media-card .menu button {
  display: block;
  width: 100%;
  padding: 5px 10px;
  text-align: left;
  border: none;
  background: none;
  cursor: pointer;
}

.media-card .menu button:hover {
  background-color: #f0f0f0;
}

.mydropzone{
  border: 2px dashed #CCC;
  border-radius: 5px;
  padding: 66px;
}
.dz-details,
.dz-success-mark,
.dz-error-mark,
.dz-error-message {display: none;}

.dz-image img {
  width: auto;
  height: auto;
  object-fit: cover;
  outline: 2px solid #E6F0F2;
  border-radius: 20px;
}
.dz-preview  {display: inline-block; margin: 8px;}
.mydropzone.dz-drag-hover {
  border: 2px dashed #4D4D4D;
  background: #f8f8f8;
}
.media-item:hover {
  cursor: move;
}

.media-item.active .square-image-container {
  outline: 4px solid #00888F;
}
.media-item .dropdown-toggle::after {
  content: none ;
}
.media-item .media-item-main {
  z-index: 2;
}
.media-item .card-body {
  flex-grow: 0;
}

.icon {
  width: 20px;
  height: 20px;
  background-size: contain; /* Ensures the SVG scales properly */
  background-repeat: no-repeat; /* Avoids repeating the SVG */
  background-position: center; /* Centers the SVG */
  display: inline-block; /* Allows you to use this inline */
}

.icon-download {
  background-image: url("../media/png/download.png");
}
.icon-trash {
  background-image: url("../media/svg/trash.svg");
}
.icon-dots {
  width: 14px;
  height: 14px;
  background-image: url("../media/png/dots.png");
}
 /* Square Image Container */
 .square-image-container {
  position: relative;
  width: 100%;
  padding-bottom: 100%; /* This makes the height equal to the width */
  overflow: hidden; /* Ensures the image doesn't overflow */
  border-radius: 12px;
}

/* Ensure the image/video takes up the full square area */
.square-image-container .card-img-top {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover; /* Ensures the media covers the square area */
  border-radius: 12px;
  border: 2px solid var(--Blue-turquoise-blue-100, #E6F0F2);
}

/* Ensure the video element behaves like the image */
.square-image-container video.card-img-top {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
  border: 2px solid var(--Blue-turquoise-blue-100, #E6F0F2);
}

.nav-tabs.nav-items .nav-item.show .nav-link, 
.nav-tabs.nav-items .nav-link.active, 
.nav-tabs.nav-items .nav-link:hover {
  border: 1px white solid;
  border-bottom: 2px solid var(--Blue-turquoise-blue);
}

#bulkDelete {
color: var(--Red-red);
}