a.btn-edit {
  color: #007bff;
  background-color: rgba(0, 123, 255, 0.1); /* Light blue background */
  border-radius: 3px;
  padding: 5px;
}
a.btn-view {
  color: #28a745;
  background-color: rgba(40, 167, 69, 0.1); /* Light green background */
  border-radius: 3px;
  padding: 5px;
}
a.btn-view-disabled {
  color: #9bf1af;
  background-color: rgba(38, 224, 81, 0.1); /* Light green background */
  border-radius: 3px;
  padding: 5px;
}
a.btn-delete {
  color: #dc3545;
  background-color: rgba(220, 53, 69, 0.1); /* Light red background */
  border-radius: 3px;
  padding: 5px;
}

/* Custom CSS for Choices.js select dropdown */
.choices__item--choice {
  color: gray !important;
  background-color: white !important;
}

.choices__item--choice:hover {
  color: black !important;
  background-color: lightblue !important;
}

.choices__item--choice {
  color: gray !important;
  background-color: white !important;
}

/* .choices__list--dropdown {
  max-height: 200px;
  overflow-y: auto;
} */

/* -------------------------------------------------- for side menu font size  */
.nav-link-text {
  font-size: 0.9rem !important;
}

.fs-14 {
  font-size: 14px;
}

.reg-img {
  width: 100%;
  height: 120px;
  object-fit: cover;
}

@media screen and (max-width: 998px) {
  .reg-img {
    width: 100%;
    height: 250px;
  }
}

@media screen and (max-width: 768px) {
  .reg-img {
    width: 100%;
    height: 200px;
  }
}

@media screen and (max-width: 576px) {
  .reg-img {
    width: 100%;
    height: 120px;
  }
}

.pe-20 {
  padding-right: 20px !important;
}

.file-drop-area {
  background-color: rgb(229, 237, 243) !important;
  position: relative;
  display: flex;
  align-items: center;
  width: 450px;
  max-width: 100%;
  padding: 15px 20px;
  border: 1px dashed rgba(255, 255, 255, 0.4);
  border-radius: 3px;
  transition: 0.2s;
}

.file-drop-area.is-active {
  background-color: rgba(255, 255, 255, 0.05);
}

@media screen and (max-width: 768px) {
  .file-drop-area {
    width: 100%;
    padding: 10px;
  }
}

.fake-btn {
  flex-shrink: 0;
  background-color: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 3px;
  padding: 8px 15px;
  margin-right: 10px;
  font-size: 12px;
  text-transform: uppercase;
}

.file-msg {
  font-size: small;
  font-weight: 300;
  line-height: 1.4;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.file-input {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 100%;
  cursor: pointer;
  opacity: 0;
}
.file-input:focus {
  outline: none;
}

/* HTML: <div class="loader"></div> */
.loader {
  display: none;
  width: fit-content;
  font-weight: bold;
  font-family: monospace;
  font-size: 30px;
  background: linear-gradient(90deg, #000 50%, #0000 0) right/200% 100%;
  animation: l21 2s infinite linear;
}

.loader::before {
  content: "Loading...";
  color: #0000;
  padding: 0 5px;
  background: inherit;
  background-image: linear-gradient(90deg, #fff 50%, #000 0);
  -webkit-background-clip: text;
  background-clip: text;
}

@keyframes l21 {
  100% {
    background-position: left;
  }
}

.input-field {
  display: none;
}

.truncate {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 150px;
  display: inline-block;
  vertical-align: middle;
}

.show-more {
  cursor: pointer;
  color: rgb(80, 75, 222);
  margin-left: 5px;
}

.green-bg {
  background-color: rgb(214, 239, 255) !important;
  resize: none;
}

.green-bg:focus {
  background-color: rgb(214, 239, 255) !important;
  border-color: #ced4da;
  box-shadow: none;
}

.btn-left {
  border-top-left-radius: 4px;
  border-top-right-radius: 0;
  border-bottom-left-radius: 4px;
  border-bottom-right-radius: 0px;
}

.btn-right {
  border-top-right-radius: 4px;
  border-top-left-radius: 0;
  border-bottom-right-radius: 4px;
  border-bottom-left-radius: 0px;
}

.cic-bg {
  color: rgb(203, 242, 255) !important;
}

#reqTable tbody tr {
  display: none;
}

#reqTable tbody tr:nth-child(-n + 5) {
  display: table-row;
}

#regTable tbody tr {
  display: none;
}

#regTable tbody tr:nth-child(-n + 5) {
  display: table-row;
}

#regTable2 tbody tr {
  display: none;
}

#regTable2 tbody tr:nth-child(-n + 9) {
  display: table-row;
}

textarea {
  font-size: 15px !important;
}

/* Simple CSS spinner */
#loader {
  display: none;
  border: 8px solid #f3f3f3;
  border-radius: 50%;
  border-top: 8px solid #3498db;
  width: 40px;
  height: 40px;
  -webkit-animation: spin 2s linear infinite; /* Safari */
  animation: spin 2s linear infinite;
}
@-webkit-keyframes spin {
  0% {
    -webkit-transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(360deg);
  }
}
@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.modal-1 {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.6);
  justify-content: center;
  align-items: center;
}
.modal-content-1 {
  background-color: #fff;
  border-radius: 10px;
  padding: 20px;
  width: 80%;
  max-width: 400px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}
.modal-content-1 h2 {
  margin: 0 0 20px;
  color: #333;
} /* Progress bar styling */
#progressBar {
  width: 100%;
  background-color: #f3f3f3;
  border-radius: 5px;
  overflow: hidden;
  margin: 20px 0;
}
#progressBar div {
  height: 20px;
  background-color: #3498db;
  text-align: center;
  line-height: 20px;
  color: white;
  width: 0;
}
#progressText {
  margin-top: 10px;
  color: #333;
}

.truncate {
  display: inline-block;
  max-width: 10ch;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  vertical-align: top;
}

.secret-key {
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
}

.text-stats-circle-primary-2 {
  background-color: blue !important;
}

/* Initially hide table and pagination */
.hidden {
  display: none;
}

#pagination {
  display: none;
}

.dv-img {
  width: 80px !important;
  height: 100px !important;
  object-fit: cover !important;
  border-radius: 4px;
}

.pointer {
  cursor: pointer !important;
}

.thead {
  user-select: none !important;
}

.read1 {
  background-color: white !important;
}

.unread1 {
  background-color: #ecf3fc !important;
  /* background-color: #f1f6fc !important; */
}

input[type="text"]::first-letter {
  text-transform: uppercase !important;
}

.image-container {
  position: relative;
  display: inline-block;
}

.dv-img {
  display: block;
  width: 100%;
  height: auto;
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  /* background: rgba(0, 0, 0, 0.6); */
  opacity: 0;
  border-radius: 5px;
  transition: opacity 0.3s;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  gap: 10px;
}

.image-container:hover .overlay {
  opacity: 1;
}

.view-btn,
.download-btn {
  text-decoration: none;
  color: white;
  font-size: 24px;
  background: rgba(0, 0, 0, 0.5);
  padding: 5px;
  border-radius: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.view-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.download-btn {
  position: absolute;
  bottom: 5px;
  right: 5px;
}

@media (max-width: 728px) {
  .responsive {
    display: block !important;
    width: 100% !important;
    overflow-x: auto !important;
  }
}

.main-field {
  width: 100%;
  height: 30px;
  border: 1px solid #eff2f6;
  border-radius: 0 !important;
  font-size: 12px;
  padding: 0 5px;
  transition: 0.2s;
}

@media screen and (max-width: 768px) {
  .main-field {
    width: auto;
  }
}

.main-field::placeholder {
  font-size: 12px;
}

.main-field:focus {
  border-color: #007bff !important;
  box-shadow: none;
}

.main-field:hover {
  border-color: #007bff !important;
}

.invoice-input {
  width: 80px;
  height: 25px;
  border: 1px solid #f2f2f2;
  border-radius: 4px !important;
  font-size: 12px;
  padding: 0 5px;
  transition: 0.2s;
  outline: none;
}

.invoice-input:hover {
  border-color: #bebebe !important;
}

.invoice-input:focus {
  border-color: #bebebe !important;
  box-shadow: none;
}

.hover-btn {
  transition: transform 0.3s !important;
  width: 20px !important;
  height: 20px !important;
}

.btn:hover .hover-btn {
  transform: translateY(10px) !important;
}

.arrow-div {
  background-color: #f1f1f1;
  padding: 10px 15px 10px 15px;
  color: black;
  border-radius: 6px;
}

/* .fa-circle {
  background-color: #007bff !important;
} */

.icon-1 {
  width: 13px;
  height: 13px;
}

.fs-12 {
  font-size: 12px !important;
}

.line-0 {
  line-height: 0;
}

.text-dark-blue {
  color: darkblue;
}

@media screen and (max-width: 768px) {
  .ms-custom {
    margin-left: 19px;
  }
}

@media screen and (max-width: 900px) {
  .min-width {
    min-width: 1000px;
  }
}

/* #right {
  width: 14px;
  height: 14px;
  background-color: #31b4ff;
  border-radius: 50%;
  padding: 4px;
  font-size: 12px;
  color: white;
  transition: transform 0.3s !important;
} */
#right {
  width: 14px;
  height: 14px;
  background-color: #31b4ff;
  border-radius: 50%;
  padding: 4px;
  font-size: 12px;
  color: white;
  transition: transform 0.3s ease; /* Keep the transition here */
}

.rotate {
  transform: rotate(90deg); /* Only control the rotation */
}

.asset-div:hover #right {
  transform: translateX(5px); /* Adjust the value for more/less movement */
}

@media screen and (max-width: 768px) {
  .border-end {
    border: none !important;
  }
}

.lt-sp {
  letter-spacing: 5px;
}

@media screen and (max-width: 768px) {
  .lt-sp {
    letter-spacing: 1px;
  }
}

.color {
  color: rgb(59, 59, 59);
}
