.navigation-header {
  padding-top: 20px
}

#main-menu-navigation .nav-item {
  background-color: #003366;

  border-bottom: 1px solid rgba(0, 0, 0, .2);
}

#main-menu-navigation .nav-item a {
  color: rgba(255, 255, 255, 0.796) !important;
}


#main-menu-navigation .nav-item:hover {
  /* background-color: rgba(0, 0, 0, .2) !important; */
}

#main-menu-navigation .active i {
  color: white !important;
}

#main-menu-navigation .active {
  background-color: #673ab7 !important;
  color: white;
}


#main-menu-navigation {
  background-color: #003366;
}

.icon-color {
  color: #ff8b3e;

}

html body .content .content-wrapper {
  padding: 2.1rem 2rem 0;
}

.card-header .heading-elements,
.card-header .heading-elements-toggle {
  background-color: inherit;
  position: absolute;
  top: 20px;
  right: 20px;
}

.dropdown-toggle::after {
  font-size: .8rem;
  font-family: LineAwesome;
  content: "\f110" !important;
  border: none !important;
  position: relative;
  top: 0;
  right: 0;
  padding: 0 2px 0 6px;
  margin: 0 .3em 0 0;
  vertical-align: 0;
}


.dropdown .dropdown-menu {
  border: 1px solid #e4e5ec;
  border-radius: .35rem;
  transform-origin: top;
  transition: all .2s linear;
  margin: -.1rem 0 0;
  box-shadow: 0 5px 75px 2px rgba(64, 70, 74, .2);
  min-width: 11rem;
  animation: .25s cubic-bezier(.25, .8, .25, 1) 0s normal forwards 1 fadein;
}

.icheckbox_square-blue {
  background-position: 0 0;
}

.icheckbox_square-blue,
.iradio_square-blue {
  display: inline-block;
  vertical-align: middle;
  margin: 0;
  padding: 0;
  width: 22px;
  height: 22px;
  background: url('../../app-assets/vendors/css/forms/icheck/square/blue.png') no-repeat;
  border: none;
  cursor: pointer;
}

tr.group,
tr.group:hover {
  background-color: #ededed !important;
}

.btn-group {
  box-shadow: none !important;
}

.dl-horizontal {
  width: 100%;
  display: flex;
  position: relative;
  white-space: nowrap;
  /*height: 280px;*/
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: auto;
  scrollbar-color: #ddd #eee;
}

.dl-horizontal {
  float: none;
}

.dl-horizontal::-webkit-scrollbar {
  width: 10px;
  height: 10px;
  /* width of the entire scrollbar */
}

.dl-horizontal::-webkit-scrollbar-track-piece {}

.dl-horizontal::-webkit-scrollbar-track {
  border-radius: 10px;
  background: #eee;
  /* color of the tracking area */
}

.dl-horizontal::-webkit-scrollbar-thumb {
  background-color: #ddd;
  /* color of the scroll thumb */
  border-radius: 10px;
  /* roundness of the scroll thumb */
}

.content-wrapper {
  transition: all 500ms ease-in-out 200ms;
}

@media only screen and (max-width: 767px) {

  .nav-link>.ft-menu,
  .nav-link>.material-icons {
    color: #2C343B !important;
  }
}

.nav {
  flex-wrap: nowrap !important;
}

.nav.nav-tabs.nav-top-border .nav-item {
  white-space: nowrap !important;
  ;
}

.nav.nav-tabs.nav-top-border .nav-item a {
  color: #333 !important;
  font-weight: 510 !important;
  height: 100%;
}

.nav.nav-tabs.nav-top-border .nav-item a.nav-link.active {
  border-top: 3px solid #1e9ff2 !important;
  border-top-left-radius: 0;
  border-top-right-radius: 0;
  border-bottom: none !important;
  box-shadow: none !important;
  font-weight: 550;
  color: #1e9ff2 !important;
}


body.vertical-layout.vertical-menu-modern.menu-expanded .main-menu.menu-fixed .main-menu-content {
  height: auto !important;
}


/* .btn-success .btn .waves-effect {
    height: 45px;
} */


.table-container {
  padding: 1.5rem;
  overflow-x: auto;
}

.custom-table {
  width: 100%;
  margin: 0;
}

.custom-table thead {
  background: linear-gradient(135deg, #F8FAFC 0%, #EEF2FF 100%);
}

.custom-table thead th {
  background-color: white;
  color: rgb(33, 37, 41) !important;
  border: none;
  font-weight: 500;
}

.custom-table tbody tr {
  border-bottom: 1px solid var(--border);
  transition: all 0.2s ease;
}

.custom-table tbody tr:hover {
  background: #F8FAFC;
  /* transform: scale(1.01); */
}

.custom-table tbody td {
  padding: 1rem;
  font-size: 0.9rem;
  vertical-align: middle;
}

.body-overlay {

  width: 100%;
  height: 100%;
  position: absolute;
  z-index: 1000;
  left: 0;
  background-color: white;
  opacity: 0.8;
}

.footer-overlay {
  width: 98%;
  height: 60px;
  z-index: 1000;
  position: absolute;
  left: 0;
  background: white;
  opacity: 0.8;
}

.overlay img {
  width: 155px !important;
}


.drag-drop-container {
  min-height: 150px;
  border: 3px dashed #ccc;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 20px;
  margin-bottom: 30px;
  background-color: #fff;
  transition: all 0.3s ease;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  position: relative;
  /* For positioning hidden input */
}

.drag-drop-container p {
  margin: 10px 0;
  color: #666;
}

.drag-drop-container.drag-over {
  border-color: #007bff;
  background-color: #e6f7ff;
  box-shadow: 0 4px 8px rgba(0, 123, 255, 0.2);
}

/* Style for the clickable text */
.drag-drop-container .click-to-select {
  color: #007bff;
  cursor: pointer;
  text-decoration: underline;
}

.drag-drop-container .click-to-select:hover {
  color: #0056b3;
}

/* Hidden file input */
.hidden-file-input {
  display: none;
}

.file-list {
  list-style-type: none;
  padding: 0;
  margin-top: 15px;
  width: 100%;
  max-height: 200px;
  /* Limit height for long lists */
  overflow-y: auto;
  /* Enable scrolling if list is too long */
  border-top: 1px solid #eee;
  padding-top: 10px;
}

.file-list li {
  background-color: #f9f9f9;
  margin-bottom: 5px;
  padding: 8px 12px;
  border: 1px solid #ddd;
  border-radius: 4px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.9em;
  color: #555;
}

.file-list li span {
  word-break: break-all;
  /* Ensure long file names wrap */
  flex-grow: 1;
  /* Allow name to take available space */
}

.file-list li .file-size {
  font-size: 0.8em;
  color: #888;
  margin-left: 10px;
  white-space: nowrap;
}

.file-list li .remove-file {
  margin-left: 15px;
  color: #ff4d4f;
  cursor: pointer;
  font-weight: bold;
  font-size: 1.1em;
  transition: color 0.2s ease;
}

.file-list li .remove-file:hover {
  color: #e00;
}

/* Scrollbar styling for file list (optional) */
.file-list::-webkit-scrollbar {
  width: 8px;
}

.file-list::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 4px;
}

.file-list::-webkit-scrollbar-thumb {
  background: #888;
  border-radius: 4px;
}

.file-list::-webkit-scrollbar-thumb:hover {
  background: #555;
}

.dp-file-name {
  width: 70%;
  text-align: left;
}

.file-list li {
  /* ... (existing rules) ... */
  display: flex;
  align-items: center;
  /* Align items vertically in the middle */
}

.file-list li .file-info {
  display: flex;
  align-items: center;
  flex-grow: 1;
  overflow: hidden;
  /* Prevent text overflow from pushing controls */
  width: 90%;
}

.file-list li .file-name {
  word-break: break-all;
  /* Ensure long file names wrap */
  flex-grow: 1;
  /* Allow name to take available space */
  margin-right: 10px;
  /* Space between name and size/preview */
  text-align: left;
  width: 60%;
  ;
}

.file-list li .file-preview {
  width: 40px;
  /* Fixed width for preview container */
  height: 40px;
  /* Fixed height for preview container */
  margin-right: 10px;
  /* Space between preview and file name */
  border-radius: 4px;
  overflow: hidden;
  flex-shrink: 0;
  /* Prevent preview from shrinking */
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #eee;
}

.file-list li .file-preview img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  /* Ensure image fits within bounds */
  display: block;
}

.file-list li .file-preview .placeholder-icon {
  font-size: 1.5em;
  color: #999;
}

/* Ensure the file-size and remove-file are still aligned */
.file-list li .file-size,
.file-list li .remove-file {
  flex-shrink: 0;
  /* Prevent these from shrinking */
}