/************** file upload start ***************/

.file-upload-wrapper {
  position: relative;
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
}

.file-upload-box {
  position: relative;
  padding: 2rem;
  text-align: center;
  border: 2px dashed #dee2e6;
  border-radius: 8px;
  background-color: #f8f9fa;
  transition: all 0.3s ease;
  cursor: pointer;
  width: 100%;
}

.file-upload-box:hover {
  background-color: #e9ecef;
  border-color: #adb5bd;
}

.file-upload-input {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
  z-index: 1;
}

.upload-content {
  position: relative;
  z-index: 0;
}

.upload-icon {
  font-size: 2.5rem;
  color: #6c757d;
  margin-bottom: 1rem;
}

.file-list {
  margin-top: 1.5rem;
}

.file-item {
  display: flex;
  align-items: center;
  padding: 0.75rem 1rem;
  background-color: white;
  border: 1px solid #dee2e6;
  border-radius: 6px;
  margin-bottom: 0.5rem;
  transition: all 0.2s ease;
}

.file-item:hover {
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.file-icon {
  color: #6c757d;
  margin-right: 0.75rem;
  font-size: 1.25rem;
}

.file-name {
  flex-grow: 1;
  color: #495057;
  text-decoration: none;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-right: 1rem;
}

.file-name:hover {
  color: #007bff;
  text-decoration: none;
}

.remove-file {
  color: #dc3545;
  cursor: pointer;
  padding: 0.25rem 0.5rem;
  font-size: 1.25rem;
  transition: color 0.2s ease;
  flex-shrink: 0;
}

.remove-file:hover {
  color: #c82333;
}

.drag-over {
  background-color: #e9ecef;
  border-color: #007bff;
}

/* Add loading animation */
@keyframes upload-progress {
  0% {
    width: 0%;
  }

  100% {
    width: 100%;
  }
}

.upload-progress {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 3px;
  background-color: #007bff;
  animation: upload-progress 1s ease-in-out;
}

/************** file upload end ***************/
.text-sm {
  font-size: 12px !important;
}

.border-primary {
  border-color: #2a549a !important;

}

.btn-primary {
  background-color: #2a549a !important;
  border-color: #2a549a !important;
}

.btn-primary:hover {
  background-color: #2a549a !important;
  border-color: #2a549a !important;
}

.accent-primary .btn-link,
.accent-primary a {
  color: #2a549a;
}

.bg-primary {
  background-color: #2a549a !important;
}

.navbar-primary {
  background-color: #2a549a !important;
}

.text-primary {
  color: #2a549a !important;
}

.sidebar-dark-primary .nav-sidebar>.nav-item>.nav-link.active,
.sidebar-light-primary .nav-sidebar>.nav-item>.nav-link.active {
  background-color: #2a549a !important;
  color: #fff;
}

[class*=sidebar-light-] .nav-treeview>.nav-item>.nav-link.active,
[class*=sidebar-light-] .nav-treeview>.nav-item>.nav-link.active:hover {
  background-color: #74ccf6 !important;
  color: #ffffff !important;
}

.list-group-item.active {
  background-color: #2a549a !important;
  border-color: #2a549a !important;
}

.login-page {
  background-image: url('../../assets/images/admin_banner.jpg') !important;
  width: 100%;
}

/* For Chrome, Safari, Edge, and Opera */
input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* For Firefox */
input[type="number"] {
  -moz-appearance: textfield;
}

.loader-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  /* Semi-transparent background */
  backdrop-filter: blur(5px);
  /* Background blur effect */
  /* display: flex; */
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  /* Ensure the loader is on top of everything */
}

.loader {
  border: 8px solid #f3f3f3;
  /* Light grey */
  border-top: 8px solid #3498db;
  /* Blue */
  border-radius: 50%;
  width: 50px;
  height: 50px;
  animation: spin 1s linear infinite;
  /* Spin animation */
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

/* Style your page content as needed */
h1,
p {
  margin: 20px;
}

::selection {
  color: #fff;
  background: #2789c7;
}

.container {
  /* max-width: 450px; */
  margin: 20px auto;
}

.container .searchInput {
  background: #fff;
  width: 100%;
  border-radius: 5px;
  position: relative;
  box-shadow: 0px 1px 5px 3px rgba(0, 0, 0, 0.12);
}

.accordion .heading {
  border: 1px solid #ffffff;
  background-color: #3689b9 !important;
  margin-bottom: 0px !important;
}

.accordion button {
  display: flex;
  justify-content: space-between;
  text-decoration: none !important;
  color: #ffffff !important;
  font-weight: 500 !important;
}

.accordion .collapse {
  border: 1px solid #2789c7;
}

.accordion .card {
  margin-bottom: 0px !important;
}

.accordion .card-header h2 {
  font-size: 12px !important;
  display: block;
  color: #2789c7;
}

.searchInput input {
  height: 55px;
  width: 100%;
  outline: none;
  border: none;
  border-radius: 5px;
  padding: 0 60px 0 20px;
  font-size: 18px;
  box-shadow: 0px 1px 5px rgba(0, 0, 0, 0.1);
}

.searchInput.active input {
  border-radius: 5px 5px 0 0;
}

.searchInput .resultBox {
  padding: 0;
  opacity: 0;
  pointer-events: none;
  max-height: 280px;
  overflow-y: auto;
}

.searchInput.active .resultBox {
  /* padding: 10px 8px;
  opacity: 1;
  pointer-events: auto; */
  padding: 10px 8px;
  opacity: 1;
  pointer-events: auto;
  position: absolute;
  display: block !important;
  background: #fff;
  width: 100%;
  border: 1px solid #e8e8e8;
  border-top: none;
  font-size: 14.5px;
  border-radius: 0 0 5px 5px;
  max-height: 350px;
  overflow-y: scroll;
  z-index: 999;
}

.resultBox li {
  list-style: none;
  padding: 8px 12px;
  display: none;
  width: 100%;
  cursor: default;
  border-radius: 3px;
}

.searchInput.active .resultBox li {
  display: block;
  border-bottom: 1px solid #2789c7;
}

.resultBox li:hover {
  background: #efefef;
}

.searchInput .icon {
  position: absolute;
  right: 0px;
  top: 0px;
  height: 55px;
  width: 55px;
  text-align: center;
  line-height: 55px;
  font-size: 20px;
  color: #2789c7;
  cursor: pointer;
}

.specification {
  max-height: 100px !important;
  overflow-y: scroll;
}

.specification span {
  float: right;
}

.navbar-info {
  background-color: #2789c7 !important;
}

.sidebar-dark-info .nav-sidebar>.nav-item>.nav-link.active,
.sidebar-light-info .nav-sidebar>.nav-item>.nav-link.active {
  background-color: #3689b9 !important;
  color: #fff;
}

.bg-info {
  background-color: #3689b9 !important;
}

.hidden {
  display: none !important;
}

.table_div {
  width: 100%;
  border: 1px solid #3689b9;
  margin: 15px auto 55px;

}

.compare_head {
  font-size: 22px;
  margin: 15px 0 0;
}

#overflowtest {
  width: 100%;
  overflow: scroll;
}

.compare_img {
  width: 150px;
}

.first_col {
  text-align: left;
  font-weight: 700;
}

.compare_table td th {
  margin: auto;
  text-align: center;
  border-collapse: collapse;
}

.compare_link {
  text-decoration: none;
  color: #1c2525;
}

.compare_link:hover {
  text-decoration: none;
  color: #0c717a;
}

.sticky-col {
  position: sticky;
  left: 0;
  z-index: 1;
  background-color: #f8f9fa;
  /* Add your preferred background color here */
}

.brand-link.navbar-light {
  color: #363636;
}

.sidebar-dark-warning .nav-sidebar>.nav-item>.nav-link.active,
.sidebar-light-warning .nav-sidebar>.nav-item>.nav-link.active,
.nav-treeview>.nav-item>.nav-link.active,
.nav-treeview>.nav-item>.nav-link.active:focus,
.nav-treeview>.nav-item>.nav-link.active:hover {
  color: #ba3644 !important;
}

fieldset.scheduler-border {
  border: 1px dashed #2a549a !important;
  border-radius: 10px;
  padding: 10px !important;
  margin: 0 0 1.5em 0 !important;
  -webkit-box-shadow: 0px 0px 0px 0px #000 !important;
  box-shadow: 0px 0px 0px 0px #000 !important;
}

.scheduler-border legend {
  width: auto !important;
  /* font-size:1rem !important; */
}

.select2.select2-container {
  width: 100% !important;
}

.select2-container--default .select2-selection--single .select2-selection__placeholder {
  color: #333;
  font-size: 0.875rem !important;
}

.select2.select2-container .select2-selection {
  border: 1px solid #ccc;
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
  border-radius: 3px;
  height: 31px;
  margin-bottom: 15px;
  outline: none !important;
  transition: all .15s ease-in-out;
}

.select2.select2-container .select2-selection .select2-selection__rendered {
  color: #333;
  line-height: 1.5;
  padding-right: 33px;
}

.select2.select2-container .select2-selection .select2-selection__arrow {
  background: #f8f8f8;
  border-left: 1px solid #ccc;
  -webkit-border-radius: 0 3px 3px 0;
  -moz-border-radius: 0 3px 3px 0;
  border-radius: 0 3px 3px 0;
  height: 29px;
  width: 33px;
}

.select2.select2-container.select2-container--open .select2-selection.select2-selection--single {
  background: #f8f8f8;
}

.select2.select2-container.select2-container--open .select2-selection.select2-selection--single .select2-selection__arrow {
  -webkit-border-radius: 0 3px 0 0;
  -moz-border-radius: 0 3px 0 0;
  border-radius: 0 3px 0 0;
}

.select2.select2-container.select2-container--open .select2-selection.select2-selection--multiple {
  border: 1px solid #2a549a;
}

.select2.select2-container .select2-selection--multiple {
  height: auto;
  min-height: 34px;
}

.select2.select2-container .select2-selection--multiple .select2-search--inline .select2-search__field {
  margin-top: 0;
  height: 32px;
}

.select2.select2-container .select2-selection--multiple .select2-selection__rendered {
  display: block;
  padding: 0 4px;
  line-height: 29px;
}

.select2.select2-container .select2-selection--multiple .select2-selection__choice {
  background-color: #af1d1d;
  border: 1px solid #ccc;
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
  border-radius: 3px;
  margin: 4px 4px 0 0;
  padding: 0 6px 0 22px;
  height: 24px;
  line-height: 24px;
  font-size: 12px;
  position: relative;
}

.select2.select2-container .select2-selection--multiple .select2-selection__choice .select2-selection__choice__remove {
  position: absolute;
  top: 0;
  left: 0;
  height: 22px;
  width: 22px;
  margin: 0;
  text-align: center;
  color: #f8f9fa;
  font-weight: bold;
  font-size: 16px;
}

.select2-container .select2-dropdown {
  background: transparent;
  border: none;
  margin-top: -5px;
}

.select2-container .select2-dropdown .select2-search {
  padding: 0;
}

.select2-container .select2-dropdown .select2-search input {
  outline: none !important;
  border: 1px solid #2a549a !important;
  border-bottom: none !important;
  padding: 4px 6px !important;
}

.select2-container .select2-dropdown .select2-results {
  padding: 0;
}

.select2-container .select2-dropdown .select2-results ul {
  background: #fff;
  border: 1px solid #2a549a;
}

.select2-container .select2-dropdown .select2-results ul .select2-results__option--highlighted[aria-selected] {
  background-color: #2a549a;
}

.msg-popup {
  position: fixed;
  top: 0;
  z-index: 1050;
}

.toast {
  min-width: 320px;
}

@media (max-width: 767px) {
  .msg-popup {
    width: 100%;
  }
}

@media (min-width: 768px) {
  .msg-popup {
    left: 35%;
  }
}

@media (min-width: 1200px) {
  .msg-popup {
    left: 40%;
  }
}