@import url("variable.css");

/* your styles go here */
.container-xxl{
  max-width: 1600px;
}

#notification_div {
  position: absolute;
  background-color: white;
  margin-left: -225px;
}

.notify {
  padding: 10px;
}

.bubble {
  animation: animateElement linear 0.3s;
  animation-iteration-count: 1;
}

@keyframes animateElement {
  0% {
    opacity: 0;
    transform: translate(0px, 10px);
  }
  100% {
    opacity: 1;
    transform: translate(0px, 0px);
  }
}

#map {
  height: 500px;
}

.bx-shadow {
  box-shadow: 0 1px 1.5px 0 rgba(0, 0, 0, 0.12), 0 1px 1px 0 rgba(0, 0, 0, 0.24) !important;
}

.message-danger {
  color: red;
  border-color: #ebccd1;
  float: left;
}

.favicon_icon {
  width: inherit;
}

@media (max-width: 480px) {
  .favicon_icon {
    width: 100px;
  }
}

@media (min-width: 980px) {
  .of-h {
    margin: 0;
    height: 100%;
    overflow-x: hidden;
  }
}

.va-m {
  vertical-align: middle;
  margin-top: auto !important;
  margin-bottom: auto !important;
}

.plr-0 {
  padding-left: 0px !important;
  padding-right: 0px !important;
}

#sidenav-collapse-main li {
  list-style: none;
}

#sidenav-collapse-main ul {
  list-style-type: none;
}

#sidenav-collapse-main ul li ul li {
  background-position: 0px 5px;
  /* padding-left:14px; */
}

.ml-menu {
  padding-left: 20px;
}

.header-body a {
  background-color: white;
  border-color: black;
  color: #5e72e4;
  padding: 10px;
  border-radius: 5px;
}

.dt-buttons {
  float: left;
}

/* .card-profile img {
    margin-top: -25px;
} */

.mh-500 {
  min-height: 525px;
}

.img {
  max-height: 180px;
  max-width: 220px;
  object-fit: cover;
}

*/ .text-theme-color {
  color: #4fbcac;
}

.border-white {
  border: 1px solid white !important;
}

.bg_light_gray {
  background-color: #f6f6f6;
}

.bg_white {
  background-color: white;
}

.select2-container .select2-selection--single {
  width: 100% !important;
  height: 40px;
  border: 1px solid #cad1d7 !important;
}

.select2-container--default
  .select2-selection--single
  .select2-selection__rendered {
  width: 100% !important;
  line-height: 40px;
}

.select2-container--default
  .select2-results__option--highlighted[aria-selected] {
  background-color: var(--theme-color) !important;
}

.select2-container--default
  .select2-selection--single
  .select2-selection__arrow {
  height: 40px;
}

.clickable {
  cursor: pointer;
}

.va-c {
  vertical-align: middle;
}

.notification .count {
  position: absolute;
  top: -10px;
  right: -5px;
  padding: 0px 6px;
  border-radius: 50%;
  background: #f93232;
  color: white;
}

@media (max-width: 768px) {
  .ps {
    overflow: visible !important;
  }
}

.has-danger input {
  border-color: red !important;
  box-shadow: none;
}

.has-success input {
  border-color: green !important;
}

.has-danger textarea {
  border-color: red !important;
  box-shadow: none;
}

.has-success textarea {
  border-color: green !important;
}

.has-danger .select2 .selection .select2-selection {
  border-color: red !important;
  box-shadow: none;
}

.has-success .select2 .selection .select2-selection {
  border-color: green !important;
}

.has-success .form-control:focus,
.has-danger .form-control:focus,
.form-control:focus {
  box-shadow: none;
}

.has-danger label {
  color: red !important;
}

.has-success label {
  border-color: green !important;
}

/* .disabled {
    pointer-events: none;
} */

@media (min-width: 992px) {
  .modal-lg,
  .modal-xl {
    max-width: 1500px !important;
  }
}
.mt-25 {
  margin-top: 25px;
}

.pic {
  /* Layout Properties */
  left: 80px !important;
  width: 180px;
  /* height: 50px; */
  margin-bottom: 60px;
  margin-top: 30px;
  /* UI Properties */
  opacity: 1;
}

.iti--separate-dial-code{
  z-index: 0;
}

/* custom css for new dashboard */
.border-tertiary-dark{
  border:1px solid var(--tertiary-dark);
}
input[type="password"]::-ms-reveal,
input[type="password"]::-ms-clear {
    display: none !important;
}
.main-content-box{
    background-color: #FAFCFD;
}
.main-content-spacing{
    padding-top: 138px;
    background-color: #FAFCFD;
}

.bg-soft-pink {
  background-color: #ffeeee;
}

.bg-soft-blue {
  background-color: #eef5ff;
}

.bg-soft-green {
  background-color: #eafff1;
}
.report-card{
  border: 0.5px solid #E5E7EB;
}
.bg-soft-yellow {
  background-color: #fff4dd;
}
.report-icon {
  font-size: 28px;
  padding: 8px;
  border-radius: 10px;
  background-color: white;
}
.report-title {
  font-size: 16px;
  color: #555;
  margin-bottom: 16px;
}

.report-value {
  font-weight: 600;
  font-size: 20px;
  color: #000;
}

.map-container .map-box iframe{
  height: 430px;
}


.btn-sm-custom:hover{
  background-color: var(--tertiary-dark);
  color: var(--white)!important;
} 
.btn-sm-custom{
  background-color: var(--white);
}

/* custom select2 css */
.avatar-30{
  width: 30px;
  height: 30px;
  border-radius: 50%;
  object-fit: cover;
}

.avatar-40{
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
}
.avatar-50{
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
}
.avatar-60{
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
}
.avatar-70{
  width: 70px;
  height: 70px;
  border-radius: 50%;
  object-fit: cover;
}
.avatar-80{
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
}


.custom-select-dropdown .selection{
  display: flex;
  width: 100%;
}
.custom-select-dropdown span.select2-selection.select2-selection--single {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%!important;
  border-color: #E5E7EB !important
}
.custom-select-dropdown .select2-container--default .select2-selection--single .select2-selection__arrow{
  top:50%;
  transform:translateY(-50%);
}
.custom-select-dropdown .select2.select2-container{
  width: 100%!important;
  display: flex;
}
.custom-select-dropdown .select2-container--default .select2-selection--single .select2-selection__rendered{
  line-height:normal!important;
}
.select2-container--default .select2-results__option--highlighted[aria-selected]{
  color:var(--tertiary-dark);
}
.select2-results__options li {
  font-size: 14px!important;
}
/* Custom Select2 dropdown arrow */
.custom-select-dropdown .select2-container--default .select2-selection--single .select2-selection__arrow {
    display: none !important;
}

.custom-select-dropdown .select2-container--default .select2-selection--single {
    background-image: none !important;
    position: relative;
    padding-right: 30px !important;
    height: 36px!important;
}

.custom-select-dropdown .select2-container--default .select2-selection--single::after {
    content: 'ph ph-caret-down';
    font-family: 'Phosphor' !important;
    font-style: normal;
    font-weight: normal;
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    color: #6c757d;
    font-size: 16px;
    speak: none;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ========================= table styles ========================= */
/* Custom Table Styles */
.custom-table-box {
  border-radius: 10px;
  border: 1px solid #e9ecef;
  overflow: hidden;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
  margin-bottom: 1.5rem;
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.custom-table-box .table {
  margin-bottom: 0;
  border-collapse: separate;
  border-spacing: 0;
}

.custom-table-box .table thead th {
  background-color: #f8f9fa;
  color: #495057;
  font-weight: 500;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 0.6rem 1.5rem;
  border: 0.5px solid #e9ecef;
  border-top: none;
  border-bottom: 1px solid #e9ecef !important;
}

/* Remove left border from first th */
.custom-table-box .table thead th:first-child {
  border-left: none;
}

/* Remove right border from last th */
.custom-table-box .table thead th:last-child {
  border-right: none;
}

.custom-table-box .table tbody td {
  padding: 1.6rem 1.5rem;
  vertical-align: middle;
  border-top: 0px solid #e9ecef;
  color: #495057;
  font-size: 12px;
}

.custom-table-box .table tbody tr:first-child td {
  border-top: none;
}

.custom-table-box .table tbody tr:last-child td:first-child {
  border-bottom-left-radius: 10px;
}

.custom-table-box .table tbody tr:last-child td:last-child {
  border-bottom-right-radius: 10px;
}

.custom-table-box .table tbody tr:hover {
  background-color: #f8f9fa;
}

.custom-table-box > .table {
  width: 100%;
  margin-bottom: 0;
  border-collapse: separate;
  border-spacing: 0;
  min-width: 600px; /* Ensures table doesn't shrink below this width */
}

/* Keep header fixed while scrolling */
.custom-table-box > .table thead {
  position: sticky;
  top: 0;
  z-index: 10;
}

/* ===========custom normal table============== */
.custom-table-normal {
  border-radius: 10px;
  border: 1px solid #e9ecef;
  overflow: hidden;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
  margin-bottom: 1.5rem;
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.custom-table-normal .table {
  margin-bottom: 0;
  border-collapse: separate;
  border-spacing: 0;
}

.custom-table-normal .table thead th {
  background-color: var(--primary-blue-light);
  color: var(--text-color);
  font-weight: 500;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 0.6rem 1.5rem;
  border: 0.5px solid #e9ecef;
  border-top: none;
  border-bottom: 1px solid #e9ecef !important;
}

/* Remove left border from first th */
.custom-table-normal .table thead th:first-child {
  border-left: none;
}

/* Remove right border from last th */
.custom-table-normal .table thead th:last-child {
  border-right: none;
}

.custom-table-normal .table tbody td {
  padding: 0.5rem 1.5rem;
  vertical-align: middle;
  border-top: 0px solid #e9ecef;
  color: #495057;
  font-size: 12px;
}
.custom-table-normal tbody > tr{
    background: white!important;
}
.custom-table-normal tbody > tr td{
  box-shadow:none;
}
.custom-table-normal .table tbody tr:first-child td {
  border-top: none;
}

.custom-table-normal .table tbody tr:last-child td:first-child {
  border-bottom-left-radius: 10px;
}

.custom-table-normal .table tbody tr:last-child td:last-child {
  border-bottom-right-radius: 10px;
}

.custom-table-normal .table tbody tr:hover {
  background-color: #f8f9fa;
}

.custom-table-normal > .table {
  width: 100%;
  margin-bottom: 0;
  border-collapse: separate;
  border-spacing: 0;
  min-width: 600px; /* Ensures table doesn't shrink below this width */
}

/* Keep header fixed while scrolling */
.custom-table-normal > .table thead {
  position: sticky;
  top: 0;
  z-index: 10;
}

/* Custom tooltip styling */
.impact-tooltip .tooltip-inner {
    max-width: 300px;
    padding: 12px;
    background-color: #fff;
    color: #333;
    border: 1px solid #ddd;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    text-align: left;
    max-height: 250px;
    overflow-y: auto;
}

.impact-tooltip .tooltip-arrow::before {
    border-bottom-color: #fff;
}

/* Custom scrollbar for tooltip */
.impact-tooltip .tooltip-inner::-webkit-scrollbar {
    width: 6px;
}

.impact-tooltip .tooltip-inner::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.impact-tooltip .tooltip-inner::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 10px;
}

.impact-tooltip .tooltip-inner::-webkit-scrollbar-thumb:hover {
    background: #555;
}
/* Responsive adjustments */
@media (max-width: 767.98px) {
  .custom-table-box {
    border-radius: 0;
    border-left: none;
    border-right: none;
    display: block;
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  
  .custom-table-box > .table {
    width: 100%;
    min-width: 100%;
  }
  
  .custom-table-box .table thead th,
  .custom-table-box .table tbody td {
    white-space: nowrap;
    padding: 0.75rem 1rem;
  }
}

/* ========================
    Responsive CSS
======================== */
@media(max-width: 1200px){
  .main-content-spacing{
    padding-top: 120px;
  }
}
@media(max-width: 1024px){
  .main-content-spacing{
    padding-top: 100px;
  }
}
@media(max-width: 768px){
  .main-content-spacing{
    padding-top: 80px;
  }
  .tracking-popup {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-width: 250px;
    width: 100%;
  }
}
@media (max-width: 576px) {
  .report-icon {
      align-self: flex-end;
  }
  .tracking-popup {
    max-width: 200px;
    width: 100%;
  }
}







.table-container {
  background: white;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  overflow: hidden;
}

.table-container .header-section {
  padding: 20px 25px;
  border-bottom: 1px solid #e9ecef;
  background: #fff;
}

.table-container .search-container {
  position: relative;
  max-width: 300px;
  background-color: #F9FAFB;
}

.table-container .search-container i {
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  color: #6c757d;
}

.table-container .search-container input {
  padding-left: 50px;
  border: 1px solid #E5E7EB;
  border-radius: 6px;
  font-size: 14px;
  background-color: #F9FAFB;
}

.table-container .btn-delete-all {
  background: transparent;
  border: 1px solid #dee2e6;
  border-radius: 6px;
  color: #6c757d;
  font-size: 14px;
  text-decoration: none;
}

.table-container .btn-delete-all:hover {
  color: #dc3545;
  border-color: #dc3545;
}

.table-container .btn-export {
  background: #007bff;
  color: white;
  border: none;
  padding: 8px 16px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 500;
}

.table-container .btn-export:hover {
  background: #0056b3;
}

.table-responsive {
  border: none;
}

.table-container .custom-table {
  margin: 0;
  font-size: 14px;
}

.table-container .custom-table thead th {
  background: #F3FAFF;
  padding: 18px 20px;
  font-weight: 600;
  white-space: nowrap;
  border-bottom: 0px;
  text-align: center;
}

.table-container .custom-table tbody td {
  padding: 16px 20px;
  border-top: 1px solid #e9ecef;
  vertical-align: middle;
  font-size: 12px;
  text-align: center;
}

.table-container .custom-table tbody tr:hover {
  background: #f8f9fa;
}

.table-container .checkbox-cell {
  width: 40px;
  text-align: center;
}

.table-container .action-buttons {
  display: flex;
  gap: 8px;
  justify-content: center;
}

.table-container .action-btn i{
  width: 32px;
  height: 32px;
  border: none;
  background-color: transparent;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s;
  color: var(--text-color);
}

.table-container .action-btn i:hover {
  background: #f8f9fa;
}

.table-container .action-btn.view i:hover {
  border-color: #007bff;
  color: #007bff;
}

.table-container .action-btn.edit i:hover {
  border-color: #28a745;
  color: #28a745;
}

.table-container .action-btn.delete i:hover {
  border-color: #dc3545;
  color: #dc3545;
}

.table-container .pagination-section {
  padding: 20px 25px;
  background: white;
  border-top: 1px solid #e9ecef;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.table-container .entries-info {
  font-size: 14px;
  color: #6c757d;
}

.table-container .entries-dropdown {
  border: 1px solid #dee2e6;
  border-radius: 4px;
  padding: 8px;
  font-size: 14px;
  background: white;
}

.table-container .pagination {
  margin: 0;
}

.table-container .pagination .page-link {
  background-color:transparent;
  border:0;
  color: #6c757d;
  padding: 8px 12px;
  font-size: 14px;
}

.table-container .pagination .page-item.active .page-link {
  background: #007bff;
  border-color: #007bff;
}
.table-container .pagination{
  background: #F9FAFB;
}
.table-container .pagination .page-link{
  background-color:transparent;
  border:0;
}

.table-container .pagination .page-item.active .page-link{
  border-radius:8px!important;
  color:#fff;
  box-shadow:none;
}
.footer{
  background-color: #fff;
  /* margin: 0px -15px; */
  padding: 18px;
}
/* Responsive adjustments */
@media (max-width: 768px) {
   .table-container .header-section {
      flex-direction: column;
      gap: 15px;
  }
  
  .table-container .search-container {
      max-width: 100%;
  }
  
  .table-container .pagination-section {
      flex-direction: column;
      gap: 15px;
      text-align: center;
  }
  
  .table-container .custom-table {
      font-size: 12px;
  }
  
  .table-container .custom-table thead th,
  .table-container .custom-table tbody td {
      padding: 10px 8px;
  }
  
  .table-container .action-buttons {
      gap: 4px;
  }
}

@media (max-width: 576px) {
  .table-container {
      margin: 10px;
  }
  
  .table-container .header-section {
      padding: 15px 20px;
  }
  
  .table-container .pagination-section {
      padding: 15px 20px;
  }
}
.modal.show .modal-dialog{
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  margin: 0;
  height: 100px;
}


.collector-form input,.collector-form .custom-file-label,.collector-form textarea{
  background-color: #F9FAFB;
  border: 1px solid #E5E7EB;
  color: var(--text-color);
  padding: 14px;
  border-radius: 4px;
  font-size: 12px;
  height: auto;
}
.collector-form .focused .form-control{
  border-color: #E5E7EB;
}
.collector-form .colorpicker:after, .collector-form .colorpicker:before{
  display: none;
}
.custom-file-label::after{
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: #F9FAFB;
    width: 11 0px;
}
.collector-form .custom-select-dropdown span.select2-selection.select2-selection--single{
  background-color:#F9FAFB;
  border: 1px solid #E5E7EB;
}
.collector-form .custom-select-dropdown .select2-container--default .select2-selection--single {
  height: 48px!important;
}
.collector-form .custom-select-dropdown .select2-container--default .select2-selection--single .select2-selection__rendered{
  font-size: 12px;
  color: var(--text-color);
}
.collector-form .custom-select-dropdown .select2-selection__rendered{
  font-size: 12px;
  line-height: 32px!important;
}
.collector-form .custom-select-dropdown .select2-container--default .select2-selection--multiple{
  width: 100%;
  background-color: #F9FAFB;
  border: 1px solid #E5E7EB;
  font-size: 12px;
  color: var(--text-color);
}
.collector-form .select2-container--default .select2-selection--multiple .select2-selection__choice{
  color: var(--white);
  background-color: var(--tertiary-dark);
}
.collector-form .select2-container--default .select2-selection--multiple .select2-selection__choice__remove{
  color: var(--white);
}
.preview-container{
  max-height: 220px;
  width: 100%;
  height: 220px;
  opacity: 1;
  border-radius: 4px;
  background-color: #E5E7EB;
  object-fit: cover;
  overflow: hidden;
}
@media(max-width: 576px){
  .preview-container{
    max-width: 270px;
    max-height: 120px;
    width: 270px;
    height: 120px;
  }
}
@media(max-width: 400px){
  .preview-container{
    max-width: 200px;
    max-height: 120px;
    width: 200px;
    height: 120px;
  }
}
.avatar-30{
  width: 30px;
  height: 30px;
  border-radius: 50%;
  object-fit: cover;
}

.avatar-40{
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
}
.avatar-50{
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
}
.avatar-60{
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
}
.avatar-70{
  width: 70px;
  height: 70px;
  border-radius: 50%;
  object-fit: cover;
}
.avatar-80{
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
}
