.wizard>.steps .current a {
    background: var(--bs-gray-500);
    color: var(--bs-white);
    cursor: default;
}

.wizard>.steps .done a {
    background: var(--bs-gray-300);
    color: var(--bs-gray);
}
#drag_upload_file {
  width:50%;
  margin:0 auto;
}
#drag_upload_file p {
  text-align: center;
}
#drag_upload_file #selectfile {
  display: none;
}

.dd_email {
    background-color: #C7DBFA;
	     border: #3C83EE 2px dashed;
		  color:#3C83EE;
    width: 100%;
    height: 125px;
    padding: 8px;
	 line-height: 22px;
    -webkit-transition: background 0.5s linear;
    -moz-transition: background 0.5s linear;
    -ms-transition: background 0.5s linear;
    -o-transition: background 0.5s linear;
    transition: background 0.5s linear;
}
.dd_teams {
    background-color: #CCCCE6; 
	     border: #8A8AC6 2px dashed;
		  color:#8A8AC6;
    width: 100%;
    height: 125px;
    padding: 8px;
	 line-height: 22px;
    -webkit-transition: background 0.5s linear;
    -moz-transition: background 0.5s linear;
    -ms-transition: background 0.5s linear;
    -o-transition: background 0.5s linear;
    transition: background 0.5s linear;
}
.dd_files {
    background-color: #E8F5DC; 
	     border: #008000 2px dashed;
		  color:#008000;
    width: 100%;
    height: 125px;
    padding: 8px;
	 line-height: 22px;
    -webkit-transition: background 0.5s linear;
    -moz-transition: background 0.5s linear;
    -ms-transition: background 0.5s linear;
    -o-transition: background 0.5s linear;
    transition: background 0.5s linear;
}
.dd_image {
    background-color: #C8E8F9;  
	     border: #14417E 2px dashed;
		  color: #14417E;
    width: 100%;
    height: 125px;
    padding: 8px;
	 line-height: 22px;
    -webkit-transition: background 0.5s linear;
    -moz-transition: background 0.5s linear;
    -ms-transition: background 0.5s linear;
    -o-transition: background 0.5s linear;
    transition: background 0.5s linear;
}
.cl_loader_text {
font-size: 16px;
font-weight: 600;
color: #00124b;
}
.sidebar-nav ul .sidebar-item.selected>.sidebar-link, .sidebar-nav ul .sidebar-item.selected>.sidebar-link.active, .sidebar-nav ul .sidebar-item>.sidebar-link.active {
    background-color: var(--bs-primary);
    color: var(--bs-white);
}
.sidebar-nav ul .sidebar-item.selected>.sidebar-link, .sidebar-nav ul .sidebar-item.selected>.sidebar-link.active, .sidebar-nav ul .sidebar-item>.sidebar-link.active {
    background-color: var(--bs-primary);
    color: var(--bs-white);
    box-shadow: 0 17px 20px -8px rgba(77,91,236,0);
}
.sidebar-nav ul .sidebar-item.selected>.sidebar-link, .sidebar-nav ul .sidebar-item.selected>.sidebar-link.active, .sidebar-nav ul .sidebar-item>.sidebar-link.active {
    background-color: var(--bs-gray-300);
    color: var(--bs-gray-800);
}

.sidebar-nav ul .sidebar-item.selected>.sidebar-link iconify-icon, .sidebar-nav ul .sidebar-item.selected>.sidebar-link.active iconify-icon, .sidebar-nav ul .sidebar-item>.sidebar-link.active iconify-icon {
    color: var(--bs-gray-800);
}


#crop_img_gallery {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
    border-bottom: 1px solid #BBBBBB;
    padding-bottom: 10px;
    margin-bottom: 20px;
}

#crop_img_gallery h5 {
  width: 100%;           /* Ensures the header spans the full width */
  text-align: center;    /* Centers the header text */
  margin-bottom: 20px;   /* Adds space below the header */
  font-size: 20px;       /* Adjust font size for the header */
  font-weight: bold;     /* Makes the header bold */
  border-bottom: 1px solid #BBBBBB;
    padding-bottom: 10px;
}

.thumbnail-wrapper {
  position: relative;
  display: inline-block;
}

.thumbnail {
  width: 100px;
  height: 100px;
  object-fit: cover;
  border-radius: 5px;
  box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.2);
  transition: transform 0.2s ease-in-out;
}

.thumbnail:hover {
  transform: scale(1.1);
}

/* Delete button (❌) */
.delete-btn {
  position: absolute;
  top: 5px;
  right: 5px;
  /*background: rgba(255, 255, 255, 0.9);
  color: white;*/
  font-size: 16px;
  width: 25px;
  height: 25px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  cursor: pointer;
  opacity: 0;
  transition: opacity 0.2s ease-in-out;
  z-index: 10; /* Ensure it's above the image */
}
.icon-btn {
  position: absolute;
  bottom: 5px;
  left: 5px;
  width: 25px;
  height: 25px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  cursor: pointer;
    opacity: 0;
  transition: opacity 0.2s ease-in-out;
  z-index: 25; /* Ensure it's above the image */
}

.annotation-btn {
    /* Absolute positioning relative to .file-upload-item */
    position: absolute;
    bottom: 8px; /* Distance from the bottom edge */
    right: 4px; /* Distance from the right edge */
    width: 25px; 
    height: 25px;
    cursor: pointer;
    z-index: 15; /* Ensure it floats above all else */
    background-color: rgba(0, 0, 0, 0.2); /* Optional dark background for contrast */
    border-radius: 4px;
    padding: 2px;
      opacity: 0;
  transition: opacity 0.2s ease-in-out;
}
/* Ensure delete button appears on hover */
.thumbnail-wrapper:hover .delete-btn, .thumbnail-wrapper:hover .icon-btn, .thumbnail-wrapper:hover .annotation-btn {
  opacity: 1;
}
.card-body {
    flex: 1 1 auto;
    padding: var(--bs-card-spacer-y) var(--bs-card-spacer-x);
    color: var(--bs-gray-800);
}

.popover-backdrop {
    /* Hide by default */
    display: none; 
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.85); /* Dark, transparent overlay */
    z-index: 1000;
    align-items: center;
    justify-content: center;
}

.popover-content {
    position: relative;
    max-width: 90vw; /* Take up 90% of viewport width */
    max-height: 90vh; /* Take up 90% of viewport height */
    background-color: transparent;
}

.popover-close-btn {
    position: absolute;
    top: -3px; /* Position above and outside the media content */
    right: 0px;
    background: none;
    border: none;
    color: white;
    font-size: 32px;
    cursor: pointer;
    z-index:100;
}

#dynamic-media-container img, 
#dynamic-media-container video {
    /* Ensures media fits within the modal boundaries */
    max-width: 100%; 
    max-height: 75vh;
    height: auto;
    display: block;
}

.annotation-form-area {
    background-color: #333; /* Dark background */
    padding: 15px;
    border-radius: 8px;
    margin-top: 15px;
    color: white;
}

#annotation-form textarea {
    width: 100%;
    min-height: 80px;
    margin-bottom: 10px;
    padding: 8px;
    box-sizing: border-box;
    border: 1px solid #555;
    background-color: #222;
    color: white;
}

#save-annotation-btn {
    padding: 8px 15px;
    background-color: #007bff; /* Blue save button */
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.form-control, .form-select {
    border: 1px solid #CCCCCC;
}