/* 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;
  }
}

#confirmationModal .modal-footer .btn {
  padding: 10px 15px;
  font-size: 15px !important;
}

#confirmationModal .modal-footer .btn.btn--primary {
  background-color: hsl(var(--base)/0.1) !important;
  color: hsl(var(--base)) !important;
}

#confirmationModal .modal-footer .btn.btn--primary:hover,
#confirmationModal .modal-footer .btn.btn--primary:focus #confirmationModal .modal-footer .btn.btn--primary:focus-visible {
  background-color: hsl(var(--base-d-200)) !important;
  border: 1px solid hsl(var(--base-d-200)) !important;
  color: hsl(var(--white)) !important;
}

.btn--sm {
  padding: 8px 8px !important;
  font-size: 14px !important;
}

.listing-filter .input-group .form--control {
  height: 48px;
}

.create-listing-form-body .select2-container--default .select2-selection--multiple {
  height: 43px;
}

.listing-filter-button {
  width: 50%;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
  position: absolute !important;
}

@media(max-width:991px) {
  .listing-filter-button {
    width: 100%;
  }
}

/* payment */

.payment-system-list {
  --thumb-width: 100px;
  --thumb-height: 40px;
  --radio-size: 12px;
  --border-color: #cccccf59;
  --hover-border-color: hsl(var(--base));
  background-color: hsl(var(--white));
  box-shadow: var(--box-shadow);
  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-thumb {
  background-color: hsl(var(--base));
  border-radius: 10px;
}

.payment-item {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  padding: 10px 18px;
  border-bottom: 1px solid hsl(var(--black) /0.1);
  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 hsl(var(--base));
}

.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 hsl(var(--base)/.6);
  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;
}

.payment-item__btn {
  border: 0;
  border-block: 1px solid var(--border-color);
  border-bottom: 0;
  background: transparent;
  color: hsl(var(--base));
  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;
}

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

.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;
}

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

/* Language */

.dropdown-lang {
  margin-top: 25px;
}

.dropdown-lang .language-btn .flag {
  width: 20px;
  height: 20px;
  border-radius: 50%;
}

.dropdown-lang .language-btn::after {
  color: hsl(var(--white)) !important;
}

.dropdown-lang .language-text {
  color: hsl(var(--body-color));
  font-size: 16px;
}

.dropdown-lang .dropdown-menu {
  width: 112px !important;
  border: 1px solid hsl(var(--border));
  border-radius: 8px;
  padding: 10px !important;
  max-height: 370px;
  overflow-y: auto;
  background-color: hsl(var(--white));
  z-index: 999;
  box-shadow: var(--box-shadow);
  transform: inherit;
  min-width: 130px !important;
  margin-top: 20px;

}

.dropdown-lang .dropdown-menu.show {
  opacity: 1 !important;
  visibility: visible !important;
}

.dropdown-lang .dropdown-menu a {
  display: block;
  margin-bottom: 6px;
  font-size: 14px;
  font-weight: 500;
  text-transform: capitalize;
  color: hsl(var(--body-color));
  transition: 0.3s;
  padding-bottom: 6px;
  border-bottom: 1px solid hsl(var(--black) / 0.1);
}

.dropdown-lang .dropdown-menu a:hover {
  color: hsl(var(--base));
}

.dropdown-lang .dropdown-menu li:last-child a {
  border-bottom: none;
  padding-bottom: 0px;
  margin-bottom: 0px;
}

.dropdown-lang .dropdown-menu a .flag {
  width: 20px;
  height: 20px;
  margin-right: 10px;
  border-radius: 50%;
}

.dropdown-lang .dropdown-menu li:last-child a {
  margin-bottom: 0px;
}

.card-empty {
  margin: 0 auto;
  text-align: center;
  padding: clamp(2rem, 1.391rem + 1.268vw, 2.5rem) clamp(1.5rem, 0.283rem + 2.536vw, 2.5rem);
}

.card-empty img {
  height: 100px;
}

.card-empty .empty-thumb {
  text-align: center;
  margin-bottom: 10px;
}

/* ============================================================
 * SafarList — Custom Additions (Carry module + global text color)
 * Append this block at the END of:
 *   public_html/assets/templates/basic/css/custom.css
 * ============================================================ */

/* ---------- 1) Global text color: darker for readability ---------- */
body,
p,
.text--body,
.feature-item__title a,
.feature-item__contact-area,
.feature-item__contact-number,
.listing-header__title,
.dropdown-item,
table td,
.card-body,
.form--label,
.nav-link {
    color: #1a1a1a !important;
}

/* Keep "muted" subtle but still readable */
.text--muted,
small.text--muted {
    color: #5a5a5a !important;
}

/* Tab labels readable */
.carry-tabs .nav-link {
    color: #1a1a1a !important;
}
.carry-tabs .nav-link.active {
    color: var(--base-color, #00c808) !important;
    font-weight: 600;
    border-bottom: 2px solid var(--base-color, #00c808);
}

/* ---------- 2) Carry Tabs (mobile fix kept) ---------- */
.carry-tabs {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border-bottom: 1px solid #e5e5e5;
}
.carry-tabs .nav-item { flex: 1 1 auto; }
.carry-tabs .nav-link {
    white-space: nowrap;
    text-align: center;
    padding: 12px 14px;
    font-size: 14px;
    border: none;
}
@media (max-width: 575.98px) {
    .carry-tabs .nav-link {
        font-size: 13px;
        padding: 10px 8px;
    }
    .carry-tabs .nav-link i {
        display: block;
        margin-bottom: 4px;
        font-size: 18px;
    }
}

/* ---------- 3) Carry Cards (compact, theme-aware) ---------- */
.carry-card {
    background: #ffffff;
    border: 1px solid #ececec;
    border-radius: 12px;
    overflow: hidden;
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}
.carry-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0,0,0,.08);
    border-color: #d6d6d6;
}

.carry-card__head {
    padding: 14px 14px 0 14px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}
.carry-card__icon {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}
.carry-card__icon.bg--base-soft {
    background: rgba(0,200,8,.10);
}
.carry-card__icon i {
    color: var(--base-color, #00c808);
}
.carry-card__badge {
    background: var(--base-color, #00c808);
    color: #fff;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
}

.carry-card__body {
    padding: 12px 14px;
    flex: 1;
}
.carry-card__title {
    font-size: 15px;
    margin-bottom: 4px;
    line-height: 1.4;
}
.carry-card__title a {
    color: #1a1a1a !important;
    text-decoration: none;
}
.carry-card__title a:hover {
    color: var(--base-color, #00c808) !important;
}
.carry-card__poster {
    color: #777;
    display: block;
    margin-bottom: 12px;
    font-size: 12px;
}
.carry-card__category {
    display: inline-block;
    background: #f4f4f4;
    color: #333;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 12px;
    margin-bottom: 12px;
}

.carry-card__route {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #fafafa;
    padding: 10px;
    border-radius: 8px;
    margin-bottom: 10px;
}
.carry-card__route-item {
    flex: 1;
    text-align: center;
    min-width: 0;
}
.carry-card__route-label {
    font-size: 11px;
    color: #888;
    display: block;
    margin-bottom: 2px;
}
.carry-card__route-city {
    font-size: 14px;
    color: #1a1a1a;
    display: block;
    line-height: 1.2;
    word-break: break-word;
}
.carry-card__route-country {
    font-size: 11px;
    color: #888;
    display: block;
    line-height: 1.2;
}
.carry-card__route-arrow i {
    font-size: 18px;
    color: var(--base-color, #00c808);
}

.carry-card__meta {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    color: #444;
    margin-bottom: 8px;
}
.carry-card__meta i {
    color: #888;
    margin-right: 3px;
}
.carry-card__price {
    font-size: 13px;
    color: #444;
}
.carry-card__price small {
    color: #888;
    margin-right: 4px;
}
.carry-card__deadline {
    font-size: 12px;
    color: #d97706;
    margin-top: 4px;
}

.carry-card__footer {
    padding: 10px 14px 14px 14px;
    border-top: 1px solid #f0f0f0;
}
.carry-card__footer .btn--base {
    background: var(--base-color, #00c808);
    border-color: var(--base-color, #00c808);
    color: #fff;
    font-weight: 600;
    padding: 9px 14px;
    border-radius: 8px;
    font-size: 14px;
}
.carry-card__footer .btn--base:hover {
    filter: brightness(.92);
    color: #fff;
}

/* ---------- 4) List view (horizontal layout) ---------- */
.carry-wrapper.list-view .carry-item {
    width: 100% !important;
    flex: 0 0 100% !important;
    max-width: 100% !important;
}
.carry-wrapper.list-view .carry-card {
    flex-direction: row;
    align-items: stretch;
}
.carry-wrapper.list-view .carry-card__head {
    width: 80px;
    padding: 14px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-right: 1px solid #f0f0f0;
}
.carry-wrapper.list-view .carry-card__body {
    flex: 1;
    padding: 12px 16px;
}
.carry-wrapper.list-view .carry-card__footer {
    border-top: none;
    border-left: 1px solid #f0f0f0;
    display: flex;
    align-items: center;
    width: 180px;
    padding: 14px;
}
@media (max-width: 767.98px) {
    .carry-wrapper.list-view .carry-card {
        flex-direction: column;
    }
    .carry-wrapper.list-view .carry-card__head {
        width: 100%;
        flex-direction: row;
        border-right: none;
        border-bottom: 1px solid #f0f0f0;
    }
    .carry-wrapper.list-view .carry-card__footer {
        width: 100%;
        border-left: none;
        border-top: 1px solid #f0f0f0;
    }
}

/* ---------- 5) View toggle buttons (match listings page style) ---------- */
.view-buttons .btn {
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    background: #fff;
}
.view-buttons .btn.active {
    background: var(--base-color, #00c808);
    color: #fff !important;
    border-color: var(--base-color, #00c808);
}

/* ============================================================
 * SafarList — Dashboard Layout (Sidebar + Widgets)
 * Append at the END of:
 *   public_html/assets/templates/basic/css/custom.css
 *
 * Uses --base-color injected via app.blade.php
 * ============================================================ */

/* ============== Dashboard Layout ============== */
.dashboard {
    position: relative;
}

.dashboard__inner {
    display: flex;
    align-items: flex-start;
    gap: 24px;
    flex-wrap: wrap;
}

.dashboard__right {
    flex: 1;
    min-width: 0;
}

.dashboard .dashboard-body {
    position: relative;
}

/* ============== Sidebar Menu ============== */
.dashboard .sidebar-menu {
    background-color: #ffffff;
    width: 280px;
    padding: 28px 20px;
    border-radius: 16px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    position: sticky;
    top: 100px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.dashboard .sidebar-menu::-webkit-scrollbar {
    width: 3px;
    height: 3px;
}

.dashboard .sidebar-menu::-webkit-scrollbar-thumb {
    background-color: rgba(0, 0, 0, 0.15);
}

@media screen and (max-width: 991px) {
    .dashboard .sidebar-menu {
        transform: translateX(-100%);
        z-index: 9992;
        border-radius: 0;
        height: 100vh;
        overflow-y: auto;
        transition: 0.2s linear;
        width: 280px;
        border: 0;
        border-right: 1px solid rgba(0, 0, 0, 0.15);
        position: fixed;
        left: 0;
        top: 0;
        box-shadow: 0 0 24px rgba(0, 0, 0, 0.1);
    }
    .dashboard .sidebar-menu.show-sidebar {
        transform: translateX(0);
    }
}

.dashboard .sidebar-menu__close {
    position: absolute;
    top: 8px;
    right: 16px;
    color: #555;
    font-size: 1.25rem;
    transition: 0.2s linear;
    cursor: pointer;
    z-index: 9;
    background: transparent;
    border: none;
}

.dashboard .sidebar-menu__close:hover {
    color: var(--base-color, #00c808);
}

/* ============== Auth User Card ============== */
.dashboard .auth-user {
    margin-bottom: 24px;
    text-align: center;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.dashboard .auth-user__image {
    width: 100px;
    height: 100px;
    flex-shrink: 0;
    padding: 5px;
    border: 2px solid var(--base-color, #00c808);
    border-radius: 50%;
    margin: 0 auto 12px;
}

.dashboard .auth-user__image img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.dashboard .auth-user__name {
    line-height: 1.3;
    font-weight: 700;
    margin-bottom: 4px;
    color: #1a1a1a;
    font-size: 16px;
}

.dashboard .auth-user__email {
    color: #777;
    line-height: 1.4;
    font-size: 13px;
    margin-bottom: 0;
    word-break: break-all;
}

/* ============== Sidebar Menu List ============== */
.dashboard .sidebar-menu-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.dashboard .sidebar-menu-list__item {
    margin-bottom: 4px;
    position: relative;
}

.dashboard .sidebar-menu-list__item.active > a {
    background: var(--base-color, #00c808);
    color: #ffffff !important;
}

.dashboard .sidebar-menu-list__item.active > a .icon {
    color: #ffffff !important;
}

.dashboard .sidebar-menu-list__link {
    display: inline-block;
    text-decoration: none;
    position: relative;
    padding: 10px 14px;
    width: 100%;
    color: #1a1a1a !important;
    font-weight: 600;
    border-radius: 8px;
    line-height: 1.5;
    font-size: 14px;
    transition: 0.2s ease;
}

.dashboard .sidebar-menu-list__link:hover {
    background-color: rgba(0, 0, 0, 0.05);
    color: var(--base-color, #00c808) !important;
}

.dashboard .sidebar-menu-list__link .icon {
    margin-right: 10px;
    font-size: 14px;
    width: 20px;
    text-align: center;
    color: var(--base-color, #00c808);
    transition: color 0.2s ease;
}

/* Has-dropdown arrow */
.sidebar-menu-list__item.has-dropdown > a::after {
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    transition: transform 0.2s ease;
    font-size: 12px;
}

.sidebar-menu-list__item.has-dropdown > a:has(+ .sidebar-submenu.open-submenu)::after,
.sidebar-menu-list__item.has-dropdown.active > a::after {
    transform: translateY(-50%) rotate(180deg);
}

/* ============== Sidebar Submenu ============== */
.sidebar-submenu {
    display: none;
    padding-left: 8px;
}

.sidebar-submenu.open-submenu {
    display: block;
}

.sidebar-submenu-list {
    list-style: none;
    padding: 6px 0;
    background: rgba(0, 0, 0, 0.03);
    border-radius: 6px;
    margin-top: 6px;
    margin-bottom: 0;
}

.sidebar-submenu-list__item {
    margin-bottom: 2px;
}

.sidebar-submenu-list__link {
    display: block;
    padding: 7px 14px 7px 32px;
    width: 100%;
    color: #444 !important;
    font-weight: 500;
    border-radius: 6px;
    line-height: 1.5;
    font-size: 13px;
    text-decoration: none;
    transition: 0.2s ease;
}

.sidebar-submenu-list__link:hover {
    background-color: rgba(0, 200, 8, 0.08);
    color: var(--base-color, #00c808) !important;
}

.sidebar-submenu-list__link.active {
    background-color: rgba(0, 200, 8, 0.12);
    color: var(--base-color, #00c808) !important;
    font-weight: 600;
}

.sidebar-submenu-list__badge {
    background-color: var(--base-color, #00c808);
    color: #ffffff;
    border-radius: 10px;
    padding: 2px 8px;
    font-size: 11px;
    margin-left: 6px;
    font-weight: 600;
}

/* Notification count next to menu item */
.menu-count {
    font-size: 11px;
    color: #ffffff;
    background: var(--base-color, #00c808);
    padding: 3px 7px;
    line-height: 1;
    border-radius: 10px;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: 36px;
    font-weight: 600;
}

/* ============== Mobile Top Bar ============== */
.dashboard-body__bar {
    justify-content: space-between;
    align-items: center;
    padding: 10px 16px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 12px;
    margin-bottom: 20px;
    background-color: #ffffff;
}

.dashboard-body__bar-icon {
    color: #444;
    font-size: 1.5rem;
    cursor: pointer;
    margin-bottom: 0 !important;
}

.dashboard-profile {
    display: flex;
    align-items: center;
    gap: 8px;
}

.dashboard-profile img {
    height: 36px;
    width: 36px;
    padding: 3px;
    border: 1px solid rgba(0, 200, 8, 0.4);
    border-radius: 50%;
    object-fit: cover;
}

.dashboard-profile .name {
    font-weight: 700;
    font-size: 14px;
    color: #1a1a1a;
    margin: 0;
}

/* ============== Dashboard Widgets (Cards) ============== */
.dashboard .dashboard-widget {
    padding: 24px 20px;
    border-radius: 16px;
    position: relative;
    z-index: 1;
    overflow: hidden;
    background-color: #ffffff;
    transition: 0.25s ease-in-out;
    border: 1px solid rgba(0, 0, 0, 0.08);
    height: 100%;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.dashboard .dashboard-widget:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    border-color: var(--base-color, #00c808);
}

.dashboard .dashboard-widget__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 12px;
    background: rgba(0, 200, 8, 0.12);
    color: var(--base-color, #00c808);
    font-size: 26px;
    margin-bottom: 16px;
}

.dashboard .dashboard-widget__number {
    margin-bottom: 4px;
    font-size: 28px;
    font-weight: 700;
    color: #1a1a1a;
    line-height: 1.2;
}

.dashboard .dashboard-widget__text {
    color: #666;
    font-weight: 500;
    line-height: 1.4;
    font-size: 14px;
}

/* ============== Custom Card (Tables, Plans) ============== */
.custom--card {
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 12px;
    background: #ffffff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.custom--card .card-header {
    background: #fafafa;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    padding: 14px 18px;
    border-radius: 12px 12px 0 0 !important;
}

.custom--card .card-header h6 {
    color: #1a1a1a;
}

.custom--card .card-body {
    padding: 18px;
}

/* Dashboard table styling */
.dashboard-table .table {
    margin-bottom: 0;
}

.dashboard-table .table thead th {
    border: none;
    background: transparent;
    color: #555;
    font-weight: 600;
    font-size: 13px;
    padding: 12px 10px;
}

.dashboard-table .table tbody td {
    color: #1a1a1a;
    padding: 14px 10px;
    border-color: rgba(0, 0, 0, 0.05);
    vertical-align: middle;
}

/* ============== Responsive Tables ============== */
@media (max-width: 767.98px) {
    .table--responsive--xl thead {
        display: none;
    }
    .table--responsive--xl tbody tr {
        display: block;
        margin-bottom: 12px;
        border: 1px solid rgba(0, 0, 0, 0.08);
        border-radius: 8px;
        padding: 8px;
    }
    .table--responsive--xl tbody tr td {
        display: flex;
        justify-content: space-between;
        align-items: center;
        text-align: right;
        padding: 8px;
        border: none;
        border-bottom: 1px solid rgba(0, 0, 0, 0.04);
    }
    .table--responsive--xl tbody tr td:last-child {
        border-bottom: 0;
    }
    .table--responsive--xl tbody tr td::before {
        content: attr(data-label);
        font-weight: 600;
        color: #555;
        margin-right: 12px;
    }
}

/* ============== Buttons ============== */
.btn-outline--base {
    background: transparent;
    border: 1px solid var(--base-color, #00c808);
    color: var(--base-color, #00c808);
    font-weight: 600;
}

.btn-outline--base:hover {
    background: var(--base-color, #00c808);
    color: #ffffff;
}

.btn--sm {
    padding: 5px 12px;
    font-size: 12px;
}

/* ============== Badges ============== */
.badge--success { background: #16a34a; color: #fff; padding: 4px 10px; border-radius: 6px; font-size: 11px; }
.badge--warning { background: #f59e0b; color: #fff; padding: 4px 10px; border-radius: 6px; font-size: 11px; }
.badge--danger  { background: #dc2626; color: #fff; padding: 4px 10px; border-radius: 6px; font-size: 11px; }
.badge--dark    { background: #4b5563; color: #fff; padding: 4px 10px; border-radius: 6px; font-size: 11px; }
.badge--info    { background: #0ea5e9; color: #fff; padding: 4px 10px; border-radius: 6px; font-size: 11px; }
.badge--primary { background: var(--base-color, #00c808); color: #fff; padding: 4px 10px; border-radius: 6px; font-size: 11px; }

/* ============== Alerts (KYC) ============== */
.dashboard .alert {
    border-radius: 10px;
    padding: 14px 18px;
    border-left: 4px solid;
}
.dashboard .alert-danger  { background: #fef2f2; border-color: #dc2626; }
.dashboard .alert-warning { background: #fffbeb; border-color: #f59e0b; }
.dashboard .alert-success { background: #f0fdf4; border-color: #16a34a; }

/* ============== Responsive: stack sidebar on smaller screens ============== */
@media (max-width: 991px) {
    .dashboard__inner {
        gap: 16px;
    }
}

/* ============================================================
 * SafarList — Header Background Fix
 * Append at the END of:
 *   public_html/assets/templates/basic/css/custom.css
 * ============================================================ */

/* Force header background to black */
header.header,
#header,
.header {
    background-color: #000000 !important;
}

/* Make sure header text stays white (override our earlier global black) */
header.header .nav-link,
header.header .navbar-brand,
header.header .dropdown-toggle,
header.header a,
.header .nav-link,
.header a:not(.dropdown-item) {
    color: #ffffff !important;
}

/* Active/hover state in header — use theme color */
header.header .nav-link:hover,
header.header .nav-link.active,
header.header .nav-link.text--base {
    color: var(--base-color, #00c808) !important;
}

/* Dropdown menu inside header should have white background and dark text */
header.header .dropdown-menu {
    background-color: #ffffff !important;
}
header.header .dropdown-menu a,
header.header .dropdown-item {
    color: #1a1a1a !important;
}
header.header .dropdown-menu a:hover,
header.header .dropdown-item:hover {
    color: var(--base-color, #00c808) !important;
    background-color: rgba(0, 200, 8, 0.08) !important;
}

/* Language flag/dropdown text */
header.header .language-btn,
header.header .dropdown-lang a {
    color: #ffffff !important;
}

/* ============================================================
 * SafarList — Dashboard Beautification
 * Append at END of: public_html/assets/templates/basic/css/custom.css
 * ============================================================ */

/* Soft background for dashboard area */
.dashboard {
    background: linear-gradient(180deg, #f8faf9 0%, #f0f4f2 100%);
    min-height: calc(100vh - 80px);
}

/* ============== Sidebar — softer & more elegant ============== */
.dashboard .sidebar-menu {
    background: linear-gradient(180deg, #ffffff 0%, #fafefb 100%);
    border: 1px solid rgba(0, 200, 8, 0.15);
    box-shadow: 0 4px 20px rgba(0, 200, 8, 0.06), 0 1px 3px rgba(0, 0, 0, 0.04);
}

.dashboard .auth-user {
    padding-bottom: 22px;
    border-bottom: 1px solid rgba(0, 200, 8, 0.12);
}

.dashboard .auth-user__image {
    border: 3px solid var(--base-color, #00c808);
    box-shadow: 0 4px 12px rgba(0, 200, 8, 0.2);
}

/* Sidebar menu items — gradient hover */
.dashboard .sidebar-menu-list__link {
    transition: all 0.25s ease;
    border-left: 3px solid transparent;
}

.dashboard .sidebar-menu-list__link:hover {
    background: linear-gradient(90deg, rgba(0, 200, 8, 0.08) 0%, rgba(0, 200, 8, 0.02) 100%);
    border-left-color: var(--base-color, #00c808);
    transform: translateX(2px);
}

.dashboard .sidebar-menu-list__item.active > a {
    background: linear-gradient(135deg, var(--base-color, #00c808) 0%, #00a606 100%);
    box-shadow: 0 4px 12px rgba(0, 200, 8, 0.3);
    border-left-color: transparent;
}

/* ============== Widget Cards — colorful & alive ============== */
.dashboard .dashboard-widget {
    padding: 22px 20px;
    border-radius: 14px;
    background: #ffffff;
    border: none;
    border-left: 4px solid var(--base-color, #00c808);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
    position: relative;
    overflow: hidden;
}

/* Decorative gradient blob in corner */
.dashboard .dashboard-widget::before {
    content: "";
    position: absolute;
    top: -30px;
    right: -30px;
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, rgba(0, 200, 8, 0.12) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 0;
}

.dashboard .dashboard-widget:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 200, 8, 0.15);
}

/* Different left border colors for variety */
.row > div:nth-child(1) .dashboard-widget { border-left-color: #00c808; }
.row > div:nth-child(1) .dashboard-widget__icon { background: rgba(0, 200, 8, 0.12); color: #00c808; }

.row > div:nth-child(2) .dashboard-widget { border-left-color: #16a34a; }
.row > div:nth-child(2) .dashboard-widget__icon { background: rgba(22, 163, 74, 0.12); color: #16a34a; }

.row > div:nth-child(3) .dashboard-widget { border-left-color: #f59e0b; }
.row > div:nth-child(3) .dashboard-widget__icon { background: rgba(245, 158, 11, 0.12); color: #f59e0b; }

.row > div:nth-child(4) .dashboard-widget { border-left-color: #6366f1; }
.row > div:nth-child(4) .dashboard-widget__icon { background: rgba(99, 102, 241, 0.12); color: #6366f1; }

.dashboard .dashboard-widget__icon {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    position: relative;
    z-index: 1;
}

.dashboard .dashboard-widget__number {
    font-size: 30px;
    font-weight: 800;
    color: #1a1a1a;
    position: relative;
    z-index: 1;
}

.dashboard .dashboard-widget__text {
    font-weight: 600;
    color: #555;
    position: relative;
    z-index: 1;
}

/* ============== Custom Cards (Plan / Tables) — elegant ============== */
.custom--card {
    border: none;
    border-radius: 14px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    background: #ffffff;
}

.custom--card .card-header {
    background: linear-gradient(135deg, #fafafa 0%, #f5f5f5 100%);
    border-bottom: 1px solid rgba(0, 200, 8, 0.1);
    padding: 16px 20px;
}

.custom--card .card-header h6 {
    color: #1a1a1a;
    font-weight: 700;
}

.custom--card .card-body {
    padding: 20px;
}

/* ============== Quick Action Buttons — punchy ============== */
.dashboard .btn--base,
.dashboard .btn--info,
.dashboard .btn--success,
.dashboard .btn--primary {
    border-radius: 10px;
    padding: 11px 18px;
    font-weight: 600;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
    transition: all 0.2s ease;
    border: none;
}

.dashboard .btn--base {
    background: linear-gradient(135deg, var(--base-color, #00c808) 0%, #00a606 100%);
    color: #fff;
}

.dashboard .btn--info {
    background: linear-gradient(135deg, #0ea5e9 0%, #0284c7 100%);
    color: #fff;
}

.dashboard .btn--success {
    background: linear-gradient(135deg, #16a34a 0%, #15803d 100%);
    color: #fff;
}

.dashboard .btn--primary {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: #fff;
}

.dashboard .btn--base:hover,
.dashboard .btn--info:hover,
.dashboard .btn--success:hover,
.dashboard .btn--primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    color: #fff;
}

.dashboard .btn-outline--base {
    background: #ffffff;
    border: 2px solid var(--base-color, #00c808);
    color: var(--base-color, #00c808);
    border-radius: 10px;
    padding: 9px 18px;
    font-weight: 600;
    box-shadow: 0 2px 6px rgba(0, 200, 8, 0.1);
}

.dashboard .btn-outline--base:hover {
    background: var(--base-color, #00c808);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 200, 8, 0.25);
}

/* ============== Form Inputs — rounded & soft ============== */
.dashboard .form--control,
.dashboard input[type="text"],
.dashboard input[type="email"],
.dashboard input[type="password"],
.dashboard input[type="number"],
.dashboard textarea,
.dashboard select {
    border-radius: 10px !important;
    border: 1.5px solid rgba(0, 0, 0, 0.1) !important;
    padding: 11px 16px !important;
    background: #fafafa !important;
    transition: all 0.2s ease;
    font-size: 14px;
}

.dashboard .form--control:focus,
.dashboard input:focus,
.dashboard textarea:focus,
.dashboard select:focus {
    border-color: var(--base-color, #00c808) !important;
    background: #ffffff !important;
    box-shadow: 0 0 0 3px rgba(0, 200, 8, 0.1) !important;
    outline: none !important;
}

.dashboard .form--label {
    font-weight: 600;
    color: #333;
    margin-bottom: 6px;
    font-size: 13px;
}

/* ============== Alerts — softer corners ============== */
.dashboard .alert {
    border-radius: 12px;
    padding: 16px 20px;
    border: none;
    border-left: 4px solid;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.dashboard .alert-danger {
    background: linear-gradient(135deg, #fef2f2 0%, #fee2e2 100%);
    border-color: #dc2626;
}

.dashboard .alert-warning {
    background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
    border-color: #f59e0b;
}

.dashboard .alert-success {
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
    border-color: #16a34a;
}

/* ============== Tables — cleaner rows ============== */
.dashboard-table .table {
    border-collapse: separate;
    border-spacing: 0 6px;
}

.dashboard-table .table tbody tr {
    background: #ffffff;
    transition: all 0.2s ease;
}

.dashboard-table .table tbody tr:hover {
    background: rgba(0, 200, 8, 0.03);
}

.dashboard-table .table tbody td {
    padding: 14px 12px;
    border: none;
    border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}

.dashboard-table .table thead th {
    background: rgba(0, 200, 8, 0.05);
    color: #1a1a1a;
    font-weight: 700;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 12px;
    border: none;
}

/* ============== Plan card — special styling ============== */
.custom--card .border-bottom,
.custom--card div[class*="border-bottom"] {
    border-color: rgba(0, 200, 8, 0.08) !important;
    border-style: dashed !important;
}

/* ============== Badges — pill style ============== */
.dashboard .badge--success,
.dashboard .badge--warning,
.dashboard .badge--danger,
.dashboard .badge--dark,
.dashboard .badge--info,
.dashboard .badge--primary {
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.3px;
}

/* ============================================================
 * SafarList — Sidebar Typography Fix (better readability)
 * Append at END of custom.css
 * ============================================================ */

/* Bigger, bolder sidebar menu items */
.dashboard .sidebar-menu-list__link {
    font-size: 16px !important;
    font-weight: 600 !important;
    padding: 12px 16px !important;
    letter-spacing: 0.2px;
}

.dashboard .sidebar-menu-list__link .icon {
    font-size: 17px !important;
    width: 22px !important;
    margin-right: 12px !important;
}

/* Submenu items — slightly smaller but still readable */
.sidebar-submenu-list__link {
    font-size: 14px !important;
    font-weight: 500 !important;
    padding: 9px 14px 9px 36px !important;
}

/* Auth user name & email — bigger */
.dashboard .auth-user__name {
    font-size: 17px !important;
    font-weight: 700 !important;
}

.dashboard .auth-user__email {
    font-size: 13px !important;
    color: #666 !important;
}

/* ============================================================
 * SafarList — Dashboard Spacing Fix (top padding)
 * Append at END of custom.css
 * ============================================================ */

/* Override py-120 only on dashboard pages — give breathing room from header */
.dashboard.py-120 {
    padding-top: 50px !important;
    padding-bottom: 60px !important;
}

@media (max-width: 991px) {
    .dashboard.py-120 {
        padding-top: 30px !important;
    }
}

/* ============================================================
 * SafarList — Dashboard Spacing Fix v2
 * Append at END of custom.css (after the previous spacing block)
 * This OVERRIDES the previous one
 * ============================================================ */

/* Header is fixed at top — keep enough top padding so dashboard isn't hidden */
.dashboard.py-120 {
    padding-top: 130px !important;
    padding-bottom: 60px !important;
}

@media (max-width: 991px) {
    .dashboard.py-120 {
        padding-top: 110px !important;
    }
}

/* ============================================================
 * SafarList — Send & Carry Public Pages Beautification
 * Append at END of: public_html/assets/templates/basic/css/custom.css
 * ============================================================ */

/* ===== Soft background for whole carry section ===== */
body:has(.carry-card),
body:has(.carry-tabs) {
    background: linear-gradient(180deg, #f8faf9 0%, #f0f4f2 100%);
}

/* ===== Carry Tabs — more polished ===== */
.carry-tabs {
    border-bottom: 2px solid rgba(0, 200, 8, 0.1);
    background: #ffffff;
    border-radius: 12px 12px 0 0;
    padding: 4px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}
.carry-tabs .nav-link {
    border-radius: 8px;
    transition: all 0.25s ease;
}
.carry-tabs .nav-link:hover {
    background: rgba(0, 200, 8, 0.05);
}
.carry-tabs .nav-link.active {
    background: linear-gradient(135deg, var(--base-color, #00c808) 0%, #00a606 100%) !important;
    color: #ffffff !important;
    border-bottom: none !important;
    box-shadow: 0 4px 12px rgba(0, 200, 8, 0.25);
}
.carry-tabs .nav-link.active i,
.carry-tabs .nav-link.active span {
    color: #ffffff !important;
}

/* ===== Filter Form — rounded inputs ===== */
form .form--control,
form select.form--control {
    border-radius: 10px !important;
    border: 1.5px solid rgba(0, 0, 0, 0.1) !important;
    padding: 11px 16px !important;
    background: #ffffff !important;
    transition: all 0.2s ease;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
}
form .form--control:focus,
form select.form--control:focus {
    border-color: var(--base-color, #00c808) !important;
    box-shadow: 0 0 0 3px rgba(0, 200, 8, 0.1) !important;
    outline: none !important;
}
.select2-container .select2-selection--single {
    border-radius: 10px !important;
    border: 1.5px solid rgba(0, 0, 0, 0.1) !important;
    height: 46px !important;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
}
.select2-container .select2-selection--single .select2-selection__rendered {
    line-height: 44px !important;
    padding-left: 14px !important;
}

/* ===== Carry Cards — colorful left border + shadow ===== */
.carry-card {
    border: none !important;
    border-left: 4px solid var(--base-color, #00c808) !important;
    border-radius: 14px !important;
    background: #ffffff !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06) !important;
    transition: all 0.3s ease !important;
    overflow: hidden;
    position: relative;
}
.carry-card:hover {
    transform: translateY(-4px) !important;
    box-shadow: 0 12px 32px rgba(0, 200, 8, 0.15) !important;
}

/* Decorative corner blob */
.carry-card::before {
    content: "";
    position: absolute;
    top: -30px;
    right: -30px;
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, rgba(0, 200, 8, 0.10) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 0;
    pointer-events: none;
}

/* Trip cards = blue accent, Package cards = green */
.carry-item:nth-child(odd) .carry-card {
    border-left-color: var(--base-color, #00c808) !important;
}
.carry-item:nth-child(even) .carry-card {
    border-left-color: #0ea5e9 !important;
}
.carry-item:nth-child(even) .carry-card::before {
    background: radial-gradient(circle, rgba(14, 165, 233, 0.10) 0%, transparent 70%);
}

/* Card icon */
.carry-card__icon {
    width: 44px !important;
    height: 44px !important;
    border-radius: 12px !important;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.06);
    background: rgba(0, 200, 8, 0.12) !important;
}
.carry-card__icon i {
    font-size: 20px !important;
    color: var(--base-color, #00c808) !important;
}

/* Card title bold and colorful */
.carry-card__title {
    font-size: 16px !important;
    font-weight: 700 !important;
}
.carry-card__title a {
    color: #1a1a1a !important;
    transition: color 0.2s ease;
}
/* Route box with gradient */
.carry-card__route {
    background: linear-gradient(135deg, #fafafa 0%, #f5f5f5 100%) !important;
    border-radius: 10px !important;
    padding: 12px !important;
}
.carry-card__route-arrow i {
    color: var(--base-color, #00c808) !important;
    font-size: 22px !important;
}

/* Card meta row */
.carry-card__meta {
    border-top: 1px dashed rgba(0, 200, 8, 0.15);
    padding-top: 10px;
    margin-top: 8px;
}

/* Footer button — gradient */
.carry-card__footer {
    border-top: 1px solid rgba(0, 200, 8, 0.08) !important;
    background: linear-gradient(180deg, #ffffff 0%, #fafefb 100%);
    padding: 12px 14px !important;
}
.carry-card__footer .btn--base {
    background: linear-gradient(135deg, var(--base-color, #00c808) 0%, #00a606 100%) !important;
    border: none !important;
    border-radius: 10px !important;
    padding: 10px 16px !important;
    font-weight: 600 !important;
    box-shadow: 0 4px 10px rgba(0, 200, 8, 0.2) !important;
    transition: all 0.2s ease !important;
}
.carry-card__footer .btn--base:hover {
    transform: translateY(-1px) !important;
    box-shadow: 0 6px 16px rgba(0, 200, 8, 0.3) !important;
    filter: brightness(1.05);
}

/* Search button styling */
.btn--base {
    background: linear-gradient(135deg, var(--base-color, #00c808) 0%, #00a606 100%) !important;
    border: none !important;
    border-radius: 10px !important;
}

/* Action buttons (Post a Trip / Post a Package) — beefier */
.btn--info,
.btn--base {
    border-radius: 12px !important;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.25s ease !important;
}
.btn--info:hover,
.btn--base:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

/* View toggle buttons */
.view-buttons .btn {
    border-radius: 8px;
    transition: all 0.2s ease;
}
.view-buttons .btn:hover {
    border-color: var(--base-color, #00c808);
    color: var(--base-color, #00c808) !important;
}
.view-buttons .btn.active {
    background: var(--base-color, #00c808) !important;
    color: #ffffff !important;
    box-shadow: 0 2px 8px rgba(0, 200, 8, 0.25);
}

/* ===== Trip/Package Detail Page (single view) ===== */
.feature-item {
    background: #ffffff !important;
    border: none !important;
    border-radius: 14px !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05) !important;
}

/* ============================================================
 * SafarList — Send & Carry Mobile Responsive Fixes
 * Append at END of custom.css
 * ============================================================ */

/* ===== Tablet (≤991px) ===== */
@media (max-width: 991.98px) {
    .carry-card__route {
        padding: 10px !important;
    }
    .carry-card__route-city {
        font-size: 13px !important;
    }
    .carry-card__route-country {
        font-size: 10px !important;
    }
    .carry-card__title {
        font-size: 15px !important;
    }
}

/* ===== Mobile (≤575px) ===== */
@media (max-width: 575.98px) {
    /* Smaller decorative blob on mobile */
    .carry-card::before {
        width: 60px !important;
        height: 60px !important;
        top: -20px !important;
        right: -20px !important;
    }

    /* Tighter card padding */
    .carry-card__head {
        padding: 12px 12px 0 12px !important;
    }
    .carry-card__body {
        padding: 10px 12px !important;
    }
    .carry-card__footer {
        padding: 10px 12px !important;
    }

    /* Smaller icon */
    .carry-card__icon {
        width: 38px !important;
        height: 38px !important;
    }
    .carry-card__icon i {
        font-size: 17px !important;
    }

    /* Title smaller */
    .carry-card__title {
        font-size: 14px !important;
    }
    .carry-card__poster {
        font-size: 11px !important;
    }

    /* Route box more compact */
    .carry-card__route {
        padding: 8px !important;
        gap: 4px !important;
    }
    .carry-card__route-city {
        font-size: 12px !important;
    }
    .carry-card__route-arrow i {
        font-size: 16px !important;
    }
    .carry-card__route-label {
        font-size: 10px !important;
    }

    /* Meta + price */
    .carry-card__meta {
        font-size: 12px !important;
    }
    .carry-card__price,
    .carry-card__deadline {
        font-size: 11px !important;
    }

    /* Button smaller */
    .carry-card__footer .btn--base {
        padding: 8px 12px !important;
        font-size: 13px !important;
    }

    /* Filter form: stack on mobile */
    form .form--control,
    form select.form--control {
        padding: 9px 12px !important;
        font-size: 13px !important;
    }
    .select2-container .select2-selection--single {
        height: 40px !important;
    }
    .select2-container .select2-selection--single .select2-selection__rendered {
        line-height: 38px !important;
    }

    /* Tabs more compact */
    .carry-tabs {
        padding: 3px !important;
    }
    .carry-tabs .nav-link {
        padding: 8px 6px !important;
        font-size: 12px !important;
    }
    .carry-tabs .nav-link i {
        font-size: 16px !important;
    }

    /* Action buttons (Post Trip / Post Package) — smaller */
    section .btn--info.py-3,
    section .btn--base.py-3 {
        padding: 12px 8px !important;
        font-size: 13px !important;
    }
}

/* ===== Very small mobile (≤375px) ===== */
@media (max-width: 375px) {
    .carry-card__title {
        font-size: 13px !important;
    }
    .carry-card__route-city {
        font-size: 11px !important;
    }
}

/* ============================================================
 * SafarList — Trips (blue) vs Packages (green) color separation
 * Append at END of custom.css
 * ============================================================ */

/* ===== When Trips tab is active: trip cards = BLUE ===== */
body:has(.carry-tabs .nav-link.active[href*="tab=trips"]) .carry-item .carry-card,
body:has(.carry-tabs .nav-link.active[href*="tab=trips"]) .carry-item:nth-child(odd) .carry-card,
body:has(.carry-tabs .nav-link.active[href*="tab=trips"]) .carry-item:nth-child(even) .carry-card {
    border-left-color: #0ea5e9 !important;
}

body:has(.carry-tabs .nav-link.active[href*="tab=trips"]) .carry-card::before {
    background: radial-gradient(circle, rgba(14, 165, 233, 0.10) 0%, transparent 70%) !important;
}

body:has(.carry-tabs .nav-link.active[href*="tab=trips"]) .carry-card__icon {
    background: rgba(14, 165, 233, 0.12) !important;
}

body:has(.carry-tabs .nav-link.active[href*="tab=trips"]) .carry-card__icon i,
body:has(.carry-tabs .nav-link.active[href*="tab=trips"]) .carry-card__route-arrow i,
body:has(.carry-tabs .nav-link.active[href*="tab=trips"]) .carry-card__title a:hover {
    color: #0ea5e9 !important;
}

/* Trip card button — blue */
body:has(.carry-tabs .nav-link.active[href*="tab=trips"]) .carry-card__footer .btn--base {
    background: linear-gradient(135deg, #0ea5e9 0%, #0284c7 100%) !important;
    box-shadow: 0 4px 10px rgba(14, 165, 233, 0.25) !important;
}
body:has(.carry-tabs .nav-link.active[href*="tab=trips"]) .carry-card__footer .btn--base:hover {
    box-shadow: 0 6px 16px rgba(14, 165, 233, 0.35) !important;
}

/* Trip card hover shadow — blue tint */
body:has(.carry-tabs .nav-link.active[href*="tab=trips"]) .carry-card:hover {
    box-shadow: 0 12px 32px rgba(14, 165, 233, 0.15) !important;
}

/* Active "Available Trips" tab button — blue */
.carry-tabs .nav-link.active[href*="tab=trips"] {
    background: linear-gradient(135deg, #0ea5e9 0%, #0284c7 100%) !important;
    box-shadow: 0 4px 12px rgba(14, 165, 233, 0.25) !important;
}

/* ===== When Packages tab is active: package cards = GREEN (default) ===== */
/* Already green from base styles — no override needed. */
/* Just ensure even/odd alternation is OFF for package tab too: */
body:has(.carry-tabs .nav-link.active[href*="tab=packages"]) .carry-item .carry-card,
body:has(.carry-tabs .nav-link.active[href*="tab=packages"]) .carry-item:nth-child(odd) .carry-card,
body:has(.carry-tabs .nav-link.active[href*="tab=packages"]) .carry-item:nth-child(even) .carry-card {
    border-left-color: var(--base-color, #00c808) !important;
}
body:has(.carry-tabs .nav-link.active[href*="tab=packages"]) .carry-item:nth-child(even) .carry-card::before {
    background: radial-gradient(circle, rgba(0, 200, 8, 0.10) 0%, transparent 70%) !important;
}

/* ============================================================
 * SafarList — Carry Detail Pages Beautification
 * Append at END of custom.css
 * ============================================================ */

/* ===== Detail page main card (.feature-item) ===== */
.feature-item {
    background: #ffffff !important;
    border: none !important;
    border-radius: 14px !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05) !important;
    border-left: 4px solid var(--base-color, #00c808);
    overflow: hidden;
    position: relative;
}

/* Trip detail = blue accent */
section .feature-item:has(.la-plane.la-3x),
section .feature-item:has(h3 .la-plane) {
    border-left-color: #0ea5e9;
}

/* From/To boxes */
.bg--info-soft {
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.08) 0%, rgba(14, 165, 233, 0.04) 100%) !important;
    border: 1px solid rgba(14, 165, 233, 0.15) !important;
}
.bg--success-soft {
    background: linear-gradient(135deg, rgba(0, 200, 8, 0.08) 0%, rgba(0, 200, 8, 0.04) 100%) !important;
    border: 1px solid rgba(0, 200, 8, 0.15) !important;
}

/* ===== Compact stat cards (replaces big dashboard-widget) ===== */
.trip-stat {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px;
    background: linear-gradient(135deg, #ffffff 0%, #fafafa 100%);
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
    transition: all 0.25s ease;
    height: 100%;
}
.trip-stat:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 200, 8, 0.1);
    border-color: rgba(0, 200, 8, 0.2);
}

.trip-stat__icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: rgba(0, 200, 8, 0.1);
    color: var(--base-color, #00c808);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.trip-stat__content {
    flex: 1;
    min-width: 0;
}

.trip-stat__content small {
    color: #777;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    display: block;
    margin-bottom: 2px;
}

.trip-stat__content h6 {
    margin: 0;
    font-size: 16px;
    font-weight: 700;
    color: #1a1a1a;
    line-height: 1.2;
    word-break: break-word;
}

/* On trip detail page, give stats blue accent */
section .feature-item:has(.la-plane.la-3x) ~ * .trip-stat__icon,
.col-lg-8 .feature-item:has(.la-plane) .trip-stat__icon {
    background: rgba(14, 165, 233, 0.1);
    color: #0ea5e9;
}

/* ===== Sidebar info card (right column) ===== */
.col-lg-4 .feature-item {
    border-left-color: var(--base-color, #00c808);
}

.col-lg-4 .feature-item h5 {
    color: #1a1a1a;
    font-weight: 700;
    border-bottom: 2px solid rgba(0, 200, 8, 0.1);
    padding-bottom: 10px;
}

/* Contact info alert */
.alert--success {
    background: linear-gradient(135deg, rgba(0, 200, 8, 0.08) 0%, rgba(0, 200, 8, 0.04) 100%) !important;
    border: 1px solid rgba(0, 200, 8, 0.2) !important;
    border-left: 4px solid var(--base-color, #00c808) !important;
    border-radius: 10px !important;
    color: #1a1a1a;
}

.alert--warning {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.08) 0%, rgba(245, 158, 11, 0.04) 100%) !important;
    border: 1px solid rgba(245, 158, 11, 0.2) !important;
    border-left: 4px solid #f59e0b !important;
    border-radius: 10px !important;
    color: #1a1a1a;
}

.alert--info {
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.08) 0%, rgba(14, 165, 233, 0.04) 100%) !important;
    border: 1px solid rgba(14, 165, 233, 0.2) !important;
    border-left: 4px solid #0ea5e9 !important;
    border-radius: 10px !important;
    color: #1a1a1a;
}

/* Report user button */
.btn-outline--danger {
    border: 1.5px solid #dc2626 !important;
    color: #dc2626 !important;
    border-radius: 10px !important;
    padding: 9px 16px !important;
    font-weight: 600;
    background: #ffffff;
    transition: all 0.2s ease;
}
.btn-outline--danger:hover {
    background: #dc2626 !important;
    color: #ffffff !important;
}

/* Accepted package types badges */
.badge--secondary {
    background: linear-gradient(135deg, #f3f4f6 0%, #e5e7eb 100%) !important;
    color: #374151 !important;
    border: 1px solid #d1d5db !important;
    padding: 6px 12px !important;
    border-radius: 8px !important;
    font-weight: 500;
    font-size: 12px !important;
}

/* ===== Mobile responsive for detail pages ===== */
@media (max-width: 575.98px) {
    .feature-item.p-4 {
        padding: 16px !important;
    }
    .feature-item h3 {
        font-size: 18px !important;
    }
    .trip-stat {
        padding: 10px;
    }
    .trip-stat__icon {
        width: 38px;
        height: 38px;
        font-size: 17px;
    }
    .trip-stat__content h6 {
        font-size: 14px;
    }
    .trip-stat__content small {
        font-size: 10px;
    }
    .bg--info-soft,
    .bg--success-soft {
        padding: 10px !important;
    }
    .bg--info-soft h5,
    .bg--success-soft h5 {
        font-size: 16px !important;
    }
    /* Plane icon between cities — smaller on mobile */
    .col-md-2 .la-plane.la-3x {
        font-size: 1.5em !important;
    }
}

/* ============================================================
 * Header Balance Pill
 * Append to: public_html/assets/templates/basic/css/custom.css
 * ============================================================ */
.header-balance {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    margin-right: 12px;
    background: linear-gradient(135deg, rgba(0, 200, 8, 0.15) 0%, rgba(0, 200, 8, 0.08) 100%);
    border: 1px solid rgba(0, 200, 8, 0.3);
    border-radius: 20px;
    color: var(--base-color, #00c808) !important;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.2s ease;
    text-decoration: none;
}
.header-balance:hover {
    background: linear-gradient(135deg, rgba(0, 200, 8, 0.25) 0%, rgba(0, 200, 8, 0.15) 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 200, 8, 0.2);
    color: var(--base-color, #00c808) !important;
}
.header-balance i {
    font-size: 16px;
}

/* ============================================================
 * Header Balance — inside My Account dropdown
 * Append to: public_html/assets/templates/basic/css/custom.css
 *
 * NOTE: If you previously added the older .header-balance CSS,
 * please REMOVE it first since this replaces that approach.
 * ============================================================ */
.dropdown-balance-item {
    border-bottom: 2px solid rgba(0, 200, 8, 0.15);
    background: linear-gradient(135deg, rgba(0, 200, 8, 0.08) 0%, rgba(0, 200, 8, 0.04) 100%);
    margin-bottom: 4px;
}
.dropdown-balance-item .dropdown-menu__link {
    display: flex !important;
    align-items: center;
    gap: 8px;
    color: var(--base-color, #00c808) !important;
    font-weight: 600;
}
.dropdown-balance-item .dropdown-menu__link:hover {
    background: rgba(0, 200, 8, 0.12) !important;
}
.dropdown-balance-item i {
    font-size: 16px;
}
.dropdown-balance-item small {
    color: #777;
    font-weight: 400;
    font-size: 11px;
}
/* ============================================================
 * Balance & Amount — All blue + Header fix
 * REPLACE the previous blue-amount block in custom.css with this one
 * ============================================================ */

/* All h3 in card bodies */
.custom--card .card-body h3 {
    color: #2563eb !important;
}

/* Sidebar profile balance + header dropdown balance */
.auth-user__balance h6,
.dropdown-balance-item strong,
.dropdown-balance-item .dropdown-menu__link {
    color: #2563eb !important;
}

/* Wallet History — Amount and Balance After cells */
.custom--card table td:nth-child(4),
.custom--card table td:nth-child(5),
.custom--card table td:nth-child(4) strong,
.custom--card table td:nth-child(5) strong {
    color: #2563eb !important;
}
.custom--card table .text--success,
.custom--card table .text--danger {
    color: #2563eb !important;
}

/* ============================================================
 * Header — keep menu items on one line, smaller on tablets
 * ============================================================ */
.header .navbar-nav .nav-item .nav-link {
    white-space: nowrap;
}
.header .navbar-nav.nav-menu {
    column-gap: 4px;
}
@media (max-width: 1199.98px) and (min-width: 992px) {
    .header .navbar-nav .nav-item .nav-link {
        font-size: 13px;
        padding-left: 6px !important;
        padding-right: 6px !important;
    }
}

/* ============================================================
 * LISTING CARD BEAUTIFICATION v2 — modern card with date badge,
 * inset image, divider, country subtitle, pill "Call Now" button.
 * Applies globally (Home, /listings, Categories, etc.)
 * Theme: SafarList orange (#fd7921) + green (#10b981)
 * ============================================================ */

/* ===== Card container ===== */
body .feature-item {
    background: #fff !important;
    border: 1px solid rgba(0, 0, 0, 0.06) !important;
    border-radius: 20px !important;
    overflow: hidden !important;
    box-shadow: 0 4px 18px rgba(17, 24, 39, 0.06),
                0 1px 4px rgba(17, 24, 39, 0.03) !important;
    transition: transform .25s ease,
                box-shadow .25s ease,
                border-color .25s ease !important;
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 10px !important;
}

body .feature-item:hover {
    transform: translateY(-5px) !important;
    box-shadow: 0 18px 38px rgba(17, 24, 39, 0.12),
                0 6px 14px rgba(253, 121, 33, 0.10) !important;
    border-color: rgba(253, 121, 33, 0.35) !important;
}

/* ===== Thumb (inset image with rounded corners) ===== */
body .feature-item .feature-item__thumb {
    position: relative;
    overflow: hidden;
    border-radius: 14px !important;
    border: none !important;
}
body .feature-item .feature-item__thumb-link {
    position: relative;
    display: block;
    overflow: hidden;
    border-radius: 14px;
}
body .feature-item .feature-item__thumb-link img {
    transition: transform .5s ease !important;
    width: 100%;
    display: block;
    border-radius: 14px;
}
body .feature-item:hover .feature-item__thumb-link img {
    transform: scale(1.05) !important;
}
body .feature-item .feature-item__thumb-link::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.18) 0%, rgba(0,0,0,0) 40%);
    opacity: 0;
    transition: opacity .25s ease;
    pointer-events: none;
    border-radius: 14px;
}
body .feature-item:hover .feature-item__thumb-link::after {
    opacity: 1;
}

/* ===== Wishlist (favorite) icon — floating pill ===== */
body .feature-item .listing-item__thumb-icon {
    position: absolute !important;
    top: 14px !important;
    right: 14px !important;
    width: 36px !important;
    height: 36px !important;
    border-radius: 50% !important;
    background: rgba(255, 255, 255, 0.95) !important;
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
    border: 1px solid rgba(0, 0, 0, 0.05) !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.10) !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: #6b7280 !important;
    font-size: 16px !important;
    transition: all .2s ease !important;
    cursor: pointer;
    z-index: 3;
}
[dir="rtl"] body .feature-item .listing-item__thumb-icon {
    right: auto !important;
    left: 14px !important;
}
body .feature-item .listing-item__thumb-icon:hover {
    transform: scale(1.08) !important;
    color: #ef4444 !important;
}
body .feature-item .listing-item__thumb-icon.wishlisted {
    color: #ef4444 !important;
    box-shadow: 0 4px 14px rgba(239, 68, 68, 0.25) !important;
}

/* ===== Content wrapper ===== */
body .feature-item .feature-item__content-wrapper {
    padding: 14px 0 0 !important;
    display: flex;
    flex-direction: column;
    flex-grow: 0 !important;
}
body .feature-item .feature-item__content {
    flex-grow: 0 !important;
    margin-bottom: 0 !important;
}

/* ===== Title ===== */
body .feature-item .feature-item__title {
    font-size: 18px !important;
    font-weight: 700 !important;
    color: #111827 !important;
    margin-bottom: 8px !important;
    line-height: 1.3 !important;
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}
body .feature-item .feature-item__link {
    color: inherit !important;
    text-decoration: none !important;
    transition: color .15s ease !important;
}
body .feature-item:hover .feature-item__link {
    color: #fd7921 !important;
}

/* ===== Meta row (rating | divider | category) — single line ===== */
body .feature-item .feature-item__meta {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    flex-wrap: nowrap !important;
    margin-bottom: 0 !important;
    margin-top: 4px;
}
body .feature-item .rating-star {
    color: #f59e0b !important;
    font-size: 13px !important;
    display: inline-flex;
    align-items: center;
    gap: 3px;
    white-space: nowrap;
    flex-shrink: 0;
}
body .feature-item .rating-star span {
    color: #9ca3af !important;
    font-weight: 500 !important;
    margin-inline-start: 2px;
}

/* Vertical divider between rating and category */
body .feature-item .feature-item__divider {
    width: 1px;
    height: 18px;
    background: rgba(16, 185, 129, 0.35);
    display: inline-block;
}

/* Category — icon + label */
body .feature-item .feature-item__category {
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px;
}
body .feature-item .listing-item__icon {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 24px !important;
    height: 24px !important;
    border-radius: 6px !important;
    background: rgba(253, 121, 33, 0.10) !important;
    margin-inline-end: 0 !important;
}
body .feature-item .listing-item__icon img {
    width: 14px !important;
    height: 14px !important;
    object-fit: contain;
}
body .feature-item .listing-item__icon-text {
    font-size: 12.5px !important;
    font-weight: 600 !important;
    color: #4b5563 !important;
}

/* ===== Contact strip ===== */
body .feature-item .feature-item__contact {
    margin-top: 8px !important;
    margin-bottom: 0 !important;
    padding: 10px 0 0 0 !important;
    border-top: 1px solid rgba(0, 0, 0, 0.06) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 8px;
    background: none !important;
}

/* Location side */
body .feature-item .feature-contact-wrapper:first-child {
    position: relative;
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
}
body .feature-item .feature-contact-wrapper:first-child .feature-item__contact-icon {
    width: 30px !important;
    height: 30px !important;
    border-radius: 50% !important;
    background: rgba(253, 121, 33, 0.10) !important;
    color: #fd7921 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 14px !important;
    flex-shrink: 0;
}
body .feature-item .feature-item__contact-area {
    color: #111827 !important;
    font-weight: 600 !important;
    font-size: 14px !important;
    line-height: 1.2 !important;
    display: inline-flex;
    flex-direction: column;
    gap: 1px;
}
body .feature-item .feature-item__contact-country {
    font-size: 11px !important;
    color: #9ca3af !important;
    font-weight: 500 !important;
    line-height: 1.2;
    margin-top: 1px;
}

/* ===== Call Now button — green pill ===== */
body .feature-item .feature-item__call-btn {
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    background: linear-gradient(135deg, #10b981, #059669) !important;
    color: #fff !important;
    padding: 8px 16px !important;
    border-radius: 50px !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    transition: all .2s ease !important;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.28) !important;
    white-space: nowrap;
    border: none !important;
    flex-shrink: 0;
}
body .feature-item .feature-item__call-btn:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 18px rgba(16, 185, 129, 0.40) !important;
    color: #fff !important;
}
body .feature-item .feature-item__call-btn i {
    font-size: 14px !important;
}

/* ===== List view (horizontal) tweaks ===== */
body .listing-wrapper.list-view .feature-item {
    flex-direction: row !important;
}
@media (max-width: 575.98px) {
    body .listing-wrapper.list-view .feature-item {
        flex-direction: column !important;
    }
}

/* ===== Grid/List view toggle buttons (only on /listings page) ===== */
body .view-buttons .btn {
    border: 1px solid rgba(0, 0, 0, 0.08) !important;
    border-radius: 8px !important;
    padding: 6px 10px !important;
    transition: all .2s ease !important;
}
body .view-buttons .btn:hover {
    border-color: #fd7921 !important;
    color: #fd7921 !important;
}
body .view-buttons .btn.active {
    background: linear-gradient(135deg, #fd7921, #ff9d4d) !important;
    border-color: transparent !important;
    color: #fff !important;
    box-shadow: 0 4px 10px rgba(253, 121, 33, 0.25) !important;
}

/* ===== Responsive (mobile) ===== */
@media (max-width: 575.98px) {
    body .feature-item .feature-item__title {
        font-size: 16px !important;
    }
    body .feature-item .feature-item__call-btn {
        padding: 7px 12px !important;
        font-size: 12px !important;
    }
    body .feature-item .feature-item__call-btn span {
        display: none;
    }
    body .feature-item .feature-item__call-btn i {
        font-size: 15px !important;
    }
}
/* ============= END LISTING BEAUTIFICATION ============= */

/* ============================================================
 * HEADER LANGUAGE INLINE + Add Listing button — fixes alignment
 * ============================================================ */

/* Language dropdown in nav menu — match nav-link height/alignment */
body .header .nav-menu .header-lang-inline > .nav-link {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    line-height: 1 !important;
    padding: 0 !important;
    margin: 0 !important;
    height: auto !important;
}
body .header .nav-menu .header-lang-inline .flag {
    width: 20px !important;
    height: 20px !important;
    border-radius: 50% !important;
    object-fit: cover;
    margin: 0 !important;
}
body .header .nav-menu .header-lang-inline > .nav-link::after {
    margin-inline-start: 4px;
    vertical-align: middle;
}

/* Add Listing button — single line, never wrap */
body .header .header-add-btn,
body .header .top-button .btn--base {
    white-space: nowrap !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    padding: 10px 18px !important;
    line-height: 1.2 !important;
}

/* top-button alignment with menu */
body .header .top-button {
    display: inline-flex !important;
    align-items: center !important;
}
/* ============= END HEADER LANG INLINE ============= */

/* ============================================================
 * BANNER + LANGUAGE DROPDOWN FIXES
 * - Restore white color for banner subtitle (overrides global p color)
 * - Make language dropdown items visible (dark text on white bg)
 * ============================================================ */

/* Banner subtitle — keep white as it sits on a dark image */
body .banner-section .banner-content__desc,
body .banner-content .banner-content__desc {
    color: #ffffff !important;
}

/* Language dropdown menu items — dark readable text */
body .dropdown-lang .dropdown-menu {
    background: #ffffff !important;
}
body .dropdown-lang .dropdown-menu a {
    color: #1f2937 !important;
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    padding: 6px 10px !important;
    border-radius: 6px;
    transition: background .15s ease, color .15s ease;
}
body .dropdown-lang .dropdown-menu a:hover {
    background: rgba(253, 121, 33, 0.08) !important;
    color: #fd7921 !important;
}
body .dropdown-lang .dropdown-menu a .flag {
    width: 20px !important;
    height: 20px !important;
    border-radius: 50% !important;
    object-fit: cover;
    flex-shrink: 0;
}
/* Make dropdown wider so language name fits next to flag */
body .dropdown-lang .dropdown-menu {
    min-width: 140px !important;
    width: auto !important;
}
/* ============= END BANNER + LANG FIXES ============= */

/* =============================================
   PHASE 5 — Footer text color fix (white)
   ============================================= */
.footer-area .footer-item__desc,
.footer-area .footer-item__title,
.footer-area .footer-menu__link,
.footer-area .footer-contact-menu__item-content,
.footer-area .footer-contact-menu__item-content p,
.footer-area .footer-contact-menu__item-content a {
    color: #ffffff !important;
}

.footer-area .footer-menu__link:hover {
    color: #fd7921 !important;
    text-decoration: underline;
}

.footer-area .footer-contact-menu__item-icon {
    color: #fd7921 !important;
}

/* =============================================
   PHASE 5 — Header Dashboard / Logout buttons
   ============================================= */
.header-account-actions {
    display: flex;
    gap: 8px;
    align-items: center;
}

.header-dashboard-btn,
.header-logout-btn {
    display: inline-flex !important;
    align-items: center;
    gap: 6px;
    padding: 8px 16px !important;
    border-radius: 6px !important;
    font-weight: 500;
    font-size: 14px;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.header-dashboard-btn {
    background: #00c808 !important;
    color: #ffffff !important;
    border: 1px solid #00c808 !important;
}

.header-dashboard-btn:hover {
    background: #00a307 !important;
    border-color: #00a307 !important;
    color: #ffffff !important;
}

.header-logout-btn {
    background: transparent !important;
    color: #010e90 !important;
    border: 1px solid #010e90 !important;
}

.header-logout-btn:hover {
    background: #010e90 !important;
    color: #ffffff !important;
}

.header-dashboard-btn i,
.header-logout-btn i {
    font-size: 16px;
}

@media (max-width: 991px) {
    .header-account-actions {
        flex-direction: column;
        align-items: stretch;
        gap: 6px;
        width: 100%;
        margin-top: 10px;
    }
    .header-dashboard-btn,
    .header-logout-btn {
        justify-content: center;
        width: 100%;
    }
}


/* ============================================================
   Phase 6 — Session 1 CSS Additions
   ============================================================ */

/* ============ Bug #5: Homa font for Persian text in SafarShip ============ */
/* NOTE: Homa replaced by Vazirmatn (loaded from Google Fonts in app.blade.php) */
/* Kept @font-face for backward compatibility, but no longer used */
@font-face {
    font-family: 'Homa';
    src: url('../fonts/Homa.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

/* Apply Vazirmatn when input/textarea contains Persian (added by JS) */
.persian-text-input {
    font-family: 'Vazirmatn', Tahoma, sans-serif !important;
    font-size: 15px !important;
    line-height: 1.8 !important;
    direction: rtl !important;
    text-align: right !important;
}

/* Override package_form.blade.php inline styles (.carry-input) for RTL languages */
html[lang="fa"] .carry-input,
html[lang="fa"] input.carry-input,
html[lang="fa"] textarea.carry-input,
html[lang="ar"] .carry-input,
html[lang="ar"] input.carry-input,
html[lang="ar"] textarea.carry-input,
html[lang="ur"] .carry-input,
html[lang="ur"] input.carry-input,
html[lang="ur"] textarea.carry-input {
    font-family: 'Vazirmatn', Tahoma, sans-serif !important;
    font-size: 16px !important;
    line-height: 1.8 !important;
}

/* Force readable font size on all form fields in RTL languages */
/* This catches inputs even when the JS hasn't added .persian-text-input class */
/* Uses !important + high specificity to override template's default sizes */
html[lang="fa"] input,
html[lang="fa"] textarea,
html[lang="fa"] select,
html[lang="fa"] .form--control,
html[lang="fa"] .form-control,
html[lang="fa"] input.form--control,
html[lang="fa"] textarea.form--control,
html[lang="fa"] select.form--control,
html[lang="fa"] form input,
html[lang="fa"] form textarea,
html[lang="fa"] form select,
html[lang="ar"] input,
html[lang="ar"] textarea,
html[lang="ar"] select,
html[lang="ar"] .form--control,
html[lang="ar"] .form-control,
html[lang="ar"] input.form--control,
html[lang="ar"] textarea.form--control,
html[lang="ar"] select.form--control,
html[lang="ar"] form input,
html[lang="ar"] form textarea,
html[lang="ar"] form select,
html[lang="ur"] input,
html[lang="ur"] textarea,
html[lang="ur"] select,
html[lang="ur"] .form--control,
html[lang="ur"] .form-control,
html[lang="ur"] input.form--control,
html[lang="ur"] textarea.form--control,
html[lang="ur"] select.form--control,
html[lang="ur"] form input,
html[lang="ur"] form textarea,
html[lang="ur"] form select {
    font-family: 'Vazirmatn', Tahoma, sans-serif !important;
    font-size: 16px !important;
    line-height: 1.8 !important;
}

/* Select2 dropdown text — used in city/category selectors */
html[lang="fa"] .select2-container .select2-selection__rendered,
html[lang="fa"] .select2-container .select2-results__option,
html[lang="ar"] .select2-container .select2-selection__rendered,
html[lang="ar"] .select2-container .select2-results__option,
html[lang="ur"] .select2-container .select2-selection__rendered,
html[lang="ur"] .select2-container .select2-results__option {
    font-family: 'Vazirmatn', Tahoma, sans-serif !important;
    font-size: 16px !important;
}

/* Placeholders too */
html[lang="fa"] input::placeholder,
html[lang="fa"] textarea::placeholder,
html[lang="ar"] input::placeholder,
html[lang="ar"] textarea::placeholder,
html[lang="ur"] input::placeholder,
html[lang="ur"] textarea::placeholder {
    font-family: 'Vazirmatn', Tahoma, sans-serif !important;
    font-size: 15px !important;
    opacity: 0.65;
}

/* Form labels in RTL — keep readable */
html[lang="fa"] label,
html[lang="fa"] .form-label,
html[lang="ar"] label,
html[lang="ar"] .form-label,
html[lang="ur"] label,
html[lang="ur"] .form-label {
    font-family: 'Vazirmatn', Tahoma, sans-serif !important;
    font-size: 15px !important;
}

/* Mobile responsive — slightly smaller but still readable */
@media (max-width: 575.98px) {
    html[lang="fa"] input,
    html[lang="fa"] textarea,
    html[lang="fa"] select,
    html[lang="fa"] .form--control,
    html[lang="ar"] input,
    html[lang="ar"] textarea,
    html[lang="ar"] select,
    html[lang="ar"] .form--control,
    html[lang="ur"] input,
    html[lang="ur"] textarea,
    html[lang="ur"] select,
    html[lang="ur"] .form--control {
        font-size: 15px !important;
    }
}

/* Also catch RTL placeholders in carry forms */
.carry-form-card textarea,
.carry-form-card input[type="text"],
.carry-form-card input[type="search"] {
    transition: font-family 0.15s ease;
}


/* ============ Bug #8: User notification bell in header ============ */
.header-notif-dropdown {
    position: relative;
    margin-right: 6px;
}

.header-notif-bell {
    position: relative;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    color: #fff !important;
    transition: all 0.2s ease;
    padding: 0 !important;
}

.header-notif-bell:hover {
    background: rgba(255, 255, 255, 0.18);
    transform: translateY(-1px);
}

.header-notif-bell i {
    font-size: 20px;
}

.header-notif-count {
    position: absolute;
    top: -4px;
    right: -4px;
    min-width: 18px;
    height: 18px;
    border-radius: 9px;
    background: #ef4444;
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 5px;
    box-shadow: 0 2px 6px rgba(239, 68, 68, 0.45);
    border: 2px solid #000;
}

.header-notif-menu {
    width: 340px;
    max-width: 95vw;
    padding: 0 !important;
    border: none !important;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2) !important;
    border-radius: 12px !important;
    overflow: hidden;
}

.header-notif-menu__head {
    background: linear-gradient(135deg, #010e90, #2738d2);
    color: #fff;
    padding: 14px 18px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-notif-menu__head small {
    opacity: 0.85;
    font-size: 11px;
}

.header-notif-menu__body {
    max-height: 360px;
    overflow-y: auto;
    background: #fff;
}

.header-notif-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 12px 16px;
    text-decoration: none;
    color: #1f2937;
    border-bottom: 1px solid #f3f4f6;
    transition: background 0.15s;
}

.header-notif-item:hover {
    background: #eff6ff;
    color: #010e90;
}

.header-notif-item i {
    color: #010e90;
    font-size: 18px;
    margin-top: 2px;
    flex-shrink: 0;
}

.header-notif-item p {
    font-size: 13px;
    line-height: 1.4;
}

.header-notif-item small {
    color: #6b7280;
    font-size: 11px;
}

.header-notif-empty {
    text-align: center;
    padding: 28px 16px;
    color: #9ca3af;
}

.header-notif-empty i {
    font-size: 36px;
    margin-bottom: 6px;
    display: block;
}

.header-notif-menu__foot {
    text-align: center;
    padding: 10px;
    background: #f9fafb;
    border-top: 1px solid #e5e7eb;
}

.header-notif-menu__foot a {
    color: #010e90;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
}

.header-notif-menu__foot a:hover {
    text-decoration: underline;
}


/* ============ Bug #11: Deposit gateway tick (replace red dot with checkmark) ============ */
.payment-item__check {
    width: 22px !important;
    height: 22px !important;
    border: 2px solid #d1d5db !important;
    border-radius: 50% !important;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    position: relative;
    background: #fff;
}

/* When NOT checked: empty circle */
.payment-item .payment-item__check::before {
    content: "";
    opacity: 0;
    transition: opacity 0.2s ease;
}

/* When checked: show green tick */
.payment-item:has(.payment-item__radio:checked) .payment-item__check {
    background: #10b981 !important;
    border-color: #10b981 !important;
}

.payment-item:has(.payment-item__radio:checked) .payment-item__check::before {
    content: "\f00c"; /* FontAwesome checkmark */
    font-family: "Font Awesome 5 Free", "Line Awesome Free", "FontAwesome";
    font-weight: 900;
    color: #fff;
    font-size: 12px;
    opacity: 1;
}

/* Highlight whole row when selected */
.payment-item:has(.payment-item__radio:checked) {
    border-color: #10b981 !important;
    background: rgba(16, 185, 129, 0.04);
}


/* ============ End Phase 6 — Session 1 ============ */


/* ============================================================
   Phase 6 Session 4 — SafarShip "How It Works" infographic
   ============================================================ */

/* Toggle button */
.safarship-howto-toggle {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, #010e90, #2738d2);
    color: #ffffff !important;
    font-weight: 600;
    padding: 12px 28px;
    border-radius: 50px;
    border: none;
    font-size: 15px;
    box-shadow: 0 4px 14px rgba(1, 14, 144, 0.25);
    transition: all 0.25s ease;
}

.safarship-howto-toggle:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(1, 14, 144, 0.35);
    color: #ffffff !important;
}

.safarship-howto-toggle i.las {
    font-size: 18px;
}

.safarship-howto-toggle__chev {
    transition: transform 0.3s ease;
}

.safarship-howto-toggle[aria-expanded="true"] .safarship-howto-toggle__chev {
    transform: rotate(180deg);
}

/* The infographic card */
.safarship-howto-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 30px 24px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.04);
}

.safarship-howto__header {
    text-align: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e2e8f0;
}

.safarship-howto__header h3 {
    color: #010e90;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 8px;
}

.safarship-howto__header p {
    color: #64748b;
    font-size: 14px;
    margin: 0;
}

/* Steps container */
.safarship-howto__steps {
    display: flex;
    flex-direction: column;
    gap: 16px;
    position: relative;
}

/* Vertical dashed connector line between steps */
.safarship-howto__steps::before {
    content: '';
    position: absolute;
    left: 32px;
    top: 32px;
    bottom: 32px;
    width: 2px;
    background-image: linear-gradient(to bottom, #cbd5e1 50%, transparent 50%);
    background-size: 2px 8px;
    background-repeat: repeat-y;
    z-index: 0;
}

/* Each step */
.safarship-step {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 18px 20px;
    position: relative;
    z-index: 1;
    transition: all 0.2s ease;
}

.safarship-step:hover {
    transform: translateX(4px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
    border-color: #010e90;
}

.safarship-step--success {
    background: #ecfdf5;
    border-color: #10b981;
}

.safarship-step__num {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #010e90;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(1, 14, 144, 0.3);
}

.safarship-step--success .safarship-step__num {
    background: #10b981;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.safarship-step__icon {
    flex-shrink: 0;
    width: 54px;
    height: 54px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
}

.safarship-step__icon--blue { background: #dbeafe; color: #010e90; }
.safarship-step__icon--green { background: #dcfce7; color: #16a34a; }
.safarship-step__icon--amber { background: #fef3c7; color: #d97706; }
.safarship-step__icon--orange { background: #fed7aa; color: #fd7921; }
.safarship-step__icon--success { background: #10b981; color: #ffffff; }

.safarship-step__body {
    flex: 1;
    min-width: 0;
}

.safarship-step__body h4 {
    color: #010e90;
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 6px;
}

.safarship-step--success .safarship-step__body h4 {
    color: #047857;
}

.safarship-step__body p {
    color: #475569;
    font-size: 13.5px;
    line-height: 1.7;
    margin: 0;
}

.safarship-step--success .safarship-step__body p {
    color: #065f46;
}

.safarship-step__body strong {
    color: #010e90;
    font-weight: 600;
}

.safarship-step--success .safarship-step__body strong {
    color: #047857;
}

/* Footer badges */
.safarship-howto__badges {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.safarship-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: linear-gradient(135deg, #010e90, #2738d2);
    color: #ffffff;
    padding: 8px 18px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 600;
}

.safarship-badge i {
    font-size: 14px;
}

.safarship-howto__note {
    text-align: center;
    color: #64748b;
    font-size: 12.5px;
    font-style: italic;
    margin: 18px 0 0;
}

/* Mobile responsiveness */
@media (max-width: 575px) {
    .safarship-howto-card {
        padding: 20px 14px;
    }
    .safarship-step {
        flex-wrap: wrap;
        padding: 14px;
    }
    .safarship-step__num {
        width: 42px;
        height: 42px;
        font-size: 15px;
    }
    .safarship-step__icon {
        width: 46px;
        height: 46px;
        font-size: 22px;
    }
    .safarship-step__body {
        flex-basis: 100%;
        margin-top: 10px;
    }
    .safarship-howto__steps::before {
        left: 21px;
    }
}

/* RTL — flip the connector line and step hover direction */
html[dir="rtl"] .safarship-howto__steps::before {
    left: auto;
    right: 32px;
}
html[dir="rtl"] .safarship-step:hover {
    transform: translateX(-4px);
}
@media (max-width: 575px) {
    html[dir="rtl"] .safarship-howto__steps::before {
        right: 21px;
    }
}

/* ============ End SafarShip How It Works ============ */

/* ============ Begin WhatsApp Contact Button ============ */

/* Generic WhatsApp button — used in package_detail, trip_detail */
.btn--whatsapp {
    background-color: #25D366;
    color: #ffffff !important;
    border: none;
    transition: background-color 0.2s ease, transform 0.15s ease;
}

.btn--whatsapp:hover,
.btn--whatsapp:focus {
    background-color: #128C7E;
    color: #ffffff !important;
    transform: translateY(-1px);
}

.btn--whatsapp i {
    margin-inline-end: 6px;
}

/* WhatsApp row inside listing_details info-list (matches existing list style) */
.info-list__item--whatsapp {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.info-list__item--whatsapp .icon {
    color: #25D366;
}

.info-list__item--whatsapp .whatsapp-number {
    flex-grow: 1;
}

.info-list__item--whatsapp .whatsapp-cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background-color: #25D366;
    color: #ffffff;
    font-size: 12.5px;
    font-weight: 500;
    padding: 5px 12px;
    border-radius: 999px;
    text-decoration: none;
    transition: background-color 0.2s ease, transform 0.15s ease;
    white-space: nowrap;
}

.info-list__item--whatsapp .whatsapp-cta:hover,
.info-list__item--whatsapp .whatsapp-cta:focus {
    background-color: #128C7E;
    color: #ffffff;
    transform: translateY(-1px);
}

.info-list__item--whatsapp .whatsapp-cta i {
    font-size: 14px;
}

/* WhatsApp row inside carry-contact-box (package_detail) */
.carry-contact-box__item--whatsapp {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.carry-contact-box__item--whatsapp > i {
    color: #25D366;
}

.carry-contact-box__item--whatsapp .whatsapp-cta {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background-color: #25D366;
    color: #ffffff;
    font-size: 12px;
    font-weight: 500;
    padding: 4px 10px;
    border-radius: 999px;
    text-decoration: none;
    margin-inline-start: auto;
    transition: background-color 0.2s ease;
    white-space: nowrap;
}

.carry-contact-box__item--whatsapp .whatsapp-cta:hover,
.carry-contact-box__item--whatsapp .whatsapp-cta:focus {
    background-color: #128C7E;
    color: #ffffff;
}

/* Small screens — stack the CTA below the number */
@media (max-width: 575px) {
    .info-list__item--whatsapp .whatsapp-cta,
    .carry-contact-box__item--whatsapp .whatsapp-cta {
        margin-inline-start: 0;
        margin-top: 4px;
    }
}

/* ============ End WhatsApp Contact Button ============ */

/* ============================================================
 * Phase 9 — Site-wide Persian (Vazirmatn) font
 * Applies Vazirmatn to ALL text across the site when locale is fa.
 * Icon fonts (Line Awesome / Font Awesome) are explicitly preserved
 * with their own !important rules so glyphs keep rendering.
 * ============================================================ */
html[lang="fa"],
html[lang="fa"] body,
html[lang="fa"] body * {
    font-family: 'Vazirmatn', Tahoma, sans-serif !important;
}

/* Preserve Line Awesome icon glyphs */
html[lang="fa"] .la,
html[lang="fa"] .las,
html[lang="fa"] .lar,
html[lang="fa"] .lal,
html[lang="fa"] i.la,
html[lang="fa"] i.las,
html[lang="fa"] i.lar,
html[lang="fa"] i.lal {
    font-family: 'Line Awesome Free' !important;
}
html[lang="fa"] .lab,
html[lang="fa"] i.lab {
    font-family: 'Line Awesome Brands' !important;
}

/* Preserve Font Awesome 5 icon glyphs */
html[lang="fa"] .fa,
html[lang="fa"] .fas,
html[lang="fa"] .far,
html[lang="fa"] .fal,
html[lang="fa"] i.fa,
html[lang="fa"] i.fas,
html[lang="fa"] i.far,
html[lang="fa"] i.fal {
    font-family: 'Font Awesome 5 Free' !important;
}
html[lang="fa"] .fab,
html[lang="fa"] i.fab {
    font-family: 'Font Awesome 5 Brands' !important;
}

/* Preserve pseudo-element icons (e.g. accordion chevrons) */
html[lang="fa"] .custom--accordion .accordion-button::after {
    font-family: 'Line Awesome Free' !important;
}
/* ============ End Phase 9 Persian font ============ */
