.light-glass-navbar {
  background-color: #ffffff;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  transition: background-color 0.3s ease;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

html,
body {
  min-height: 100%;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

html[data-theme="dark"] .light-glass-navbar {
  background-color: #0f1520;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.menu-avatar,
.profile-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  object-fit: cover;
  display: inline-grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.08);
  background: #eef2f8;
}

.menu-avatar {
  font-size: 1.1rem;
  color: #2a3245;
}

.profile-avatar {
  background: linear-gradient(135deg, #edf3ff, #dbe7ff);
}

.profile-main-avatar {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center center;
  border-radius: inherit;
}

.profile-avatar-frame {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  border: 4px solid rgba(29, 102, 229, 0.22);
  box-shadow: 0 10px 24px rgba(29, 102, 229, 0.14);
  background: #ffffff;
  display: grid;
  place-items: center;
  overflow: hidden;
}

html[data-theme="dark"] .profile-avatar-frame {
  background: #0d111a;
  border-color: rgba(127, 169, 255, 0.28);
}

.navbar-profile-toggle {
  border: 0;
  background: transparent;
  padding: 0;
}

.navbar-menu-toggle {
  border: 0;
  background: transparent;
  padding: 0;
  color: inherit;
}

.navbar-menu-toggle::after,
.navbar-profile-toggle::after {
  display: none;
}

.navbar-menu-toggle:focus,
.navbar-profile-toggle:focus {
  box-shadow: none;
}

.header-refresh-btn {
  border: 0;
  background: transparent !important;
  color: #2b3446;
  padding: 2px;
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: none !important;
  border-radius: 999px;
}

.header-refresh-btn:hover,
.header-refresh-btn:focus,
.header-refresh-btn:active {
  color: #1f4fd1;
  background: transparent !important;
  box-shadow: none !important;
  outline: none;
}

.header-refresh-btn i,
.header-refresh-btn svg {
  width: 18px;
  height: 18px;
}

.header-refresh-btn.is-spinning i,
.header-refresh-btn.is-spinning svg {
  animation: header-refresh-spin 1.8s linear infinite;
}

@keyframes header-refresh-spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.navbar-links-dropdown .dropdown-menu,
.navbar-profile-dropdown .dropdown-menu {
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 12px 30px rgba(18, 28, 45, 0.12);
  border-radius: 14px;
  padding: 8px;
}

.navbar-links-dropdown .dropdown-item,
.navbar-profile-dropdown .dropdown-item {
  border-radius: 10px;
  padding: 10px 14px;
}

html[data-theme="dark"] .navbar-links-dropdown .dropdown-menu,
html[data-theme="dark"] .navbar-profile-dropdown .dropdown-menu {
  background: #101827;
  border-color: rgba(255, 255, 255, 0.08);
}

html[data-theme="dark"] .navbar-links-dropdown .dropdown-item,
html[data-theme="dark"] .navbar-profile-dropdown .dropdown-item {
  color: #eef3ff;
}

html[data-theme="dark"] .menu-avatar,
html[data-theme="dark"] .profile-avatar {
  background: #182132;
  color: #eef3ff;
  border-color: rgba(255, 255, 255, 0.08);
}

html[data-theme="dark"] .header-refresh-btn {
  color: #e7eefc;
}

html[data-theme="dark"] .header-refresh-btn:hover,
html[data-theme="dark"] .header-refresh-btn:focus,
html[data-theme="dark"] .header-refresh-btn:active {
  color: #8fb0ff;
}

.booking-modal-body {
  max-height: 68vh;
  overflow-y: auto;
  padding-top: 8px;
}

.booking-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.booking-brand img {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  object-fit: cover;
}

.booking-brand-title {
  margin: 0;
  font-weight: 700;
  color: #2660c7;
  font-size: 1rem;
  line-height: 1.2;
}

.booking-brand-subtitle {
  margin: 0;
  color: #6f7a92;
  font-size: 0.82rem;
}

.price-preview {
  background: rgba(38, 96, 199, 0.08);
  border: 1px solid rgba(38, 96, 199, 0.24);
  color: #15408f;
  font-weight: 700;
}

html[data-theme="dark"] .price-preview {
  background: rgba(43, 116, 240, 0.12);
  border-color: rgba(127, 169, 255, 0.28);
  color: #dce8ff;
}

html[data-theme="dark"] .booking-brand-title {
  color: #7fb0ff;
}

html[data-theme="dark"] .booking-brand-subtitle {
  color: #9fb0c9;
}

/* footer */
.footer {
  width: 100%;
  text-align: center;
  background: linear-gradient(180deg, #0f1520 0%, #05070d 100%);
  color: white;
  font-size: 14px;
  padding: 18px 0 12px;
  box-shadow: 0 -12px 30px rgba(8, 12, 20, 0.24);
  z-index: 999;
  margin-top: auto;
  position: relative;
}

.footer-fixed {
  position: relative;
  left: auto;
  right: auto;
  bottom: auto;
}

.favorites-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  padding-bottom: 92px;
  background:
    radial-gradient(circle at top, rgba(29, 102, 229, 0.08), transparent 38%),
    linear-gradient(180deg, #fbfdff 0%, #eef4ff 100%);
}

html[data-theme="dark"] .favorites-page {
  background:
    radial-gradient(circle at top, rgba(43, 116, 240, 0.12), transparent 38%),
    linear-gradient(180deg, #070b12 0%, #0b1120 100%);
}

.favorites-content {
  flex: 1 0 auto;
}

.favorites-page h3 {
  letter-spacing: -0.3px;
}

.favorites-page .card {
  border: 1px solid rgba(29, 102, 229, 0.12);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(16, 26, 44, 0.09);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(248, 251, 255, 0.98) 100%);
}

.favorites-page .card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 48px rgba(16, 26, 44, 0.14);
  border-color: rgba(29, 102, 229, 0.24);
}

.favorites-page .card-body {
  padding: 1.35rem 1.25rem;
}

.favorites-page .card-body strong {
  font-size: 1.05rem;
}

.favorites-page .card-body p {
  color: #4d5870;
}

html[data-theme="dark"] .favorites-page .card {
  background: linear-gradient(180deg, rgba(14, 18, 28, 0.96) 0%, rgba(9, 13, 22, 0.98) 100%);
  border-color: rgba(127, 169, 255, 0.12);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
}

html[data-theme="dark"] .favorites-page .card-body p {
  color: #b7c3df;
}

.favorites-page .btn-outline-warning,
.favorites-page .btn-outline-primary {
  border-width: 1.5px;
  border-radius: 10px;
  padding: 0.4rem 0.8rem;
}

.favorites-page .alert-secondary {
  border: 1px solid rgba(29, 102, 229, 0.14);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 14px 30px rgba(16, 26, 44, 0.08);
}

html[data-theme="dark"] .favorites-page .alert-secondary {
  background: rgba(12, 17, 27, 0.92);
  border-color: rgba(127, 169, 255, 0.12);
}

.summary-page {
  padding-bottom: 32px;
}

.summary-hero {
  padding: 18px 20px;
  border: 1px solid rgba(29, 102, 229, 0.12);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(247, 250, 255, 0.98) 100%);
  box-shadow: 0 16px 34px rgba(16, 26, 44, 0.08);
}

.summary-eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.72rem;
  font-weight: 700;
  color: #6e7ea2;
}

.summary-pdf-btn {
  border-radius: 12px;
  padding: 0.72rem 1rem;
  font-weight: 600;
}

.summary-table-wrap {
  border: 1px solid rgba(29, 102, 229, 0.12);
  border-radius: 18px;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(248, 251, 255, 0.96) 100%);
  box-shadow: 0 16px 34px rgba(16, 26, 44, 0.08);
}

.summary-table {
  margin-bottom: 0;
}

.summary-table thead th {
  background: linear-gradient(180deg, #d7e6ff 0%, #c7dbff 100%);
  color: #173b7a;
  font-weight: 800;
  border-bottom: 0;
  white-space: nowrap;
}

.summary-table tbody td {
  background: rgba(255, 255, 255, 0.86);
  vertical-align: middle;
}

.summary-table tbody tr:hover td {
  background: rgba(29, 102, 229, 0.05);
}

.summary-empty-state {
  border-radius: 16px;
  border: 1px solid rgba(29, 102, 229, 0.12);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 12px 26px rgba(16, 26, 44, 0.08);
}

.summary-chart-card {
  width: min(760px, 100%);
  border-radius: 20px;
  border: 1px solid rgba(29, 102, 229, 0.12);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(248, 251, 255, 0.96) 100%);
  box-shadow: 0 18px 36px rgba(16, 26, 44, 0.08);
}

.summary-chart-chip {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 0.35rem 0.75rem;
  font-size: 0.82rem;
  font-weight: 700;
  color: #2463dd;
  background: rgba(36, 99, 221, 0.1);
}

.summary-chart-image {
  width: 100%;
  border-radius: 14px;
  border: 1px solid rgba(29, 102, 229, 0.1);
  background: #ffffff;
}

html[data-theme="dark"] .summary-page {
  background: radial-gradient(circle at top, rgba(43, 116, 240, 0.12), transparent 42%);
}

html[data-theme="dark"] .summary-hero,
html[data-theme="dark"] .summary-table-wrap,
html[data-theme="dark"] .summary-chart-card,
html[data-theme="dark"] .summary-empty-state {
  background: linear-gradient(180deg, rgba(14, 18, 28, 0.96) 0%, rgba(9, 13, 22, 0.98) 100%);
  border-color: rgba(127, 169, 255, 0.12);
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.28);
}

html[data-theme="dark"] .summary-eyebrow {
  color: #8ba6d8;
}

html[data-theme="dark"] .summary-pdf-btn {
  color: #e7efff;
  border-color: rgba(127, 169, 255, 0.28);
  background: rgba(127, 169, 255, 0.08);
}

html[data-theme="dark"] .summary-table thead th {
  background: linear-gradient(180deg, #172134 0%, #11182a 100%);
  color: #dbe7ff;
}

html[data-theme="dark"] .summary-table tbody td {
  background: rgba(11, 16, 25, 0.9);
  color: #e8eefb;
  border-color: rgba(127, 169, 255, 0.12);
}

html[data-theme="dark"] .summary-table tbody tr:hover td {
  background: rgba(127, 169, 255, 0.08);
}

html[data-theme="dark"] .summary-chart-chip {
  color: #b8cdfb;
  background: rgba(127, 169, 255, 0.12);
}

html[data-theme="dark"] .summary-chart-image {
  background: #0b0f18;
  border-color: rgba(127, 169, 255, 0.12);
  filter: brightness(0.9) contrast(1.05) saturate(0.9);
}

html[data-theme="dark"] .summary-empty-state {
  color: #dbe7ff;
}


.footer p {
  color: white;
}

.footer li{
  list-style-type: none;
}

/* Shared SaaS Navbar */
.saas-navbar {
  min-height: 64px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(250, 252, 255, 0.88));
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(109, 89, 208, 0.18);
  box-shadow: none;
  z-index: 1050;
}

html[data-theme="dark"] .saas-navbar {
  background: linear-gradient(180deg, rgba(14, 20, 34, 0.9), rgba(10, 15, 28, 0.88));
  border-bottom-color: rgba(127, 169, 255, 0.2);
}

.saas-navbar .container {
  padding-left: 0.85rem;
  padding-right: 0.85rem;
}

.saas-navbar-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.8rem;
}

.saas-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.52rem;
  text-decoration: none;
  color: #1f2f52;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.saas-brand:hover {
  color: #204dcb;
}

html[data-theme="dark"] .saas-brand {
  color: #eaf0ff;
}

.saas-brand-logo {
  border-radius: 8px;
}

.saas-nav-shell {
  justify-self: center;
  min-width: 0;
}

.saas-nav-menu {
  margin: 0;
  padding: 0.16rem;
  list-style: none;
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
  border: 1px solid rgba(109, 89, 208, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.64);
  position: relative;
  overflow: hidden;
}

html[data-theme="dark"] .saas-nav-menu {
  border-color: rgba(127, 169, 255, 0.2);
  background: rgba(13, 22, 38, 0.72);
}

.saas-nav-link {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.42rem 0.8rem 0.55rem;
  border-radius: 999px;
  color: #4a5674;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  transition: color 0.22s ease, background-color 0.22s ease;
  white-space: nowrap;
}

.saas-nav-link:hover {
  color: #1d4fc3;
  background: rgba(111, 75, 255, 0.08);
}

.saas-nav-link.active {
  color: #1b3f9d;
}

html[data-theme="dark"] .saas-nav-link {
  color: #c8d6f7;
}

html[data-theme="dark"] .saas-nav-link:hover {
  color: #ffffff;
  background: rgba(127, 169, 255, 0.16);
}

html[data-theme="dark"] .saas-nav-link.active {
  color: #ffffff;
}

.saas-nav-slider {
  position: absolute;
  bottom: 3px;
  left: 0;
  height: 2px;
  width: 0;
  background: linear-gradient(90deg, #6f4bff, #8d61ff);
  border-radius: 99px;
  transition: transform 0.32s cubic-bezier(0.2, 0.7, 0.2, 1), width 0.32s cubic-bezier(0.2, 0.7, 0.2, 1), opacity 0.2s ease;
  opacity: 0;
  pointer-events: none;
  z-index: 1;
}

.saas-navbar-right {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 0.26rem;
}

.saas-icon-btn,
.saas-navbar-right .theme-toggle,
.saas-navbar-right .navbar-profile-toggle {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  background: transparent;
  color: #33415f;
  padding: 0;
  transition: all 0.2s ease;
}

.saas-icon-btn:hover,
.saas-icon-btn:focus,
.saas-navbar-right .theme-toggle:hover,
.saas-navbar-right .theme-toggle:focus,
.saas-navbar-right .navbar-profile-toggle:hover,
.saas-navbar-right .navbar-profile-toggle:focus {
  background: rgba(111, 75, 255, 0.12);
  color: #274fb8;
  border-color: rgba(111, 75, 255, 0.18);
}

html[data-theme="dark"] .saas-icon-btn,
html[data-theme="dark"] .saas-navbar-right .theme-toggle,
html[data-theme="dark"] .saas-navbar-right .navbar-profile-toggle {
  color: #dce7ff;
}

html[data-theme="dark"] .saas-icon-btn:hover,
html[data-theme="dark"] .saas-icon-btn:focus,
html[data-theme="dark"] .saas-navbar-right .theme-toggle:hover,
html[data-theme="dark"] .saas-navbar-right .theme-toggle:focus,
html[data-theme="dark"] .saas-navbar-right .navbar-profile-toggle:hover,
html[data-theme="dark"] .saas-navbar-right .navbar-profile-toggle:focus {
  background: rgba(127, 169, 255, 0.18);
  border-color: rgba(127, 169, 255, 0.22);
  color: #ffffff;
}

.saas-icon-btn i,
.saas-navbar-right .theme-toggle i {
  font-size: 1rem;
}

.saas-notification-toggle {
  position: relative;
}

.saas-notification-badge {
  position: absolute;
  top: -3px;
  right: -4px;
  min-width: 16px;
  height: 16px;
  border-radius: 999px;
  padding: 0 4px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.62rem;
  font-weight: 700;
  color: #ffffff;
  background: #e64f5e;
  border: 1px solid #ffffff;
}

html[data-theme="dark"] .saas-notification-badge {
  border-color: #11192a;
}

.saas-notification-menu {
  width: min(360px, 92vw);
  border: 1px solid rgba(109, 89, 208, 0.18);
  border-radius: 12px;
  padding: 0.4rem;
  box-shadow: 0 12px 22px rgba(26, 35, 58, 0.12);
}

.saas-notification-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.35rem 0.45rem 0.5rem;
  border-bottom: 1px solid rgba(109, 89, 208, 0.12);
  margin-bottom: 0.3rem;
}

.saas-notification-mark-read {
  border: 1px solid rgba(109, 89, 208, 0.22);
  border-radius: 999px;
  padding: 0.15rem 0.5rem;
  font-size: 0.72rem;
  color: #3557b6;
  background: rgba(111, 75, 255, 0.08);
}

.saas-notification-list {
  max-height: 320px;
  overflow: auto;
  padding-right: 0.12rem;
}

.saas-notification-item {
  border: 1px solid rgba(109, 89, 208, 0.12);
  border-radius: 10px;
  padding: 0.48rem 0.52rem;
  margin-bottom: 0.35rem;
  background: rgba(255, 255, 255, 0.8);
}

.saas-notification-item.unread {
  border-color: rgba(111, 75, 255, 0.32);
  background: rgba(111, 75, 255, 0.08);
}

.saas-notification-item-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.2rem;
}

.saas-notification-channel {
  font-size: 0.68rem;
  font-weight: 700;
  color: #4f63a0;
}

.saas-notification-time {
  font-size: 0.68rem;
  color: #7784a8;
}

.saas-notification-subject {
  font-weight: 600;
  font-size: 0.84rem;
  color: #243352;
  line-height: 1.25;
}

.saas-notification-message {
  margin-top: 0.14rem;
  font-size: 0.78rem;
  color: #5d6b8e;
  line-height: 1.3;
}

.saas-notification-empty {
  font-size: 0.82rem;
  color: #68779d;
  padding: 0.6rem 0.5rem;
}

.saas-navbar-right .navbar-profile-toggle::after {
  display: none;
}

.saas-profile-menu {
  border: 1px solid rgba(109, 89, 208, 0.18);
  border-radius: 12px;
  padding: 0.35rem;
  box-shadow: 0 12px 22px rgba(26, 35, 58, 0.12);
  transform-origin: top right;
  animation: saas-profile-pop 0.18s ease;
}

.saas-profile-menu .dropdown-item {
  border-radius: 8px;
  padding: 0.5rem 0.72rem;
  font-weight: 500;
}

html[data-theme="dark"] .saas-profile-menu {
  background: #11192a;
  border-color: rgba(127, 169, 255, 0.22);
  box-shadow: 0 14px 24px rgba(3, 8, 21, 0.45);
}

html[data-theme="dark"] .saas-profile-menu .dropdown-item {
  color: #e7efff;
}

html[data-theme="dark"] .saas-notification-menu {
  background: #11192a;
  border-color: rgba(127, 169, 255, 0.22);
  box-shadow: 0 14px 24px rgba(3, 8, 21, 0.45);
}

html[data-theme="dark"] .saas-notification-head {
  border-bottom-color: rgba(127, 169, 255, 0.18);
}

html[data-theme="dark"] .saas-notification-mark-read {
  color: #d3e4ff;
  border-color: rgba(127, 169, 255, 0.22);
  background: rgba(127, 169, 255, 0.14);
}

html[data-theme="dark"] .saas-notification-item {
  border-color: rgba(127, 169, 255, 0.14);
  background: rgba(14, 22, 36, 0.72);
}

html[data-theme="dark"] .saas-notification-item.unread {
  border-color: rgba(127, 169, 255, 0.34);
  background: rgba(127, 169, 255, 0.13);
}

html[data-theme="dark"] .saas-notification-channel,
html[data-theme="dark"] .saas-notification-subject {
  color: #e7efff;
}

html[data-theme="dark"] .saas-notification-time,
html[data-theme="dark"] .saas-notification-message,
html[data-theme="dark"] .saas-notification-empty {
  color: #b7c7e6;
}

@keyframes saas-profile-pop {
  from {
    opacity: 0;
    transform: translateY(-4px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@media (max-width: 1199.98px) {
  .saas-nav-link {
    padding-left: 0.66rem;
    padding-right: 0.66rem;
    font-size: 0.86rem;
  }

  .saas-navbar-inner {
    gap: 0.55rem;
  }
}

@media (max-width: 991.98px) {
  .saas-navbar {
    min-height: 60px;
  }

  .saas-navbar-inner {
    grid-template-columns: auto 1fr;
    row-gap: 0.35rem;
  }

  .saas-nav-shell {
    order: 3;
    grid-column: 1 / -1;
    justify-self: stretch;
    overflow-x: auto;
    padding-bottom: 0.25rem;
  }

  .saas-nav-shell::-webkit-scrollbar {
    height: 4px;
  }

  .saas-nav-shell::-webkit-scrollbar-thumb {
    background: rgba(111, 75, 255, 0.35);
    border-radius: 999px;
  }

  .saas-nav-menu {
    min-width: max-content;
  }

  .saas-navbar-right {
    justify-self: end;
  }
}

/* Global SaaS Custom Select */
.saas-native-select {
  position: absolute !important;
  opacity: 0 !important;
  pointer-events: none !important;
  width: 0 !important;
  height: 0 !important;
}

.saas-select-wrap {
  position: relative;
  width: 100%;
}

.saas-select-trigger {
  width: 100%;
  min-height: 42px;
  border: 1px solid rgba(111, 75, 255, 0.2);
  border-radius: 12px;
  background: #ffffff;
  color: #2a3552;
  padding: 0.58rem 2.2rem 0.58rem 0.82rem;
  text-align: left;
  font-size: 0.92rem;
  font-weight: 500;
  line-height: 1.2;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  box-shadow: 0 4px 14px rgba(31, 37, 56, 0.04);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.saas-select-trigger:hover {
  border-color: rgba(111, 75, 255, 0.32);
}

.saas-select-wrap.open .saas-select-trigger,
.saas-select-trigger:focus {
  border-color: rgba(111, 75, 255, 0.5);
  box-shadow: 0 0 0 0.2rem rgba(111, 75, 255, 0.14);
  outline: none;
}

.saas-select-trigger[disabled] {
  opacity: 0.65;
  cursor: not-allowed;
}

.saas-select-trigger::after {
  content: "";
  position: absolute;
  right: 12px;
  width: 8px;
  height: 8px;
  border-right: 2px solid #7a57ff;
  border-bottom: 2px solid #7a57ff;
  transform: rotate(45deg);
  transform-origin: center;
  transition: transform 0.2s ease;
  pointer-events: none;
}

.saas-select-wrap.open .saas-select-trigger::after {
  transform: rotate(-135deg) translateY(-1px);
}

.saas-select-value {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  max-width: 100%;
}

.saas-select-menu {
  position: absolute;
  top: calc(100% + 7px);
  left: 0;
  right: 0;
  z-index: 1100;
  background: #ffffff;
  border: 1px solid rgba(111, 75, 255, 0.16);
  border-radius: 14px;
  box-shadow: 0 14px 28px rgba(20, 28, 48, 0.14);
  padding: 0.35rem;
  max-height: 260px;
  overflow: auto;
  opacity: 0;
  transform: translateY(-4px);
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease;
}

.saas-select-wrap.open .saas-select-menu {
  opacity: 1;
  transform: translateY(0);
  visibility: visible;
  pointer-events: auto;
}

.saas-select-option {
  width: 100%;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: #2a3552;
  font-size: 0.9rem;
  font-weight: 500;
  text-align: left;
  padding: 0.5rem 0.62rem;
  line-height: 1.3;
  transition: background-color 0.14s ease, color 0.14s ease;
}

.saas-select-option:hover,
.saas-select-option:focus {
  background: rgba(111, 75, 255, 0.1);
  color: #3a2aa8;
  outline: none;
}

.saas-select-option.selected {
  background: linear-gradient(135deg, #6f4bff, #8f63ff);
  color: #ffffff;
}

.saas-select-option[disabled] {
  opacity: 0.45;
  cursor: not-allowed;
}

html[data-theme="dark"] .saas-select-trigger {
  background: rgba(14, 21, 36, 0.88);
  border-color: rgba(127, 169, 255, 0.3);
  color: #e8f0ff;
  box-shadow: 0 6px 16px rgba(3, 8, 21, 0.28);
}

html[data-theme="dark"] .saas-select-trigger::after {
  border-right-color: #b8ccff;
  border-bottom-color: #b8ccff;
}

html[data-theme="dark"] .saas-select-menu {
  background: #11192a;
  border-color: rgba(127, 169, 255, 0.24);
  box-shadow: 0 16px 28px rgba(3, 8, 21, 0.42);
}

html[data-theme="dark"] .saas-select-option {
  color: #e8f0ff;
}

html[data-theme="dark"] .saas-select-option:hover,
html[data-theme="dark"] .saas-select-option:focus {
  background: rgba(127, 169, 255, 0.2);
  color: #ffffff;
}

html[data-theme="dark"] .saas-select-option.selected {
  background: linear-gradient(135deg, #6f4bff, #8f63ff);
  color: #ffffff;
}