/* Copy Animation */
.base-color {
  color: hsl(var(--main)) !important;
}

.copyInput {
  display: inline-block;
  line-height: 50px;
  position: absolute;
  top: 0;
  right: 0;
  width: 40px;
  text-align: center;
  font-size: 14px;
  cursor: pointer;
  -webkit-transition: all .3s;
  -o-transition: all .3s;
  transition: all .3s;
}

.copied::after {
  position: absolute;
  top: 8px;
  right: 12%;
  width: 100px;
  display: block;
  content: "COPIED";
  font-size: 1em;
  padding: 5px 5px;
  color: #fff;
  background-color: #FF7000;
  border-radius: 3px;
  opacity: 0;
  will-change: opacity, transform;
  animation: showcopied 1.5s ease;
}

@keyframes showcopied {
  0% {
    opacity: 0;
    transform: translateX(100%);
  }

  50% {
    opacity: 0.7;
    transform: translateX(40%);
  }

  70% {
    opacity: 1;
    transform: translateX(0);
  }

  100% {
    opacity: 0;
  }
}




.cookies-card {
  width: 520px;
  padding: 30px;
  color: #1E2337;
  position: fixed;
  bottom: 15px;
  left: 15px;
  z-index: 999999;
  transition: all .5s;
  background: #d1d1d1;
  border-radius: 5px;
}

.cookies-card.hide {
  bottom: -500px !important;
}

.radius--10px {
  border-radius: 10px;
}

.cookies-card__icon {
  width: 55px;
  height: 55px;
  border-radius: 50%;
  background-color: #6e6f70;
  color: #fff;
  font-size: 32px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
}

.cookies-card__content {
  margin-bottom: 0;
}

.cookies-btn {
  color: #363636;
  text-decoration: none;
  padding: 10px 35px;
  margin: 3px 5px;
  display: inline-block;
  border-radius: 999px;
}

.cookies-btn:hover {
  color: #363636;
}


@media (max-width: 767px) {
  .cookies-card {
    width: 100%;
    left: 0;
    bottom: 0;
    font-size: 14px;
    padding: 15px;
  }
}




.hover-input-popup {
  position: relative;
}

.input-popup {
  display: none;
}

.hover-input-popup .input-popup {
  display: block;
  position: absolute;
  bottom: 130%;
  left: 50%;
  width: 280px;
  background-color: #1a1a1a;
  color: #fff;
  padding: 20px;
  border-radius: 5px;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  -ms-border-radius: 5px;
  -o-border-radius: 5px;
  -webkit-transform: translateX(-50%);
  -ms-transform: translateX(-50%);
  transform: translateX(-50%);
  -webkit-transition: all 0.3s;
  -o-transition: all 0.3s;
  transition: all 0.3s;
}

.input-popup::after {
  position: absolute;
  content: '';
  bottom: -19px;
  left: 50%;
  margin-left: -5px;
  border-width: 10px 10px 10px 10px;
  border-style: solid;
  border-color: transparent transparent #1a1a1a transparent;
  -webkit-transform: rotate(180deg);
  -ms-transform: rotate(180deg);
  transform: rotate(180deg);
}

.input-popup p {
  padding-left: 20px;
  position: relative;
}

.input-popup p::before {
  position: absolute;
  content: '';
  font-family: 'Line Awesome Free';
  font-weight: 900;
  left: 0;
  top: 4px;
  line-height: 1;
  font-size: 18px;
}

.input-popup p.error {
  text-decoration: line-through;
}

.input-popup p.error::before {
  content: "\f057";
  color: #ea5455;
}

.input-popup p.success::before {
  content: "\f058";
  color: #28c76f;
}



.show-filter {
  display: none;
}

@media(max-width:767px) {
  .responsive-filter-card {
    display: none;
    transition: none;
  }

  .show-filter {
    display: block;
  }
}



/* ////////////////// select 2 css //////////////// */
.select2-dropdown {
  border: 0 !important;
  margin-top: 8px !important;
  border-radius: 5px !important;
  box-shadow: 0 3px 9px rgba(50, 50, 9, 0.05), 6px 4px 19px rgb(115 103 240 / 20%)
}

.select2-search--dropdown {
  padding: 10px 10px !important;
  border-color: #ced4da !important;
}

.select2-container--default .select2-search--dropdown .select2-search__field {
  border-color: #ced4da !important;
  padding: 10px 20px;
}

.select2-results__option.select2-results__option--selected,
.select2-results__option--selectable,
.select2-container--default .select2-results__option--disabled {
  padding: 12px 14px !important;
  border-bottom: 1px solid #eee;
}

.select2-results__option.select2-results__message {
  text-align: center !important;
  padding: 12px 14px !important;
}

.select2-container--default .select2-results>.select2-results__options::-webkit-scrollbar {
  width: 8px;
  border-radius: 5px;
}

.select2-container--default .select2-results>.select2-results__options::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 5px;
}

.select2-container--default .select2-results>.select2-results__options::-webkit-scrollbar-thumb {
  background: #ddd;
}

.select2-container--default .select2-results>.select2-results__options::-webkit-scrollbar-thumb:hover {
  background: #ddd;
}

.select2-container--default .select2-selection--single .select2-selection__arrow b {
  display: none;
}

.select2-container--default .select2-selection--single .select2-selection__arrow:after {
  position: absolute;
  right: 10px;
  top: 0;
  content: "\f107";
  font-family: "Line Awesome Free";
  font-weight: 900;
  transition: .3s;
}

.select2-container--default .select2-selection--single {
  border-color: #ced4da !important;
  border-width: 2px !important;
  border-radius: .375rem !important;
  padding: .375rem .75rem !important;
  height: 100% !important;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
  top: 8px !important;
}

.select2-container--default.select2-container--open .select2-selection--single .select2-selection__arrow:after {
  transform: rotate(-180deg);
}

.select2-results__option:last-child {
  border-bottom-left-radius: 5px;
  border-bottom-right-radius: 5px;
}

.select2-results__option:first-child {
  border-top-left-radius: 5px;
  border-top-right-radius: 5px;
}

.select2-results__option.select2-results__option--selected,
.select2-container--default .select2-results__option--highlighted.select2-results__option--selectable {
  background-color: #f1f1f1 !important;
  color: #000 !important;
}

.select2-container--default .select2-search--dropdown .select2-search__field:focus {
  border-color: rgb(var(--main)) !important;
  box-shadow: 0 0 25px rgba(115, 103, 240 0.071) !important;
  outline: 0 !important;
}

.select2-dropdown .country-flag {
  width: 25px;
  height: 25px;
  border-radius: 8px;
}

.select2-dropdown .gateway-title {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 0px !important;
}

.select2-dropdown .gateway-subtitle {
  font-size: 12px;
  margin-bottom: 0px !important;
}
.select2-container--open .select2-selection.select2-selection--single, .select2-container--open .select2-selection.select2-selection--multiple {
  border-color: hsl(var(--base)) !important;
  border-radius: .375rem !important;
}


.gateway-card {
  padding: 15px;
}

.payment-card-title {
  padding: 13px 25px;
  text-align: center;
  background-color: rgb(var(--main));
  border-radius: 5px;
  border: 0;
  margin-bottom: 0px;
  color: #fff;
}

.payment-system-list {
  --thumb-width: 100px;
  --thumb-height: 40px;
  --radio-size: 12px;
  --border-color: #cccccf59;
  --hover-border-color: rgb(var(--main));
  background-color: #fff;
  border-radius: 5px;
  height: 100%;

}


.payment-system-list.is-scrollable {
  max-height: min(388px, 70vh);
  overflow-x: auto;
  padding-block: 4px;
}

.payment-system-list.is-scrollable::-webkit-scrollbar {
  width: 5px;
}

.payment-system-list.is-scrollable::-webkit-scrollbar {
  width: 5px;

}

.payment-system-list.is-scrollable::-webkit-scrollbar-thumb {
  background-color: rgb(var(--main));
  border-radius: 10px;
}

.payment-item {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  padding: 10px 18px;
  border: 1px solid #fff;
  border-top-color: var(--border-color);
  transition: all 0.3s;
  border-left: 3px solid transparent;
}

.payment-item:first-child {
  border-top-color: #fff;
  border-radius: 5px 5px 0 0;
}

.payment-item:has(.payment-item__radio:checked) {
  border-left: 3px solid var(--hover-border-color);
  border-radius: 0px;
}

.payment-item__check {
  border: 3px solid transparent;
}

.payment-item:has(.payment-item__radio:checked) .payment-item__check {
  border: 3px solid rgb(var(--main));
}

.payment-item__info {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  max-width: calc(100% - var(--thumb-width))
}

.payment-item__check {
  width: var(--radio-size);
  height: var(--radio-size);
  border: 1px solid rgb(var(--main));
  display: inline-block;
  border-radius: 100%;

}

.payment-item__name {
  padding-left: 10px;
  width: calc(100% - var(--radio-size));
  transition: all 0.3s;
}

.payment-item__thumb {
  width: var(--thumb-width);
  height: var(--thumb-height);
  text-align: right;
  padding-left: 10px;

  &:has(.text) {
      width: fit-content;
  }
}

.payment-item__thumb img {
  max-width: var(--thumb-width);
  max-height: var(--thumb-height);
  object-fit: cover;
}


.deposit-info {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: space-between;
}

.deposit-info__title {
  max-width: 50%;
  margin-bottom: 0px;
  text-align: left;
}

.deposit-info__input {
  max-width: 50%;
  text-align: right;
  width: 100%;
}

.deposit-info__input-select {
  border: 1px solid var(--border-color);
  width: 100%;
  border-radius: 5px;
  padding-block: 6px;
}

.deposit-info__input-group {
  border: 1px solid var(--border-color);
  border-radius: 5px;

  .deposit-info__input-group-text {
      align-self: center;
      padding-left: 5px;
  }

}

.deposit-info__input-group .form--control {
  padding: 5px;
  border: 0;
  height: 35px;
  text-align: right;
}

.deposit-info__input-group .form--control:focus {
  box-shadow: unset;
}

.info-text .text,
.deposit-info__input .text {
  font-size: 14px;

}

.deposit-info__title .text.has-icon {
  display: flex;
  align-items: center;
  gap: 5px
}

.total-amount {
  border-top: 1px solid var(--border-color);
}

.total-amount .deposit-info__title {
  font-weight: 600;
}

.payment-item__btn {
  border: 0;
  border-block: 1px solid var(--border-color);
  border-bottom: 0;
  background: #fff;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 15px;
  font-weight: 500;
}

.payment-item:hover+.payment-item__btn {
  border-top-color: #fff;
}

button .spinner-border {
  --bs-spinner-width: 1.5rem;
  --bs-spinner-height: 1.5rem;
}



/* custom css by aminul */

.main-menu li .nav-link.active{
  color: var(--bs-primary) !important;
}

.tt-table-wrapper table thead th, .tt-table-wrapper table tbody td{
  padding: 0.5rem 0.25rem !important;
}
.tt-table-wrapper table thead, .tt-table-wrapper table tbody tr{
  font-size: 0.875rem !important;
}
.main-wrapper{
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
  min-height: 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
}


.tt-single-expert{
  margin: 10px 16px 0 0;
  padding: 10px;
  border: 2px solid #ebebeb;
  border-radius: 8px;
  transition: all .3s ease-in-out;
}
.tt-single-expert:hover, .tt-single-expert.active{
  border-color: var(--bs-primary);
  background-color: rgba(var(--bs-primary-rgb), .15);
}

.tt-scroll-wrap{
  height: 320px;
  overflow-y: auto;
}


/* Scrollbar Styling */
.tt-scroll-wrap::-webkit-scrollbar {
    width: 4px;
}
 
.tt-scroll-wrap::-webkit-scrollbar-track {
    background-color: #f3f3f3;
    -webkit-border-radius: 10px;
    border-radius: 10px;
}

.tt-scroll-wrap::-webkit-scrollbar-thumb {
    -webkit-border-radius: 10px;
    border-radius: 10px;
    background: #e6e6e6; 
}


/* Hide original radio */
.tt-single-slot input[type="radio"] {
    display: none;
}

/* Label as outline button */
.tt-single-slot label {
    display: inline-block;
    padding: 10px 12px;
    border: 2px solid #ebebeb;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    line-height: 1;
    transition: all 0.25s ease;
    user-select: none;
    width: 100%;
    text-align: center;
}

/* Hover */
.tt-single-slot label:hover {
    border-color: var(--bs-primary);
}

/* Checked */

.tt-single-slot input[type="radio"]:checked + label {
    background-color: rgba(var(--bs-primary-rgb), .15);
    border-color: var(--bs-primary);
    color: var(--bs-primary);
}
/* Optional spacing */
.tt-single-slot {
    margin: 8px;
}


/* Disabled State */
.tt-single-slot input[type="radio"]:disabled + label {
    background-color: #f5f5f5;
    border-color: #e0e0e0;
    color: #999;
    cursor: not-allowed;
    opacity: 0.6;
}

/* Optional: hover disabled should not react */
.tt-single-slot input[type="radio"]:disabled + label:hover {
    border-color: #e0e0e0;
    color: #999;
}


.footer_form .form-control{
  color: initial;
}

.promo_icon_wrapper{
  width: 100px;
  height: 100px;
}
.tt-promo-icon{
  width: 60px;
  height: 60px;
  display: flex;
    align-items: center;
    justify-content: center;
}
.tt-line-clamp {
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
}
.tt-line-clamp.tt-clamp-1 {
    -webkit-line-clamp: 1;
}
.tt-line-clamp.tt-clamp-2 {
    -webkit-line-clamp: 2;
}
.sign-up-in-section{
  min-height: 100vh;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  width: 100%;
}

.date_picker_wrapper .daterangepicker .calendar-table th, .date_picker_wrapper .daterangepicker .calendar-table td{
  width: 60px;
  height: 40px;
  background: transparent;
}
/* appointment confirmation message */
.tt-thank-you-wrapper{
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  height: 100vh;
}

/* ── Global scroll fix: main.css sets html,body {height:100%} which clips scrolling ── */
html { height: auto !important; }
body { height: auto !important; min-height: 100vh; }

/* ====================================================================
   USER CUSTOMER PORTAL — Professional Design Layer
   All selectors prefixed with .up- to avoid global side-effects
   ==================================================================== */

/* ── Portal page banner (replaces bulky hero section) ──────────────── */
.up-portal-banner {
  background: linear-gradient(135deg,#1c273c 0%,#222d4b 100%);
  padding: 11px 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.up-breadcrumb {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 0.78rem;
}
.up-breadcrumb a {
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  transition: color 0.15s;
}
.up-breadcrumb a:hover { color: #fff; }
.up-breadcrumb .sep { color: rgba(255,255,255,0.3); font-size: 0.55rem; line-height: 1; }
.up-breadcrumb .current { color: rgba(255,255,255,0.88); font-weight: 500; }
.up-page-title-text { color: #fff; font-size: 0.9375rem; font-weight: 600; margin: 0; }

/* ── Portal outer frame ────────────────────────────────────────────── */
.up-portal-frame {
  background: #eef1f8;
  padding: 28px 0 64px;
  min-height: 62vh;
}

/* ── Portal grid (sidebar + content) ──────────────────────────────── */
.up-portal-grid {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 22px;
  align-items: start;
}
@media (max-width:991.98px) {
  .up-portal-grid { grid-template-columns: 1fr; }
}

/* ── Sidebar shell ─────────────────────────────────────────────────── */
.up-sidebar {
  background: #1c273c;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 18px rgba(0,0,0,0.18);
  position: sticky;
  top: 20px;
}

/* ── Sidebar profile header ────────────────────────────────────────── */
.up-sidebar-profile {
  padding: 20px 18px 16px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  display: flex;
  align-items: center;
  gap: 11px;
}
.up-sidebar-avatar {
  width: 42px; height: 42px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(255,255,255,0.18);
  flex-shrink: 0;
}
.up-sidebar-name {
  color: #fff;
  font-size: 0.8125rem;
  font-weight: 600;
  margin: 0;
  line-height: 1.35;
}
.up-sidebar-label {
  color: rgba(255,255,255,0.4);
  font-size: 0.68rem;
  margin: 0;
  letter-spacing: 0.3px;
}
.up-sidebar-toggle {
  width: 32px; height: 32px;
  border-radius: 7px;
  background: rgba(255,255,255,0.07);
  border: none;
  color: rgba(255,255,255,0.65);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  margin-left: auto;
  flex-shrink: 0;
  transition: background 0.15s;
}
.up-sidebar-toggle:hover { background: rgba(255,255,255,0.14); color: #fff; }

/* ── Sidebar nav ───────────────────────────────────────────────────── */
.up-sidebar-nav {
  padding: 10px 8px 14px;
  list-style: none;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
@media (min-width:992px) { .up-sidebar-nav { display: flex !important; } }

.up-sidebar-nav li a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 13px;
  border-radius: 7px;
  color: rgba(255,255,255,0.6);
  font-size: 0.8125rem;
  font-weight: 500;
  text-decoration: none !important;
  transition: background 0.15s, color 0.15s;
}
.up-sidebar-nav li a i {
  font-size: 18px;
  width: 20px;
  text-align: center;
  flex-shrink: 0;
  line-height: 1;
}
.up-sidebar-nav li a:hover {
  background: rgba(255,255,255,0.07);
  color: rgba(255,255,255,0.95);
}
.up-sidebar-nav li.active > a,
.up-sidebar-nav li > a.active {
  background: linear-gradient(135deg, var(--bs-primary) 0%, #0b5a47 100%);
  color: #fff;
  font-weight: 700;
  box-shadow: 0 8px 18px rgba(0, 56, 43, 0.35);
  border: 1px solid rgba(255,255,255,0.12);
}
.up-sidebar-nav li.active > a i,
.up-sidebar-nav li > a.active i {
  color: #fff;
  transform: translateX(1px);
}
.up-sidebar-nav li.up-logout-item > a {
  color: rgba(255,100,100,0.75);
  margin-top: 6px;
  border-top: 1px solid rgba(255,255,255,0.06);
  border-radius: 0 0 7px 7px;
  padding-top: 12px;
}
.up-sidebar-nav li.up-logout-item > a:hover { background: rgba(220,53,69,0.12); color: #ff9090; }

/* ── Content card wrapper ──────────────────────────────────────────── */
.up-content-card {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 1px 10px rgba(20,30,80,0.07);
}
/* Remove the original left-border separator (no longer needed inside a card) */
.up-content-card .border-start-lg { border-left: none !important; }
/* Override the p-4 padding with our own via the .up-content-body wrapper */
.up-content-body { padding: 22px 24px; }

/* ── Page section title ────────────────────────────────────────────── */
.up-section-title {
  font-size: 0.9375rem;
  font-weight: 700;
  color: #1c273c;
  margin: 0 0 16px;
  padding-bottom: 11px;
  border-bottom: 1px solid #edf0f7;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* ── Stat cards (dashboard) ────────────────────────────────────────── */
.up-stat-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 12px;
  margin-bottom: 24px;
}
@media (max-width:575.98px) { .up-stat-grid { grid-template-columns: repeat(2,1fr); } }

.up-stat-card {
  background: #fff;
  border-radius: 10px;
  padding: 15px 14px;
  box-shadow: 0 1px 6px rgba(20,30,80,0.07);
  border: 1px solid #edf0f7;
  display: flex;
  align-items: center;
  gap: 12px;
  transition: box-shadow 0.15s, transform 0.15s;
}
.up-stat-card:hover { box-shadow: 0 4px 16px rgba(20,30,80,0.12); transform: translateY(-1px); }
.up-stat-icon {
  width: 42px; height: 42px;
  border-radius: 9px;
  display: flex; align-items: center; justify-content: center;
  font-size: 19px;
  flex-shrink: 0;
}
.up-stat-icon.c-total    { background: rgba(1,104,250,0.10);  color: #0168fa; }
.up-stat-icon.c-pending  { background: rgba(255,152,0,0.12);  color: #d98000; }
.up-stat-icon.c-confirm  { background: rgba(0,168,74,0.10);   color: #00a84a; }
.up-stat-icon.c-complete { background: rgba(25,135,84,0.10);  color: #198754; }
.up-stat-icon.c-cancel   { background: rgba(220,53,69,0.10);  color: #dc3545; }
.up-stat-icon.c-reject   { background: rgba(108,117,125,0.12);color: #6c757d; }
.up-stat-value { font-size: 1.2rem; font-weight: 700; color: #1c273c; line-height: 1; }
.up-stat-label { font-size: 0.72rem; color: #7987a1; margin-top: 3px; letter-spacing: 0.2px; }

/* ── Filter / status tabs ──────────────────────────────────────────── */
.up-filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 0 0 16px;
  margin-bottom: 4px;
}
.up-filter-bar a {
  display: inline-block;
  padding: 5px 14px;
  border-radius: 50px;
  font-size: 0.775rem;
  font-weight: 500;
  color: #5b6e88;
  background: #f0f3fb;
  border: 1px solid #dde2ef;
  text-decoration: none !important;
  transition: all 0.15s;
}
.up-filter-bar a:hover { background: #e3e8f5; color: #1c273c; border-color: #c5cde8; }
.up-filter-bar a.active { background: var(--bs-primary); color: #fff; border-color: var(--bs-primary); font-weight: 600; }

/* ── Appointment list cards ────────────────────────────────────────── */
.up-booking-list { display: flex; flex-direction: column; gap: 10px; }
.up-booking-card {
  border: 1px solid #e8ecf5;
  border-radius: 8px;
  padding: 13px 15px;
  background: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  transition: box-shadow 0.15s;
}
.up-booking-card:hover { box-shadow: 0 3px 12px rgba(20,30,80,0.09); }
.up-booking-name {
  font-size: 0.875rem;
  font-weight: 600;
  color: #1c273c;
  text-decoration: none !important;
}
.up-booking-name:hover { color: var(--bs-primary); }
.up-booking-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  color: #7987a1;
  font-size: 0.775rem;
  margin-top: 5px;
}
.up-booking-meta .item { display: flex; align-items: center; gap: 4px; }
.up-booking-meta .item i { font-size: 13px; }
.up-booking-right { text-align: right; flex-shrink: 0; }
.up-booking-price { font-size: 0.9375rem; font-weight: 700; color: #1c273c; margin-bottom: 6px; }
.up-booking-actions { display: flex; align-items: center; gap: 6px; justify-content: flex-end; }

/* ── Professional tables ───────────────────────────────────────────── */
.up-table-wrap { border-radius: 8px; overflow: hidden; border: 1px solid #e8ecf5; }
.up-data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.8rem;
  margin: 0;
}
.up-data-table thead th {
  background: #f5f7fd;
  color: #3e4b5b;
  font-weight: 600;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.55px;
  padding: 10px 14px;
  border-bottom: 2px solid #e3e8f5;
  white-space: nowrap;
}
.up-data-table tbody td {
  padding: 11px 14px;
  border-bottom: 1px solid #f0f3fb;
  color: #495057;
  vertical-align: middle;
}
.up-data-table tbody tr:last-child td { border-bottom: none; }
.up-data-table tbody tr:hover td { background: #f8faff; }

/* ── Search / filter bar ───────────────────────────────────────────── */
.up-filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-bottom: 18px;
}
.up-filter-row .form-control,
.up-filter-row .form-select {
  border-radius: 7px;
  border: 1px solid #dde2ef;
  font-size: 0.8125rem;
  height: 36px;
  padding: 0 12px;
}
.up-filter-row .btn {
  height: 36px;
  border-radius: 7px;
  font-size: 0.8125rem;
}
.up-filter-new-btn {
  margin-left: auto;
}

/* ── Form sections (profile) ───────────────────────────────────────── */
.up-form-card {
  border: 1px solid #e8ecf5;
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 20px;
}
.up-form-card-header {
  background: #f5f7fd;
  border-bottom: 1px solid #e8ecf5;
  padding: 13px 20px;
  display: flex;
  align-items: center;
  gap: 9px;
}
.up-form-card-header h6 {
  font-size: 0.875rem;
  font-weight: 700;
  color: #1c273c;
  margin: 0;
}
.up-form-card-header i { font-size: 17px; color: var(--bs-primary); }
.up-form-card-body { padding: 20px; }
.up-form-card label { font-size: 0.8rem; font-weight: 600; color: #3e4b5b; margin-bottom: 5px; }
.up-form-card .form-control {
  border-radius: 7px;
  border-color: #dde2ef;
  font-size: 0.8125rem;
  height: 38px;
}
.up-form-card textarea.form-control { height: auto; }

/* Avatar upload area */
.up-avatar-upload {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 16px 20px;
  background: #f8faff;
  border-bottom: 1px solid #edf0f7;
}
.up-avatar-preview {
  width: 72px; height: 72px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #e3e8f5;
  flex-shrink: 0;
}
.up-avatar-upload-area {
  flex: 1;
  border: 2px dashed #cdd5e8;
  border-radius: 8px;
  padding: 14px;
  text-align: center;
  cursor: pointer;
  background: #fff;
  transition: border-color 0.15s;
  position: relative;
}
.up-avatar-upload-area:hover { border-color: var(--bs-primary); }
.up-avatar-upload-area input[type="file"] {
  position: absolute; inset: 0; opacity: 0; width: 100%; height: 100%; cursor: pointer;
}
.up-avatar-upload-area p { font-size: 0.78rem; color: #7987a1; margin: 0; }
.up-avatar-upload-area .up-upload-icon { font-size: 22px; color: #b0bbd0; margin-bottom: 4px; }

/* ── Support ticket list and thread ────────────────────────────────── */
.up-ticket-toolbar {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 16px;
}

/* Ticket thread messages */
.up-thread { display: flex; flex-direction: column; gap: 14px; padding: 4px 0; }
.up-msg {
  display: flex;
  gap: 11px;
  align-items: flex-start;
}
.up-msg.staff { flex-direction: row-reverse; }
.up-msg-avatar {
  width: 34px; height: 34px;
  border-radius: 50%;
  background: #e3e8f0;
  color: #7987a1;
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 700;
  flex-shrink: 0;
}
.up-msg.staff .up-msg-avatar { background: var(--bs-primary); color: #fff; }
.up-msg-body { max-width: 78%; }
.up-msg-bubble {
  background: #f5f7fd;
  border: 1px solid #e3e8f5;
  border-radius: 4px 10px 10px 10px;
  padding: 10px 14px;
  font-size: 0.8125rem;
  color: #3e4b5b;
  line-height: 1.55;
}
.up-msg.staff .up-msg-bubble {
  background: rgb(0 56 43 / 5%);
  border-color: rgb(0 56 43 / 15%);
  border-radius: 10px 4px 10px 10px;
}
.up-msg-meta {
  font-size: 0.7rem;
  color: #9aa5b4;
  margin-top: 4px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.up-msg.staff .up-msg-meta { justify-content: flex-end; }
.up-msg-sender { font-weight: 600; color: #5b6e88; }
.up-msg-attachments { margin-top: 7px; display: flex; flex-wrap: wrap; gap: 6px; }
.up-msg-attachments a {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: 0.75rem; color: var(--bs-primary);
  border: 1px solid #dde2ef;
  border-radius: 5px;
  padding: 3px 9px;
  text-decoration: none;
  background: #fff;
}
.up-msg-attachments a:hover { background: #f0f3fb; }

/* Ticket reply box */
.up-reply-card {
  border: 1px solid #e3e8f5;
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 20px;
}
.up-reply-card-header {
  background: #f5f7fd;
  padding: 12px 18px;
  border-bottom: 1px solid #e8ecf5;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.up-reply-card-header h6 { font-size: 0.875rem; font-weight: 700; color: #1c273c; margin: 0; }
.up-reply-card-body { padding: 16px 18px; }
.up-reply-card .form-control {
  border-radius: 7px;
  border-color: #dde2ef;
  font-size: 0.8125rem;
  resize: none;
  background: #fafbfe;
}
.up-reply-card .form-control:focus { background: #fff; border-color: var(--bs-primary); }

/* ── Sidebar: no sticky on mobile ──────────────────────── */
@media (max-width:991.98px) {
  .up-sidebar { position: static; box-shadow: 0 2px 12px rgba(0,0,0,0.15); }
  .up-portal-grid { gap: 16px; }
  .up-portal-frame { padding: 18px 0 40px; }
}

/* ── Keep dashboard_item_wrapper height fix inside new sidebar ── */
.up-sidebar .dashboard_item_wrapper {
  height: auto !important;
  overflow: visible !important;
}
@media (max-width:991.98px) {
  .up-sidebar .dashboard_item_wrapper {
    height: 0 !important;
    overflow: hidden !important;
  }
  .up-sidebar .dashboard_item_wrapper.show {
    height: auto !important;
    overflow: visible !important;
  }
}

/* ── Make profile avatar upload input fully cover the area ── */
.up-avatar-upload-area { overflow: hidden; }

/* ── Buttons inside portal ---------------------------------------------- */
.up-content-card .btn-primary {
  background-color: var(--bs-primary);
  border-color: var(--bs-primary);
}
.up-content-card .btn-primary:hover { filter: brightness(1.1); }

/* ── Badge fix inside tables -------------------------------------------- */
.up-data-table .badge { font-size: .7rem; }

/* ── Pagination inside portal ------------------------------------------- */
.up-table-wrap + div .pagination,
.up-booking-list + div .pagination {
  margin-top: 0;
}

.up-detail-list {
  border: 1px solid #e8ecf5;
  border-radius: 8px;
  overflow: hidden;
}
.up-detail-list .item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  padding: 11px 16px;
  border-bottom: 1px solid #f0f3fb;
  font-size: 0.8125rem;
  gap: 8px;
}
.up-detail-list .item:last-child { border-bottom: none; }
.up-detail-list .item:nth-child(odd) { background: #fafbfe; }
.up-detail-label { color: #7987a1; font-weight: 500; font-size: 0.775rem; }
.up-detail-value { text-align: right; color: #1c273c; font-weight: 500; }
.up-detail-value small { display: block; color: #9aa5b4; font-size: 0.72rem; }

/* ====================================================================
   AUTH PAGES — Professional Split Layout (user portal)
   Prefix: ap-auth-
   ==================================================================== */
.ap-auth-screen {
  min-height: 100vh;
  display: flex;
  align-items: stretch;
}

/* ── Brand panel (left) ─────────────────────────── */
.ap-auth-brand {
  flex: 0 0 44%;
  background: linear-gradient(148deg, #00201a 0%, #00382b 50%, #005040 100%);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 60px 56px;
}
.ap-auth-brand::before {
  content: '';
  position: absolute;
  width: 500px; height: 500px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.07);
  top: -140px; right: -140px;
  pointer-events: none;
}
.ap-auth-brand::after {
  content: '';
  position: absolute;
  width: 340px; height: 340px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.05);
  bottom: -80px; left: -80px;
  pointer-events: none;
}
.ap-auth-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.05);
  pointer-events: none;
}
.ap-auth-ring-1 { width: 260px; height: 260px; top: 38%; left: 62%; transform: translate(-50%,-50%); }
.ap-auth-ring-2 { width: 160px; height: 160px; top: 72%; right: -50px; }
.ap-auth-brand-logo {
  max-height: 42px;
  margin-bottom: 44px;
  filter: brightness(0) invert(1);
  width: fit-content;
  display: block;
}
.ap-auth-brand-title {
  font-size: 1.85rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.2;
  letter-spacing: -0.025em;
  margin-bottom: 12px;
}
.ap-auth-brand-sub {
  color: rgba(255,255,255,0.6);
  font-size: 0.875rem;
  line-height: 1.65;
  margin-bottom: 36px;
  max-width: 320px;
}
.ap-auth-features {
  list-style: none;
  padding: 0; margin: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.ap-auth-features li {
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(255,255,255,0.82);
  font-size: 0.85rem;
  font-weight: 500;
}
.ap-auth-feat-icon {
  width: 36px; height: 36px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 9px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  font-size: 15px;
  color: #fff;
}

/* ── Form panel (right) ─────────────────────────── */
.ap-auth-form-panel {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f4f6fb;
  padding: 40px 20px;
}
.ap-auth-form-box {
  width: 100%;
  max-width: 420px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 8px 40px rgba(10,30,60,0.09);
  padding: 42px 38px;
}
.ap-auth-back-home {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  color: rgba(0,56,43,0.7);
  text-decoration: none;
  font-weight: 600;
  margin-bottom: 28px;
  transition: color 0.15s;
  letter-spacing: 0.02em;
}
.ap-auth-back-home:hover { color: var(--bs-primary); }
.ap-auth-form-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: #1c273c;
  letter-spacing: -0.02em;
  margin-bottom: 4px;
}
.ap-auth-form-sub {
  font-size: 0.81rem;
  color: #8a96b0;
  margin-bottom: 28px;
  line-height: 1.5;
}
.ap-auth-form-box label {
  font-size: 0.74rem;
  font-weight: 700;
  color: #4a5568;
  margin-bottom: 5px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  display: block;
}
.ap-auth-form-box .form-control {
  height: 43px;
  border: 1.5px solid #e4e9f2;
  border-radius: 9px;
  font-size: 0.875rem;
  background: #fafbfd;
  color: #1c273c;
  transition: border-color 0.15s, box-shadow 0.15s;
  padding: 0 14px;
}
.ap-auth-form-box .form-control:focus {
  border-color: #00382b;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(0,56,43,0.1);
  outline: none;
}
.ap-auth-form-box .btn-primary {
  height: 46px;
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  border-radius: 10px;
}
.ap-auth-form-box .btn-primary:hover { filter: brightness(1.1); }
.ap-auth-forgot-link {
  font-size: 0.78rem;
  color: #8a96b0;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.15s;
}
.ap-auth-forgot-link:hover { color: var(--bs-primary); text-decoration: underline; }
.ap-auth-footer-text {
  font-size: 0.8rem;
  color: #8a96b0;
  margin-top: 18px;
  text-align: center;
}
.ap-auth-footer-text a { color: var(--bs-primary); font-weight: 700; text-decoration: none; }
.ap-auth-footer-text a:hover { text-decoration: underline; }
.ap-auth-divider { border: none; border-top: 1px solid #edf0f7; margin: 22px 0; }
.ap-auth-form-box .form-check {
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 8px;
  margin-top: 2px;
  width: 100%;
  padding-left: 0;
  margin-left: 0;
  text-align: left;
}
.ap-auth-form-box .form-check .form-check-input {
  float: none;
  margin: 2px 0 0;
  margin-left: 0;
  flex-shrink: 0;
}
.ap-auth-form-box .form-check-label { font-size: 0.8rem; text-transform: none; letter-spacing: 0; font-weight: 400; color: #4a5568; }
.ap-auth-form-box .form-check .form-check-label {
  display: inline;
  margin: 0;
  line-height: 1.45;
  text-align: left;
}

/* ── Centered card for verify / reset ───────────── */
.ap-auth-center-screen {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f4f6fb;
  padding: 40px 20px;
}
.ap-auth-center-box {
  width: 100%;
  max-width: 440px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 8px 40px rgba(10,30,60,0.09);
  padding: 42px 38px;
}
.ap-auth-center-logo {
  display: block;
  max-height: 38px;
  margin: 0 auto 28px;
}
.ap-auth-otp-hint {
  background: rgba(0,56,43,0.05);
  border-left: 3px solid var(--bs-primary);
  border-radius: 6px;
  padding: 11px 14px;
  font-size: 0.82rem;
  color: #4a5568;
  line-height: 1.55;
  margin-bottom: 22px;
}
.ap-auth-center-box label {
  font-size: 0.74rem;
  font-weight: 700;
  color: #4a5568;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  display: block;
  margin-bottom: 5px;
}
.ap-auth-center-box .form-control {
  height: 43px;
  border: 1.5px solid #e4e9f2;
  border-radius: 9px;
  font-size: 0.875rem;
  background: #fafbfd;
  color: #1c273c;
  padding: 0 14px;
}
.ap-auth-center-box .form-control:focus {
  border-color: #00382b;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(0,56,43,0.1);
  outline: none;
}
.ap-auth-center-box .btn-primary { height: 46px; font-size: 0.875rem; font-weight: 700; border-radius: 10px; }

/* ── Responsive ─────────────────────────────────── */
@media (max-width: 991.98px) {
  .ap-auth-brand { display: none; }
  .ap-auth-form-panel { min-height: 100vh; }
}
@media (max-width: 575.98px) {
  .ap-auth-form-box, .ap-auth-center-box { padding: 28px 18px; border-radius: 12px; }
}