/* ============================================================
   LivoRide Premium UI Overrides
   Loaded after the compiled theme CSS — pure overrides, no
   vendor files touched. Uses theme CSS vars:
   --primary-color / --secondary-color (RGB triplets)
   Dark mode: body.dark  |  RTL: body.rtl
   ============================================================ */

:root {
  --lv-radius-lg: 18px;
  --lv-radius-md: 14px;
  --lv-radius-sm: 10px;
  --lv-shadow-soft: 0 6px 24px rgba(17, 24, 39, 0.07);
  --lv-shadow-lift: 0 14px 40px rgba(17, 24, 39, 0.14);
  --lv-ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Global polish ---------- */
body.theme {
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

::selection {
  background: rgba(var(--primary-color), 0.85);
  color: #fff;
}

body.theme ::-webkit-scrollbar { width: 10px; height: 10px; }
body.theme ::-webkit-scrollbar-track { background: transparent; }
body.theme ::-webkit-scrollbar-thumb {
  background: rgba(var(--primary-color), 0.45);
  border-radius: 8px;
}
body.theme ::-webkit-scrollbar-thumb:hover {
  background: rgba(var(--primary-color), 0.7);
}

/* Premium buttons */
body.theme .btn.gradient-bg-color {
  background-image: linear-gradient(
    135deg,
    rgb(var(--primary-color)) 0%,
    rgb(var(--secondary-color)) 100%
  );
  border: 0;
  border-radius: 999px;
  font-weight: 600;
  letter-spacing: 0.2px;
  box-shadow: 0 8px 20px rgba(var(--primary-color), 0.35);
  transition: transform 0.25s var(--lv-ease), box-shadow 0.25s var(--lv-ease),
    filter 0.25s var(--lv-ease);
}
body.theme .btn.gradient-bg-color:hover,
body.theme .btn.gradient-bg-color:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(var(--primary-color), 0.45);
  filter: brightness(1.06);
}
body.theme .btn.gradient-bg-color:active {
  transform: translateY(0);
  box-shadow: 0 6px 16px rgba(var(--primary-color), 0.3);
}

/* ---------- Header ---------- */
body.theme header {
  position: sticky;
  top: 0;
  z-index: 1030;
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  background: rgba(255, 255, 255, 0.82);
  border-bottom: 1px solid rgba(17, 24, 39, 0.06);
  transition: box-shadow 0.3s var(--lv-ease), background 0.3s var(--lv-ease);
}
body.theme.dark header {
  background: rgba(16, 18, 27, 0.82);
  border-bottom-color: rgba(255, 255, 255, 0.06);
}
body.theme header.lv-scrolled {
  box-shadow: 0 10px 30px rgba(17, 24, 39, 0.1);
}
body.theme.dark header.lv-scrolled {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
}

body.theme header .top-header { padding-block: 10px; }

body.theme header .logo-box img {
  max-height: 46px;
  transition: transform 0.3s var(--lv-ease);
}
body.theme header .logo-box:hover img { transform: scale(1.04); }

/* Nav links — animated underline */
body.theme header .navbar-nav .nav-link {
  position: relative;
  font-weight: 500;
  transition: color 0.25s var(--lv-ease);
}
body.theme header .navbar-nav .nav-link::after {
  content: "";
  position: absolute;
  inset-inline: 12px;
  bottom: 4px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(
    90deg,
    rgb(var(--primary-color)),
    rgb(var(--secondary-color))
  );
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.3s var(--lv-ease);
}
body.theme header .navbar-nav .nav-link:hover { color: rgb(var(--primary-color)); }
body.theme header .navbar-nav .nav-link:hover::after { transform: scaleX(1); }

/* Header controls */
body.theme header .language-btn,
body.theme header .dark-light-mode {
  border-radius: 999px;
  transition: background 0.25s var(--lv-ease), transform 0.25s var(--lv-ease);
}
body.theme header .language-btn:hover,
body.theme header .dark-light-mode:hover {
  background: rgba(var(--primary-color), 0.1);
  transform: translateY(-1px);
}
body.theme header .ticket-btn {
  padding-inline: 26px;
}

/* Header dropdown */
body.theme header .dropdown-menu {
  border: 0;
  border-radius: var(--lv-radius-md);
  box-shadow: var(--lv-shadow-lift);
  overflow: hidden;
  padding: 6px;
}
body.theme header .dropdown-menu .dropdown-item {
  border-radius: var(--lv-radius-sm);
  transition: background 0.2s var(--lv-ease);
}
body.theme header .dropdown-menu .dropdown-item:hover,
body.theme header .dropdown-menu .dropdown-item.active {
  background: rgba(var(--primary-color), 0.12);
  color: rgb(var(--primary-color));
}
body.theme.dark header .dropdown-menu { background: #181b26; }

/* ---------- Footer ---------- */
body.theme .footer-section {
  position: relative;
  overflow: hidden;
}
body.theme .footer-section::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(600px 300px at 8% 0%, rgba(var(--primary-color), 0.12), transparent 65%),
    radial-gradient(500px 260px at 95% 100%, rgba(var(--secondary-color), 0.12), transparent 65%);
}
body.theme .footer-section .top-footer { position: relative; }

body.theme .footer-section .footer-title h4 {
  position: relative;
  display: inline-block;
  padding-bottom: 8px;
  font-weight: 600;
}
body.theme .footer-section .footer-title h4::after {
  content: "";
  position: absolute;
  bottom: 0;
  inset-inline-start: 0;
  width: 34px;
  height: 3px;
  border-radius: 3px;
  background: linear-gradient(
    90deg,
    rgb(var(--primary-color)),
    rgb(var(--secondary-color))
  );
}

body.theme .footer-section .content-list li a {
  position: relative;
  transition: color 0.25s var(--lv-ease), padding-inline-start 0.25s var(--lv-ease);
}
body.theme .footer-section .content-list li a:hover {
  color: rgb(var(--primary-color));
  padding-inline-start: 6px;
}

/* Newsletter — pill input group */
body.theme .footer-form .form-group {
  border-radius: 999px;
  overflow: hidden;
  box-shadow: var(--lv-shadow-soft);
  border: 1px solid rgba(var(--primary-color), 0.18);
  transition: border-color 0.25s var(--lv-ease), box-shadow 0.25s var(--lv-ease);
}
body.theme .footer-form .form-group:focus-within {
  border-color: rgba(var(--primary-color), 0.55);
  box-shadow: 0 0 0 4px rgba(var(--primary-color), 0.12);
}
body.theme .footer-form .form-control {
  border: 0;
  box-shadow: none;
}
body.theme .footer-form .btn {
  border-radius: 999px;
}

/* Store badges */
body.theme .store-list li a {
  display: inline-block;
  border-radius: var(--lv-radius-sm);
  transition: transform 0.25s var(--lv-ease), box-shadow 0.25s var(--lv-ease);
}
body.theme .store-list li a:hover {
  transform: translateY(-3px);
  box-shadow: var(--lv-shadow-soft);
}

/* Social icons */
body.theme .sub-footer .social-list li a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(var(--primary-color), 0.25);
  transition: all 0.25s var(--lv-ease);
}
body.theme .sub-footer .social-list li a:hover {
  background: linear-gradient(
    135deg,
    rgb(var(--primary-color)),
    rgb(var(--secondary-color))
  );
  border-color: transparent;
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 8px 18px rgba(var(--primary-color), 0.35);
}
body.theme .sub-footer .social-list li a:hover i { color: #fff; }

/* ---------- Booking portal (create ride) ---------- */
body.theme .create-ride-section {
  padding-block: 40px 70px;
  background:
    radial-gradient(700px 340px at 100% 0%, rgba(var(--primary-color), 0.07), transparent 60%),
    radial-gradient(600px 300px at 0% 100%, rgba(var(--secondary-color), 0.07), transparent 60%);
}

/* Page intro strip */
body.theme .lv-booking-hero {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 8px;
}
body.theme .lv-booking-hero h2 {
  font-weight: 700;
  margin: 0;
  background: linear-gradient(
    120deg,
    rgb(var(--primary-color)),
    rgb(var(--secondary-color))
  );
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
body.theme .lv-booking-hero p { margin: 4px 0 0; opacity: 0.75; }

body.theme .lv-booking-steps {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
body.theme .lv-booking-steps .lv-step {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  background: rgba(var(--primary-color), 0.08);
  color: rgb(var(--primary-color));
  border: 1px solid rgba(var(--primary-color), 0.18);
  white-space: nowrap;
}
body.theme .lv-booking-steps .lv-step i { font-size: 15px; }
body.theme .lv-booking-steps .lv-step-arrow {
  opacity: 0.4;
  font-size: 15px;
  color: rgb(var(--primary-color));
}
body.theme.dark .lv-booking-steps .lv-step {
  background: rgba(var(--primary-color), 0.16);
}

/* Alert note */
body.theme .create-ride-section .alert-message {
  border: 1px solid rgba(var(--primary-color), 0.25);
  background: rgba(var(--primary-color), 0.07);
  border-radius: var(--lv-radius-md);
  box-shadow: none;
}

/* Map card */
body.theme .create-ride-section .left-map-box {
  position: sticky;
  top: 92px;
}
body.theme .create-ride-section .save-address-map-box {
  border-radius: var(--lv-radius-lg);
  overflow: hidden;
  box-shadow: var(--lv-shadow-soft);
  border: 1px solid rgba(17, 24, 39, 0.06);
  background: #fff;
}
body.theme.dark .create-ride-section .save-address-map-box {
  background: #181b26;
  border-color: rgba(255, 255, 255, 0.06);
}
body.theme .create-ride-section #map,
body.theme .create-ride-section .lv-map-placeholder {
  border-radius: 0;
}

/* Map placeholder (location permission) */
body.theme .lv-map-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 500px;
  width: 100%;
  text-align: center;
  padding: 24px;
  background:
    radial-gradient(300px 200px at 50% 30%, rgba(var(--primary-color), 0.1), transparent 70%),
    rgba(var(--primary-color), 0.04);
}
body.theme .lv-map-placeholder i {
  font-size: 44px;
  color: rgb(var(--primary-color));
}
body.theme .lv-map-placeholder p {
  font-size: 16px;
  font-weight: 600;
  margin: 0;
}
body.theme .lv-map-placeholder small { opacity: 0.7; }

/* Duration / distance bar */
body.theme .duration-distance-box {
  display: flex;
  gap: 12px;
  padding: 14px 18px;
  margin: 0;
  border-top: 1px solid rgba(17, 24, 39, 0.06);
}
body.theme.dark .duration-distance-box {
  border-top-color: rgba(255, 255, 255, 0.06);
}
body.theme .duration-distance-box li {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 10px 14px;
  border-radius: var(--lv-radius-sm);
  background: rgba(var(--primary-color), 0.07);
  font-size: 13px;
  font-weight: 500;
}
body.theme .duration-distance-box li span {
  font-size: 17px;
  font-weight: 700;
  color: rgb(var(--primary-color));
}

/* Booking form card */
body.theme .create-ride-section .right-details-box {
  border-radius: var(--lv-radius-lg);
  background: #fff;
  border: 1px solid rgba(17, 24, 39, 0.06);
  box-shadow: var(--lv-shadow-soft);
  padding: 28px;
}
body.theme.dark .create-ride-section .right-details-box {
  background: #181b26;
  border-color: rgba(255, 255, 255, 0.06);
}
body.theme .create-ride-section .dashboard-title h3 {
  font-weight: 700;
  position: relative;
  display: inline-block;
  padding-bottom: 10px;
}
body.theme .create-ride-section .dashboard-title h3::after {
  content: "";
  position: absolute;
  bottom: 0;
  inset-inline-start: 0;
  width: 44px;
  height: 3px;
  border-radius: 3px;
  background: linear-gradient(
    90deg,
    rgb(var(--primary-color)),
    rgb(var(--secondary-color))
  );
}

/* Form controls */
body.theme .create-ride-section .form-label {
  font-weight: 600;
  font-size: 13.5px;
  letter-spacing: 0.2px;
}
body.theme .create-ride-section .form-control,
body.theme .create-ride-section .form-select,
body.theme .create-ride-section textarea.form-control {
  border-radius: var(--lv-radius-sm);
  border: 1.5px solid rgba(17, 24, 39, 0.1);
  transition: border-color 0.25s var(--lv-ease), box-shadow 0.25s var(--lv-ease);
}
body.theme.dark .create-ride-section .form-control,
body.theme.dark .create-ride-section .form-select {
  border-color: rgba(255, 255, 255, 0.1);
}
body.theme .create-ride-section .form-control:focus,
body.theme .create-ride-section .form-select:focus {
  border-color: rgb(var(--primary-color));
  box-shadow: 0 0 0 4px rgba(var(--primary-color), 0.12);
}
body.theme .create-ride-section .select2-container--default .select2-selection {
  border-radius: var(--lv-radius-sm) !important;
  border: 1.5px solid rgba(17, 24, 39, 0.1) !important;
  transition: border-color 0.25s var(--lv-ease), box-shadow 0.25s var(--lv-ease);
}
body.theme.dark .create-ride-section .select2-container--default .select2-selection {
  border-color: rgba(255, 255, 255, 0.1) !important;
}
body.theme .create-ride-section .select2-container--default.select2-container--focus .select2-selection,
body.theme .create-ride-section .select2-container--default.select2-container--open .select2-selection {
  border-color: rgb(var(--primary-color)) !important;
  box-shadow: 0 0 0 4px rgba(var(--primary-color), 0.12);
}

/* Vehicle cards */
body.theme .vehicles-box {
  position: relative;
  border-radius: var(--lv-radius-md);
  border: 1.5px solid rgba(17, 24, 39, 0.08);
  background: #fff;
  padding: 14px;
  cursor: pointer;
  transition: border-color 0.25s var(--lv-ease), box-shadow 0.25s var(--lv-ease),
    transform 0.25s var(--lv-ease);
}
body.theme.dark .vehicles-box {
  background: #1d2130;
  border-color: rgba(255, 255, 255, 0.08);
}
body.theme .vehicles-box:hover {
  transform: translateY(-3px);
  border-color: rgba(var(--primary-color), 0.45);
  box-shadow: var(--lv-shadow-soft);
}
body.theme .vehicles-box:has(.form-check-input:checked) {
  border-color: rgb(var(--primary-color));
  box-shadow: 0 0 0 4px rgba(var(--primary-color), 0.14), var(--lv-shadow-soft);
  background: rgba(var(--primary-color), 0.04);
}
body.theme .vehicles-box .form-check-input {
  position: absolute;
  top: 12px;
  inset-inline-end: 12px;
  z-index: 2;
}
body.theme .vehicles-box .form-check-input:checked {
  background-color: rgb(var(--primary-color));
  border-color: rgb(var(--primary-color));
}
body.theme .vehicles-box .vehicles-image img {
  transition: transform 0.3s var(--lv-ease);
}
body.theme .vehicles-box:hover .vehicles-image img {
  transform: scale(1.06);
}
body.theme .vehicles-box .vehicles-name .price {
  color: rgb(var(--primary-color));
  font-weight: 700;
}
body.theme .vehicles-box .vehicles-name .btn {
  border-radius: 999px;
  font-size: 12px;
  padding: 3px 12px;
  border: 1px solid rgba(var(--primary-color), 0.35);
  color: rgb(var(--primary-color));
  transition: all 0.2s var(--lv-ease);
}
body.theme .vehicles-box .vehicles-name .btn:hover {
  background: rgb(var(--primary-color));
  color: #fff;
}

/* Book button */
body.theme #bookRideBtn.confirm-btn {
  width: 100%;
  padding-block: 14px;
  font-size: 16px;
  border-radius: var(--lv-radius-md);
}

/* Empty state */
body.theme .data-not-found-box {
  border: 1.5px dashed rgba(var(--primary-color), 0.35);
  border-radius: var(--lv-radius-md);
  padding: 22px;
  text-align: center;
  background: rgba(var(--primary-color), 0.04);
}

/* ---------- Modals ---------- */
body.theme .theme-modal .modal-content {
  border: 0;
  border-radius: var(--lv-radius-lg);
  box-shadow: var(--lv-shadow-lift);
  overflow: hidden;
}
body.theme.dark .theme-modal .modal-content { background: #181b26; }
body.theme .theme-modal .modal-footer,
body.theme .theme-modal .modal-header { border-color: rgba(17, 24, 39, 0.06); }
body.theme.dark .theme-modal .modal-footer,
body.theme.dark .theme-modal .modal-header { border-color: rgba(255, 255, 255, 0.06); }

body.theme .vehicle-detail-modal .vehicles-list li.total-box {
  margin-top: 8px;
  padding-top: 10px;
  border-top: 1px dashed rgba(var(--primary-color), 0.4);
  font-weight: 700;
}
body.theme .vehicle-detail-modal .vehicles-list li.total-box span {
  color: rgb(var(--primary-color));
}

/* ---------- Account / auth shared polish ---------- */
body.theme .front-login-section .login-box,
body.theme .account-section .sidebar-box,
body.theme .account-section .dashboard-box {
  border-radius: var(--lv-radius-lg);
  box-shadow: var(--lv-shadow-soft);
}

/* ---------- Responsive ---------- */
@media (max-width: 991px) {
  body.theme .create-ride-section .left-map-box { position: static; }
  body.theme .create-ride-section .right-details-box { padding: 20px; }
  body.theme .lv-booking-steps { display: none; }
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  body.theme *,
  body.theme *::before,
  body.theme *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}
/* ============================================================
   LivoRide Premium v2 - full brand alignment with landing page
   Yellow #FFC400 / Ink #111111
   ============================================================ */

:root {
  --primary-color: 255, 196, 0 !important;
  --secondary-color: 17, 17, 17 !important;
}

/* Yellow buttons need dark text (theme assumes white) */
body.theme .btn.gradient-bg-color,
body.theme .btn.gradient-bg-color * {
  color: #111 !important;
}
body.theme .btn.gradient-bg-color {
  background-image: linear-gradient(135deg, #FFC400 0%, #ffb300 100%);
  box-shadow: 0 8px 22px rgba(255, 196, 0, 0.35);
  font-weight: 700;
}
body.theme .btn.gradient-bg-color:hover,
body.theme .btn.gradient-bg-color:focus-visible {
  box-shadow: 0 14px 30px rgba(255, 196, 0, 0.5);
}

/* ---------- Site-wide dark header (landing style) ---------- */
body.theme header {
  background: rgba(13, 13, 13, 0.92);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}
body.theme header.lv-scrolled {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}
body.theme header .navbar-nav .nav-link,
body.theme header .menu-title h3 {
  color: rgba(255, 255, 255, 0.85);
}
body.theme header .navbar-nav .nav-link:hover {
  color: #FFC400;
}
body.theme header .navbar-nav .nav-link::after {
  background: #FFC400;
}
body.theme header .logo-box img {
  background: rgba(255, 255, 255, 0.92);
  border-radius: 10px;
  padding: 4px 10px;
}
body.theme header .language-btn,
body.theme header .dark-light-mode,
body.theme header .navbar-toggler {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
}
body.theme header .language-btn span { color: #fff; }
body.theme header .language-btn:hover,
body.theme header .dark-light-mode:hover {
  background: rgba(255, 196, 0, 0.2);
}
body.theme header .dark-light-mode i { color: #fff; }
body.theme header .ticket-btn {
  border-radius: 999px;
}
@media (max-width: 991px) {
  body.theme header .header-middle {
    background: #111111;
  }
  body.theme header .navbar-nav .nav-link { color: #fff; }
}

/* ---------- New dark footer ---------- */
.lv-footer {
  background: #0d0d0d;
  color: #fff;
  padding: 56px 32px 30px;
  font-family: inherit;
}
.lv-footer-grid {
  max-width: 1240px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr 1fr;
  gap: 34px;
}
.lv-footer-logo { font-size: 24px; font-weight: 800; color: #fff; }
.lv-footer-logo span { color: #FFC400; }
.lv-footer-desc {
  margin-top: 14px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 14px;
  line-height: 1.55;
  max-width: 300px;
}
.lv-footer-news {
  display: flex;
  margin-top: 18px;
  max-width: 320px;
  border-radius: 999px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.06);
}
.lv-footer-news input {
  flex: 1;
  min-width: 0;
  background: transparent;
  border: 0;
  outline: none;
  color: #fff;
  padding: 11px 16px;
  font-size: 13.5px;
}
.lv-footer-news input::placeholder { color: rgba(255, 255, 255, 0.4); }
.lv-footer-news button {
  background: #FFC400;
  color: #111;
  border: 0;
  font-weight: 700;
  font-size: 13.5px;
  padding: 0 18px;
  cursor: pointer;
}
.lv-footer-social { display: flex; gap: 10px; margin-top: 18px; }
.lv-footer-social a {
  width: 38px; height: 38px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.08);
  display: grid; place-items: center;
  color: #fff; font-size: 16px;
  transition: all 0.25s ease;
}
.lv-footer-social a:hover { background: #FFC400; color: #111; transform: translateY(-2px); }
.lv-footer-social a:hover i { color: #111; }
.lv-footer-social a i { color: #fff; }
.lv-footer-title { font-weight: 700; font-size: 15px; margin-bottom: 14px; color: #fff; }
.lv-footer-links { display: flex; flex-direction: column; gap: 9px; font-size: 14px; }
.lv-footer-links a { color: rgba(255, 255, 255, 0.6); transition: color 0.2s, padding-left 0.2s; }
.lv-footer-links a:hover { color: #FFC400; padding-left: 4px; }
.lv-footer-apps { display: flex; flex-direction: column; gap: 10px; }
.lv-footer-apps a {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 9px 12px;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  display: flex; align-items: center; gap: 8px;
  transition: background 0.25s ease;
}
.lv-footer-apps a:hover { background: rgba(255, 196, 0, 0.25); color: #fff; }
.lv-footer-bottom {
  max-width: 1240px;
  margin: 34px auto 0;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 14px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 13px;
}
.lv-footer-legal { display: flex; gap: 18px; flex-wrap: wrap; }
.lv-footer-legal a { color: rgba(255, 255, 255, 0.55); }
.lv-footer-legal a:hover { color: #FFC400; }
.lv-footer-legal .lv-footer-top { color: #FFC400; font-weight: 600; }
@media (max-width: 1024px) { .lv-footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .lv-footer-grid { grid-template-columns: 1fr; } }

/* ---------- Auth pages (login / register / OTP) ---------- */
body.theme .authentication-section {
  background: radial-gradient(120% 90% at 75% 0%, #151310 0%, #0b0a09 55%, #070606 100%);
  position: relative;
  overflow: hidden;
  padding-block: 70px;
}
body.theme .authentication-section::before {
  content: "";
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 48px 48px;
  -webkit-mask-image: radial-gradient(70% 70% at 50% 30%, #000, transparent 80%);
  mask-image: radial-gradient(70% 70% at 50% 30%, #000, transparent 80%);
  pointer-events: none;
}
body.theme .authentication-section::after {
  content: "";
  position: absolute; top: -10%; right: 0;
  width: 480px; height: 480px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,196,0,.2), transparent 65%);
  animation: lr-authglow 7s ease-in-out infinite;
  pointer-events: none;
}
@keyframes lr-authglow { 0%,100%{opacity:.5} 50%{opacity:.9} }
body.theme .authentication-section .container { position: relative; z-index: 1; }
body.theme .auth-form-box {
  background: #fff;
  border-radius: 26px;
  box-shadow: 0 40px 90px rgba(0, 0, 0, 0.45);
  overflow: hidden;
}
body.theme.dark .auth-form-box { background: #181b26; }
body.theme .auth-form-box .auth-image {
  border-radius: 18px;
  padding: 24px;
}
body.theme .auth-right-box {
  padding: 42px 38px;
}
body.theme .auth-right-box h3 {
  font-weight: 800;
  letter-spacing: -0.02em;
}
body.theme .auth-right-box h6 { opacity: 0.65; margin-top: 6px; }
body.theme .auth-right-box .form-control,
body.theme .auth-right-box .form-select {
  border-radius: 12px;
  border: 1.5px solid rgba(17, 24, 39, 0.12);
  padding-block: 12px;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
body.theme .auth-right-box .form-control:focus {
  border-color: #FFC400;
  box-shadow: 0 0 0 4px rgba(255, 196, 0, 0.18);
}
body.theme .auth-right-box .select2-container--default .select2-selection {
  border-radius: 12px !important;
  border: 1.5px solid rgba(17, 24, 39, 0.12) !important;
}
body.theme .auth-right-box .otp-btn {
  width: 100%;
  border-radius: 12px;
  padding-block: 13px;
  font-size: 15.5px;
}
body.theme .auth-right-box .or-box span {
  font-weight: 600;
  opacity: 0.6;
}
body.theme .auth-right-box .btn-outline {
  border-radius: 12px;
  border: 1.5px solid rgba(17, 24, 39, 0.15);
  transition: all 0.2s ease;
}
body.theme .auth-right-box .btn-outline:hover {
  border-color: #FFC400;
  background: rgba(255, 196, 0, 0.08);
}

/* ---------- Customer portal ---------- */
body.theme .user-dashboard-section {
  background: radial-gradient(600px 300px at 100% 0%, rgba(255, 196, 0, 0.06), transparent 60%), #FAFAF7;
  padding-block: 50px;
}
body.theme.dark .user-dashboard-section { background: #101219; }
body.theme .left-profile-box {
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(17, 24, 39, 0.06);
  box-shadow: 0 6px 24px rgba(17, 24, 39, 0.07);
  background: #fff;
}
body.theme.dark .left-profile-box { background: #181b26; border-color: rgba(255,255,255,.06); }
body.theme .profile-box .initial-letter,
body.theme .profile-box .initial-letter span {
  background: #FFC400 !important;
  color: #111 !important;
  font-weight: 800;
}
body.theme .dashboard-option li a {
  border-radius: 12px;
  font-weight: 600;
  transition: all 0.2s ease;
}
body.theme .dashboard-option li a:hover {
  background: rgba(255, 196, 0, 0.12);
}
body.theme .dashboard-option li a.active {
  background: linear-gradient(135deg, #FFC400, #ffb300) !important;
  color: #111 !important;
  box-shadow: 0 8px 18px rgba(255, 196, 0, 0.35);
}
body.theme .dashboard-option li a.active i { color: #111 !important; }
body.theme .user-dashboard-section .right-details-box {
  border-radius: 20px;
  border: 1px solid rgba(17, 24, 39, 0.06);
  box-shadow: 0 6px 24px rgba(17, 24, 39, 0.07);
  background: #fff;
  padding: 26px;
}
body.theme.dark .user-dashboard-section .right-details-box { background: #181b26; border-color: rgba(255,255,255,.06); }
body.theme .dashboard-details-box .dashboard-title h3 {
  font-weight: 800;
  position: relative;
  display: inline-block;
  padding-bottom: 10px;
}
body.theme .dashboard-details-box .dashboard-title h3::after {
  content: "";
  position: absolute; bottom: 0; inset-inline-start: 0;
  width: 44px; height: 3px; border-radius: 3px;
  background: linear-gradient(90deg, #FFC400, #ffb300);
}
body.theme .wallet-box {
  border-radius: 18px !important;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
body.theme .wallet-box:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 36px rgba(17, 24, 39, 0.14);
}
body.theme .wallet-box.wallet-color-1 { background: linear-gradient(135deg, #111111, #2b2b2b) !important; }
body.theme .wallet-box.wallet-color-1 h2, body.theme .wallet-box.wallet-color-1 h5 { color: #FFC400 !important; }
body.theme .wallet-box.wallet-color-2 { background: linear-gradient(135deg, #FFC400, #ffb300) !important; }
body.theme .wallet-box.wallet-color-2 h2, body.theme .wallet-box.wallet-color-2 h5 { color: #111 !important; }
body.theme .wallet-box.wallet-color-3 { background: linear-gradient(135deg, #FEF3C7, #fde68a) !important; }
body.theme .wallet-box.wallet-color-3 h2, body.theme .wallet-box.wallet-color-3 h5 { color: #111 !important; }
body.theme .user-dashboard-section table thead th {
  background: #111 !important;
  color: #fff !important;
  font-weight: 700;
}
body.theme .user-dashboard-section .btn-show-menu {
  border-radius: 999px;
  background: #FFC400;
  color: #111;
  font-weight: 700;
}

/* Text wordmark instead of logo image */
body.theme header .logo-box.lv-logo-text {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #fff;
  display: flex;
  align-items: center;
  white-space: nowrap;
}
body.theme header .logo-box.lv-logo-text span { color: #FFC400; }
body.theme header .logo-box.lv-logo-text:hover { color: #fff; transform: none; }
/* ============================================================
   LivoRide Premium v3 - booking pages + customer panel deep pass
   ============================================================ */

/* ---------- Shared: badges as brand pills ---------- */
body.theme .badge {
  border-radius: 999px;
  padding: 5px 12px;
  font-weight: 700;
  font-size: 11.5px;
  letter-spacing: 0.02em;
}
body.theme .badge.badge-primary { background: rgba(255, 196, 0, 0.16); color: #a17700; }
body.theme .badge.badge-otp { background: #111; color: #FFC400; letter-spacing: 2px; font-size: 13px; }
body.theme .badge.badge-credit { background: rgba(34, 197, 94, 0.14); color: #15803d; }
body.theme .badge.badge-debit { background: rgba(239, 68, 68, 0.12); color: #b91c1c; }

/* ---------- Shared: tables (history, wallet) ---------- */
body.theme .table-details-box .table-responsive {
  border-radius: 16px;
  border: 1px solid rgba(17, 24, 39, 0.07);
  overflow: hidden;
}
body.theme .history-table,
body.theme .wallet-table {
  margin-bottom: 0;
}
body.theme .history-table thead th,
body.theme .wallet-table thead th {
  background: #111 !important;
  color: #fff !important;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  padding: 14px 16px;
  border: 0;
}
body.theme .history-table tbody td,
body.theme .wallet-table tbody td {
  padding: 14px 16px;
  vertical-align: middle;
  border-color: rgba(17, 24, 39, 0.05);
}
body.theme .history-table tbody tr,
body.theme .wallet-table tbody tr {
  transition: background 0.2s ease;
}
body.theme .history-table tbody tr:hover,
body.theme .wallet-table tbody tr:hover {
  background: rgba(255, 196, 0, 0.05);
}
body.theme .history-table .customer-image,
body.theme .history-table .profile-box img {
  border-radius: 50%;
  border: 2px solid #FFC400;
}
body.theme .history-table .action-icon,
body.theme .table-details-box .action-icon {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(255, 196, 0, 0.12);
  color: #a17700;
  transition: all 0.2s ease;
}
body.theme .history-table .action-icon:hover,
body.theme .table-details-box .action-icon:hover {
  background: #FFC400;
  color: #111;
  transform: translateY(-1px);
}

/* pagination pills */
body.theme .pagination-box .pagination .page-link,
body.theme .pagination-main .page-link {
  border-radius: 10px !important;
  margin-inline: 3px;
  border: 1px solid rgba(17, 24, 39, 0.1);
  color: #111;
  font-weight: 600;
  transition: all 0.2s ease;
}
body.theme .pagination-box .pagination .page-item.active .page-link,
body.theme .pagination-main .page-item.active .page-link {
  background: #FFC400 !important;
  border-color: #FFC400 !important;
  color: #111 !important;
  box-shadow: 0 6px 14px rgba(255, 196, 0, 0.35);
}
body.theme .pagination-box .pagination .page-link:hover {
  background: rgba(255, 196, 0, 0.14);
  border-color: rgba(255, 196, 0, 0.4);
}

/* empty states */
body.theme .dashboard-no-data {
  border: 1.5px dashed rgba(255, 196, 0, 0.45);
  border-radius: 18px;
  padding: 34px 20px;
  background: rgba(255, 196, 0, 0.04);
}

/* ---------- Ride details page (show) ---------- */
body.theme .ride-details-box,
body.theme .create-ride-section .card {
  border-radius: 20px;
  border: 1px solid rgba(17, 24, 39, 0.06);
  box-shadow: 0 6px 24px rgba(17, 24, 39, 0.07);
  background: #fff;
  overflow: hidden;
}
body.theme.dark .ride-details-box,
body.theme.dark .create-ride-section .card { background: #181b26; border-color: rgba(255,255,255,.06); }
body.theme .location-view-accordion .accordion-item {
  border-radius: 16px !important;
  border: 1px solid rgba(17, 24, 39, 0.07);
  overflow: hidden;
  margin-bottom: 12px;
}
body.theme .location-view-accordion .accordion-button {
  font-weight: 700;
  background: #fff;
}
body.theme .location-view-accordion .accordion-button:not(.collapsed) {
  background: rgba(255, 196, 0, 0.1);
  color: #111;
  box-shadow: none;
}
body.theme .location-view-accordion .accordion-button:focus {
  box-shadow: 0 0 0 4px rgba(255, 196, 0, 0.15);
}
body.theme .tracking-path .stop-point,
body.theme .tracking-path .end-point {
  position: relative;
}
body.theme .driver-box {
  border-radius: 18px;
  border: 1px solid rgba(17, 24, 39, 0.07);
  background: linear-gradient(135deg, #fffdf5, #fff);
  box-shadow: 0 6px 20px rgba(17, 24, 39, 0.06);
  padding: 18px;
}
body.theme.dark .driver-box { background: #1d2130; border-color: rgba(255,255,255,.07); }
body.theme .driver-box .profile-img img,
body.theme .driver-box img.img-fluid {
  border-radius: 50%;
  border: 3px solid #FFC400;
  box-shadow: 0 6px 16px rgba(255, 196, 0, 0.3);
}
body.theme .personal-rating .rating i,
body.theme .rating .ri-star-fill {
  color: #FFC400;
}
body.theme .invoice-btn {
  border-radius: 999px;
  padding-inline: 22px;
}
body.theme .date-time-list li,
body.theme .personal-details-list li,
body.theme .api-right-list li {
  padding-block: 8px;
}
body.theme .vehicle-image img {
  filter: drop-shadow(0 10px 18px rgba(17, 24, 39, 0.18));
}
body.theme .ride-details-box .total,
body.theme .price-total {
  font-weight: 800;
  color: #111;
}
body.theme .price-total.price-success,
body.theme .t-success {
  color: #15803d !important;
}

/* ---------- Live tracking page ---------- */
body.theme .map-section {
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(17, 24, 39, 0.08);
  box-shadow: 0 10px 34px rgba(17, 24, 39, 0.12);
}
body.theme .map-controls .map-control-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #fff;
  color: #111;
  border: 1px solid rgba(17, 24, 39, 0.08);
  box-shadow: 0 8px 20px rgba(17, 24, 39, 0.18);
  display: grid;
  place-items: center;
  transition: all 0.2s ease;
}
body.theme .map-controls .map-control-btn:hover {
  background: #FFC400;
  color: #111;
  transform: translateY(-2px);
}
body.theme .details-sidebar {
  border-radius: 20px;
  border: 1px solid rgba(17, 24, 39, 0.06);
  background: #fff;
  box-shadow: 0 6px 24px rgba(17, 24, 39, 0.08);
  padding: 20px;
}
body.theme.dark .details-sidebar { background: #181b26; border-color: rgba(255,255,255,.06); }
body.theme .details-sidebar .info-section {
  border-radius: 14px;
  background: rgba(17, 24, 39, 0.025);
  padding: 14px 16px;
  margin-bottom: 12px;
}
body.theme.dark .details-sidebar .info-section { background: rgba(255,255,255,.04); }
body.theme .details-sidebar .info-label {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  opacity: 0.55;
}
body.theme .details-sidebar .info-value {
  font-weight: 700;
}
body.theme .details-sidebar .activities-title {
  font-weight: 800;
  position: relative;
  display: inline-block;
  padding-bottom: 8px;
}
body.theme .details-sidebar .activities-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  inset-inline-start: 0;
  width: 36px;
  height: 3px;
  border-radius: 3px;
  background: linear-gradient(90deg, #FFC400, #ffb300);
}
body.theme .details-sidebar.custom-scrollbar::-webkit-scrollbar { width: 6px; }
body.theme .details-sidebar.custom-scrollbar::-webkit-scrollbar-thumb {
  background: rgba(255, 196, 0, 0.5);
  border-radius: 4px;
}
body.theme .accordion-section .accordion-item {
  border-radius: 14px !important;
  overflow: hidden;
  border: 1px solid rgba(17, 24, 39, 0.07);
  margin-bottom: 10px;
}
body.theme .accordion-section .accordion-button {
  font-weight: 700;
}
body.theme .accordion-section .accordion-button:not(.collapsed) {
  background: rgba(255, 196, 0, 0.1);
  color: #111;
  box-shadow: none;
}

/* ---------- Notifications ---------- */
body.theme .notification-list li {
  border-radius: 14px;
  border: 1px solid rgba(17, 24, 39, 0.06);
  background: #fff;
  margin-bottom: 10px;
  padding: 14px 16px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  border-inline-start: 4px solid transparent;
}
body.theme.dark .notification-list li { background: #1d2130; border-color: rgba(255,255,255,.06); }
body.theme .notification-list li:hover {
  transform: translateX(3px);
  box-shadow: 0 8px 20px rgba(17, 24, 39, 0.08);
}
body.theme .notification-list li.unread {
  border-inline-start-color: #FFC400;
  background: linear-gradient(90deg, rgba(255, 196, 0, 0.07), #fff 40%);
}
body.theme.dark .notification-list li.unread {
  background: linear-gradient(90deg, rgba(255, 196, 0, 0.12), #1d2130 40%);
}
body.theme .notification-content h5 { font-weight: 700; }
body.theme .notification-content .ri-time-line { color: #a17700; }

/* ---------- Chat ---------- */
body.theme .chatting-main-box {
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(17, 24, 39, 0.07);
}
body.theme .chat-top-box {
  background: #111 !important;
  color: #fff;
  padding: 14px 18px;
}
body.theme .chat-top-box h5 { color: #fff; }
body.theme .chat-top-box #receiverStatusDot { box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.3); }
body.theme .chatting-box {
  background:
    radial-gradient(400px 200px at 100% 0%, rgba(255, 196, 0, 0.05), transparent 60%),
    #FAFAF7;
}
body.theme.dark .chatting-box { background: #10121a; }
body.theme .chatting-box .admin-reply .message,
body.theme .chatting-box .admin-reply .contentbox {
  background: linear-gradient(135deg, #FFC400, #ffb300) !important;
  color: #111 !important;
  border-radius: 16px 16px 4px 16px;
  box-shadow: 0 6px 14px rgba(255, 196, 0, 0.3);
}
body.theme .chatting-box .user-reply .message,
body.theme .chatting-box .user-reply .contentbox {
  background: #fff !important;
  color: #111;
  border-radius: 16px 16px 16px 4px;
  border: 1px solid rgba(17, 24, 39, 0.07);
  box-shadow: 0 4px 12px rgba(17, 24, 39, 0.05);
}
body.theme.dark .chatting-box .user-reply .message,
body.theme.dark .chatting-box .user-reply .contentbox {
  background: #1d2130 !important;
  color: #fff;
  border-color: rgba(255,255,255,.08);
}
body.theme .chat-time-chat { opacity: 0.5; font-size: 11px; }
body.theme .chatting-option {
  border-top: 1px solid rgba(17, 24, 39, 0.06);
  padding: 12px 14px;
}
body.theme .chatting-option input,
body.theme .chatting-option .form-control {
  border-radius: 999px;
  border: 1.5px solid rgba(17, 24, 39, 0.1);
  padding: 11px 18px;
}
body.theme .chatting-option input:focus {
  border-color: #FFC400;
  box-shadow: 0 0 0 4px rgba(255, 196, 0, 0.15);
}
body.theme .chatting-option .btn.gradient-bg-color {
  border-radius: 50%;
  width: 44px;
  height: 44px;
  padding: 0;
  display: grid;
  place-items: center;
}

/* ---------- Booking page (create) fine-tune for yellow brand ---------- */
body.theme .lv-booking-hero h2 {
  background: linear-gradient(120deg, #b58800, #111);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
body.theme.dark .lv-booking-hero h2 {
  background: linear-gradient(120deg, #FFC400, #fff);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
body.theme .lv-booking-steps .lv-step {
  background: rgba(255, 196, 0, 0.1);
  color: #a17700;
  border-color: rgba(255, 196, 0, 0.3);
}
body.theme.dark .lv-booking-steps .lv-step { color: #FFC400; }
body.theme .duration-distance-box li span { color: #a17700; }
body.theme.dark .duration-distance-box li span { color: #FFC400; }
body.theme .vehicles-box .vehicles-name .price { color: #a17700; }
body.theme.dark .vehicles-box .vehicles-name .price { color: #FFC400; }
body.theme .vehicles-box .vehicles-name .btn {
  border-color: rgba(255, 196, 0, 0.5);
  color: #a17700;
}
body.theme .vehicles-box .vehicles-name .btn:hover {
  background: #FFC400;
  color: #111;
}

/* developer credit */
.lv-dev-credit { color: #FFC400; font-weight: 600; }
.lv-dev-credit:hover { color: #ffd84d; }
