@charset "UTF-8";
:root {
  --primary: #FFD600; /* Snapchat-style Yellow */
  --primary-light: rgba(255, 214, 0, 0.12);
  --secondary: #26252D; /* Main text */
  --grey: #273240; /* Sub text */
  --dark: #2D3760; /* Headings */
  --white: #ffffff;
  --light-grey: #F0F3FB;
  /* Optional: keep only if really needed */
  --black: #000000;
}

body {
  font-family: "Poppins", serif;
  font-weight: 400;
  font-size: 14px;
  font-style: normal;
  color: var(--secondary);
}

.primary-bg {
  background-color: var(--primary);
}

.primary-bg-light {
  background-color: var(--primary-light);
}

.light-grey-bg {
  background-color: var(--light-grey);
}

.primary-text {
  color: var(--primary);
}

.secondary-text {
  color: var(--secondary);
}

.square {
  aspect-ratio: 1/1;
}

.overview-icon {
  min-width: 55px;
}

.card-img-top {
  -o-object-fit: cover;
  object-fit: cover;
  min-height: 100%;
  -o-object-position: center center;
  object-position: center center;
}

.login-form {
  width: 50%;
}
@media (max-width: 1023.98px) {
  .login-form {
    width: 100%;
  }
}

.login-img-wrp {
  border-bottom-left-radius: 30vmin;
  height: 100vh;
}
@media (max-width: 767.98px) {
  .login-img-wrp {
    border-bottom-left-radius: 10vmin;
    border-bottom-right-radius: 10vmin;
    height: auto;
  }
}

.link-type1 {
  text-decoration: none;
}
.link-type1:hover {
  text-decoration: underline;
}

.primary-link {
  color: var(--primary);
  text-decoration: none;
}
.primary-link:hover {
  color: var(--black);
  text-decoration: underline;
}

.form-control,
.form-select {
  font-size: 14px;
}

.btn-type1,
.btn-type2,
.btn-type3 {
  height: 36px !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  padding-left: 1.25rem !important;
  padding-right: 1.25rem !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  line-height: 1 !important;
}

.btn-type1 {
  background-color: var(--primary);
  border-color: var(--primary);
  color: var(--white);
}
.btn-type1:hover {
  color: var(--primary);
  border-color: var(--primary);
}
.btn-type1.btn-type2 {
  background-color: var(--black);
}
.btn-type1.btn-type2:hover {
  background-color: var(--white);
  color: var(--black);
}

.btn-type3 {
  background-color: var(--black);
  color: var(--white);
}
.btn-type3:hover {
  background-color: var(--grey);
  color: var(--white);
}


* {
  scrollbar-width: thin;
}

.text-red {
  color: red;
}

#message {
  padding: 14px 16px 14px;
  border-radius: 12px;
  background-color: rgba(255, 214, 0, 0.12);
  border: 1px solid rgba(255, 214, 0, 0.35);
  margin-top: 12px;
}

#message h6 {
  margin-bottom: 10px;
  font-size: 15px;
}

#message ul {
  list-style: none;
  padding-left: 0;
  margin-bottom: 0;
}

#message li {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 2px;
  color: #ff0000;
  font-size: 14px;
  line-height: 1.25;
}

#message li::before {
  content: "✖";
  display: inline-flex;
  width: 18px;
  justify-content: center;
  font-weight: 700;
  color: #ff0000;
}

#message li.valid {
  color: #198754;
}

#message li.valid::before {
  content: "✔";
  color: #198754;
}

#message li.invalid {
  color: #ff0000;
}

.logo-wrp {
  display: flex;
  align-items: center;
  height: 58px;
  justify-content: flex-start;
  padding-left: 46px;
}
@media (max-width: 1023.98px) {
  .logo-wrp {
    justify-content: center;
    padding-left: 0;
  }
}
.logo-wrp img {
  max-width: 200px;
  max-height: 58px;
  object-fit: contain;
}
.logo-wrp img.small-logo {
  max-height: 48px;
  object-fit: contain;
}
header .col-xxl-2.col-lg-3 {
  width: 320px !important;
  flex: 0 0 320px !important;
  max-width: 320px !important;
}
header .col-xxl-10.col-lg-9 {
  width: calc(100% - 320px) !important;
  flex: 0 0 calc(100% - 320px) !important;
  max-width: calc(100% - 320px) !important;
}
@media (max-width: 1023.98px) {
  header .col-xxl-2.col-lg-3.col-md-1.col-2 {
    width: auto !important;
    flex: 0 0 auto !important;
    max-width: none !important;
  }
  header .col-xxl-10.col-lg-9.col-md-11.col-10 {
    width: auto !important;
    flex: 1 1 0% !important;
    max-width: none !important;
  }
}

.dropdown-item.active, .dropdown-item:active {
  background-color: var(--primary);
}

main {
  overflow-y: hidden;
  position: relative;
  min-height: 100vh;
}

table tr td {
  vertical-align: middle;
}
table tr td:last-child:has(.d-flex),
table tr td:last-child:has(.bi-pencil),
table tr td:last-child:has(.bi-trash) {
  white-space: nowrap;
}
table tr td .btn {
  font-size: 14px;
}

.sidebar-nav {
  position: fixed;
  top: 0;
  bottom: 0;
  padding-top: 90px !important;
  min-height: 100vh;
  left: 0; /* Default open on desktop */
  max-width: 320px;
  z-index: 2;
  transition: 0.5s left ease-in-out;
  -webkit-transition: 0.5s left ease-in-out;
  -moz-transition: 0.5s left ease-in-out;
  -ms-transition: 0.5s left ease-in-out;
  -o-transition: 0.5s left ease-in-out;
}
.sidebar-nav nav {
  max-height: 73vh;
  overflow-y: auto;
  overflow-x: hidden;
}
@media (max-width: 1023.98px) {
  .sidebar-nav {
    left: -320px; /* Hidden by default on tablet/mobile */
    padding-top: 90px !important;
    position: fixed;
  }
}

.sidebar-toggle .content-section {
  min-width: 100% !important;
  width: auto !important;
  margin-left: 0 !important;
}
.sidebar-toggle .sidebar-nav {
  left: -320px !important;
}
@media (max-width: 1023.98px) {
  .sidebar-toggle .content-section {
    min-width: 100% !important;
    margin-left: 0 !important;
  }
  .sidebar-toggle .sidebar-nav {
    left: 0 !important; /* Open on tablet/mobile when toggled */
  }
}

.content-section {
  min-width: calc(100% - 320px); /* Default desktop size */
  margin-left: 320px;
  float: right;
  margin-top: 80px !important;
  transition: 0.5s ease-in-out;
  -webkit-transition: 0.5s ease-in-out;
  -moz-transition: 0.5s ease-in-out;
  -ms-transition: 0.5s ease-in-out;
  -o-transition: 0.5s ease-in-out;
}
@media (max-width: 1023.98px) {
  .content-section {
    min-width: 100% !important;
    margin-left: 0 !important;
    float: none !important;
  }
}

.nav-list {
  list-style: none;
}
.nav-list li .nav-link {
  padding: 7px 0;
}
.nav-list li.has-sub .subnav {
  display: none;
}
.nav-list li.has-sub > .nav-link {
  position: relative;
}
.nav-list li.has-sub > .nav-link::after {
  content: "\f282";
  font-family: "Bootstrap-icons";
  color: #000000;
  position: absolute;
  right: 4px;
  top: 10px;
  transition: transform 0.3s ease-in-out;
  -webkit-transition: transform 0.3s ease-in-out;
  -moz-transition: transform 0.3s ease-in-out;
  -ms-transition: transform 0.3s ease-in-out;
  -o-transition: transform 0.3s ease-in-out;
}
@media (max-width: 1023px) {
  .nav-list li.has-sub > .nav-link::after {
    top: 8px;
  }
}
.nav-list li.has-sub.has-subnav > .nav-link::after {
  top: 4px;
}
.nav-list li.has-sub.has-subnav .subnav .nav-link::before {
  width: 5px;
  height: 5px;
}
.nav-list li.has-sub.open > .nav-link::after {
  transform: rotate(-180deg);
  -webkit-transform: rotate(-180deg);
  -moz-transform: rotate(-180deg);
  -ms-transform: rotate(-180deg);
  -o-transform: rotate(-180deg);
}
.nav-list li ul {
  list-style: none;
}
.nav-list li ul li a.nav-link {
  padding: 3px 0;
  display: flex;
  align-items: center;
}
.nav-list li ul li a.nav-link::before {
  content: "";
  background-color: var(--primary);
  width: 8px;
  height: 8px;
  border-radius: 50%;
  -webkit-border-radius: 50%;
  -moz-border-radius: 50%;
  -ms-border-radius: 50%;
  -o-border-radius: 50%;
  margin-right: 10px;
}
.nav-list .nav-link {
  color: var(--grey);
  font-weight: 400;
  text-decoration: none;
}
.nav-list .nav-link .icon-wrp {
  width: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-right: 10px;
  opacity: 0.5;
}
.nav-list .nav-link.active, .nav-list .nav-link:hover {
  color: var(--dark);
  font-weight: 500;
}
.nav-list .nav-link.active .icon-wrp, .nav-list .nav-link:hover .icon-wrp {
  color: var(--primary);
  opacity: 1;
}

header {
  height: 80px;
  position: fixed;
  z-index: 3;
  padding-top: 10px !important;
  padding-bottom: 10px !important;
}

.content-section {
  min-height: calc(100vh - 80px);
}

.py-02 {
  padding-top: 2px;
  padding-bottom: 2px;
}

.badge-complete {
  color: #11A062;
  background-color: #E6FAF5;
}


/**************Data Table***************/
.dt-container {
  font-size: 14px !important;
}

.dt-input {
  border-radius: 100px !important;
  -webkit-border-radius: 100px !important;
  -moz-border-radius: 100px !important;
  -ms-border-radius: 100px !important;
  -o-border-radius: 100px !important;
  box-shadow: none;
  outline: none;
  padding-left: 10px !important;
}

.dt-search,
.dataTables_filter {
  display: none !important;
}

.dt-length {
  display: flex;
  align-items: center;
  gap: 5px;
  width: fit-content;
}
.dt-length input,
.dt-length select {
  border-color: #D7DDEA !important;
  height: 36px !important;
  min-height: 36px !important;
  font-size: 14px !important;
  border-radius: 50px !important;
  width: auto !important;
  min-width: 3.5rem;
  max-width: 4.5rem;
  flex: 0 0 auto;
  padding-left: 0.75rem !important;
  padding-right: 1.75rem !important;
}

.table-responsive,
.content-section .dt-container,
.table-responsive .dt-container {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  max-width: 100%;
}

.table-responsive th {
  font-size: 12px !important;
  font-weight: 600 !important;
  outline: none !important;
  border-color: #C8CBD9 !important;
  vertical-align: middle;
}

.table-responsive td {
  font-size: 14px !important;
  font-weight: 400 !important;
  border-color: #C8CBD9 !important;
  background-color: transparent !important;
}

.dt-layout-cell,
.dt-layout-cell.dt-layout-full {
  overflow-x: auto;
  max-width: 100%;
}

table.dataTable > thead > tr > th,
table.dataTable > thead > tr > td,
table.dataTable > tbody > tr > th,
table.dataTable > tbody > tr > td {
  vertical-align: middle;
}

/**************Pagination Overrides***************/

/* DataTables bottom row: info left, pagination right */
div.dt-container div.dt-layout-row:last-child {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: space-between !important;
  flex-wrap: wrap !important;
  gap: 8px !important;
  margin-top: 15px !important;
}

/* Force info cell to the left */
div.dt-container .dt-layout-cell.dt-start,
div.dt-container div.dt-info {
  text-align: left !important;
  justify-content: flex-start !important;
  margin-top: 0 !important;
  flex: 1 !important;
}

/* Info text itself */
.dt-info {
  font-size: 13px !important;
  color: var(--grey) !important;
  text-align: left !important;
}

.dt-paging,
.custom-pagination,
div.dt-container div.dt-paging {
  display: flex !important;
  justify-content: flex-end !important;
  align-items: center !important;
  gap: 4px !important;
  margin-top: 0 !important;
}

.dt-paging-button,
.custom-pagination-btn,
div.dt-container div.dt-paging button.dt-paging-button,
div.dt-container div.dt-paging a.dt-paging-button {
  padding: 4px 10px !important;
  margin: 0 !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  border-radius: 4px !important;
  border: 1px solid transparent !important;
  background: transparent !important;
  color: var(--secondary) !important;
  cursor: pointer !important;
  box-shadow: none !important;
  text-decoration: none !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  outline: none !important;
}

.dt-paging-button.current,
.custom-pagination-btn.active,
div.dt-container div.dt-paging button.dt-paging-button.current,
div.dt-container div.dt-paging a.dt-paging-button.current {
  border-color: #000000 !important;
  color: #000000 !important;
  font-weight: 600 !important;
  background-color: transparent !important;
  background: transparent !important;
}

.dt-paging-button:hover:not(.current):not(.disabled),
.custom-pagination-btn:hover:not(.active):not(.disabled),
div.dt-container div.dt-paging button.dt-paging-button:hover:not(.current):not(.disabled),
div.dt-container div.dt-paging a.dt-paging-button:hover:not(.current):not(.disabled) {
  background-color: var(--light-grey) !important;
  background: var(--light-grey) !important;
  color: var(--secondary) !important;
  border-color: transparent !important;
}

.dt-paging-button.disabled,
.custom-pagination-btn.disabled,
div.dt-container div.dt-paging button.dt-paging-button.disabled,
div.dt-container div.dt-paging a.dt-paging-button.disabled {
  opacity: 0.5 !important;
  cursor: default !important;
  pointer-events: none !important;
  background: transparent !important;
  border-color: transparent !important;
}


/***************************************/
/* Chrome, Safari, Edge, Opera */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  appearance: none;
  margin: 0;
}

/* Firefox */
input[type=number] {
  -moz-appearance: textfield;
  appearance: textfield;
}

/****************Custom Checkbox****************/
.form-check-custom input[type=checkbox].form-check-input ~ .form-check-label {
  display: flex;
  align-items: center;
  justify-content: start;
  gap: 5px;
}
.form-check-custom input[type=checkbox].form-check-input ~ .form-check-label::before {
  content: "\f584";
  font-family: "Bootstrap-icons";
  font-size: 20px;
  color: var(--grey);
  border-radius: 5px;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  -ms-border-radius: 5px;
  -o-border-radius: 5px;
  min-width: 30px;
  height: 30px;
  display: flex;
  aspect-ratio: 1/1;
}
.form-check-custom input[type=checkbox].form-check-input:checked ~ .form-check-label::before {
  content: "\f26d";
}

/***********************************************/
/****************Custom Radio****************/
.form-check-custom.form-radio-custom input[type=radio].form-check-input ~ .form-check-label {
  display: flex;
  align-items: center;
  justify-content: start;
  gap: 5px;
}
.form-check-custom.form-radio-custom input[type=radio].form-check-input ~ .form-check-label::before {
  content: "\f28a";
  font-family: "Bootstrap-icons";
  font-size: 20px;
  color: var(--grey);
  border-radius: 5px;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  -ms-border-radius: 5px;
  -o-border-radius: 5px;
  min-width: 30px;
  height: 30px;
  display: flex;
  aspect-ratio: 1/1;
}
.form-check-custom.form-radio-custom input[type=radio].form-check-input:checked ~ .form-check-label::before {
  content: "\f518";
}

/***********************************************/
.select2-container--default .select2-selection--single .select2-selection__arrow {
  height: 100%;
}
.select2-container--default .form-control,
.select2-container--default .form-select {
  height: 35px !important;
}

.select2-search__field:focus-visible {
  outline: none;
}



/*************************************/
.custom-table tr th,
.custom-table tr td {
  vertical-align: middle;
}

.copy-text {
  color: #555555;
  font-size: 10px;
}


/***********Image Upload with preview***********/
.avatar-upload {
  position: relative;
  max-width: 140px;
  margin: 5px auto 30px 0;
}
.avatar-upload .avatar-edit {
  position: absolute;
  right: 12px;
  z-index: 1;
  top: 10px;
}
.avatar-upload .avatar-edit input {
  display: none;
}
.avatar-upload .avatar-edit input + label {
  display: inline-flex;
  width: 34px;
  height: 34px;
  margin-bottom: 0;
  border-radius: 100%;
  background: #FFFFFF;
  border: 1px solid transparent;
  box-shadow: 0px 2px 4px 0px rgba(0, 0, 0, 0.12);
  cursor: pointer;
  font-weight: normal;
  transition: all 0.2s ease-in-out;
}
.avatar-upload .avatar-edit input + label:hover {
  background: #f1f1f1;
  border-color: #d6d6d6;
}
.avatar-upload .avatar-edit input + label:after {
  content: "\f4cb";
  font-family: "Bootstrap-icons";
  color: #757575;
  font-size: 18px;
  margin: auto;
}
.avatar-upload .avatar-preview {
  width: 125px;
  height: 125px;
  position: relative;
  border-radius: 100%;
  border: 6px solid #F8F8F8;
}
.avatar-upload .avatar-preview > div {
  width: 100%;
  height: 100%;
  border-radius: 100%;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
}



/********Show Password**************/
.toggle-password {
  position: absolute;
  cursor: pointer;
  right: 10px;
  top: 0;
  height: 100%;
  display: flex;
  align-items: center;
  z-index: 3;
}

* a {
  word-wrap: break-word;
}

.brand-title {
  font-size: 22px;
  font-weight: 600;
  letter-spacing: 0.5px;
  color: var(--secondary);
}
.brand-title span {
  color: var(--primary);
}
.brand-title small {
  display: block;
  font-size: 12px;
  font-weight: 500;
  color: var(--grey);
  margin-top: 4px;
  letter-spacing: 1px;
}

.brand-title {
  animation: fadeIn 0.5s ease-in-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.login-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 40px 35px;
  width: 100%;
  max-width: 420px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

/* Notifications Page Styles */
.hover-bg-yellow {
    transition: background-color 0.2s ease, color 0.2s ease, transform 0.1s ease;
}
.hover-bg-yellow:hover {
    background-color: var(--primary) !important;
    color: var(--secondary) !important;
}
.hover-bg-yellow:active {
    transform: scale(0.98);
}
.notification-row {
    transition: opacity 0.3s ease, transform 0.3s ease;
}
.delete-notification-btn {
    transition: color 0.2s ease, transform 0.2s ease;
}
.delete-notification-btn:hover {
    color: #dc3545 !important;
    transform: scale(1.15);
}
.search-input-wrapper input {
    border-color: #000000 !important;
    background-color: #ffffff;
    transition: box-shadow 0.2s ease, border-color 0.2s ease;
}
.search-input-wrapper input:focus {
    box-shadow: 0 0 0 0.2rem rgba(255, 214, 0, 0.25);
    border-color: var(--primary) !important;
}
.notification-card {
    border-color: #E9EDF5 !important;
    transition: box-shadow 0.2s ease, border-color 0.2s ease;
}
.notification-card:hover {
    border-color: var(--primary) !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}
.delete-notification-btn {
    transition: color 0.2s ease, transform 0.2s ease !important;
}
.delete-notification-btn:hover {
    color: #FF3B30 !important;
    transform: scale(1.1);
}
.delete-notification-btn:active {
    transform: scale(0.95);
}

/* Custom Global Uniform Filtering & Search Styles */
.rounded-pill {
  border-radius: 50px !important;
}

input.keyword,
.form-control.keyword {
  background-color: var(--primary-light) !important;
  border: none !important;
  border-radius: 50px !important;
  box-shadow: none !important;
  height: 36px !important;
  min-height: 36px !important;
  font-size: 14px !important;
  padding-top: 0.35rem !important;
  padding-bottom: 0.35rem !important;
  padding-left: 1rem !important;
  /* Room for absolute-positioned search icon (pe-* in HTML is overridden above) */
  padding-right: 3rem !important;
  line-height: 1.35 !important;
  transition: all 0.2s ease-in-out;
}

/* Extra clearance on very small screens for long placeholders */
@media (max-width: 575px) {
  input.keyword,
  .form-control.keyword {
    padding-right: 3.25rem !important;
    font-size: 13px !important;
  }
}

input.keyword:focus,
.form-control.keyword:focus {
  background-color: rgba(255, 214, 0, 0.2) !important;
  box-shadow: 0 0 0 3px rgba(255, 214, 0, 0.15) !important;
}

.form-select.rounded-pill,
.custom-select-pill {
  border-color: #D7DDEA !important;
  height: 36px !important;
  min-height: 36px !important;
  font-size: 14px !important;
  padding: 0.35rem 2rem 0.35rem 1rem !important;
  background-color: #ffffff !important;
  border-radius: 50px !important;
  cursor: pointer;
  transition: border-color 0.2s ease-in-out;
}

.form-select.rounded-pill:active,
.custom-select-pill:active {
  background-color: #ffffff !important;
}

.form-select.rounded-pill:focus,
.form-select.rounded-pill:focus-visible,
.custom-select-pill:focus,
.custom-select-pill:focus-visible {
  border-color: #D7DDEA !important;
  background-color: #ffffff !important;
  box-shadow: none !important;
  outline: none !important;
}

/* For date range and custom inputs */
.form-control.rounded-pill:not(.keyword) {
  border-color: #D7DDEA !important;
  border-radius: 50px !important;
  height: 36px !important;
  min-height: 36px !important;
  font-size: 14px !important;
  padding: 0.35rem 1.25rem !important;
  transition: border-color 0.2s ease-in-out;
}

.form-control.rounded-pill:focus,
.form-control.rounded-pill:focus-visible {
  border-color: #D7DDEA !important;
  box-shadow: 0 0 0 2px rgba(45, 55, 96, 0.08) !important;
}

/* Ensure the date input specifically styled as pill works correctly */
input[id*="DateRange"].rounded-pill {
  border-color: #D7DDEA !important;
  border-radius: 50px !important;
  height: 36px !important;
  min-height: 36px !important;
  font-size: 14px !important;
  padding: 0.35rem 2rem 0.35rem 2.75rem !important;
}

#reportDateRange.rounded-pill,
#reportDateRange.report-filter-control {
  height: 36px !important;
  min-height: 36px !important;
  font-size: 14px !important;
  padding: 0.35rem 1.375rem 0.35rem 1.875rem !important;
  width: 12rem !important;
}

#reportPeriodSelect.report-filter-control {
  height: 36px !important;
  min-height: 36px !important;
  font-size: 14px !important;
  padding: 0.35rem 2rem 0.35rem 1rem !important;
  background-color: transparent !important;
  border: 1px solid #D7DDEA !important;
}

#paymentDateRange,
#subscriptionDateRange {
  height: 36px !important;
  min-height: 36px !important;
  font-size: 14px !important;
  padding: 0.35rem 2rem 0.35rem 2.5rem !important;
}

.content-section input.form-control.rounded-3,
.content-section select.form-select.rounded-3 {
  height: 36px !important;
  min-height: 36px !important;
  font-size: 14px !important;
  padding: 0.35rem 0.75rem !important;
}

.form-control:focus,
.form-control:focus-visible {
  border-color: #D7DDEA !important;
  box-shadow: 0 0 0 2px rgba(45, 55, 96, 0.08) !important;
}

.form-select:focus,
.form-select:focus-visible {
  border-color: #D7DDEA !important;
  background-color: #ffffff !important;
  box-shadow: none !important;
  outline: none !important;
}

.form-select option,
.form-select.custom-select-pill option,
.form-select.rounded-pill option {
  background-color: #ffffff;
  color: var(--secondary);
}

.form-select option:checked,
.form-select option:hover {
  background-color: var(--light-grey) !important;
  color: var(--secondary) !important;
}

.client_filter .form-select {
  height: 36px !important;
  min-height: 36px !important;
  font-size: 14px !important;
}

/* Filter row: last column = actions — buttons hug label width, never stretch to full column */
.client_filter form .row > [class*="col-"]:last-child {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
}

.client_filter form .row > [class*="col-"]:last-child .btn.btn-type1.rounded-pill {
  width: auto !important;
  flex: 0 0 auto;
  max-width: 100%;
}

/* Largest desktops: slightly roomier filter pills (still content-sized) */
@media (min-width: 1280px) {
  .client_filter .btn-type1.rounded-pill {
    padding-left: 1.35rem !important;
    padding-right: 1.35rem !important;
  }
}

.dt-length select,
#entriesPerPageSelect {
  height: 36px !important;
  min-height: 36px !important;
  font-size: 14px !important;
  width: auto !important;
  min-width: 3.5rem;
  max-width: 4.5rem;
  flex: 0 0 auto;
  background-color: #ffffff !important;
}

.dt-length select:focus,
#entriesPerPageSelect:focus {
  border-color: #D7DDEA !important;
  box-shadow: none !important;
  outline: none !important;
}

form .search .bi-search,
button.search .bi-search {
  font-size: 16px !important;
}

/* Search icon hit-area: keep above input text, do not cover placeholder */
.content-section form.position-relative > button.search {
  z-index: 2;
  min-width: 2.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-right: 0.25rem !important;
}

/* DataTables and global table styling uniformity */
.table-responsive > .table,
.table-responsive > table.display,
.table-responsive > table.dataTable,
.table-responsive .dt-container > .dt-layout-table table,
.table-responsive .dt-container table.dataTable,
.content-section table.table,
.content-section table.display,
.content-section .dt-container table.dataTable,
table.dataTable {
  width: max-content !important;
  min-width: 100% !important;
  table-layout: auto;
  border-collapse: collapse;
  border-color: #C8CBD9 !important;
  --bs-table-cell-padding-y: 0.5rem;
  --bs-table-cell-padding-x: 1rem;
}

/* Prevent DataTables inline widths from crushing columns */
table.dataTable colgroup col {
  width: auto !important;
}

table.dataTable thead th {
  width: auto !important;
  min-width: max-content;
}

table.dataTable tbody td {
  width: auto !important;
}

/* All table headers: keep on one line — scroll horizontally instead of stacking letters */
.table thead th,
.table-responsive th,
table.dataTable thead th,
table.dataTable thead td {
  white-space: nowrap !important;
  word-break: keep-all !important;
  overflow: visible !important;
  text-overflow: clip;
  line-height: 1.25;
}

/* Body cells: nowrap so rows align; wide tables scroll in .table-responsive */
.table tbody td,
.table-responsive td,
table.dataTable tbody td {
  white-space: nowrap;
}

.table {
  border-color: #C8CBD9 !important;
}

.table > :not(caption) > * > * {
  padding: 8px 16px !important;
  box-sizing: border-box;
}

.table th,
.table td,
.table-responsive .table th,
.table-responsive .table td,
table.dataTable > thead > tr > th,
table.dataTable > thead > tr > td,
table.dataTable > tbody > tr > th,
table.dataTable > tbody > tr > td,
.custom-table th,
.custom-table td {
  padding: 8px 16px !important;
  box-sizing: border-box;
  vertical-align: middle !important;
}

.table th {
  font-weight: 600 !important;
  font-size: 12px !important;
  color: #000000 !important;
  opacity: 1 !important;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-bottom: 2px solid #D7DDEA !important;
  text-align: left !important;
  overflow: visible !important;
}

.table td {
  font-size: 14px !important;
  color: var(--secondary) !important;
  border-bottom: 1px solid #E9EDF5 !important;
  text-align: left !important;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Compact S.NO / index column */
.table thead th.col-index,
.table:has(thead th.col-index) tbody td:first-child,
table.dataTable thead th.col-index,
table.dataTable:has(thead th.col-index) tbody td:first-child {
  width: 4.5rem !important;
  min-width: 4.5rem !important;
  max-width: none !important;
  padding-left: 12px !important;
  padding-right: 12px !important;
}

/* Compact action column (edit/delete icons) */
.table:has(thead th.col-action) tbody td:last-child,
table.dataTable:has(thead th.col-action) tbody td:last-child,
.table thead th.col-action,
table.dataTable thead th.col-action {
  width: 6.5rem !important;
  min-width: 6.5rem !important;
  max-width: none !important;
  padding-left: 12px !important;
  padding-right: 12px !important;
  overflow: visible;
  text-overflow: clip;
}

/* Uniform Filter/Reset buttons shape */
.btn-type1.rounded-pill {
  border-radius: 50px !important;
  padding: 0.35rem 1.25rem !important;
  font-weight: 500 !important;
  height: 36px !important;
  min-height: 36px !important;
  font-size: 16px !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease-in-out;
}

.content-section .btn-type1:not(.rounded-pill) {
  min-height: 36px;
  padding: 0.4rem 1.25rem;
  font-size: 16px !important;
}

.content-section a.btn-type1.w-100,
.content-section .btn.btn-type1.w-100 {
  min-height: 36px;
  padding: 0.4rem 0.75rem;
  font-size: 16px !important;
}

.btn-type1.rounded-pill:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(255, 214, 0, 0.2) !important;
}

.btn-type1.rounded-pill:active {
  transform: translateY(0);
}

/* Custom Overrides based on User Request */

/* Make sorting arrows black in all DataTables (DataTables 1.x & 2.x support) */
table.dataTable thead th .dt-column-order::before,
table.dataTable thead th .dt-column-order::after,
table.dataTable thead td .dt-column-order::before,
table.dataTable thead td .dt-column-order::after {
  color: #000000 !important;
  opacity: 0.8 !important;
}

table.dataTable thead th.dt-ordering-asc .dt-column-order::before,
table.dataTable thead th.dt-ordering-desc .dt-column-order::after,
table.dataTable thead td.dt-ordering-asc .dt-column-order::before,
table.dataTable thead td.dt-ordering-desc .dt-column-order::after {
  color: #000000 !important;
  opacity: 1 !important;
}

/* Standard DataTables v1.x class overrides */
table.dataTable thead th.sorting::before,
table.dataTable thead th.sorting::after,
table.dataTable thead th.sorting_asc::before,
table.dataTable thead th.sorting_asc::after,
table.dataTable thead th.sorting_desc::before,
table.dataTable thead th.sorting_desc::after,
table.dataTable thead td.sorting::before,
table.dataTable thead td.sorting::after,
table.dataTable thead td.sorting_asc::before,
table.dataTable thead td.sorting_asc::after,
table.dataTable thead td.sorting_desc::before,
table.dataTable thead td.sorting_desc::after {
  color: #000000 !important;
  opacity: 0.8 !important;
}

/* Change page headers/titles from bold to a beautiful normal/medium weight */
.content-section h5,
.content-section h5.fw-bold {
  font-weight: 500 !important;
}

/* Guarantee solid black color and full opacity for all table header cells, including DataTables */
table.dataTable thead th,
table.dataTable thead td,
.table thead th,
.table thead td {
  color: #000000 !important;
  opacity: 1 !important;
}

/* Reserve space for DataTables sort indicators (DT 1.x + 2.x) — generous gutter so text never meets icons */
table.dataTable thead th.dt-orderable,
table.dataTable thead th.dt-ordering-asc,
table.dataTable thead th.dt-ordering-desc,
table.dataTable thead th.dt-orderable-asc,
table.dataTable thead th.dt-orderable-desc,
table.dataTable thead th.sorting,
table.dataTable thead th.sorting_asc,
table.dataTable thead th.sorting_desc,
table.dataTable thead td.dt-orderable,
table.dataTable thead td.dt-ordering-asc,
table.dataTable thead td.dt-ordering-desc,
table.dataTable thead td.sorting,
table.dataTable thead td.sorting_asc,
table.dataTable thead td.sorting_desc {
  padding-right: 2.85rem !important;
  position: relative;
}

table.dataTable thead th .dt-column-order {
  right: 0.6rem !important;
  left: auto !important;
  width: 1.35rem;
  margin-left: 0 !important;
}

/* DT2: column title — no max-width (max-width clips labels on narrow columns) */
table.dataTable thead th .dt-column-title {
  display: inline-block;
  vertical-align: middle;
  padding-right: 0.2rem;
}

/* Slightly more gutter on very narrow viewports where sort icons still feel tight */
@media (max-width: 575.98px) {
  table.dataTable thead th.dt-orderable,
  table.dataTable thead th.dt-ordering-asc,
  table.dataTable thead th.dt-ordering-desc,
  table.dataTable thead th.dt-orderable-asc,
  table.dataTable thead th.dt-orderable-desc,
  table.dataTable thead th.sorting,
  table.dataTable thead th.sorting_asc,
  table.dataTable thead th.sorting_desc,
  table.dataTable thead td.dt-orderable,
  table.dataTable thead td.dt-ordering-asc,
  table.dataTable thead td.dt-ordering-desc,
  table.dataTable thead td.sorting,
  table.dataTable thead td.sorting_asc,
  table.dataTable thead td.sorting_desc {
    padding-right: 3.15rem !important;
  }
}

/* Force consistent left-alignment on all DataTables columns (overriding automatic numeric/date right-alignment) */
table.dataTable th.dt-type-numeric,
table.dataTable td.dt-type-numeric,
table.dataTable th.dt-type-date,
table.dataTable td.dt-type-date,
table.dataTable.dt-type-numeric,
table.dataTable.dt-type-date {
  text-align: left !important;
}

/* Ensure empty state messages remain centered */
.table td.text-center,
.table th.text-center,
table.dataTable tbody td.dt-empty,
table.dataTable td.dataTables_empty {
  text-align: center !important;
  white-space: normal !important;
}
.dt-paging {
  margin-left: auto !important;
}

/* Status Pills for Update Custom Lens Page */
.status-pill {
  background-color: transparent !important;
  border: 1px solid #D7DDEA !important;
  color: var(--grey) !important;
  font-weight: 500 !important;
  border-radius: 8px !important;
  font-size: 16px !important;
  min-height: 36px !important;
  padding: 0.4rem 1.25rem !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.custom-lens-detail-page {
  color: #000000 !important;
}

.custom-lens-detail-page h5,
.custom-lens-detail-page p,
.custom-lens-detail-page label,
.custom-lens-detail-page td,
.custom-lens-detail-page th,
.custom-lens-detail-page .text-secondary,
.custom-lens-detail-page .summary-label,
.custom-lens-detail-page .summary-value,
.custom-lens-detail-page .breadcrumb-current,
.custom-lens-detail-page .form-label,
.custom-lens-detail-page .document-card .fw-medium,
.custom-lens-detail-page .upload-zone span,
.custom-lens-detail-page .upload-zone div,
.custom-lens-detail-page a {
  color: #000000 !important;
}

.custom-lens-detail-page .card h5,
.custom-lens-detail-page .form-label {
  font-weight: 500 !important;
  font-size: 16px !important;
}

.custom-lens-detail-page .summary-label {
  font-size: 14px !important;
}

.custom-lens-detail-page .summary-value,
.custom-lens-detail-page .card p,
.custom-lens-detail-page .fw-medium.text-dark,
.custom-lens-detail-page .document-card .fw-medium {
  font-size: 14px !important;
}

.custom-lens-detail-page .btn-submit-lens {
  min-height: 36px;
  font-size: 16px !important;
  font-weight: 500 !important;
  padding: 0.4rem 1.5rem !important;
}

.status-pill:hover {
  border-color: #A0A5BA !important;
  color: #7A7F95 !important;
}

/* Accept: Active State (Font color & border only) */
.status-pill.btn-accept.active {
  color: #11A062 !important;
  border-color: #11A062 !important;
  background-color: rgba(17, 160, 98, 0.05) !important;
}

/* Reject: Active State (Font color & border only) */
.status-pill.btn-reject.active {
  color: #FF3B30 !important;
  border-color: #FF3B30 !important;
  background-color: rgba(255, 59, 48, 0.05) !important;
}

/* Processing: Active State (Font color & border only) */
.status-pill.btn-process.active {
  color: #2196F3 !important;
  border-color: #2196F3 !important;
  background-color: rgba(33, 150, 243, 0.05) !important;
}

/* Password Checklist Styling */
#message {
  display: none;
  padding: 15px;
  margin-top: 10px;
  border: 1px solid #D7DDEA;
}
#message h6 {
  margin-bottom: 10px;
  font-size: 14px;
}
#message ul {
  list-style-type: none;
  padding-left: 0 !important;
  margin-bottom: 0;
}
#message li {
  position: relative;
  padding-left: 20px;
  font-size: 13px;
  margin-bottom: 6px;
  transition: color 0.2s ease;
}
#message li.valid {
  color: #11A062 !important;
}
#message li.valid::before {
  content: "✔";
  position: absolute;
  left: 0;
  color: #11A062;
  font-weight: bold;
}
#message li.invalid {
  color: #FF3B30 !important;
}
#message li.invalid::before {
  content: "✖";
  position: absolute;
  left: 0;
  color: #FF3B30;
  font-weight: bold;
}

/* Target page helpers that do not override reference element styling */
.table-cell-ellipsis {
  max-width: 250px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.field-icon,
.report-filter-icon {
  z-index: 1;
}

.notification-icon {
  font-size: 18px;
}

.notification-text {
  font-size: 14px;
}

.notification-time {
  font-size: 12px;
  white-space: nowrap;
}

.unread-dot {
  width: 8px;
  height: 8px;
}

.notification-card {
  display: flex !important;
  flex-direction: row !important;
  justify-content: space-between !important;
  align-items: center !important;
}

.report-stat-label {
  font-size: 13px;
}

.report-stat-value {
  font-size: 22px;
}

.report-panel {
  background-color: var(--primary-light);
}

.report-panel-title {
  font-size: 18px;
}

.report-filter-control {
  width: auto !important;
  background-color: transparent !important;
}

#reportDateRange.report-filter-control {
  width: 12rem !important;
  padding-left: 1.875rem !important;
  padding-right: 1.375rem !important;
  caret-color: transparent;
}

#paymentDateRange,
#subscriptionDateRange {
  min-width: 14.5rem !important;
}

.report-filter-icon i {
  font-size: 12px;
}

.report-filter-icon-end i {
  font-size: 11px;
}

.report-chart-frame {
  border-color: #A3A3A3 !important;
  overflow-x: auto;
}

/* List / DataTables keyword search — full width on list pages (tablet + desktop layout) */
.content-section .list-page-search-wrap {
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

/* Search beside toolbar actions (e.g. notifications): share row, cap width on desktop */
.content-section .list-page-search-wrap--inline {
  width: 100%;
  max-width: 100%;
}

@media (min-width: 1024px) {
  /* Inline search (e.g. notifications): grow with row and match other page max-widths */
  .content-section .list-page-search-wrap--inline {
    width: auto;
    flex: 1 1 auto;
    min-width: 0;
    max-width: min(84%, 68rem);
  }
}

.report-chart-canvas {
  position: relative;
  height: 260px;
  min-width: 480px;
  width: 100%;
}
/* ========== Responsive (all admin pages) - Desktop First ========== */

/* Default Desktop Styles (>= 1024px) */
.content-section .list-page-search-wrap:not(.list-page-search-wrap--inline) {
  width: 100% !important;
  max-width: min(84%, 68rem) !important;
}

.content-section .client_filter {
  width: 100% !important;
  max-width: min(83%, 67rem) !important;
  overflow-x: visible;
  padding-bottom: 0;
}

.content-section .client_filter form .row {
  display: flex !important;
  flex-direction: row;
  flex-wrap: wrap; /* Allow wrapping on small desktops/laptops! */
  align-items: center;
  justify-content: flex-start;
  gap: 0.875rem;
  margin-left: 0;
  margin-right: 0;
  width: 100%;
}

.content-section .client_filter form .row > [class*="col-"]:not(:last-child) {
  flex: 0 0 auto !important;
  min-width: 0 !important;
  width: auto !important;
  max-width: none !important;
}

.content-section .client_filter form .row > [class*="col-"]:not(:last-child) .form-select {
  width: auto !important;
  min-width: 10.5rem;
  max-width: 32rem;
}

.content-section .client_filter form .row > [class*="col-"]:not(:last-child) .position-relative {
  width: auto !important;
  min-width: 14rem;
  max-width: 38rem;
}

.content-section .client_filter form .row > [class*="col-"]:not(:last-child) .position-relative .form-control {
  width: 100% !important;
  min-width: 0;
}

.content-section .client_filter form .row > [class*="col-"]:not(:last-child):first-child .form-select {
  max-width: 30rem;
}

.content-section .client_filter form .row > [class*="col-"]:not(:last-child):nth-child(2) .form-select {
  max-width: 37rem;
}

.content-section .client_filter form .row:has(> [class*="col-"]:nth-child(2):last-child) > [class*="col-"]:first-child .form-select {
  max-width: 34rem;
}

.content-section .client_filter form .row > [class*="col-"]:last-child {
  flex: 0 0 auto !important;
  display: flex !important;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  gap: 0.5rem;
  width: auto !important;
  min-width: min-content;
  max-width: none !important;
  justify-content: flex-start;
}

.content-section .w-75.d-lg-block,
.content-section .mb-4.w-75.d-lg-block {
  width: 75% !important;
}

/* Tablet & Laptop Viewports (< 1024px) */
@media (max-width: 1023.98px) {
  .content-section .list-page-search-wrap:not(.list-page-search-wrap--inline) {
    width: 100% !important;
    max-width: 100% !important;
  }

  .content-section .client_filter {
    width: 100% !important;
    max-width: 95% !important;
  }

  .content-section .client_filter form .row {
    flex-wrap: wrap !important; /* Ensure wrapping on tablet/laptop */
    gap: 0.75rem;
  }

  .content-section .client_filter form .row > [class*="col-"]:not(:last-child) {
    flex: 0 0 auto !important;
    width: auto !important;
    max-width: 100% !important;
  }

  .content-section .client_filter form .row > [class*="col-"]:not(:last-child) .form-select {
    min-width: 10rem !important;
    width: auto !important;
  }

  .content-section .client_filter form .row > [class*="col-"]:not(:last-child) .position-relative {
    min-width: 12rem !important;
    width: auto !important;
  }

  .content-section .client_filter form .row > [class*="col-"]:last-child {
    flex: 0 0 auto !important;
    width: auto !important;
  }

  #paymentDateRange,
  #subscriptionDateRange {
    min-width: 14rem !important;
  }
}

/* Mobile Viewports (< 768px) */
@media (max-width: 767.98px) {
  .content-section {
    padding-left: 0.75rem !important;
    padding-right: 0.75rem !important;
  }

  .content-section .bg-white.rounded-3 {
    padding: 1rem !important;
  }

  .content-section .w-75,
  .content-section form.position-relative.w-75,
  .content-section .mb-4.w-75,
  .content-section .list-page-search-wrap:not(.list-page-search-wrap--inline) {
    width: 100% !important;
    max-width: 100% !important;
  }

  .content-section .list-page-search-wrap--inline {
    max-width: 100% !important;
  }

  .content-section .d-flex.justify-content-between {
    flex-direction: column;
    align-items: flex-start !important;
    gap: 0.75rem;
  }

  .content-section .client_filter {
    width: 100% !important;
    max-width: 95% !important;
  }

  .content-section .client_filter form .row {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 0.75rem;
  }

  .content-section .client_filter form .row > [class*="col-"] {
    width: 100% !important;
    max-width: 100% !important;
    flex: 1 1 auto !important;
  }

  .content-section .client_filter form .row > [class*="col-"] .form-select,
  .content-section .client_filter form .row > [class*="col-"] .position-relative,
  .content-section .client_filter form .row > [class*="col-"] .form-control {
    width: 100% !important;
  }

  .content-section .client_filter form .row > [class*="col-"]:last-child {
    display: flex !important;
    flex-direction: row !important;
    gap: 0.5rem;
    width: 100% !important;
  }

  .content-section .small.fw-medium.d-flex {
    font-size: 12px;
    gap: 0.15rem;
  }

  .content-section .custom-lens-detail-page #statusPillContainer {
    width: 100%;
  }

  .content-section .custom-lens-detail-page .status-pill {
    flex: 1 1 calc(50% - 0.5rem);
    min-width: 0;
  }

  .content-section .custom-lens-detail-page .btn-submit-lens {
    width: 100%;
  }

  header h2.fs-4 {
    font-size: 1rem !important;
  }

  div.dt-container div.dt-layout-row:last-child {
    flex-direction: column !important;
    align-items: stretch !important;
  }

  .dt-length {
    flex-wrap: wrap;
  }

  .report-chart-frame {
    margin-left: -0.25rem;
    margin-right: -0.25rem;
  }

  .report-panel .d-flex.flex-column {
    align-self: flex-end !important;
  }

  #paymentDateRange,
  #subscriptionDateRange {
    min-width: 0 !important;
    width: 100% !important;
  }
}

/* Center DataTables and custom info & pagination on the smallest breakpoint */
@media (max-width: 575.98px) {
  div.dt-container div.dt-layout-row:last-child {
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    gap: 12px !important;
  }
  div.dt-container .dt-layout-cell {
    width: 100% !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    text-align: center !important;
    flex: none !important;
  }
  .content-section .dt-info,
  .content-section #paginationInfo,
  div.dt-container div.dt-info {
    text-align: center !important;
    justify-content: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
    display: flex !important;
  }
  .content-section .dt-paging,
  div.dt-container div.dt-paging {
    margin-left: auto !important;
    margin-right: auto !important;
    justify-content: center !important;
    display: flex !important;
  }
}
/*# sourceMappingURL=style.css.map */

