/* Call log report css */
.csv {
  color: black;
  border: yellow;
  background-color: yellow;
}

.excel {
  color: white;
  background-color: #707cd2;
}

.reset {
  color: white;
  background-color: red;
}

.refresh {
  height: 17px;
}

.search_fil {
  color: #fff;
  background-color: #52b151;
  border-color: #16a75f;
}

.heading_call {
  text-decoration: underline;
}

.error {
  color: red;
}

.newbutton {
  list-style-type: none;
  margin: 0;
  padding: 0;
}

.newbutton li {
  display: inline-block;
}

img {
  height: 100%;
  width: 100%;
}

.ui-autocomplete {
  max-height: 200px;
  overflow-y: auto;
  overflow-x: hidden;
  padding-right: 20px;
}

.custom-width {
  color: rgb(var(--color-slate-800) / var(--tw-text-opacity));
  width: 17rem;
}

.custom-text-color {
  color: rgb(var(--color-slate-800) / var(--tw-text-opacity));
}

.login-img {
  width: 60%;
}

.mw-500 {
  max-width: 500px;
}

.mw-800 {
  max-width: 800px;
}

.login:before {
  display: none;
}

.login:after {
  border-radius: 0;
  width: 55%;
  margin-left: -5%;
}

form label {
  font-weight: 500;
}

.in-phone-icon {
  position: absolute;
  right: 0;
  background: #16a75f;
  height: 2rem;
  width: 2rem;
  padding: 5px;
  color: #fff;
  border-top-right-radius: 0.25rem;
  border-bottom-right-radius: 0.25rem;
}

.in-phone-icon svg {
  fill: #fff;
}

.table-report:not(.table-report--bordered):not(.table-report--tabulator) td {
  background-color: rgb(var(--color-slate-100) / var(--tw-bg-opacity));

  box-shadow: none;
}

table {
  background-color: rgb(255 255 255 / var(--tw-bg-opacity));
}

select option {
  text-align: left;
}

.btnandinput {
  background-color: rgb(var(--color-slate-100) / var(--tw-bg-opacity));
  box-shadow: none;
}

.multiplebox {
  width: 100%;
  font-size: 0.875rem;
}

.loading1 {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(167, 167, 169, 0.5);
  z-index: 9999;
}

.loading1 .content1 {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.loading {
  position: absolute;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.7);
}

.loading .content {
  position: absolute;
  transform: translateY(-50%);
  -webkit-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  top: 50%;
  left: 0;
  right: 0;
  text-align: center;
  color: #555;
}

table.load-data {
  width: 100%;
}

table.load-data thead,
table.load-data tbody {
  display: table;
  width: 100%;
}

table.load-data.loading tbody {
  position: relative;
}

.left {
  margin-left: 546px;
}

.daterangepicker .left {
  margin-left: 0;
}

.text-end-end {
  text-align: end;
}

.btn-left {
  float: inline-end;
}

.table-top {
  background: #f1f5f9;
}

.col-span-10 {
  grid-column: span 10 / span 10;
}

.col-span-8 {
  grid-column: span 8 / span 8;
}

.col-span-7 {
  grid-column: span 7 / span 7;
}

.col-span-2 {
  grid-column: span 2 / span 2;
}

.col-span-1 {
  grid-column: span 1 / span 1;
}

.col-span-9 {
  grid-column: span 9 / span 9;
}

.icons {
  display: inline;
}

.d-none {
  display: none;
}

@media (max-width: 1199px) {
  .sel-country-code {
    width: 80px;
  }

  select.sel-country-code {
    background-position: right 0.1rem center;
    padding-right: 0.5rem;
    padding-left: 0.5rem;
  }
}

@media (min-width: 768px) {
  .flex-md-row {
    flex-direction: row;
  }
}

/* Improved Active Menu Styling for Submenu Items */
.side-menu__sub-open .side-menu--active {
  background-color: rgba(255, 255, 255, 0.1) !important;
  border-radius: 0.5rem;
}

.side-menu__sub-open .side-menu--active .side-menu__title,
.side-menu__sub-open .side-menu--active .side-menu__icon {
  font-weight: 500 !important;
  color: #ffffff !important;
}

.side-menu__sub-open .side-menu--active:hover {
  background-color: rgba(255, 255, 255, 0.2) !important;
}

.sticky-table-container {
  max-height: 600px;
  overflow-y: auto !important;
  overflow-x: auto !important;
  position: relative;
  background: white;
  border: 1px solid #e2e8f0;
  border-radius: 0.5rem;
}

.sticky-table-header {
  border-collapse: separate !important;
  border-spacing: 0 !important;
  width: 100% !important;
  margin-top: 0 !important;
}

.sticky-table-header thead {
  display: table-header-group !important;
}

.sticky-table-header thead th {
  position: sticky !important;
  top: 0 !important;
  z-index: 40 !important;
  background-color: #f8fafc !important;
  color: #475569 !important;
  font-weight: 600 !important;
  padding: 1rem 0.75rem !important;
  text-align: left;
  border-bottom: 2px solid #e2e8f0 !important;
  white-space: nowrap;
}

/* Ensure table-report specific styles don't break stickiness */
.table-report.sticky-table-header :not(thead):not(thead *) {
  position: static !important;
}