/*
Theme Name: Newday Engine
Theme URI: https://newday.ng
Author: Newday Team
Description: Hyper-Local Multi-Vendor Commerce & Point-to-Point Logistics for Anambra State (Hosted at newday.ng)
Version: 1.9.0
*/

:root {
  --primary-brand-green: #38A13B;
  --primary-brand-green-hover: #2e8731;
  --primary-brand-green-dark: #1b5e20;
  --primary-brand-green-gradient: linear-gradient(135deg, #1b5e20 0%, #38a13b 100%);
  --whatsapp-green: #25D366;
  --light-green-tint: #E8F5E9;
  --light-green-border: #C8E6C9;
  --surface-white: #FFFFFF;
  --background-grey: #F5F7F6;
  --primary-text: #1C1C1E;
  --secondary-text: #636366;
  --tertiary-text: #8E8E93;
  --border-color: #E5E5EA;
  --border-light: #F2F2F7;
  --danger-color: #FF3B30;
  --warning-color: #FF9500;
  --info-color: #007AFF;
  --shadow-xs: 0 1px 3px rgba(0, 0, 0, 0.04);
  --shadow-sm: 0 3px 10px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.09);
  --shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.16);
  --radius-xs: 8px;
  --radius-sm: 12px;
  --radius-md: 18px;
  --radius-lg: 24px;
  --radius-full: 9999px;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

html, body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

body {
  background-color: var(--background-grey);
  color: var(--primary-text);
  font-family: var(--font-sans);
  font-size: 14px;
  line-height: 1.4;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
}

.app-viewport {
  width: 100%;
  max-width: 100%;
  min-height: 100vh;
  background-color: var(--background-grey);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow-x: hidden;
  padding-bottom: 85px;
}

@media (min-width: 768px) {
  .app-viewport {
    padding-bottom: 30px;
  }
}

/* ==========================================================================
   DESKTOP & TABLET TOP NAVIGATION BAR
   ========================================================================== */
.desktop-navbar {
  display: none;
  background-color: var(--primary-brand-green);
  color: var(--surface-white);
  padding: 0 16px;
  width: 100%;
  height: 66px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  position: sticky;
  top: 0;
  z-index: 500;
}

@media (min-width: 768px) {
  .desktop-navbar {
    display: flex;
    align-items: center;
  }
}

@media (min-width: 1024px) {
  .desktop-navbar {
    padding: 0 24px;
    height: 68px;
  }
}

.desktop-nav-container {
  max-width: 1440px;
  margin: 0 auto;
  width: 100%;
  padding: 0 16px;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: nowrap;
  min-width: 0;
  overflow: visible;
}

#desktopRoleLabel {
  display: none !important;
}

@media (max-width: 1400px) {
  .desktop-nav-container {
    padding: 0 12px;
    gap: 8px;
  }
  .desktop-nav-link {
    padding: 5px 8px !important;
    font-size: 11.5px !important;
  }
  .desktop-user-actions {
    gap: 6px !important;
  }
  .desktop-wallet-pill, .desktop-role-status-pill {
    padding: 5px 8px !important;
    font-size: 11.5px !important;
  }
  .desktop-user-name {
    max-width: 100px !important;
  }
}

@media (max-width: 1200px) {
  .desktop-nav-links {
    gap: 2px !important;
  }
  .desktop-nav-link {
    padding: 4px 7px !important;
    font-size: 11px !important;
  }
  .desktop-user-actions {
    gap: 5px !important;
  }
  .desktop-wallet-pill, .desktop-role-status-pill {
    padding: 4px 7px !important;
    font-size: 11px !important;
  }
  .desktop-role-status-pill span:not(#desktopRoleStatusDot) {
    display: none;
  }
  .desktop-user-name {
    max-width: 80px !important;
  }
}

@media (max-width: 992px) {
  .desktop-brand-title span {
    display: none;
  }
  .desktop-user-name {
    display: none;
  }
  .desktop-logout-btn {
    padding: 5px 8px !important;
    font-size: 11px !important;
  }
}

.desktop-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: #fff;
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
}

.desktop-brand-icon {
  width: 36px;
  height: 36px;
  background: #fff;
  color: var(--primary-brand-green);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 800;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
}

.desktop-brand-title {
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -0.4px;
  white-space: nowrap;
}

.desktop-brand-title span {
  font-weight: 400;
  opacity: 0.95;
}

/* Nav Links */
.desktop-nav-links {
  display: flex;
  align-items: center;
  gap: 5px;
  list-style: none;
  margin: 0;
  padding: 0 4px;
  white-space: nowrap;
  flex-shrink: 1;
  min-width: 0;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.desktop-nav-links::-webkit-scrollbar {
  display: none;
}

.desktop-nav-link {
  color: rgba(255, 255, 255, 0.92);
  text-decoration: none;
  font-weight: 600;
  font-size: 12.5px;
  padding: 6px 11px;
  border-radius: var(--radius-full);
  transition: all 0.2s;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
  line-height: 1;
}

.desktop-nav-link:hover, .desktop-nav-link.active {
  background: rgba(255, 255, 255, 0.22);
  color: #ffffff;
}

/* Guest Action Buttons */
.desktop-guest-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.btn-nav-login {
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.35);
  padding: 8px 18px;
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-nav-login:hover {
  background: rgba(255, 255, 255, 0.26);
}

.btn-nav-register {
  background: #ffffff;
  color: var(--primary-brand-green);
  border: none;
  padding: 8px 20px;
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: all 0.2s;
}

.btn-nav-register:hover {
  background: var(--light-green-tint);
  transform: translateY(-1px);
}

/* Authenticated Action Items */
.desktop-user-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  flex-shrink: 0;
  margin-left: auto;
}

.desktop-wallet-pill {
  background: #ffffff;
  color: var(--primary-brand-green);
  padding: 6px 12px;
  border-radius: var(--radius-full);
  font-weight: 800;
  font-size: 13px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  box-shadow: var(--shadow-xs);
  transition: transform 0.2s;
  white-space: nowrap;
  line-height: 1;
}

.desktop-wallet-amount {
  color: var(--primary-text);
  font-weight: 800;
  letter-spacing: -0.3px;
}

.desktop-topup-badge {
  font-size: 11px;
  background: var(--light-green-tint);
  color: var(--primary-brand-green);
  padding: 2px 7px;
  border-radius: 6px;
  font-weight: 700;
}

.desktop-role-select {
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: #fff;
  padding: 6px 10px;
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 600;
  outline: none;
  cursor: pointer;
}

.desktop-role-select option {
  background: #212121;
  color: #fff;
}

.desktop-user-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.25);
  padding: 4px 10px 4px 5px;
  border-radius: var(--radius-full);
  cursor: pointer;
  white-space: nowrap;
  color: #fff;
  max-width: 170px;
}

.desktop-avatar {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #fff;
  color: var(--primary-brand-green);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 12px;
  flex-shrink: 0;
}

.desktop-user-name {
  display: inline-block;
  font-size: 12.5px;
  font-weight: 700;
  max-width: 105px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.desktop-logout-btn {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.3);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
}

.desktop-logout-btn:hover {
  background: rgba(229, 57, 53, 0.85);
  border-color: rgba(229, 57, 53, 0.85);
}

/* ==========================================================================
   MOBILE HEADER
   ========================================================================== */
.glo-header {
  background-color: var(--primary-brand-green);
  color: var(--surface-white);
  padding: 12px 16px;
  position: relative;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

@media (min-width: 768px) {
  .glo-header {
    display: none;
  }
}

.glo-nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0;
}

.glo-nav-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.glo-menu-btn {
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: var(--surface-white);
  width: 40px;
  height: 40px;
  border-radius: 12px;
  font-size: 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, transform 0.1s;
}

.glo-menu-btn:active {
  background: rgba(255, 255, 255, 0.32);
  transform: scale(0.95);
}

.glo-brand-name {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.5px;
  display: flex;
  align-items: center;
  gap: 4px;
}

.glo-brand-name span {
  font-weight: 300;
}

.glo-nav-right {
  display: flex;
  align-items: center;
  gap: 10px;
}

.glo-icon-btn {
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: var(--surface-white);
  width: 40px;
  height: 40px;
  border-radius: 12px;
  font-size: 17px;
  cursor: pointer;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}

.glo-icon-btn:active {
  background: rgba(255, 255, 255, 0.32);
}

.glo-user-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.glo-greeting-sub {
  font-size: 13px;
  opacity: 0.9;
  font-weight: 400;
}

.glo-user-name {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.2px;
  margin: 1px 0;
}

.glo-user-phone {
  font-size: 12px;
  opacity: 0.85;
  font-weight: 500;
}

.glo-profile-action {
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
}

.glo-profile-circle {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.22);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 19px;
  color: var(--surface-white);
  border: 1px solid rgba(255, 255, 255, 0.35);
  margin-bottom: 3px;
}

.glo-profile-label {
  font-size: 11px;
  font-weight: 600;
  color: var(--surface-white);
}

/* ==========================================================================
   LOCATION INPUT WITH GPS AUTO-DETECT & QUICK CHIPS
   ========================================================================== */
.location-input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
}

.location-input-wrapper .form-control {
  padding-right: 125px;
}

.location-gps-btn {
  position: absolute;
  right: 6px;
  background: var(--light-green-tint);
  border: 1px solid var(--light-green-border);
  color: var(--primary-brand-green);
  font-size: 11px;
  font-weight: 700;
  padding: 6px 10px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: all 0.2s;
  white-space: nowrap;
}

.location-gps-btn:hover {
  background: #dcedc8;
}

.location-gps-btn:active {
  transform: scale(0.96);
}

.location-gps-btn.loading {
  background: #FFF3E0;
  color: #E65100;
  border-color: #FFE0B2;
}

.location-quick-chips {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  padding: 6px 0 2px;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.location-quick-chips::-webkit-scrollbar {
  display: none;
}

.location-chip {
  background: #fafafa;
  border: 1px solid var(--border-color);
  color: var(--primary-text);
  font-size: 11px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.18s;
  flex-shrink: 0;
}

.location-chip:hover {
  background: var(--light-green-tint);
  border-color: var(--primary-brand-green);
  color: var(--primary-brand-green);
}

.location-chip:active {
  transform: scale(0.95);
}

.location-picker-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  background: #fafafa;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all 0.18s ease;
}

.location-picker-item:hover {
  background: var(--light-green-tint);
  border-color: var(--primary-brand-green);
  transform: translateY(-1px);
}

.location-picker-item:active {
  transform: scale(0.98);
}

/* ==========================================================================
   PASSWORD INPUT WITH SHOW/HIDE TOGGLE
   ========================================================================== */
.password-input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
}

.password-input-wrapper .form-control {
  padding-right: 42px;
}

.password-toggle-btn {
  position: absolute;
  right: 12px;
  background: none;
  border: none;
  font-size: 18px;
  cursor: pointer;
  color: var(--secondary-text);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4px;
}

.password-toggle-btn:hover {
  color: var(--primary-brand-green);
}

/* Match indicator */
.password-match-feedback {
  font-size: 11.5px;
  margin-top: 4px;
  font-weight: 600;
  display: none;
}

.password-match-feedback.valid {
  display: block;
  color: var(--primary-brand-green);
}

.password-match-feedback.invalid {
  display: block;
  color: var(--danger-color);
}

/* ==========================================================================
   PREMIUM SIDE NAVIGATION DRAWER
   ========================================================================== */
.side-drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 1200;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.side-drawer-overlay.open {
  opacity: 1;
  visibility: visible;
}

.side-drawer-panel {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: 86%;
  max-width: 340px;
  background: var(--surface-white);
  z-index: 1250;
  box-shadow: 12px 0 40px rgba(0, 0, 0, 0.22);
  border-top-right-radius: var(--radius-lg);
  border-bottom-right-radius: var(--radius-lg);
  transform: translateX(-100%);
  transition: transform 0.32s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.side-drawer-overlay.open .side-drawer-panel {
  transform: translateX(0);
}

.drawer-header-box {
  background: var(--primary-brand-green-gradient);
  color: #fff;
  padding: 22px 18px 20px;
  position: relative;
  flex-shrink: 0;
}

.drawer-header-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.drawer-brand-badge {
  display: flex;
  align-items: center;
  gap: 8px;
}

.drawer-brand-badge-icon {
  width: 30px;
  height: 30px;
  background: #fff;
  color: var(--primary-brand-green);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 800;
  box-shadow: var(--shadow-xs);
}

.drawer-brand-badge-title {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.3px;
  color: #fff;
}

.drawer-brand-badge-title span {
  font-weight: 400;
  opacity: 0.9;
}

.drawer-close-btn {
  background: rgba(255, 255, 255, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: #fff;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  font-size: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s;
}

.drawer-close-btn:active {
  background: rgba(255, 255, 255, 0.38);
  transform: scale(0.95);
}

.drawer-profile-card {
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(10px);
  border-radius: var(--radius-md);
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.drawer-profile-main {
  display: flex;
  align-items: center;
  gap: 12px;
}

.drawer-avatar-circle {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #fff;
  color: var(--primary-brand-green);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 800;
  box-shadow: var(--shadow-sm);
  flex-shrink: 0;
  border: 2px solid rgba(255, 255, 255, 0.85);
}

.drawer-profile-texts {
  min-width: 0;
  flex: 1;
}

.drawer-user-title {
  font-size: 15px;
  font-weight: 800;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  letter-spacing: -0.2px;
}

.drawer-user-subtitle {
  font-size: 11.5px;
  color: rgba(255, 255, 255, 0.9);
  margin-top: 2px;
  display: flex;
  align-items: center;
  gap: 4px;
}

.drawer-guest-actions {
  display: flex;
  gap: 8px;
  margin-top: 2px;
}

.drawer-cta-register {
  flex: 1;
  background: #ffffff;
  color: var(--primary-brand-green);
  border: none;
  padding: 8px 10px;
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
  text-align: center;
  box-shadow: var(--shadow-xs);
  transition: all 0.2s;
}

.drawer-cta-register:active {
  transform: scale(0.97);
}

.drawer-cta-login {
  flex: 1;
  background: rgba(255, 255, 255, 0.22);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.35);
  padding: 8px 10px;
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  text-align: center;
}

.drawer-user-balance-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(0, 0, 0, 0.18);
  padding: 7px 12px;
  border-radius: var(--radius-sm);
  font-size: 12px;
}

.drawer-user-balance-val {
  font-weight: 800;
  color: #FFD600;
  font-size: 13.5px;
}

.drawer-nav-body {
  flex: 1;
  overflow-y: auto;
  padding: 14px 12px 20px;
  scrollbar-width: thin;
  scrollbar-color: #E5E5EA transparent;
}

.drawer-nav-body::-webkit-scrollbar {
  width: 4px;
}

.drawer-nav-body::-webkit-scrollbar-thumb {
  background: #E5E5EA;
  border-radius: 4px;
}

.drawer-section-title {
  font-size: 10.5px;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--tertiary-text);
  letter-spacing: 0.8px;
  padding: 10px 10px 6px;
}

.drawer-nav-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 12px;
  border-radius: var(--radius-md);
  color: var(--primary-text);
  text-decoration: none;
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.18s ease;
  margin-bottom: 3px;
}

.drawer-nav-item:hover {
  background: #F2F2F7;
}

.drawer-nav-item:active {
  background: var(--light-green-tint);
  transform: scale(0.98);
}

.drawer-icon-box {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: var(--light-green-tint);
  color: var(--primary-brand-green);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
  transition: transform 0.2s;
  border: 1px solid var(--light-green-border);
}

.drawer-nav-item:hover .drawer-icon-box {
  transform: scale(1.05);
}

.drawer-item-content {
  flex: 1;
  min-width: 0;
}

.drawer-item-title {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--primary-text);
  line-height: 1.2;
}

.drawer-item-sub {
  font-size: 11px;
  color: var(--secondary-text);
  margin-top: 2px;
}

.drawer-item-badge {
  font-size: 9.5px;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: var(--radius-full);
  background: var(--light-green-tint);
  color: var(--primary-brand-green);
  text-transform: uppercase;
  letter-spacing: 0.3px;
  flex-shrink: 0;
}

.drawer-chevron {
  color: var(--tertiary-text);
  font-size: 14px;
  margin-left: 4px;
}

.drawer-footer-box {
  padding: 14px 16px 16px;
  background: #FAFAFC;
  border-top: 1px solid var(--border-color);
  flex-shrink: 0;
}

.drawer-logout-btn {
  width: 100%;
  background: #FFF0F0;
  color: var(--danger-color);
  border: 1px solid #FFD2D2;
  padding: 10px 14px;
  border-radius: var(--radius-full);
  font-size: 12.5px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: all 0.2s;
}

.drawer-footer-text {
  font-size: 10.5px;
  color: var(--tertiary-text);
  text-align: center;
  margin-top: 8px;
  font-weight: 500;
}

/* ==========================================================================
   CUSTOMER SUPPORT BANNER / MODAL
   ========================================================================== */
.support-hero-banner {
  background: var(--primary-brand-green-gradient);
  color: #fff;
  border-radius: var(--radius-md);
  padding: 18px;
  margin-bottom: 18px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.support-live-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  margin-bottom: 10px;
}

.support-live-dot {
  width: 7px;
  height: 7px;
  background: #00E676;
  border-radius: 50%;
  box-shadow: 0 0 8px #00E676;
}

.support-channels-grid {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.support-channel-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  background: #fafafa;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  text-decoration: none;
  color: var(--primary-text);
  transition: all 0.2s ease;
  cursor: pointer;
}

.support-channel-card:hover {
  border-color: var(--primary-brand-green);
  background: var(--light-green-tint);
  transform: translateY(-1px);
}

.support-channel-icon-circle {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
}

.icon-whatsapp {
  background: #E8F8EE;
  color: var(--whatsapp-green);
}

.icon-phone {
  background: #E3F2FD;
  color: var(--info-color);
}

.icon-maps {
  background: #FFF3E0;
  color: #E65100;
}

.support-channel-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--primary-text);
}

.support-channel-sub {
  font-size: 11.5px;
  color: var(--secondary-text);
  margin-top: 1px;
}

/* ==========================================================================
   ONBOARDING & WELCOME SECTION
   ========================================================================== */
.onboarding-hero-card {
  background: var(--primary-brand-green-gradient);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 28px 20px;
  margin: 16px;
  box-shadow: var(--shadow-md);
  text-align: center;
  position: relative;
  overflow: hidden;
}

@media (min-width: 768px) {
  .onboarding-hero-card {
    padding: 42px 36px;
    margin: 0 0 24px 0;
  }
}

.onboarding-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #FFD600;
  color: #111;
  font-size: 10.5px;
  font-weight: 900;
  letter-spacing: 0.4px;
  padding: 5px 14px;
  border-radius: var(--radius-full);
  margin-bottom: 14px;
  text-transform: uppercase;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
  white-space: nowrap;
  max-width: 96%;
}

@media (max-width: 360px) {
  .onboarding-badge {
    font-size: 9.5px;
    padding: 4px 10px;
  }
}

.onboarding-title {
  font-size: 25px;
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 10px;
  letter-spacing: -0.5px;
}

@media (min-width: 768px) {
  .onboarding-title {
    font-size: 36px;
    letter-spacing: -0.8px;
  }
}

.onboarding-subtitle {
  font-size: 14px;
  font-weight: 500;
  opacity: 0.95;
  max-width: 620px;
  margin: 0 auto 24px;
  line-height: 1.5;
}

@media (min-width: 768px) {
  .onboarding-subtitle {
    font-size: 16px;
  }
}

/* Onboarding Feature 3-Grid */
.onboarding-features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-bottom: 24px;
}

@media (min-width: 768px) {
  .onboarding-features-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }
}

.onboarding-feature-item {
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: var(--radius-md);
  padding: 18px 16px;
  text-align: left;
  backdrop-filter: blur(8px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.onboarding-feature-icon {
  font-size: 28px;
  margin-bottom: 8px;
}

.onboarding-feature-title {
  font-size: 15px;
  font-weight: 800;
  margin-bottom: 4px;
  color: #fff;
}

.onboarding-feature-desc {
  font-size: 12px;
  opacity: 0.92;
  line-height: 1.45;
}

/* Live Verified Marketplace Preview Strip */
.onboarding-store-preview {
  background: rgba(0, 0, 0, 0.18);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  margin-top: 10px;
  display: flex;
  justify-content: space-around;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 12.5px;
}

/* Auth Card & Tabs */
.auth-container-card {
  background: var(--surface-white);
  border-radius: var(--radius-lg);
  padding: 22px;
  margin: 0 16px 20px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
}

@media (min-width: 768px) {
  .auth-container-card {
    max-width: 640px;
    margin: 0 auto 30px;
    padding: 30px;
  }
}

.auth-tabs-nav {
  display: flex;
  background: var(--background-grey);
  border-radius: var(--radius-full);
  padding: 4px;
  margin-bottom: 20px;
}

.auth-tab-btn {
  flex: 1;
  background: transparent;
  border: none;
  padding: 9px 12px;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--secondary-text);
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all 0.2s;
}

.auth-tab-btn.active {
  background: var(--surface-white);
  color: var(--primary-brand-green);
  box-shadow: var(--shadow-xs);
}

/* Role Selector Grid in Register */
.role-picker-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin-bottom: 16px;
}

@media (min-width: 520px) {
  .role-picker-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.role-picker-card {
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 14px 12px;
  cursor: pointer;
  text-align: center;
  transition: all 0.2s;
  background: #fafafa;
}

.role-picker-card:hover {
  border-color: var(--primary-brand-green);
}

.role-picker-card.selected {
  border-color: var(--primary-brand-green);
  background: var(--light-green-tint);
}

.role-picker-icon {
  font-size: 24px;
  margin-bottom: 6px;
}

.role-picker-title {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--primary-text);
}

.role-picker-desc {
  font-size: 10.5px;
  color: var(--secondary-text);
  margin-top: 2px;
}

/* Demo Role Buttons Grid */
.demo-role-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

@media (min-width: 540px) {
  .demo-role-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.demo-role-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #fafafa;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 12px 14px;
  text-align: left;
  cursor: pointer;
  transition: all 0.2s;
}

.demo-role-btn:hover {
  border-color: var(--primary-brand-green);
  background: var(--light-green-tint);
  transform: translateY(-1px);
}

.demo-role-icon {
  font-size: 24px;
  flex-shrink: 0;
}

.demo-role-name {
  font-size: 13px;
  font-weight: 700;
  color: var(--primary-text);
}

.demo-role-meta {
  font-size: 11px;
  color: var(--secondary-text);
}

/* ==========================================================================
   MAIN CONTENT RESPONSIVE CONTAINER & GRID
   ========================================================================== */
.main-content-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 12px 14px;
  box-sizing: border-box;
}

@media (min-width: 768px) {
  .main-content-container {
    padding: 20px 16px;
  }
}

@media (min-width: 1024px) {
  .main-content-container {
    padding: 24px 20px;
  }
}

.desktop-grid-layout {
  display: flex;
  flex-direction: column;
  width: 100%;
}

@media (min-width: 1024px) {
  .desktop-grid-layout {
    display: grid;
    grid-template-columns: 1fr 310px;
    gap: 20px;
    align-items: start;
  }
}

.desktop-main-col {
  width: 100%;
  min-width: 0;
}

.desktop-sidebar-col {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

@media (max-width: 1023px) {
  .desktop-sidebar-col {
    display: none;
  }
}

@media (min-width: 1024px) {
  .main-balance-widget {
    display: none !important;
  }
}

/* ==========================================================================
   PROMO CAROUSEL / BANNERS
   ========================================================================== */
.glo-banner-carousel {
  margin-top: -36px;
  padding: 0 16px;
  display: flex;
  gap: 12px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  position: relative;
  z-index: 10;
  width: 100%;
  box-sizing: border-box;
}

@media (min-width: 768px) {
  .glo-banner-carousel {
    margin-top: 0;
    padding: 0;
    margin-bottom: 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    overflow: visible;
  }
}

.glo-banner-carousel::-webkit-scrollbar {
  display: none;
}

.glo-banner-card {
  flex: 0 0 calc(100% - 10px);
  max-width: 100%;
  height: 145px;
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  box-shadow: var(--shadow-md);
  scroll-snap-align: center;
  cursor: pointer;
  background-size: cover;
  background-position: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-sizing: border-box;
}

@media (min-width: 768px) {
  .glo-banner-card {
    height: 155px;
  }
}

.glo-banner-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.banner-1 {
  background: linear-gradient(135deg, #1b5e20 0%, #388e3c 100%);
  color: #fff;
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.banner-2 {
  background: linear-gradient(135deg, #0d47a1 0%, #1976d2 100%);
  color: #fff;
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.banner-badge {
  display: inline-block;
  background: #FFD600;
  color: #000;
  font-size: 9px;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 6px;
  text-transform: uppercase;
  width: fit-content;
}

.banner-title {
  font-size: 15px;
  font-weight: 800;
  line-height: 1.2;
  margin-top: 4px;
}

@media (min-width: 768px) {
  .banner-title {
    font-size: 16px;
  }
}

.banner-sub {
  font-size: 11px;
  opacity: 0.9;
}

.banner-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.banner-action-btn {
  background: rgba(255, 255, 255, 0.9);
  color: var(--primary-text);
  font-size: 11px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  border: none;
  cursor: pointer;
}

/* ==========================================================================
   BALANCE CARDS
   ========================================================================== */
.glo-balance-container {
  background: var(--surface-white);
  border-radius: var(--radius-lg);
  margin: 14px 16px 16px;
  padding: 16px 18px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  box-sizing: border-box;
}

@media (min-width: 768px) {
  .glo-balance-container {
    margin: 0 0 20px 0;
  }
}

.glo-balance-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-light);
}

.glo-balance-row:last-of-type {
  padding-top: 12px;
  padding-bottom: 8px;
  border-bottom: none;
}

.glo-balance-label {
  font-size: 12.5px;
  color: var(--secondary-text);
  font-weight: 500;
  margin-bottom: 2px;
}

.glo-balance-val {
  font-size: 20px;
  font-weight: 800;
  color: var(--primary-text);
  letter-spacing: -0.4px;
}

@media (min-width: 768px) {
  .glo-balance-val {
    font-size: 22px;
  }
}

.glo-btn-recharge {
  background: var(--primary-brand-green);
  color: var(--surface-white);
  font-size: 12.5px;
  font-weight: 700;
  padding: 7px 18px;
  border-radius: var(--radius-full);
  border: none;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(56, 161, 59, 0.25);
  transition: all 0.2s;
  white-space: nowrap;
}

.glo-btn-recharge:hover {
  background: var(--primary-brand-green-hover);
  transform: translateY(-1px);
}

.glo-btn-outline {
  background: transparent;
  color: var(--primary-brand-green);
  font-size: 12.5px;
  font-weight: 700;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  border: 1.5px solid var(--primary-brand-green);
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
}

.glo-btn-outline:hover {
  background: var(--light-green-tint);
}

/* ==========================================================================
   DISCOVER GRID
   ========================================================================== */
.glo-section-header {
  padding: 0 16px 10px;
  font-size: 16px;
  font-weight: 800;
  color: var(--primary-text);
  letter-spacing: -0.3px;
}

@media (min-width: 768px) {
  .glo-section-header {
    padding: 0 0 12px 0;
    font-size: 18px;
  }
}

.glo-discover-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px 6px;
  padding: 0 16px 18px;
  box-sizing: border-box;
  width: 100%;
}

@media (min-width: 640px) {
  .glo-discover-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 14px 10px;
  }
}

@media (min-width: 900px) {
  .glo-discover-grid {
    grid-template-columns: repeat(8, 1fr);
    gap: 12px;
    padding: 0 0 20px 0;
  }
}

.glo-discover-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.glo-discover-item:hover {
  transform: translateY(-2px);
}

.glo-icon-circle {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--light-green-tint);
  color: var(--primary-brand-green);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 5px;
  box-shadow: var(--shadow-xs);
  transition: all 0.2s;
  border: 1px solid var(--light-green-border);
}

@media (min-width: 768px) {
  .glo-icon-circle {
    width: 56px;
    height: 56px;
    font-size: 24px;
  }
}

.glo-discover-item:hover .glo-icon-circle {
  background: var(--primary-brand-green);
  color: var(--surface-white);
  border-color: var(--primary-brand-green);
}

.glo-icon-title {
  font-size: 11px;
  font-weight: 600;
  color: var(--primary-text);
  line-height: 1.2;
  max-width: 75px;
}

/* ==========================================================================
   INTERACTIVE CARDS & FORMS
   ========================================================================== */
.app-card {
  background: var(--surface-white);
  border-radius: var(--radius-lg);
  padding: 16px;
  margin: 0 0 14px 0;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  box-sizing: border-box;
}

@media (min-width: 768px) {
  .app-card {
    margin: 0 0 20px 0;
    padding: 24px;
  }
}

.app-card-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--primary-text);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

@media (min-width: 768px) {
  .app-card-title {
    font-size: 16.5px;
  }
}

.form-group {
  margin-bottom: 14px;
}

.form-label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: var(--secondary-text);
  margin-bottom: 5px;
}

.form-control {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  font-size: 13.5px;
  font-family: inherit;
  color: var(--primary-text);
  background: var(--surface-white);
  outline: none;
  transition: border-color 0.2s;
  box-sizing: border-box;
}

.form-control:focus {
  border-color: var(--primary-brand-green);
}

.btn-primary {
  background: var(--primary-brand-green);
  color: var(--surface-white);
  border: none;
  padding: 12px 16px;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 13.5px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: all 0.2s ease;
  width: 100%;
}

.btn-primary:hover {
  background: var(--primary-brand-green-hover);
  transform: translateY(-1px);
}

.btn-secondary {
  background: var(--light-green-tint);
  color: var(--primary-brand-green);
  border: 1px solid var(--light-green-border);
  padding: 11px 16px;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 13px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: all 0.2s ease;
  width: 100%;
}

.btn-secondary:hover {
  background: #dcedc8;
}

/* Status Badges */
.status-pill {
  padding: 3px 9px;
  border-radius: 12px;
  font-size: 10.5px;
  font-weight: 700;
  text-transform: uppercase;
  white-space: nowrap;
}

.status-in-transit {
  background: #FFF3E0;
  color: #E65100;
}

.status-active, .status-delivered {
  background: var(--light-green-tint);
  color: var(--primary-brand-green);
}

.status-pending {
  background: #E3F2FD;
  color: #1565C0;
}

/* ==========================================================================
   ECOMMERCE & MARKETPLACE GRID
   ========================================================================== */
.store-products-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 10px;
}

@media (min-width: 768px) {
  .store-products-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
  }
}

.product-item-card {
  background: #fafafa;
  border-radius: var(--radius-md);
  padding: 12px;
  border: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.2s, box-shadow 0.2s;
}

.product-item-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.product-item-img {
  height: 100px;
  background: #eef2ef;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  margin-bottom: 8px;
}

/* ==========================================================================
   DESKTOP RESPONSIVE DASHBOARD LAYOUTS
   ========================================================================== */
.desktop-dashboard-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  width: 100%;
}

@media (min-width: 768px) {
  .desktop-dashboard-grid.two-cols {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }
  .desktop-dashboard-grid.four-stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }
}

@media (min-width: 1024px) {
  .desktop-dashboard-grid.four-stats {
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
  }
}

/* ==========================================================================
   BOTTOM NAVIGATION
   ========================================================================== */
.glo-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 480px;
  height: 66px;
  background: var(--surface-white);
  border-top: 1px solid var(--border-color);
  display: flex;
  justify-content: space-around;
  align-items: center;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.05);
  z-index: 200;
  padding: 0 4px;
}

@media (min-width: 768px) {
  .glo-bottom-nav {
    display: none !important;
  }
}

.glo-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  color: var(--secondary-text);
  text-decoration: none;
  font-size: 10px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  padding: 6px 10px;
}

.glo-nav-item.active {
  color: var(--primary-brand-green);
}

.glo-nav-icon {
  font-size: 20px;
  margin-bottom: 2px;
  transition: transform 0.2s;
}

.glo-nav-item.active .glo-nav-icon {
  transform: translateY(-2px);
}

/* Modals */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 99995 !important;
  padding: 16px;
  box-sizing: border-box;
}

@media (max-width: 640px) {
  .modal-overlay {
    padding: 0;
    align-items: flex-end;
  }
}

.modal-overlay.open {
  display: flex;
}

.modal-content {
  background: var(--surface-white);
  border-radius: var(--radius-lg);
  padding: 24px;
  width: 100%;
  max-width: 440px;
  box-shadow: var(--shadow-lg);
  position: relative;
  box-sizing: border-box;
}

.modal-close-btn {
  position: absolute;
  top: 16px;
  right: 16px;
  background: none;
  border: none;
  font-size: 22px;
  cursor: pointer;
  color: var(--secondary-text);
}

/* ==========================================================================
   LUXURY FLOATING TOAST NOTIFICATION BANNER
   ========================================================================== */
.toast-container {
  position: fixed;
  top: 18px;
  left: 50%;
  transform: translateX(-50%) translateY(-120%);
  width: 90%;
  max-width: 440px;
  z-index: 3500 !important;
  pointer-events: none;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
  opacity: 0;
}

.toast-container.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.toast-card {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #1C1C1E;
  color: #FFFFFF;
  padding: 14px 18px;
  border-radius: var(--radius-lg);
  box-shadow: 0 14px 38px rgba(0, 0, 0, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  cursor: pointer;
}

.toast-icon-circle {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 800;
  flex-shrink: 0;
}

.toast-card.toast-success .toast-icon-circle {
  background: #2E7D32;
  color: #FFFFFF;
}

.toast-card.toast-error .toast-icon-circle {
  background: #C62828;
  color: #FFFFFF;
}

.toast-card.toast-info .toast-icon-circle {
  background: #1565C0;
  color: #FFFFFF;
}

.toast-card.toast-warning .toast-icon-circle {
  background: #E65100;
  color: #FFFFFF;
}

.toast-card.toast-success {
  border-left: 4px solid var(--primary-brand-green);
}

.toast-card.toast-error {
  border-left: 4px solid var(--danger-color);
}

.toast-card.toast-info {
  border-left: 4px solid var(--info-color);
}

.toast-card.toast-warning {
  border-left: 4px solid var(--warning-color);
}

.toast-content {
  flex: 1;
  min-width: 0;
}

.toast-title {
  font-size: 13.5px;
  font-weight: 800;
  letter-spacing: -0.2px;
  color: #FFFFFF;
  line-height: 1.2;
}

.toast-message {
  font-size: 11.5px;
  color: rgba(255, 255, 255, 0.85);
  margin-top: 2px;
  line-height: 1.35;
}

.toast-close-icon {
  color: rgba(255, 255, 255, 0.6);
  font-size: 14px;
  padding: 4px;
  cursor: pointer;
}

.toast-close-icon:hover {
  color: #FFFFFF;
}

/* ==========================================================================
   CUSTOM CONFIRMATION & ACTION DIALOG (High-Priority Overlay)
   ========================================================================== */
.confirm-dialog-overlay,
.custom-confirm-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 999999 !important;
  padding: 16px;
  box-sizing: border-box;
}

.confirm-dialog-overlay.open,
.custom-confirm-modal-overlay.open {
  display: flex !important;
}

.confirm-dialog-card,
.custom-confirm-modal-box {
  background: #FFFFFF;
  border-radius: 20px;
  padding: 28px 24px 22px;
  width: 100%;
  max-width: 400px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(226, 232, 240, 0.8);
  position: relative;
  box-sizing: border-box;
  animation: popInConfirm 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  text-align: center;
  font-family: inherit;
}

@keyframes popInConfirm {
  from {
    opacity: 0;
    transform: scale(0.92);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.confirm-dialog-content {
  text-align: center;
}

.confirm-dialog-icon,
.custom-confirm-icon-wrap {
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: #F1F5F9;
  color: #475569;
  font-size: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  border: 2px solid #E2E8F0;
  transition: all 0.2s ease;
}

.confirm-dialog-icon.danger,
.custom-confirm-icon-wrap.danger {
  background: #FEF2F2 !important;
  color: #DC2626 !important;
  border-color: #FEE2E2 !important;
}

.confirm-dialog-icon.warning,
.custom-confirm-icon-wrap.warning {
  background: #FFFBEB !important;
  color: #D97706 !important;
  border-color: #FEF3C7 !important;
}

.confirm-dialog-icon.success,
.custom-confirm-icon-wrap.success {
  background: #ECFDF5 !important;
  color: #0B8009 !important;
  border-color: #D1FAE5 !important;
}

.confirm-dialog-title,
.custom-confirm-title {
  font-size: 17.5px;
  font-weight: 800;
  color: #0F172A;
  margin: 0 0 8px;
  letter-spacing: -0.3px;
  line-height: 1.3;
}

.confirm-dialog-desc,
.custom-confirm-desc {
  font-size: 13.5px;
  color: #64748B;
  line-height: 1.55;
  margin: 0 0 22px;
  white-space: pre-line;
  word-break: break-word;
}

.confirm-dialog-actions,
.custom-confirm-actions {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: center;
}

.btn-confirm-cancel,
.custom-confirm-cancel {
  flex: 1;
  background: #F8FAFC;
  color: #475569;
  border: 1.5px solid #CBD5E1;
  padding: 11px 16px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 13.5px;
  cursor: pointer;
  transition: all 0.15s ease;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn-confirm-cancel:hover,
.custom-confirm-cancel:hover {
  background: #F1F5F9;
  color: #0F172A;
  border-color: #94A3B8;
}

.btn-confirm-yes,
.custom-confirm-action {
  flex: 1.1;
  background: #0B8009;
  color: #FFFFFF;
  border: none;
  padding: 11px 16px;
  border-radius: 12px;
  font-weight: 800;
  font-size: 13.5px;
  cursor: pointer;
  transition: all 0.15s ease;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  box-shadow: 0 4px 14px rgba(11, 128, 9, 0.35);
}

.btn-confirm-yes:hover,
.custom-confirm-action:hover {
  background: #065F05;
  transform: translateY(-1px);
}

.btn-confirm-yes.danger,
.custom-confirm-action.danger {
  background: #DC2626 !important;
  box-shadow: 0 4px 14px rgba(220, 38, 38, 0.35) !important;
}

.btn-confirm-yes.danger:hover,
.custom-confirm-action.danger:hover {
  background: #B91C1C !important;
}

.btn-confirm-yes.warning,
.custom-confirm-action.warning {
  background: #D97706 !important;
  box-shadow: 0 4px 14px rgba(217, 119, 6, 0.35) !important;
}

.btn-confirm-yes.warning:hover,
.custom-confirm-action.warning:hover {
  background: #B45309 !important;
}

/* ==========================================================================
   MOBILE HEADER SLEEK CONTROLS
   ========================================================================== */
.mobile-wallet-pill {
  background: rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.4);
  color: #FFFFFF;
  padding: 5px 9px;
  border-radius: var(--radius-full);
  font-size: 11px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
  flex-shrink: 0;
  line-height: 1;
  max-width: fit-content;
}

.mobile-wallet-pill:hover {
  background: rgba(255, 255, 255, 0.32);
}

.mobile-wallet-pill span {
  white-space: nowrap;
  display: inline-block;
  line-height: 1;
}

/* ==========================================================================
   DASHBOARD HERO BANNER & GREETING
   ========================================================================== */
.dashboard-hero-banner {
  background: linear-gradient(135deg, #1B5E20 0%, #2E7D32 50%, #38A13B 100%);
  color: #FFFFFF;
  border-radius: var(--radius-md);
  padding: 14px 18px;
  margin-bottom: 14px;
  box-shadow: 0 4px 14px rgba(27, 94, 32, 0.14);
}

.hero-banner-inner {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.hero-greeting-line {
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.9);
  display: flex;
  align-items: center;
  gap: 4px;
}

.hero-greeting-line strong {
  color: #FFEB3B;
  font-weight: 800;
}

.hero-main-title {
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -0.3px;
  color: #FFFFFF;
  margin: 0;
}

/* ==========================================================================
   SUPER-APP 4 HORIZONTAL ACTION TILES (SIDE-BY-SIDE ON ALL SCREENS)
   ========================================================================== */
.superapp-modes-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 10px;
  width: 100%;
  margin-bottom: 14px;
}

@media (max-width: 520px) {
  .superapp-modes-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 8px;
  }
  .superapp-mode-card {
    padding: 10px 3px !important;
  }
  .superapp-mode-title {
    font-size: 10px !important;
    letter-spacing: -0.2px;
  }
  .superapp-mode-icon {
    width: 36px !important;
    height: 36px !important;
    font-size: 18px !important;
  }
  .superapp-mode-badge {
    font-size: 8px !important;
    padding: 1px 4px !important;
  }
}

.superapp-mode-card {
  position: relative;
  background: #FFFFFF;
  border: 1.5px solid #EAECF0;
  border-radius: var(--radius-md);
  padding: 12px 6px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 6px;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.03);
}

.superapp-mode-card:hover {
  border-color: var(--primary-brand-green);
  transform: translateY(-2px);
}

.superapp-mode-card.active {
  border-color: var(--primary-brand-green);
  background: #F0FDF4;
  box-shadow: 0 4px 12px rgba(56, 161, 59, 0.15);
}

.superapp-mode-icon {
  font-size: 22px;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.icon-ride { background: #E8F5E9; color: #2E7D32; }
.icon-parcel { background: #FFF8E1; color: #F57F17; }
.icon-store { background: #E3F2FD; color: #1565C0; }
.icon-keke { background: #FEF3C7; color: #D97706; }

.superapp-mode-title {
  font-size: 11.5px;
  font-weight: 800;
  color: var(--primary-text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}

.superapp-mode-badge {
  font-size: 9px;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  white-space: nowrap;
}

.badge-green { background: #DCFCE7; color: #15803D; }
.badge-yellow { background: #FEF3C7; color: #B45309; }
.badge-blue { background: #DBEAFE; color: #1D4ED8; }
.badge-amber { background: #FEF3C7; color: #B45309; border: 1px solid #FDE68A; }

/* Keke-Napepe Dedicated UI Components */
.keke-brand-cluster {
  display: flex;
  align-items: center;
  gap: 12px;
}

.keke-brand-icon-box {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, #F59E0B, #D97706);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  box-shadow: 0 4px 10px rgba(217, 119, 6, 0.25);
}

.keke-hub-swap-btn {
  background: #FFFBEB;
  border: 1.5px solid #FCD34D;
  color: #B45309;
  border-radius: 8px;
  padding: 6px 12px;
  font-size: 11.5px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.keke-hub-swap-btn:hover {
  background: #FDE68A;
  transform: scale(1.03);
}

.keke-corridor-preview-card {
  background: #FAFAFA;
  border: 1.5px solid #E2E8F0;
  border-radius: 14px;
  padding: 14px 16px;
  margin-bottom: 16px;
}

.keke-tier-card {
  border: 2px solid #E2E8F0;
  border-radius: 14px;
  padding: 14px;
  cursor: pointer;
  background: #fff;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.keke-tier-card:hover {
  border-color: #F59E0B;
  background: #FFFDF5;
}

.keke-tier-card.selected {
  border-color: #D97706;
  background: #FEF3C7;
  box-shadow: 0 3px 10px rgba(217, 119, 6, 0.15);
}

.keke-tier-radio-circle {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 2px solid #CBD5E1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 900;
  color: #fff;
  transition: all 0.2s ease;
}

.keke-tier-card.selected .keke-tier-radio-circle {
  border-color: #D97706;
  background: #D97706;
}


/* ==========================================================================
   COMPACT SINGLE-ROW WALLET & PASS STRIP
   ========================================================================== */
.wallet-pass-strip {
  background: #FFFFFF;
  border: 1.5px solid #E5E7EB;
  border-radius: var(--radius-md);
  padding: 10px 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.03);
}

.wallet-strip-left {
  display: flex;
  flex-direction: column;
}

.wallet-strip-label {
  font-size: 10px;
  color: var(--secondary-text);
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.3px;
}

.wallet-strip-val {
  font-size: 16.5px;
  font-weight: 800;
  color: var(--primary-brand-green);
  letter-spacing: -0.3px;
}

.wallet-strip-actions {
  display: flex;
  gap: 6px;
  align-items: center;
}

.btn-strip-recharge {
  background: var(--primary-brand-green);
  color: #fff;
  border: none;
  padding: 6px 12px;
  border-radius: var(--radius-full);
  font-size: 11.5px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.18s;
}

.btn-strip-recharge:hover {
  background: var(--primary-brand-green-hover);
}

.btn-strip-pass {
  background: #F0FDF4;
  color: var(--primary-brand-green);
  border: 1px solid #BBF7D0;
  padding: 6px 10px;
  border-radius: var(--radius-full);
  font-size: 11.5px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.18s;
}

.btn-strip-pass:hover {
  background: #DCFCE7;
}

/* ==========================================================================
   PROGRESSIVE STEP WIZARD & STEPPER BAR
   ========================================================================== */
.ride-wizard-stepper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 10px 0 20px;
  position: relative;
  padding: 0 4px;
}

.wizard-step-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  cursor: pointer;
  z-index: 2;
  transition: all 0.2s;
}

.wizard-step-circle {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #F1F5F9;
  border: 2px solid #CBD5E1;
  color: #64748B;
  font-size: 13px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.wizard-step-label {
  font-size: 11px;
  font-weight: 700;
  color: #64748B;
  transition: color 0.2s;
  white-space: nowrap;
}

.wizard-step-item.active .wizard-step-circle {
  background: var(--primary-brand-green);
  border-color: var(--primary-brand-green);
  color: #FFFFFF;
  box-shadow: 0 0 0 4px rgba(56, 161, 59, 0.2);
  transform: scale(1.08);
}

.wizard-step-item.active .wizard-step-label {
  color: var(--primary-brand-green);
  font-weight: 800;
}

.wizard-step-item.completed .wizard-step-circle {
  background: #15803D;
  border-color: #15803D;
  color: #FFFFFF;
}

.wizard-step-item.completed .wizard-step-label {
  color: #15803D;
}

.wizard-step-line {
  flex: 1;
  height: 3px;
  background: #E2E8F0;
  margin: 0 6px 18px;
  transition: background 0.3s ease;
  z-index: 1;
}

.wizard-step-line.completed {
  background: var(--primary-brand-green);
}

.ride-wizard-step {
  animation: fadeInWizardStep 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes fadeInWizardStep {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.wizard-step-title-box {
  margin-bottom: 16px;
}

.wizard-step-headline {
  font-size: 16px;
  font-weight: 800;
  color: var(--primary-text);
  letter-spacing: -0.3px;
  margin-bottom: 3px;
}

.wizard-step-subline {
  font-size: 12px;
  color: var(--secondary-text);
  line-height: 1.4;
}

.wizard-selected-hub-pill {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #F0FDF4;
  border: 1px solid #BBF7D0;
  border-radius: var(--radius-sm);
  padding: 8px 12px;
  font-size: 12px;
  color: #15803D;
  margin-bottom: 14px;
  cursor: pointer;
  transition: background 0.18s;
}

.wizard-selected-hub-pill:hover {
  background: #DCFCE7;
}

.wizard-nav-row {
  display: flex;
  gap: 10px;
  margin-top: 18px;
}

.wizard-nav-row.dual {
  display: grid;
  grid-template-columns: 1fr 2fr;
}

.btn-wizard-back {
  height: 46px;
  background: #F1F5F9;
  color: #334155;
  border: 1.5px solid #CBD5E1;
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}

.btn-wizard-back:hover {
  background: #E2E8F0;
}

.btn-wizard-next {
  height: 46px;
  background: linear-gradient(135deg, #1B5E20 0%, #2E7D32 50%, #38A13B 100%);
  color: #FFFFFF;
  border: none;
  border-radius: var(--radius-full);
  font-size: 13.5px;
  font-weight: 800;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  box-shadow: 0 4px 14px rgba(27, 94, 32, 0.22);
  transition: all 0.2s;
  width: 100%;
}

.btn-wizard-next:hover {
  box-shadow: 0 6px 18px rgba(27, 94, 32, 0.32);
  transform: translateY(-1px);
}

.wizard-summary-card {
  background: #F8FAFC;
  border: 1.5px solid #E2E8F0;
  border-radius: var(--radius-md);
  padding: 14px 16px;
  margin-bottom: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.wizard-summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12.5px;
}

.wizard-summary-row.highlight {
  background: #F0FDF4;
  border: 1px solid #BBF7D0;
  border-radius: var(--radius-sm);
  padding: 8px 10px;
  margin-top: 4px;
}

/* ==========================================================================
   BUTTON TEXT ACTIONS & PILLS
   ========================================================================== */
.btn-text-action {
  background: #DCFCE7;
  color: #15803D;
  border: 1px solid #BBF7D0;
  padding: 5px 12px;
  border-radius: var(--radius-full);
  font-size: 11.5px;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: all 0.2s;
  white-space: nowrap;
}

.btn-text-action:hover {
  background: #BBF7D0;
}

.location-gps-btn {
  position: absolute;
  right: 6px;
  top: 50%;
  transform: translateY(-50%);
  background: #E8F5E9;
  border: 1.5px solid #A5D6A7;
  color: #1B5E20;
  font-size: 11.5px;
  font-weight: 800;
  padding: 7px 12px;
  border-radius: 8px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: all 0.2s;
  white-space: nowrap;
}

.location-gps-btn:hover {
  background: #C8E6C9;
}

/* ==========================================================================
   4 UNIZIK PICKUP HUBS GRID & HIGHLY SELECTABLE CARDS
   ========================================================================== */
.pickup-hubs-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

@media (max-width: 540px) {
  .pickup-hubs-grid {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }
}

.pickup-hub-chip {
  position: relative;
  background: #FFFFFF;
  border: 2px solid #E2E8F0;
  border-radius: 14px;
  padding: 14px 12px;
  cursor: pointer;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
  transition: all 0.22s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.pickup-hub-chip:hover {
  border-color: #38A13B;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(56, 161, 59, 0.14);
}

.pickup-hub-chip:active {
  transform: scale(0.97);
}

.pickup-hub-chip.selected {
  border-color: #2E7D32;
  background: linear-gradient(145deg, #F0FDF4 0%, #FFFFFF 100%);
  box-shadow: 0 6px 20px rgba(46, 125, 50, 0.18);
  transform: translateY(-2px);
}

.hub-chip-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.hub-chip-icon-box {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  transition: all 0.2s;
  flex-shrink: 0;
}

.pickup-hub-chip.selected .hub-chip-icon-box {
  background: #DCFCE7;
  border-color: #BBF7D0;
  transform: scale(1.05);
}

.hub-chip-meta {
  display: flex;
  align-items: center;
  gap: 6px;
}

.hub-active-pill {
  font-size: 10px;
  font-weight: 800;
  background: #DCFCE7;
  color: #15803D;
  padding: 2px 7px;
  border-radius: var(--radius-full);
  white-space: nowrap;
}

.hub-radio-check {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2px solid #CBD5E1;
  background: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  flex-shrink: 0;
}

.hub-check-icon {
  font-size: 11px;
  font-weight: 900;
  color: #FFFFFF;
  display: none;
}

.pickup-hub-chip.selected .hub-radio-check {
  background: #15803D;
  border-color: #15803D;
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.25);
}

.pickup-hub-chip.selected .hub-check-icon {
  display: block;
}

.hub-chip-content {
  display: flex;
  flex-direction: column;
}

.hub-chip-name {
  font-size: 13.5px;
  font-weight: 800;
  color: var(--primary-text);
  margin-bottom: 2px;
  letter-spacing: -0.2px;
}

.pickup-hub-chip.selected .hub-chip-name {
  color: #1B5E20;
}

.hub-chip-sub {
  font-size: 11px;
  color: var(--secondary-text);
  line-height: 1.35;
}

/* ==========================================================================
   CAMPUS RIDE SLEEK VERTICAL TIER LIST & CARDS (MIMICKING SEND PACKAGE)
   ========================================================================== */
.ride-tier-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 18px;
}

.ride-tier-row {
  background: #FFFFFF;
  border: 2px solid #E2E8F0;
  border-radius: var(--radius-md);
  padding: 12px 14px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 1px 3px rgba(0,0,0,0.03);
  user-select: none;
}

.ride-tier-row:hover {
  border-color: var(--primary-brand-green);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(56, 161, 59, 0.09);
}

.ride-tier-row.selected {
  border-color: var(--primary-brand-green);
  background: #F0FDF4;
  box-shadow: 0 4px 14px rgba(56, 161, 59, 0.14);
}

.ride-tier-icon-box {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #F1F5F9;
  font-size: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.18s;
}

.ride-tier-row.selected .ride-tier-icon-box {
  background: #DCFCE7;
}

.ride-tier-info {
  flex: 1;
  min-width: 0;
}

.ride-tier-title-line {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.ride-tier-title {
  font-size: 13.5px;
  font-weight: 800;
  color: var(--primary-text);
  letter-spacing: -0.2px;
}

.ride-tier-badge {
  font-size: 9.5px;
  font-weight: 800;
  background: #F1F5F9;
  color: #475569;
  padding: 1px 6px;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.ride-tier-badge.badge-pop {
  background: #FEF08A;
  color: #854D0E;
}

.ride-tier-badge.badge-deal {
  background: #E0E7FF;
  color: #3730A3;
}

.ride-tier-row.selected .ride-tier-badge {
  background: #DCFCE7;
  color: #15803D;
}

.ride-tier-row.selected .ride-tier-badge.badge-pop {
  background: #FEF08A;
  color: #854D0E;
}

.ride-tier-row.selected .ride-tier-badge.badge-deal {
  background: #E0E7FF;
  color: #3730A3;
}

.ride-tier-desc {
  font-size: 11px;
  color: var(--secondary-text);
  margin-top: 2px;
  line-height: 1.3;
}

.ride-tier-price-box {
  text-align: right;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
}

.ride-tier-price {
  font-size: 16px;
  font-weight: 800;
  color: var(--primary-brand-green);
  letter-spacing: -0.3px;
}

.ride-tier-radio {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2px solid #CBD5E1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  color: transparent;
  transition: all 0.18s;
}

.ride-tier-row.selected .ride-tier-radio {
  background: var(--primary-brand-green);
  border-color: var(--primary-brand-green);
  color: #FFFFFF;
}

/* Success Alert Banner on Ride Booking */
.booking-success-alert-banner {
  background: linear-gradient(135deg, #065F46 0%, #047857 100%);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  box-shadow: 0 4px 14px rgba(6, 95, 70, 0.18);
}

.booking-success-alert-banner .success-alert-icon {
  font-size: 28px;
  line-height: 1;
  flex-shrink: 0;
}

.booking-success-alert-banner .success-alert-title {
  font-size: 14.5px;
  font-weight: 800;
  letter-spacing: -0.2px;
}

.booking-success-alert-banner .success-alert-sub {
  font-size: 11.5px;
  opacity: 0.9;
  margin-top: 2px;
}

/* Old pass-tier compatibility */
.pass-tier-card {
  position: relative;
  background: #FFFFFF;
  border: 2px solid #E5E7EB;
  border-radius: var(--radius-md);
  padding: 14px 10px;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  text-align: center;
  box-shadow: 0 1px 4px rgba(0,0,0,0.03);
}

.pass-tier-card.selected {
  border-color: var(--primary-brand-green);
  background: #F0FDF4;
}

/* ==========================================================================
   COMPACT PARCEL SELECTION GRIDS & SLEEK VERTICAL SIZE LIST
   ========================================================================== */
.parcel-compact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
  width: 100%;
  box-sizing: border-box;
}

@media (min-width: 768px) {
  .parcel-compact-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }
}

.parcel-compact-chip {
  background: #FFFFFF;
  border: 1.5px solid #E2E8F0;
  border-radius: 8px;
  padding: 6px 8px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4px;
  transition: all 0.18s cubic-bezier(0.4, 0, 0.2, 1);
  min-height: 44px;
  user-select: none;
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  overflow: hidden;
  box-shadow: 0 1px 2px rgba(0,0,0,0.02);
}

.parcel-compact-chip:hover {
  border-color: var(--primary-brand-green);
  transform: translateY(-1px);
  box-shadow: 0 2px 6px rgba(56, 161, 59, 0.08);
}

.parcel-compact-chip.selected {
  border-color: var(--primary-brand-green);
  background: #F0FDF4;
  box-shadow: 0 2px 8px rgba(56, 161, 59, 0.14);
}

.parcel-compact-left {
  display: flex;
  align-items: center;
  gap: 5px;
  min-width: 0;
  flex: 1;
  overflow: hidden;
}

.parcel-compact-icon {
  font-size: 14px;
  flex-shrink: 0;
  line-height: 1;
}

.parcel-compact-text {
  min-width: 0;
  flex: 1;
  overflow: hidden;
}

.parcel-compact-name {
  font-size: 11px;
  font-weight: 800;
  color: var(--primary-text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.2;
}

.parcel-compact-sub {
  font-size: 9px;
  color: var(--secondary-text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-top: 1px;
  line-height: 1.1;
}

.parcel-compact-badge {
  font-size: 9px;
  font-weight: 800;
  color: var(--primary-brand-green);
  background: #DCFCE7;
  padding: 2px 4px;
  border-radius: 4px;
  white-space: nowrap;
  flex-shrink: 0;
}

.parcel-compact-check {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 1.5px solid #CBD5E1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 9px;
  color: transparent;
  flex-shrink: 0;
  transition: all 0.18s;
}

.parcel-compact-chip.selected .parcel-compact-check {
  background: var(--primary-brand-green);
  border-color: var(--primary-brand-green);
  color: #FFFFFF;
}

/* Vertical Parcel Size Rows */
.parcel-size-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 18px;
}

.parcel-size-row {
  background: #FFFFFF;
  border: 2px solid #E2E8F0;
  border-radius: var(--radius-md);
  padding: 12px 14px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 1px 3px rgba(0,0,0,0.03);
  user-select: none;
}

.parcel-size-row:hover {
  border-color: var(--primary-brand-green);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(56, 161, 59, 0.09);
}

.parcel-size-row.selected {
  border-color: var(--primary-brand-green);
  background: #F0FDF4;
  box-shadow: 0 4px 14px rgba(56, 161, 59, 0.14);
}

.parcel-size-icon-box {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #F1F5F9;
  font-size: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.18s;
}

.parcel-size-row.selected .parcel-size-icon-box {
  background: #DCFCE7;
}

.parcel-size-info {
  flex: 1;
  min-width: 0;
}

.parcel-size-title-line {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.parcel-size-title {
  font-size: 13.5px;
  font-weight: 800;
  color: var(--primary-text);
  letter-spacing: -0.2px;
}

.parcel-size-weight-badge {
  font-size: 9.5px;
  font-weight: 800;
  background: #F1F5F9;
  color: #475569;
  padding: 1px 6px;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.parcel-size-row.selected .parcel-size-weight-badge {
  background: #DCFCE7;
  color: #15803D;
}

.parcel-size-desc {
  font-size: 11px;
  color: var(--secondary-text);
  margin-top: 2px;
  line-height: 1.3;
}

.parcel-size-price-box {
  text-align: right;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
}

.parcel-size-price {
  font-size: 16px;
  font-weight: 800;
  color: var(--primary-brand-green);
  letter-spacing: -0.3px;
}

.parcel-size-radio {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2px solid #CBD5E1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  color: transparent;
  transition: all 0.18s;
}

.parcel-size-row.selected .parcel-size-radio {
  background: var(--primary-brand-green);
  border-color: var(--primary-brand-green);
  color: #FFFFFF;
}

/* Input validation error styling */
.form-control.input-error {
  border-color: #EF4444 !important;
  background-color: #FEF2F2 !important;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.2) !important;
}

/* ==========================================================================
   BOOKING ACTIONS & SECURITY VERIFICATION
   ========================================================================== */
.security-verification-box {
  background: #F8FAFC;
  border: 1.5px solid #CBD5E1;
}

.booking-actions-row {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}

@media (max-width: 600px) {
  .booking-actions-row {
    flex-direction: column;
    gap: 10px;
  }
}

.btn-action-main {
  flex: 1.8;
  height: 48px;
  font-size: 14px;
  font-weight: 800;
  background: linear-gradient(135deg, #1B5E20 0%, #2E7D32 50%, #38A13B 100%);
  box-shadow: 0 4px 14px rgba(27, 94, 32, 0.25);
  border-radius: var(--radius-full);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.btn-action-main:hover {
  box-shadow: 0 6px 18px rgba(27, 94, 32, 0.35);
  transform: translateY(-1px);
}

.btn-action-secondary {
  flex: 1.2;
  height: 48px;
  font-size: 13.5px;
  font-weight: 700;
  background: #F0FDF4;
  color: #15803D;
  border: 1.5px solid #86EFAC;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.btn-action-secondary:hover {
  background: #DCFCE7;
  transform: translateY(-1px);
}

/* ==========================================================================
   RADAR TELEMETRY CARD & LIVE COUNTDOWN
   ========================================================================== */
.radar-telemetry-card {
  background: #0F172A;
  color: #FFFFFF;
  border-radius: var(--radius-lg);
  padding: 18px 16px;
  border: 1.5px solid #1E293B;
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.35);
}

@media (min-width: 600px) {
  .radar-telemetry-card {
    padding: 22px;
  }
}

.radar-header-card {
  margin-bottom: 14px;
}

.radar-header-top-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}

.radar-header-status-lead {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  flex: 1;
}

.radar-headline-text {
  color: #00E676;
  font-size: 14.5px;
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.2px;
}

.radar-subline-full {
  color: #94A3B8;
  font-size: 12px;
  line-height: 1.4;
  margin-top: 5px;
  padding-left: 20px;
}

.radar-header-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
}

.pulsing-radar-dot {
  width: 12px;
  height: 12px;
  background-color: #00E676;
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(0, 230, 118, 0.7);
  animation: radarPulse 1.4s infinite cubic-bezier(0.66, 0, 0, 1);
  display: inline-block;
  flex-shrink: 0;
  margin: 0 4px;
}

@keyframes radarPulse {
  to {
    box-shadow: 0 0 0 14px rgba(0, 230, 118, 0);
  }
}

.broadcast-countdown-badge {
  background: #16A34A;
  color: #FFFFFF;
  font-weight: 800;
  font-size: 11.5px;
  font-family: 'SF Mono', Consolas, Monaco, monospace;
  padding: 4px 10px;
  border-radius: 20px;
  letter-spacing: 0.5px;
  white-space: nowrap;
  flex-shrink: 0;
  line-height: 1.2;
  box-shadow: 0 2px 6px rgba(22, 163, 74, 0.25);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.radar-details-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: 14px;
  margin-bottom: 14px;
}

@media (max-width: 540px) {
  .radar-details-grid {
    grid-template-columns: 1fr;
  }
}

.radar-detail-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.radar-detail-item.highlight-green .pin-val {
  color: #00E676;
  font-size: 18px;
  letter-spacing: 2px;
  font-weight: 800;
}

.radar-label {
  font-size: 11px;
  color: #94A3B8;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.radar-val {
  font-size: 13.5px;
  color: #FFFFFF;
}

.radar-info-footer {
  font-size: 12px;
  color: #94A3B8;
  line-height: 1.45;
  margin-bottom: 14px;
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 6px;
}

.radar-simulation-bar {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.btn-simulation {
  background: rgba(255, 255, 255, 0.12);
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.25);
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-simulation:hover {
  background: rgba(255, 255, 255, 0.22);
}

.btn-simulation-cancel {
  background: rgba(239, 68, 68, 0.2);
  color: #FCA5A5;
  border: 1px solid rgba(239, 68, 68, 0.4);
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-simulation-cancel:hover {
  background: rgba(239, 68, 68, 0.3);
}

/* ==========================================================================
   RIDER DASHBOARD JOB CARDS & VERIFICATION
   ========================================================================== */
.rider-jobs-feed {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.rider-job-card {
  background: #FFFFFF;
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 18px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  transition: all 0.2s;
}

.rider-job-card.job-campus {
  border-left: 6px solid var(--primary-brand-green);
}

.rider-job-card.job-parcel {
  border-left: 6px solid #F59E0B;
}

.rider-job-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 12px;
}

.job-type-pill {
  font-size: 11px;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: 6px;
  text-transform: uppercase;
}

.pill-human { background: #DCFCE7; color: #15803D; }
.pill-parcel { background: #FEF3C7; color: #B45309; }

.rider-timer-pill {
  background: #0F172A;
  color: #FBBF24;
  font-family: monospace;
  font-size: 12px;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 6px;
  margin-top: 2px;
  display: inline-block;
}

.rider-job-route {
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: #F8FAFC;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  margin-bottom: 14px;
  font-size: 13px;
}

.route-point {
  display: flex;
  align-items: center;
  gap: 10px;
}

.route-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  flex-shrink: 0;
}

.origin-dot { background: var(--primary-brand-green); }
.dest-dot { background: #EF4444; }

.rider-job-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}

/* ==========================================================================
   LOGISTICS HEAD ALARM BANNER & ESCALATIONS TABLE
   ========================================================================== */
.logistics-alarm-card {
  background: linear-gradient(135deg, #991B1B 0%, #DC2626 100%);
  border-radius: var(--radius-lg);
  padding: 18px 22px;
  color: #FFFFFF;
  margin-bottom: 22px;
  box-shadow: 0 8px 24px rgba(220, 38, 38, 0.35);
  animation: alarmPulse 1.8s infinite alternate;
}

@keyframes alarmPulse {
  from { box-shadow: 0 0 10px rgba(220, 38, 38, 0.4); }
  to { box-shadow: 0 0 28px rgba(220, 38, 38, 0.8); }
}

.alarm-siren-icon {
  font-size: 32px;
  animation: sirenRotate 0.6s infinite alternate;
  display: inline-block;
}

@keyframes sirenRotate {
  from { transform: rotate(-12deg) scale(1); }
  to { transform: rotate(12deg) scale(1.18); }
}

.btn-alarm-action {
  background: rgba(255, 255, 255, 0.2);
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.4);
  padding: 7px 14px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-alarm-action:hover {
  background: #FFFFFF;
  color: #991B1B;
}

.escalations-table-wrapper {
  overflow-x: auto !important;
  -webkit-overflow-scrolling: touch !important;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  box-sizing: border-box !important;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  box-shadow: 0 2px 8px rgba(0,0,0,0.03);
  scrollbar-width: thin !important;
  scrollbar-color: #64748B #E2E8F0 !important;
}

.escalations-table-wrapper::-webkit-scrollbar {
  height: 9px !important;
  display: block !important;
}
.escalations-table-wrapper::-webkit-scrollbar-track {
  background: #E2E8F0 !important;
  border-radius: 6px !important;
}
.escalations-table-wrapper::-webkit-scrollbar-thumb {
  background: #64748B !important;
  border-radius: 6px !important;
}
.escalations-table-wrapper::-webkit-scrollbar-thumb:hover {
  background: #334155 !important;
}

.escalations-table {
  width: 100%;
  min-width: 960px;
  border-collapse: collapse;
  font-size: 13px;
  background: #FFFFFF;
}

.escalations-table th {
  background: #F8FAFC;
  color: var(--secondary-text);
  font-weight: 700;
  text-align: left;
  padding: 12px 14px;
  border-bottom: 1px solid var(--border-color);
}

.escalations-table td {
  padding: 12px 14px;
  border-bottom: 1px solid #F1F5F9;
  vertical-align: middle;
}

.badge-escalated {
  background: #FEE2E2;
  color: #991B1B;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 6px;
  font-size: 11.5px;
}

/* ==========================================================================
   MODERN E-COMMERCE MARKETPLACE & MULTI-VENDOR STYLES
   ========================================================================== */

/* Marketplace Hero Card */
.market-hero-card {
  background: linear-gradient(135deg, #1B5E20 0%, #2E7D32 60%, #388E3C 100%);
  border-radius: var(--radius-lg);
  color: #FFFFFF;
  padding: 24px 20px;
  margin-bottom: 16px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(27, 94, 32, 0.18);
}

.market-hero-card::after {
  content: '🛍️';
  position: absolute;
  right: -10px;
  bottom: -15px;
  font-size: 110px;
  opacity: 0.15;
  pointer-events: none;
}

.market-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.28);
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: 11.5px;
  font-weight: 800;
  margin-bottom: 10px;
  backdrop-filter: blur(4px);
}

.market-hero-live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #00E676;
  box-shadow: 0 0 8px #00E676;
  animation: pulseDot 1.5s infinite;
}

.market-hero-title {
  font-size: 24px;
  font-weight: 900;
  line-height: 1.22;
  margin: 0 0 8px 0;
  letter-spacing: -0.5px;
}

.market-highlight {
  color: #FFD600;
}

.market-hero-desc {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.92);
  line-height: 1.45;
  margin: 0 0 14px 0;
  max-width: 580px;
}

.market-trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.trust-badge-item {
  background: rgba(0, 0, 0, 0.22);
  border-radius: var(--radius-full);
  padding: 4px 12px;
  font-size: 11px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

/* Marketplace Search & Filter Controls */
.market-controls-wrapper {
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.market-search-box {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
}

.market-search-icon {
  position: absolute;
  left: 14px;
  font-size: 16px;
  color: var(--secondary-text);
  pointer-events: none;
}

.market-search-input {
  width: 100%;
  height: 48px;
  background: #F8FAFC;
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-full);
  padding: 0 42px 0 42px;
  font-size: 13.5px;
  font-family: inherit;
  font-weight: 500;
  color: var(--primary-text);
  transition: all 0.2s ease;
  box-sizing: border-box;
}

.market-search-input:focus {
  outline: none;
  background: #FFFFFF;
  border-color: var(--primary-brand-green);
  box-shadow: 0 0 0 4px rgba(56, 161, 59, 0.12);
}

.market-search-clear-btn {
  position: absolute;
  right: 12px;
  background: #E2E8F0;
  border: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  color: #475569;
  cursor: pointer;
  transition: all 0.15s;
}

.market-search-clear-btn:hover {
  background: #CBD5E1;
  color: #0F172A;
}

/* Category Filter Carousel */
.market-categories-carousel {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 4px 2px 8px;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.market-categories-carousel::-webkit-scrollbar {
  display: none;
}

.market-cat-pill {
  background: #FFFFFF;
  border: 1.5px solid var(--border-color);
  color: var(--primary-text);
  padding: 8px 14px;
  border-radius: var(--radius-full);
  font-size: 12.5px;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  flex-shrink: 0;
  transition: all 0.2s ease;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
}

.market-cat-pill:hover {
  border-color: var(--primary-brand-green);
  background: var(--light-green-tint);
  color: var(--primary-brand-green);
  transform: translateY(-1px);
}

.market-cat-pill.active {
  background: var(--primary-brand-green);
  border-color: var(--primary-brand-green);
  color: #FFFFFF;
  box-shadow: 0 4px 12px rgba(56, 161, 59, 0.25);
}

.cat-pill-badge {
  background: #F1F5F9;
  color: #475569;
  font-size: 10.5px;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: var(--radius-full);
  transition: all 0.2s;
}

.market-cat-pill.active .cat-pill-badge {
  background: rgba(255, 255, 255, 0.28);
  color: #FFFFFF;
}

/* Refine & Sort Sub-Bar */
.market-refine-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  padding: 8px 4px 0;
  border-top: 1px solid #F1F5F9;
}

.market-results-count {
  font-size: 12.5px;
  color: var(--secondary-text);
}

.market-refine-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.refine-select-wrapper {
  position: relative;
}

.market-select {
  background: #FFFFFF;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 600;
  color: var(--primary-text);
  outline: none;
  cursor: pointer;
  transition: all 0.2s;
}

.market-select:focus {
  border-color: var(--primary-brand-green);
  box-shadow: 0 0 0 2px rgba(56, 161, 59, 0.15);
}

/* Modern Products Grid with 0-overflow Responsive Layout */
.market-products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 14px;
  margin-top: 12px;
  width: 100%;
  box-sizing: border-box;
}

@media (max-width: 580px) {
  .market-products-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    width: 100%;
    box-sizing: border-box;
  }
}

/* Modern Product Card */
.market-product-card {
  background: #FFFFFF;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  transition: transform 0.22s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.22s, border-color 0.22s;
  cursor: pointer;
  min-width: 0;
  width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

.market-product-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.07);
  border-color: #CBD5E1;
}

/* Card Visual Header */
.market-card-img-box {
  aspect-ratio: 4/3;
  width: 100%;
  height: auto;
  background: linear-gradient(145deg, #F8FAFC 0%, #EEF2F6 100%);
  border-radius: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  margin-bottom: 0;
  overflow: hidden;
  box-sizing: border-box;
  transition: transform 0.3s;
}

.market-product-card:hover .market-card-img-box {
  transform: scale(1.02);
}

.market-card-badge {
  position: absolute;
  top: 6px;
  left: 6px;
  background: #DC2626;
  color: #FFFFFF;
  font-size: 9.5px;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 4px;
  letter-spacing: 0.3px;
  box-shadow: 0 2px 6px rgba(220, 38, 38, 0.3);
  z-index: 2;
  white-space: nowrap;
}

.market-card-badge.tag-deal {
  background: #D97706;
}

.market-card-badge.tag-seller {
  background: #15803D;
}

.market-card-hub-tag {
  position: absolute;
  bottom: 6px;
  right: 6px;
  background: rgba(15, 23, 42, 0.78);
  color: #FFFFFF;
  font-size: 9px;
  font-weight: 700;
  padding: 2px 5px;
  border-radius: 4px;
  backdrop-filter: blur(4px);
  z-index: 2;
  white-space: nowrap;
}

/* Card Information Body */
.market-card-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-width: 0;
  width: 100%;
  box-sizing: border-box;
  text-align: left;
}

.market-card-vendor-line {
  font-size: 10.5px;
  color: var(--secondary-text);
  margin-bottom: 3px;
  display: flex;
  align-items: center;
  gap: 3px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
}

.market-card-title {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--primary-text);
  line-height: 1.3;
  margin-bottom: 5px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  height: 33px;
  text-align: left;
  word-break: break-word;
}

.market-card-rating {
  display: flex;
  align-items: center;
  gap: 3px;
  font-size: 11px;
  margin-bottom: 6px;
  white-space: nowrap;
  overflow: hidden;
}

.market-card-stars {
  color: #F59E0B;
  font-size: 10px;
  letter-spacing: -1px;
}

.market-card-rating-num {
  font-weight: 700;
  color: var(--primary-text);
}

.market-card-reviews {
  color: var(--secondary-text);
  font-size: 10px;
}

/* Card Price & Actions */
.market-card-price-row {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 4px;
  margin-bottom: 8px;
}

.market-card-price {
  font-size: 14.5px;
  font-weight: 900;
  color: var(--primary-brand-green);
  letter-spacing: -0.3px;
}

.market-card-original-price {
  font-size: 11px;
  color: #94A3B8;
  text-decoration: line-through;
  font-weight: 500;
}

.market-card-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5px;
  margin-top: auto;
  width: 100%;
  box-sizing: border-box;
  min-width: 0;
}

.btn-card-details {
  background: #F1F5F9;
  color: #334155;
  border: 1px solid #CBD5E1;
  padding: 6px 4px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.18s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
}

.btn-card-details:hover {
  background: #E2E8F0;
  color: #0F172A;
}

.btn-card-add-cart {
  background: var(--primary-brand-green);
  color: #FFFFFF;
  border: none;
  padding: 6px 4px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.18s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  box-shadow: 0 2px 6px rgba(56, 161, 59, 0.2);
}

.btn-card-add-cart:hover {
  background: #2E7D32;
  transform: translateY(-1px);
}

.btn-card-add-cart:active {
  transform: scale(0.96);
}

/* Empty State */
.market-empty-state {
  text-align: center;
  padding: 40px 20px;
  background: #F8FAFC;
  border-radius: var(--radius-md);
  border: 1px dashed var(--border-color);
  margin-top: 14px;
}

.market-empty-icon {
  font-size: 48px;
  margin-bottom: 12px;
}

.market-empty-title {
  font-size: 16px;
  font-weight: 800;
  color: var(--primary-text);
  margin: 0 0 6px 0;
}

.market-empty-desc {
  font-size: 12.5px;
  color: var(--secondary-text);
  max-width: 400px;
  margin: 0 auto 16px;
  line-height: 1.45;
}

.market-empty-btn {
  width: auto;
  padding: 8px 20px;
  font-size: 12.5px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* ==========================================================================
   PRODUCT DETAILS MODAL WITH INTERACTIVE MULTI-IMAGE GALLERY & STICKY HEADER
   ========================================================================== */
.product-details-modal-box {
  background: var(--surface-white);
  border-radius: 20px;
  max-width: 720px;
  width: 100%;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding: 0;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  position: relative;
}

@media (max-width: 640px) {
  .product-details-modal-box {
    height: 86vh;
    max-height: 86vh;
    border-radius: 24px 24px 0 0;
    width: 100%;
    margin: 0;
    position: relative;
    box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.35);
    animation: slideUpModalSheet 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  }
}

@keyframes slideUpModalSheet {
  from {
    transform: translateY(100%);
  }
  to {
    transform: translateY(0);
  }
}

/* Sticky Top Navigation Header Bar */
.product-modal-top-bar {
  display: flex;
  flex-direction: column;
  background: #FFFFFF;
  border-bottom: 1px solid var(--border-color);
  position: sticky;
  top: 0;
  z-index: 30;
  flex-shrink: 0;
  padding: 8px 14px 10px;
}

.modal-drag-indicator-pill {
  width: 40px;
  height: 4px;
  background: #CBD5E1;
  border-radius: 4px;
  margin: 0 auto 8px;
  display: block;
}

@media (min-width: 641px) {
  .modal-drag-indicator-pill {
    display: none;
  }
  .product-modal-top-bar {
    padding: 12px 18px;
  }
}

.product-modal-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: 8px;
}

.btn-modal-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #F1F5F9;
  border: 1.5px solid #CBD5E1;
  color: #1E293B;
  font-size: 13px;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all 0.18s ease;
}

.btn-modal-back:hover {
  background: #E2E8F0;
  color: #0F172A;
  border-color: #94A3B8;
}

.btn-modal-back:active {
  transform: scale(0.97);
}

.product-modal-bar-title {
  font-size: 13.5px;
  font-weight: 800;
  color: var(--primary-text);
  letter-spacing: -0.2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 180px;
}

@media (max-width: 400px) {
  .product-modal-bar-title {
    display: none;
  }
}

.btn-modal-close-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #F1F5F9;
  border: 1.5px solid #CBD5E1;
  color: #334155;
  font-size: 16px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.18s ease;
  flex-shrink: 0;
}

.btn-modal-close-icon:hover {
  background: #E2E8F0;
  color: #0F172A;
  border-color: #94A3B8;
}

.btn-modal-close-icon:active {
  transform: scale(0.95);
}

/* Scrollable Content Container */
.product-modal-scroll-body {
  flex: 1;
  overflow-y: auto;
  padding: 20px 22px 28px;
  -webkit-overflow-scrolling: touch;
}

@media (max-width: 640px) {
  .product-modal-scroll-body {
    padding: 14px 16px 24px;
  }
}

.product-details-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

@media (min-width: 640px) {
  .product-details-grid {
    grid-template-columns: 270px 1fr;
    gap: 24px;
  }
}

/* Gallery Left */
.product-gallery-container {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.product-gallery-main {
  height: 220px;
  background: linear-gradient(145deg, #F8FAFC 0%, #EEF2F6 100%);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

.product-gallery-icon {
  font-size: 72px;
  transition: transform 0.25s;
}

.product-gallery-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: #DC2626;
  color: #FFFFFF;
  font-size: 11px;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 4px;
  box-shadow: 0 2px 6px rgba(220, 38, 38, 0.25);
}

/* Thumbnails Strip */
.product-gallery-thumbs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 4px;
  scrollbar-width: none;
}

.product-gallery-thumbs::-webkit-scrollbar {
  display: none;
}

.product-thumb-item {
  width: 54px;
  height: 54px;
  background: #F1F5F9;
  border: 2px solid transparent;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  cursor: pointer;
  transition: all 0.18s;
  flex-shrink: 0;
}

.product-thumb-item:hover {
  border-color: #94A3B8;
}

.product-thumb-item.active {
  border-color: var(--primary-brand-green);
  background: #FFFFFF;
  box-shadow: 0 2px 8px rgba(56, 161, 59, 0.25);
  transform: scale(1.04);
}

/* Product Info Right */
.product-info-container {
  display: flex;
  flex-direction: column;
  gap: 14px;
  text-align: left;
}

.product-vendor-badge {
  font-size: 12px;
  color: var(--secondary-text);
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 2px;
}

.vendor-verified-pill {
  background: #DCFCE7;
  color: #15803D;
  font-size: 10.5px;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 4px;
}

.product-info-title {
  font-size: 18px;
  font-weight: 900;
  color: var(--primary-text);
  line-height: 1.3;
  margin: 0;
  text-align: left;
}

@media (min-width: 640px) {
  .product-info-title {
    font-size: 20px;
  }
}

.product-rating-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  font-size: 12px;
}

.product-stars {
  color: #F59E0B;
  font-size: 12px;
}

.product-rating-val {
  font-weight: 800;
  color: var(--primary-text);
}

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

.product-stock-tag {
  font-size: 11px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: var(--radius-full);
}

.product-stock-tag.in-stock {
  background: #DCFCE7;
  color: #15803D;
}

/* Product Price Box */
.product-price-box {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 10px;
  padding: 10px 14px;
  background: #F8FAFC;
  border-radius: var(--radius-sm);
  border: 1px solid #E2E8F0;
}

.product-main-price {
  font-size: 22px;
  font-weight: 900;
  color: var(--primary-brand-green);
  letter-spacing: -0.5px;
}

@media (min-width: 640px) {
  .product-main-price {
    font-size: 24px;
  }
}

.product-original-price {
  font-size: 13px;
  color: #94A3B8;
  text-decoration: line-through;
}

.product-save-badge {
  background: #FEE2E2;
  color: #DC2626;
  font-size: 11px;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 4px;
}

/* Description & Bullet Features */
.product-section-heading {
  font-size: 11.5px;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--secondary-text);
  margin-bottom: 4px;
  letter-spacing: 0.3px;
  text-align: left;
}

.product-desc-text {
  font-size: 13px;
  color: var(--secondary-text);
  line-height: 1.5;
  margin: 0 0 10px 0;
  text-align: left;
}

.product-features-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
  text-align: left;
}

.product-features-list li {
  font-size: 12px;
  color: var(--primary-text);
  display: flex;
  align-items: flex-start;
  gap: 6px;
  line-height: 1.4;
  text-align: left;
}

.product-features-list li::before {
  content: '✓';
  color: var(--primary-brand-green);
  font-weight: 800;
  flex-shrink: 0;
}

/* Delivery ETA Badge */
.product-delivery-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #F0FDF4;
  border: 1px solid #BBF7D0;
  border-radius: var(--radius-sm);
  padding: 10px 12px;
  font-size: 12px;
  color: #166534;
  text-align: left;
}

.delivery-icon {
  font-size: 20px;
  flex-shrink: 0;
}

/* Quantity & Action Buttons */
.product-actions-wrapper {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-top: 12px;
  border-top: 1px solid #F1F5F9;
}

.product-qty-selector {
  display: flex;
  align-items: center;
  gap: 12px;
}

.qty-label {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--primary-text);
}

.qty-control-group {
  display: flex;
  align-items: center;
  border: 1.5px solid var(--border-color);
  border-radius: 8px;
  overflow: hidden;
  background: #FFFFFF;
}

.btn-qty {
  width: 34px;
  height: 34px;
  background: #F8FAFC;
  border: none;
  font-size: 16px;
  font-weight: 800;
  color: var(--primary-text);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s;
}

.btn-qty:hover {
  background: #E2E8F0;
}

.qty-input {
  width: 42px;
  height: 34px;
  border: none;
  text-align: center;
  font-size: 13.5px;
  font-weight: 800;
  color: var(--primary-text);
  background: transparent;
  outline: none;
}

.product-ctas-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.btn-add-cart {
  background: #FFFFFF;
  border: 2px solid var(--primary-brand-green);
  color: var(--primary-brand-green);
  padding: 11px 12px;
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.btn-add-cart:hover {
  background: var(--light-green-tint);
}

.btn-buy-now {
  background: linear-gradient(135deg, #1B5E20 0%, #2E7D32 50%, #38A13B 100%);
  border: none;
  color: #FFFFFF;
  padding: 11px 12px;
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  box-shadow: 0 4px 14px rgba(27, 94, 32, 0.25);
  transition: all 0.2s ease;
  white-space: nowrap;
}

.btn-buy-now:hover {
  box-shadow: 0 6px 18px rgba(27, 94, 32, 0.35);
  transform: translateY(-1px);
}

/* ==========================================================================
   SLIDE-OUT CART DRAWER & CART BADGE
   ========================================================================== */
.cart-drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 1500;
  display: none;
  opacity: 0;
  transition: opacity 0.25s ease;
}

.cart-drawer-overlay.open {
  display: flex;
  opacity: 1;
}

.cart-drawer-panel {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  max-width: 440px;
  background: #FFFFFF;
  display: flex;
  flex-direction: column;
  box-shadow: -10px 0 40px rgba(0, 0, 0, 0.28);
  transform: translateX(100%);
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 1550;
  overflow: hidden;
}

.cart-drawer-overlay.open .cart-drawer-panel {
  transform: translateX(0);
}

.cart-drawer-header {
  padding: 16px 20px;
  background: #FFFFFF;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.cart-drawer-title-group {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
  flex: 1;
}

.cart-drawer-title {
  font-size: 16px;
  font-weight: 900;
  color: var(--primary-text);
  display: flex;
  align-items: center;
  gap: 8px;
}

.cart-drawer-header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.btn-cart-clear-header {
  background: #FEF2F2;
  color: #DC2626;
  border: 1px solid #FECACA;
  padding: 5px 11px;
  border-radius: var(--radius-full);
  font-size: 11.5px;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: all 0.18s;
}

.btn-cart-clear-header:hover {
  background: #FEE2E2;
  border-color: #F87171;
  transform: translateY(-1px);
}

.cart-drawer-count-badge {
  background: var(--light-green-tint);
  color: var(--primary-brand-green);
  font-size: 11px;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: var(--radius-full);
}

.cart-free-dispatch-bar {
  font-size: 11px;
  color: var(--primary-brand-green);
  font-weight: 700;
}

.cart-drawer-body {
  flex: 1;
  overflow-y: auto;
  padding: 16px 20px;
}

/* Cart Items List */
.cart-items-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.cart-item-row {
  display: flex;
  gap: 12px;
  padding: 12px;
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: var(--radius-md);
  align-items: center;
  transition: all 0.2s;
}

.cart-item-img {
  width: 58px;
  height: 58px;
  background: #FFFFFF;
  border-radius: 8px;
  border: 1px solid #CBD5E1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  flex-shrink: 0;
}

.cart-item-info {
  flex: 1;
  min-width: 0;
}

.cart-item-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--primary-text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 2px;
}

.cart-item-meta {
  font-size: 11px;
  color: var(--secondary-text);
  margin-bottom: 6px;
}

.cart-item-price-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.cart-item-price {
  font-size: 13.5px;
  font-weight: 800;
  color: var(--primary-brand-green);
}

.cart-item-controls {
  display: flex;
  align-items: center;
  gap: 8px;
}

.cart-qty-pill {
  display: flex;
  align-items: center;
  background: #FFFFFF;
  border: 1px solid #CBD5E1;
  border-radius: 6px;
  overflow: hidden;
}

.btn-cart-qty {
  width: 24px;
  height: 24px;
  border: none;
  background: #F1F5F9;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cart-qty-count {
  width: 26px;
  text-align: center;
  font-size: 12px;
  font-weight: 800;
}

.btn-cart-remove {
  background: none;
  border: none;
  color: #94A3B8;
  font-size: 14px;
  cursor: pointer;
  padding: 4px;
  transition: color 0.15s;
}

.btn-cart-remove:hover {
  color: #DC2626;
}

/* Empty Cart */
.cart-empty-box {
  text-align: center;
  padding: 40px 10px;
}

.cart-empty-icon {
  font-size: 52px;
  margin-bottom: 10px;
}

.cart-empty-title {
  font-size: 16px;
  font-weight: 800;
  color: var(--primary-text);
  margin-bottom: 4px;
}

.cart-empty-text {
  font-size: 12.5px;
  color: var(--secondary-text);
  max-width: 280px;
  margin: 0 auto;
}

/* Cart Footer */
.cart-drawer-footer {
  padding: 16px 20px 20px;
  background: #FFFFFF;
  border-top: 1px solid var(--border-color);
  box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.04);
}

.cart-voucher-box {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
}

.cart-voucher-input {
  flex: 1;
  height: 38px;
  background: #F8FAFC;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 0 12px;
  font-size: 12.5px;
  font-family: inherit;
  font-weight: 600;
}

.cart-voucher-input:focus {
  outline: none;
  border-color: var(--primary-brand-green);
}

.cart-voucher-btn {
  background: #F1F5F9;
  border: 1px solid #CBD5E1;
  color: #334155;
  padding: 0 16px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.18s;
}

.cart-voucher-btn:hover {
  background: #E2E8F0;
}

.cart-voucher-msg {
  font-size: 11.5px;
  margin-bottom: 10px;
  padding: 6px 10px;
  border-radius: 6px;
}

.cart-voucher-msg.success {
  background: #DCFCE7;
  color: #15803D;
}

.cart-voucher-msg.error {
  background: #FEE2E2;
  color: #DC2626;
}

/* Calculation Box */
.cart-calc-box {
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  margin-bottom: 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.cart-calc-row {
  display: flex;
  justify-content: space-between;
  font-size: 12.5px;
}

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

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

.calc-val.text-green {
  color: var(--primary-brand-green);
}

.calc-val.text-danger {
  color: #DC2626;
}

.cart-calc-row.total-row {
  border-top: 1px dashed #CBD5E1;
  margin-top: 4px;
  padding-top: 8px;
  font-size: 14px;
}

.calc-label-total {
  font-weight: 800;
  color: var(--primary-text);
}

.calc-val-total {
  font-size: 17px;
  font-weight: 900;
  color: var(--primary-brand-green);
}

.btn-checkout-main {
  width: 100%;
  padding: 12px;
  font-size: 14px;
  font-weight: 800;
  border-radius: var(--radius-full);
}

.cart-footer-dual-btns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 10px;
}

.btn-cart-continue {
  background: #F8FAFC;
  color: #334155;
  border: 1.5px solid #CBD5E1;
  padding: 9px 12px;
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  transition: all 0.18s;
}

.btn-cart-continue:hover {
  background: #E2E8F0;
  color: #0F172A;
}

.btn-cart-clear-footer {
  background: #FEF2F2;
  color: #DC2626;
  border: 1.5px solid #FECACA;
  padding: 9px 12px;
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  transition: all 0.18s;
}

.btn-cart-clear-footer:hover {
  background: #FEE2E2;
  border-color: #F87171;
  color: #B91C1C;
  transform: translateY(-1px);
}

/* ==========================================================================
   DESKTOP & MOBILE CART BADGES & BUTTONS
   ========================================================================== */
.desktop-cart-btn {
  background: rgba(255, 255, 255, 0.18);
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  color: #FFFFFF;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s;
  user-select: none;
  -webkit-user-select: none;
}

.desktop-cart-btn:hover {
  background: rgba(255, 255, 255, 0.28);
  border-color: rgba(255, 255, 255, 0.5);
  transform: translateY(-1px);
}

.desktop-cart-btn:active {
  transform: scale(0.97);
}

.cart-badge-count {
  background: #FFD600;
  color: #111111;
  font-size: 11px;
  font-weight: 900;
  padding: 1px 7px;
  border-radius: var(--radius-full);
  line-height: 1.2;
}

.mobile-cart-icon-btn {
  position: relative;
}

.mobile-cart-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  background: #FFD600;
  color: #111111;
  font-size: 10px;
  font-weight: 900;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

/* Floating Bottom-Right Sticky Cart Action Pill */
.floating-cart-pill {
  position: fixed;
  bottom: 80px;
  right: 20px;
  background: #111827;
  color: #FFFFFF;
  border: 1.5px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-full);
  padding: 10px 18px;
  display: flex;
  align-items: center;
  gap: 16px;
  box-shadow: 0 14px 35px rgba(0, 0, 0, 0.35);
  cursor: pointer;
  z-index: 190;
  backdrop-filter: blur(10px);
  transition: transform 0.2s, box-shadow 0.2s;
  animation: bounceInPill 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes bounceInPill {
  from { transform: translateY(50px) scale(0.85); opacity: 0; }
  to { transform: translateY(0) scale(1); opacity: 1; }
}

.floating-cart-pill:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
}

.floating-cart-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.floating-cart-icon-box {
  position: relative;
  font-size: 20px;
}

.floating-cart-count {
  position: absolute;
  top: -6px;
  right: -8px;
  background: #00E676;
  color: #052E16;
  font-size: 10px;
  font-weight: 900;
  width: 17px;
  height: 17px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.floating-cart-text {
  display: flex;
  flex-direction: column;
}

.floating-cart-label {
  font-size: 10px;
  color: #94A3B8;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.3px;
}

.floating-cart-total {
  font-size: 13.5px;
  font-weight: 900;
  color: #00E676;
}

.floating-cart-right {
  background: var(--primary-brand-green);
  color: #FFFFFF;
  padding: 5px 12px;
  border-radius: var(--radius-full);
  font-size: 11.5px;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 4px;
}

/* ==========================================================================
   MULTI-ITEM CHECKOUT MODAL STYLES
   ========================================================================== */
.checkout-modal-content {
  max-width: 500px;
  max-height: 90vh;
  overflow: hidden;
  padding: 0;
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
}

@media (max-width: 640px) {
  .checkout-modal-content {
    height: 88vh;
    max-height: 88vh;
    border-radius: 24px 24px 0 0;
    width: 100%;
    margin: 0;
    animation: slideUpModalSheet 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  }
}

.checkout-header-box {
  background: linear-gradient(135deg, #1B5E20 0%, #2E7D32 100%);
  padding: 22px 24px;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  position: relative;
}

@media (max-width: 640px) {
  .checkout-header-box {
    padding: 16px 18px;
    border-radius: 24px 24px 0 0;
  }
}

.checkout-modal-body {
  padding: 20px 24px 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

@media (max-width: 640px) {
  .checkout-modal-body {
    padding: 14px 16px 24px;
    gap: 12px;
  }
}

.checkout-items-preview-card {
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: var(--radius-md);
  padding: 14px;
}

@media (max-width: 640px) {
  .checkout-items-preview-card {
    padding: 12px;
  }
}

.checkout-section-sub {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12.5px;
  font-weight: 800;
  margin-bottom: 10px;
  padding-bottom: 6px;
  border-bottom: 1px solid #E2E8F0;
}

.checkout-items-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-height: 180px;
  overflow-y: auto;
  margin-bottom: 10px;
}

.checkout-item-preview-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 6px 0;
  border-bottom: 1px dashed #E2E8F0;
  font-size: 12.5px;
  min-width: 0;
  width: 100%;
}

.checkout-item-preview-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.checkout-item-preview-left {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
  flex: 1;
  overflow: hidden;
}

.checkout-item-icon {
  font-size: 15px;
  flex-shrink: 0;
  line-height: 1;
}

.checkout-item-qty {
  font-size: 11.5px;
  font-weight: 800;
  color: var(--primary-brand-green);
  background: var(--light-green-tint);
  padding: 1px 6px;
  border-radius: 4px;
  flex-shrink: 0;
  line-height: 1.2;
}

.checkout-item-name {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--primary-text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
  flex: 1;
  text-align: left;
}

.checkout-item-price {
  font-size: 13px;
  font-weight: 800;
  color: var(--primary-brand-green);
  white-space: nowrap;
  flex-shrink: 0;
  text-align: right;
  letter-spacing: -0.2px;
  margin-left: auto;
}

.checkout-summary-calc {
  border-top: 1px dashed #CBD5E1;
  padding-top: 8px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 12px;
}

.summary-line {
  display: flex;
  justify-content: space-between;
  color: var(--secondary-text);
}

.summary-line.grand-total-line {
  border-top: 1px solid #E2E8F0;
  margin-top: 4px;
  padding-top: 6px;
  font-size: 14px;
  color: var(--primary-text);
}

.total-price-green {
  color: var(--primary-brand-green);
  font-size: 16px;
}

.checkout-form-card {
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 16px;
  background: #FFFFFF;
}

.checkout-section-title {
  font-size: 13.5px;
  font-weight: 800;
  color: var(--primary-text);
  margin-bottom: 10px;
}

.wallet-escrow-guarantee {
  background: #ECFDF5;
  border: 1px solid #A7F3D0;
  border-radius: var(--radius-sm);
  padding: 8px 10px;
  font-size: 11px;
  color: #065F46;
  line-height: 1.4;
  margin-top: 6px;
}

.btn-checkout-submit {
  width: 100%;
  padding: 13px;
  font-size: 14px;
  font-weight: 800;
  border-radius: var(--radius-full);
}

/* Sticky Top Navigation Header Bar for Checkout Modal */
.checkout-modal-top-bar {
  display: flex;
  flex-direction: column;
  background: #FFFFFF;
  border-bottom: 1px solid var(--border-color);
  position: sticky;
  top: 0;
  z-index: 30;
  flex-shrink: 0;
  padding: 8px 14px 6px;
}

@media (min-width: 641px) {
  .checkout-modal-top-bar {
    padding: 12px 18px 8px;
  }
}

.checkout-modal-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: 8px;
  margin-bottom: 4px;
}

.checkout-modal-bar-title {
  font-size: 13.5px;
  font-weight: 800;
  color: var(--primary-text);
  letter-spacing: -0.2px;
  white-space: nowrap;
}

/* Visual Progress Stepper Bar */
.checkout-stepper-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 10px 4px;
  width: 100%;
  box-sizing: border-box;
}

.checkout-step-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  cursor: pointer;
  user-select: none;
  flex-shrink: 0;
}

.step-badge {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #F1F5F9;
  border: 2px solid #CBD5E1;
  color: #64748B;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 800;
  transition: all 0.25s ease;
}

.step-check {
  display: none;
}

.step-title {
  font-size: 10.5px;
  font-weight: 700;
  color: #64748B;
  transition: color 0.25s ease;
  white-space: nowrap;
}

.checkout-step-item.active .step-badge {
  background: var(--primary-brand-green);
  border-color: var(--primary-brand-green);
  color: #FFFFFF;
  box-shadow: 0 0 0 3px rgba(56, 161, 59, 0.2);
}

.checkout-step-item.active .step-title {
  color: var(--primary-brand-green);
  font-weight: 800;
}

.checkout-step-item.completed .step-badge {
  background: #DCFCE7;
  border-color: #16A34A;
  color: #16A34A;
}

.checkout-step-item.completed .step-num {
  display: none;
}

.checkout-step-item.completed .step-check {
  display: inline;
  font-weight: 900;
}

.checkout-step-item.completed .step-title {
  color: #16A34A;
}

.step-connector-track {
  flex: 1;
  height: 2.5px;
  background: #E2E8F0;
  margin: 0 8px 14px;
  border-radius: 2px;
  transition: background 0.3s ease;
}

.step-connector-track.completed {
  background: #16A34A;
}

.checkout-modal-scroll-body {
  flex: 1;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

/* Step Panels */
.checkout-step-panel {
  padding: 16px 20px 24px;
}

@media (max-width: 640px) {
  .checkout-step-panel {
    padding: 14px 16px 24px;
  }
}

.checkout-step-header {
  margin-bottom: 14px;
}

.step-header-title {
  font-size: 16px;
  font-weight: 900;
  color: var(--primary-text);
  margin-bottom: 3px;
}

.step-header-desc {
  font-size: 12px;
  color: var(--secondary-text);
  margin: 0;
  line-height: 1.4;
}

.btn-step-clear-cart {
  background: #FEF2F2;
  color: #DC2626;
  border: 1px solid #FECACA;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all 0.15s;
}

.btn-step-clear-cart:hover {
  background: #FEE2E2;
}

.checkout-mini-summary-strip {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #F0FDF4;
  border: 1px solid #BBF7D0;
  border-radius: var(--radius-md);
  padding: 10px 14px;
  margin-bottom: 14px;
}

.mini-label {
  font-size: 11.5px;
  color: #166534;
  font-weight: 600;
  margin-right: 6px;
}

.mini-amount {
  font-size: 15px;
  color: #15803D;
  font-weight: 900;
}

.mini-edit-btn {
  background: #FFFFFF;
  border: 1px solid #86EFAC;
  color: #15803D;
  font-size: 11.5px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all 0.15s;
}

.mini-edit-btn:hover {
  background: #DCFCE7;
}

.checkout-actions-container {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.btn-checkout-return-store {
  width: 100%;
  background: #F8FAFC;
  color: #334155;
  border: 1.5px solid #CBD5E1;
  padding: 11px 14px;
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: all 0.18s ease;
}

.btn-checkout-return-store:hover {
  background: #E2E8F0;
  color: #0F172A;
  border-color: #94A3B8;
}

.btn-checkout-return-store:active {
  transform: scale(0.98);
}

/* ==========================================================================
   STEP 3: SUCCESS CONFIRMATION & LIVE RECEIPT
   ========================================================================== */
.order-success-hero {
  text-align: center;
  padding: 6px 10px 16px;
}

.success-icon-bounce {
  font-size: 48px;
  margin-bottom: 6px;
  animation: bounceInSuccess 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes bounceInSuccess {
  from { transform: scale(0.4); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.success-main-title {
  font-size: 19px;
  font-weight: 900;
  color: var(--primary-brand-green);
  margin-bottom: 3px;
  letter-spacing: -0.4px;
}

.success-main-desc {
  font-size: 12px;
  color: var(--secondary-text);
  max-width: 380px;
  margin: 0 auto;
  line-height: 1.4;
}

.success-dispatch-card {
  background: #F8FAFC;
  border: 1.5px solid #E2E8F0;
  border-radius: var(--radius-md);
  padding: 12px 14px;
  margin-bottom: 12px;
}

.dispatch-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
  padding-bottom: 8px;
  border-bottom: 1px solid #E2E8F0;
}

.dispatch-status-badge {
  background: #DCFCE7;
  color: #15803D;
  font-size: 11px;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: var(--radius-full);
}

.dispatch-eta {
  font-size: 11px;
  font-weight: 700;
  color: #0369A1;
}

.dispatch-rider-info {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.rider-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #E0F2FE;
  color: #0369A1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
}

.rider-name {
  font-size: 13px;
  font-weight: 800;
  color: var(--primary-text);
}

.rider-sub {
  font-size: 11px;
  color: var(--secondary-text);
}

.dispatch-dest-row {
  display: flex;
  align-items: center;
  gap: 6px;
  background: #FFFFFF;
  padding: 7px 10px;
  border-radius: 6px;
  border: 1px solid #E2E8F0;
  font-size: 11.5px;
  color: var(--primary-text);
  font-weight: 600;
}

.success-security-pin-box {
  background: #FFFBEB;
  border: 1.5px solid #FDE68A;
  border-radius: var(--radius-md);
  padding: 12px 14px;
  margin-bottom: 12px;
}

.pin-box-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
}

.pin-box-label {
  font-size: 10px;
  text-transform: uppercase;
  color: #92400E;
  font-weight: 700;
  letter-spacing: 0.3px;
}

.pin-order-code {
  font-size: 13.5px;
  color: #78350F;
  font-weight: 900;
}

.pin-code-badge {
  background: #F59E0B;
  color: #FFFFFF;
  padding: 3px 9px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 1px;
}

.pin-box-note {
  font-size: 11px;
  color: #92400E;
  line-height: 1.35;
}

.success-receipt-card {
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: var(--radius-md);
  padding: 12px 14px;
}

.receipt-title {
  font-size: 12px;
  font-weight: 800;
  color: var(--primary-text);
  margin-bottom: 8px;
  padding-bottom: 6px;
  border-bottom: 1px dashed #CBD5E1;
}

.receipt-items-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 8px;
  max-height: 120px;
  overflow-y: auto;
}

.receipt-item-line {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--primary-text);
}

.receipt-total-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid #CBD5E1;
  padding-top: 6px;
  font-size: 13px;
  font-weight: 800;
  color: var(--primary-text);
}

.receipt-grand-total {
  font-size: 15px;
  color: var(--primary-brand-green);
  font-weight: 900;
}

.receipt-payment-meta {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: var(--secondary-text);
  margin-top: 4px;
}

/* ==========================================================================
   CONSOLIDATED CAMPUS PROFILE (TRIPATIDES ECOSYSTEM)
   ========================================================================== */
.profile-modal-overlay {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  inset: 0 !important;
  background: rgba(0, 0, 0, 0.72) !important;
  backdrop-filter: blur(8px) !important;
  -webkit-backdrop-filter: blur(8px) !important;
  display: none !important;
  align-items: center !important;
  justify-content: center !important;
  z-index: 2500 !important;
}

.profile-modal-overlay.open {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 24px 16px !important;
  box-sizing: border-box !important;
}

.consolidated-profile-modal-box {
  max-width: 820px !important;
  width: 95% !important;
  max-height: 85vh !important;
  height: auto !important;
  padding: 0 !important;
  border-radius: 20px !important;
  display: flex !important;
  flex-direction: column !important;
  overflow: hidden !important;
  background: var(--surface-white) !important;
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.4) !important;
  border: 1px solid var(--border-color);
  position: relative !important;
  box-sizing: border-box !important;
  margin: auto !important;
}

@media (max-width: 768px) {
  .profile-modal-overlay.open {
    padding: 0 !important;
    padding-top: max(65px, env(safe-area-inset-top, 65px)) !important;
    align-items: flex-end !important;
    justify-content: center !important;
    box-sizing: border-box !important;
  }
  .consolidated-profile-modal-box {
    width: 100% !important;
    max-width: 100% !important;
    height: calc(100vh - 80px) !important;
    max-height: calc(100vh - 80px) !important;
    border-radius: 24px 24px 0 0 !important;
    margin: 0 !important;
  }
  .prof-modal-header-strip {
    padding: 14px 18px !important;
    min-height: 54px !important;
  }
}

/* Dedicated Clean Modal Header Strip */
.prof-modal-header-strip {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  padding: 14px 18px !important;
  min-height: 52px !important;
  background: #0B192C !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
  flex-shrink: 0 !important;
  z-index: 10 !important;
  box-sizing: border-box !important;
}

.prof-modal-header-left {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  color: #FFFFFF !important;
  font-size: 13.5px !important;
  font-weight: 800 !important;
  letter-spacing: -0.2px !important;
}

.prof-header-dot {
  color: #00E676 !important;
  font-size: 11px !important;
}

.prof-modal-close-btn {
  width: 34px !important;
  height: 34px !important;
  border-radius: 50% !important;
  background: rgba(255, 255, 255, 0.18) !important;
  color: #FFFFFF !important;
  border: 1px solid rgba(255, 255, 255, 0.3) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 16px !important;
  font-weight: 900 !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
  box-sizing: border-box !important;
  margin-left: auto !important;
}

.prof-modal-close-btn:hover {
  background: #EF4444 !important;
  border-color: #EF4444 !important;
  transform: scale(1.08) !important;
}

/* Scrollable Body */
.prof-modal-scroll-body {
  padding: 16px 20px 24px;
  overflow-y: auto;
  overflow-x: hidden;
  flex: 1;
  background: #F8FAFC;
  box-sizing: border-box;
  width: 100%;
}

@media (max-width: 640px) {
  .prof-modal-scroll-body {
    padding: 12px 14px 20px;
  }
}

/* Hero User Card */
.prof-hero-card {
  background: linear-gradient(135deg, #1E293B 0%, #0F172A 100%);
  color: #FFFFFF;
  border-radius: 16px;
  padding: 18px 20px;
  margin-bottom: 16px;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
  box-sizing: border-box;
}

.prof-hero-main-row {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.prof-avatar-box {
  position: relative;
  flex-shrink: 0;
}

.prof-avatar-circle {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: linear-gradient(135deg, #10B981 0%, #059669 100%);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  border: 3px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.prof-avatar-badge {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #00E676;
  color: #0B192C;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 900;
  border: 2px solid #0F172A;
}

.prof-hero-info {
  flex: 1;
  min-width: 180px;
}

.prof-hero-name-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 4px;
}

.prof-hero-name {
  font-size: 17.5px;
  font-weight: 800;
  color: #FFFFFF;
  letter-spacing: -0.3px;
  margin: 0;
}

.prof-role-pill {
  background: rgba(56, 161, 59, 0.25);
  color: #4ADE80;
  border: 1px solid rgba(74, 222, 128, 0.4);
  font-size: 11px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: var(--radius-full);
  white-space: nowrap;
}

.prof-hero-meta {
  font-size: 11.5px;
  color: #CBD5E1;
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.prof-meta-sep {
  opacity: 0.5;
}

.prof-hero-wallet-card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  padding: 10px 14px;
  min-width: 165px;
  backdrop-filter: blur(8px);
  box-sizing: border-box;
}

@media (max-width: 640px) {
  .prof-hero-wallet-card {
    width: 100%;
    min-width: 100%;
  }
}

.prof-wallet-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2px;
}

.prof-wallet-label {
  font-size: 11px;
  color: #94A3B8;
  font-weight: 600;
}

.btn-prof-topup {
  background: #38A13B;
  color: #FFFFFF;
  border: none;
  border-radius: var(--radius-full);
  font-size: 11px;
  font-weight: 800;
  padding: 4px 10px;
  cursor: pointer;
  transition: all 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 3px;
}

.btn-prof-topup:hover {
  background: #2E7D32;
  transform: scale(1.04);
}

.prof-wallet-balance {
  font-size: 18px;
  font-weight: 900;
  color: #00E676;
  display: block;
}

.prof-wallet-sub {
  font-size: 10px;
  color: #94A3B8;
}

/* Active Pass Quick Status Strip */
.prof-pass-strip {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.prof-pass-strip-left {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
  min-width: 200px;
}

.prof-pass-icon-badge {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(255, 214, 0, 0.18);
  color: #FFD600;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  border: 1px solid rgba(255, 214, 0, 0.3);
  flex-shrink: 0;
}

.prof-pass-strip-title {
  font-size: 12.5px;
  font-weight: 800;
  color: #F8FAFC;
}

.prof-pass-strip-sub {
  font-size: 11px;
  color: #94A3B8;
}

.prof-pass-strip-right {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.prof-pass-countdown {
  background: rgba(255, 214, 0, 0.15);
  color: #FFD600;
  border: 1px solid rgba(255, 214, 0, 0.35);
  font-size: 11px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  white-space: nowrap;
}

.btn-prof-renew-strip {
  background: linear-gradient(135deg, #FFD600 0%, #F59E0B 100%);
  color: #000000;
  font-weight: 800;
  font-size: 11.5px;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  border: none;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(245, 158, 11, 0.3);
  transition: all 0.2s;
  white-space: nowrap;
}

.btn-prof-renew-strip:hover {
  transform: translateY(-1px);
}

/* Tabs Navigation Bar */
.prof-tabs-nav-bar {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  padding-bottom: 8px;
  margin-bottom: 16px;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  box-sizing: border-box;
}

.prof-tabs-nav-bar::-webkit-scrollbar {
  display: none;
}

.prof-tab-btn {
  background: #FFFFFF;
  border: 1.5px solid #E2E8F0;
  color: #475569;
  font-size: 12px;
  font-weight: 700;
  padding: 8px 14px;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s;
}

.prof-tab-btn:hover {
  border-color: #CBD5E1;
  color: #0F172A;
}

.prof-tab-btn.active {
  background: #0B192C;
  color: #FFFFFF;
  border-color: #0B192C;
  box-shadow: 0 3px 10px rgba(11, 25, 44, 0.2);
}

.prof-tab-count {
  background: rgba(56, 161, 59, 0.15);
  color: #15803D;
  font-size: 10.5px;
  font-weight: 800;
  padding: 1px 6px;
  border-radius: 10px;
}

.prof-tab-btn.active .prof-tab-count {
  background: rgba(255, 255, 255, 0.25);
  color: #FFFFFF;
}

/* Tab Panels */
.prof-tab-panel {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow-x: hidden;
}

/* Quick Stats Grid */
.prof-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-bottom: 16px;
  width: 100%;
  box-sizing: border-box;
}

@media (max-width: 640px) {
  .prof-stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.prof-stat-card {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 14px;
  padding: 12px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  transition: all 0.2s;
  box-shadow: var(--shadow-xs);
  box-sizing: border-box;
}

.prof-stat-card:hover {
  transform: translateY(-2px);
  border-color: var(--primary-brand-green);
  box-shadow: var(--shadow-sm);
}

.prof-stat-icon-wrap {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}

.prof-stat-icon-wrap.icon-rides { background: #ECFDF5; color: #059669; }
.prof-stat-icon-wrap.icon-parcels { background: #FEF3C7; color: #D97706; }
.prof-stat-icon-wrap.icon-orders { background: #EFF6FF; color: #2563EB; }
.prof-stat-icon-wrap.icon-wallet { background: #F3E8FF; color: #9333EA; }

.prof-stat-val {
  font-size: 15px;
  font-weight: 800;
  color: var(--primary-text);
  line-height: 1.1;
}

.prof-stat-label {
  font-size: 11px;
  color: var(--secondary-text);
  font-weight: 600;
}

/* Sections & Cards */
.prof-section-card {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 16px;
  padding: 16px 18px;
  margin-bottom: 16px;
  box-shadow: var(--shadow-xs);
  width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

@media (max-width: 640px) {
  .prof-section-card {
    padding: 14px 14px;
  }
}

.prof-section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid #F1F5F9;
  flex-wrap: wrap;
  gap: 8px;
}

.prof-section-title {
  font-size: 14.5px;
  font-weight: 800;
  color: var(--primary-text);
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Transit Pass Hero Card */
.prof-pass-hero-card {
  background: linear-gradient(135deg, #064E3B 0%, #065F46 100%);
  color: #FFFFFF;
  border-radius: 16px;
  padding: 20px;
  margin-bottom: 16px;
  box-shadow: 0 10px 25px rgba(6, 78, 59, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-sizing: border-box;
  width: 100%;
}

.prof-pass-hero-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 16px;
}

.prof-pass-type-badge {
  background: #FFD600;
  color: #000000;
  font-size: 10.5px;
  font-weight: 900;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 6px;
  display: inline-block;
  margin-bottom: 6px;
}

.prof-pass-card-title {
  font-size: 15.5px;
  font-weight: 800;
  color: #FFFFFF;
  margin: 0;
}

.prof-pass-hero-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.btn-prof-renew-hero {
  background: #FFD600;
  color: #000000;
  border: none;
  font-size: 12px;
  font-weight: 800;
  padding: 8px 14px;
  border-radius: var(--radius-full);
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  transition: all 0.2s;
  white-space: nowrap;
}

.btn-prof-renew-hero:hover {
  background: #FACC15;
  transform: translateY(-1px);
}

.btn-prof-qr-hero {
  background: rgba(255, 255, 255, 0.2);
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.3);
  font-size: 12px;
  font-weight: 700;
  padding: 8px 14px;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
}

.btn-prof-qr-hero:hover {
  background: rgba(255, 255, 255, 0.3);
}

.prof-pass-progress-box {
  background: rgba(0, 0, 0, 0.2);
  padding: 12px 14px;
  border-radius: 12px;
  margin-bottom: 14px;
}

.prof-pass-progress-labels {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: #A7F3D0;
  margin-bottom: 6px;
  flex-wrap: wrap;
  gap: 4px;
}

.prof-pass-progress-track {
  height: 8px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-full);
  overflow: hidden;
}

.prof-pass-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #34D399 0%, #00E676 100%);
  border-radius: var(--radius-full);
  transition: width 0.4s ease;
}

.prof-pass-meta-strip {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 12px;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.pass-meta-label {
  color: #93C5FD;
  margin-right: 4px;
}

.pass-meta-pin {
  color: #FFD600;
  font-size: 14px;
  letter-spacing: 1.5px;
}

.pass-meta-ans {
  color: #FFFFFF;
}

.pass-meta-token {
  font-family: monospace;
  font-size: 11px;
  color: #A7F3D0;
}

/* History Item Cards - Unified Alignment */
.prof-item-card {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 12px;
  padding: 14px 16px;
  margin-bottom: 12px;
  transition: all 0.2s;
  box-sizing: border-box;
  width: 100%;
}

.prof-item-card:hover {
  border-color: #CBD5E1;
  box-shadow: var(--shadow-sm);
}

.prof-item-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
  flex-wrap: wrap;
  gap: 8px;
}

.prof-item-code-box {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.prof-item-code {
  font-size: 13px;
  font-weight: 800;
  color: var(--primary-text);
  letter-spacing: -0.2px;
}

.prof-tag-sub {
  font-size: 11px;
  color: var(--secondary-text);
  background: #F1F5F9;
  padding: 2px 7px;
  border-radius: 6px;
}

.prof-item-date-sub {
  font-size: 11px;
  color: #64748B;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 4px;
}

.prof-item-route-box {
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 8px;
  padding: 8px 12px;
  font-size: 12.5px;
  font-weight: 700;
  color: #0F172A;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.prof-item-meta-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: var(--secondary-text);
  flex-wrap: wrap;
  gap: 8px;
  padding-top: 8px;
  border-top: 1px dashed #E2E8F0;
}

.prof-item-pin-badge {
  background: #FFFBEB;
  color: #B45309;
  border: 1px solid #FDE68A;
  padding: 2px 8px;
  border-radius: 6px;
  font-weight: 800;
  font-size: 11.5px;
  letter-spacing: 0.5px;
  display: inline-block;
}

/* Financial Ledger Timeline */
.prof-ledger-hero-card {
  background: linear-gradient(135deg, #1E1B4B 0%, #312E81 100%);
  color: #FFFFFF;
  border-radius: 16px;
  padding: 18px 20px;
  margin-bottom: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  box-sizing: border-box;
}

.prof-ledger-hero-label {
  font-size: 12px;
  color: #C7D2FE;
  font-weight: 600;
}

.prof-ledger-hero-amount {
  font-size: 26px;
  font-weight: 900;
  color: #00E676;
  margin: 2px 0;
}

.prof-ledger-hero-note {
  font-size: 11px;
  color: #E0E7FF;
  opacity: 0.85;
}

.btn-ledger-topup {
  background: #00E676;
  color: #0B192C;
  border: none;
  font-weight: 800;
  font-size: 12.5px;
  padding: 10px 18px;
  border-radius: var(--radius-full);
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0, 230, 118, 0.35);
  transition: all 0.2s;
  white-space: nowrap;
}

.btn-ledger-topup:hover {
  background: #05DF72;
  transform: translateY(-1px);
}

.prof-ledger-filters-bar {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  padding-bottom: 8px;
  margin-bottom: 14px;
  scrollbar-width: none;
  box-sizing: border-box;
}

.prof-filter-chip {
  background: #FFFFFF;
  border: 1px solid #CBD5E1;
  color: #475569;
  font-size: 11.5px;
  font-weight: 700;
  padding: 6px 13px;
  border-radius: var(--radius-full);
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s;
  user-select: none;
}

.prof-filter-chip:hover {
  border-color: #38A13B;
  color: #15803D;
  background: #F0FDF4;
}

.prof-filter-chip.active {
  background: #0B192C !important;
  color: #FFFFFF !important;
  border-color: #0B192C !important;
  box-shadow: 0 2px 8px rgba(11, 25, 44, 0.25);
}

/* Bulletproof Non-overlapping Transaction Row Layout */
.prof-tx-row {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  padding: 12px 0 !important;
  border-bottom: 1px solid #F1F5F9 !important;
  gap: 12px !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

.prof-tx-row:last-child {
  border-bottom: none !important;
}

.prof-tx-left {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  flex: 1 1 0% !important;
  min-width: 0 !important;
  overflow: hidden !important;
}

.prof-tx-icon {
  width: 36px !important;
  height: 36px !important;
  border-radius: 50% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 16px !important;
  flex-shrink: 0 !important;
}

.prof-tx-icon.credit { background: #DCFCE7 !important; color: #15803D !important; }
.prof-tx-icon.debit { background: #F1F5F9 !important; color: #475569 !important; }

.prof-tx-text-wrap {
  flex: 1 1 0% !important;
  min-width: 0 !important;
  overflow: hidden !important;
}

.prof-tx-desc {
  font-size: 12.5px !important;
  font-weight: 700 !important;
  color: var(--primary-text) !important;
  white-space: normal !important;
  word-break: break-word !important;
  line-height: 1.3 !important;
  margin-bottom: 2px !important;
}

.prof-tx-meta {
  font-size: 11px !important;
  color: var(--secondary-text) !important;
  line-height: 1.2 !important;
  white-space: normal !important;
  word-break: break-word !important;
}

.prof-tx-right {
  flex: 0 0 auto !important;
  text-align: right !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-end !important;
  gap: 3px !important;
  min-width: 95px !important;
}

.prof-tx-amount {
  font-size: 13.5px !important;
  font-weight: 800 !important;
  white-space: nowrap !important;
  line-height: 1.2 !important;
}

.prof-tx-amount.credit { color: #16A34A !important; }
.prof-tx-amount.debit { color: #0F172A !important; }

/* Top-up Modal Stacking Layer (Appears directly above profile) */
.topup-modal-overlay {
  z-index: 3500 !important;
}

.topup-modal-overlay .modal-content {
  z-index: 3501 !important;
  position: relative;
  max-width: 440px;
  width: 92%;
  box-sizing: border-box;
}

/* Settings Form Grid - Prevent Horizontal Overflow */
.prof-settings-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow-x: hidden;
}

@media (max-width: 768px) {
  .prof-settings-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
}

.prof-settings-card {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 16px;
  padding: 18px 20px;
  box-shadow: var(--shadow-xs);
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
  word-break: break-word;
}

@media (max-width: 640px) {
  .prof-settings-card {
    padding: 14px 14px;
  }
}

.prof-settings-card-header {
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid #F1F5F9;
}

.prof-settings-card-title {
  font-size: 14.5px;
  font-weight: 800;
  color: var(--primary-text);
}

.prof-settings-card-desc {
  font-size: 11.5px;
  color: var(--secondary-text);
  margin-top: 2px;
  line-height: 1.35;
}

/* Location GPS & Input Controls */
.location-input-wrapper {
  display: flex;
  gap: 6px;
  align-items: stretch;
  width: 100%;
  box-sizing: border-box;
}

.location-input-wrapper .form-control {
  flex: 1;
  min-width: 0;
}

.location-gps-btn {
  background: var(--light-green-tint);
  color: var(--primary-brand-green);
  border: 1px solid var(--light-green-border);
  padding: 0 12px;
  border-radius: var(--radius-sm);
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: all 0.2s;
  flex-shrink: 0;
}

.location-gps-btn:hover {
  background: #DCEDC8;
}

.location-quick-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  width: 100%;
  box-sizing: border-box;
}

.location-chip {
  background: #F1F5F9;
  border: 1px solid #E2E8F0;
  color: #334155;
  font-size: 11px;
  font-weight: 600;
  padding: 4px 8px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s;
  white-space: normal;
  line-height: 1.2;
}

.location-chip:hover {
  background: #E2E8F0;
  color: #0F172A;
}

/* Password Toggle Wrapper */
.password-input-wrapper {
  position: relative;
  width: 100%;
  box-sizing: border-box;
}

.password-input-wrapper .form-control {
  width: 100%;
  padding-right: 44px;
  box-sizing: border-box;
}

.password-toggle-btn {
  position: absolute;
  right: 6px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  font-size: 16px;
  cursor: pointer;
  padding: 6px 8px;
  color: var(--secondary-text);
  line-height: 1;
}

/* Password Match Indicator */
.password-match-feedback {
  font-size: 11px;
  font-weight: 700;
  margin-top: 4px;
  display: none;
}

.password-match-feedback.match {
  color: #16A34A;
}

.password-match-feedback.mismatch {
  color: #DC2626;
}

/* 1-Click Pass Renewal Modal - Top Z-Index & Interactive Stacking */
.renew-pass-modal-overlay {
  z-index: 3500 !important;
}

.renew-pass-modal-overlay .modal-content {
  z-index: 3501 !important;
  position: relative;
  max-width: 460px;
  width: 95%;
  box-sizing: border-box;
}

.renew-pass-modal-overlay button,
.renew-pass-modal-overlay select,
.renew-pass-modal-overlay .pass-tier-card {
  pointer-events: auto !important;
  position: relative;
  z-index: 10;
}

/* =========================================================================
   ROLE-TAILORED NAVIGATION & PROFILE ARCHITECTURES STYLES
   ========================================================================= */

/* Top Navbar Role Status Pill */
.desktop-role-status-pill {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 20px;
  padding: 5px 12px;
  font-size: 12px;
  font-weight: 700;
  color: #FFFFFF;
  cursor: pointer;
  transition: all 0.2s ease;
}

.desktop-role-status-pill:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: translateY(-1px);
}

.mobile-role-badge {
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
  background: rgba(255, 255, 255, 0.22);
  color: #fff;
  border-radius: 12px;
  cursor: pointer;
}

/* Duty & Status Toggles in Profile */
.btn-prof-duty-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #16A34A;
  color: #FFFFFF;
  border: none;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-prof-duty-toggle.offline {
  background: #64748B;
}

.btn-prof-duty-toggle:hover {
  opacity: 0.92;
  transform: scale(1.02);
}

/* Role Item Card in Lists */
.role-data-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 14px;
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 8px;
  margin-bottom: 8px;
  transition: all 0.2s;
}

.role-data-row:hover {
  border-color: var(--primary-brand-green);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.role-badge-tag {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}

.badge-tag-pending {
  background: #FEF3C7;
  color: #B45309;
}

.badge-tag-approved {
  background: #DCFCE7;
  color: #15803D;
}

.badge-tag-rejected {
  background: #FEE2E2;
  color: #DC2626;
}

.badge-tag-active {
  background: #E0F2FE;
  color: #0369A1;
}

/* Interactive Mini Action Buttons */
.btn-mini-action {
  padding: 5px 12px;
  font-size: 11.5px;
  font-weight: 700;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-mini-approve {
  background: #16A34A;
  color: #fff;
}

.btn-mini-approve:hover {
  background: #15803D;
}

.btn-mini-reject {
  background: #F1F5F9;
  color: #DC2626;
  border: 1px solid #FECACA;
}

.btn-mini-reject:hover {
  background: #FEE2E2;
}

.btn-mini-primary {
  background: var(--primary-brand-green);
  color: #fff;
}

.btn-mini-primary:hover {
  background: #2E8B31;
}

/* =========================================================================
   CAMPUS RIDE AUTOCOMPLETE SUGGESTIONS & LUXURY MODAL STYLES
   ========================================================================= */

.location-autocomplete-container {
  position: relative;
  width: 100%;
}

.location-autocomplete-container:focus-within {
  z-index: 100 !important;
}

.location-autocomplete-dropdown {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  background: #FFFFFF;
  border: 1.5px solid #CBD5E1;
  border-radius: 14px;
  box-shadow: 0 16px 36px -4px rgba(15, 23, 42, 0.22), 0 6px 16px -2px rgba(15, 23, 42, 0.1);
  z-index: 5000;
  max-height: 250px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  display: none;
}

@media (max-width: 640px) {
  .location-autocomplete-dropdown {
    max-height: 210px;
  }
}

.location-autocomplete-dropdown.show {
  display: block;
}

.autocomplete-item {
  min-height: 44px;
  padding: 10px 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  border-bottom: 1px solid #F1F5F9;
  font-size: 13.5px;
  transition: background 0.15s ease;
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
}

.autocomplete-item:last-child {
  border-bottom: none;
}

.autocomplete-item:hover,
.autocomplete-item.active {
  background: #F0FDF4;
}

.autocomplete-item:active {
  background: #DCFCE7 !important;
}

.autocomplete-custom-entry,
.autocomplete-use-typed-card {
  background: #FFFFFF !important;
  border-bottom: 1px solid #F1F5F9 !important;
}

.autocomplete-custom-entry:hover,
.autocomplete-custom-entry:active,
.autocomplete-use-typed-card:hover,
.autocomplete-use-typed-card:active {
  background: #F8FAFC !important;
}

.autocomplete-dismiss-bar {
  padding: 8px 12px;
  font-size: 11px;
  font-weight: 700;
  color: #64748B;
  background: #F8FAFC;
  border-top: 1px solid #E2E8F0;
  text-align: center;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  user-select: none;
  -webkit-user-select: none;
  transition: background 0.15s ease, color 0.15s ease;
}

.autocomplete-dismiss-bar:hover,
.autocomplete-dismiss-bar:active {
  background: #F1F5F9;
  color: #0F172A;
}

.autocomplete-item-name {
  font-weight: 700;
  color: #0F172A;
  display: flex;
  align-items: center;
  gap: 6px;
}

.autocomplete-item-badge {
  font-size: 10.5px;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 9999px;
  background: #F1F5F9;
  color: #475569;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

.autocomplete-item-badge.badge-hub {
  background: #DCFCE7;
  color: #15803D;
}

.autocomplete-item-badge.badge-lodge {
  background: #E0E7FF;
  color: #4338CA;
}

.autocomplete-item-badge.badge-hostel {
  background: #F3E8FF;
  color: #7E22CE;
}

.autocomplete-item-badge.badge-junction {
  background: #FEF3C7;
  color: #B45309;
}

.autocomplete-item-badge.badge-hotel {
  background: #FCE7F3;
  color: #BE185D;
}

.autocomplete-item-badge.badge-apartment {
  background: #CFFAFE;
  color: #0891B2;
}

/* Luxury Modal Boxes for Reroute and Subscription Pass (Anti-Cutoff & Mobile Sheet Scrolling) */
.reroute-modal-box {
  background: #FFFFFF !important;
  border-radius: 20px !important;
  padding: 24px !important;
  max-width: 480px !important;
  width: 94% !important;
  max-height: 90vh !important;
  max-height: calc(100dvh - 36px) !important;
  overflow-y: auto !important;
  -webkit-overflow-scrolling: touch;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25) !important;
  position: relative;
  box-sizing: border-box;
}

.pass-subscription-modal-box {
  background: #FFFFFF !important;
  border-radius: 20px !important;
  padding: 24px !important;
  max-width: 520px !important;
  width: 94% !important;
  max-height: 90vh !important;
  max-height: calc(100dvh - 36px) !important;
  overflow-y: auto !important;
  -webkit-overflow-scrolling: touch;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25) !important;
  position: relative;
  box-sizing: border-box;
}

@media (max-width: 640px) {
  .reroute-modal-box {
    width: 100% !important;
    max-width: 100% !important;
    max-height: 88vh !important;
    max-height: calc(100dvh - 44px) !important;
    border-bottom-left-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
    padding: 20px 16px 28px !important;
    margin-top: auto !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch;
  }

  .pass-subscription-modal-box {
    width: 100% !important;
    max-width: 100% !important;
    max-height: 88vh !important;
    max-height: calc(100dvh - 44px) !important;
    border-bottom-left-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
    padding: 20px 16px 28px !important;
    margin-top: auto !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch;
  }
}

/* ==========================================================================
   PERSISTENT ACTIVE RIDE FLOATING DOCK (PIN & SECURITY RETENTION)
   ========================================================================== */
.active-trip-dock {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 99999;
  width: 92%;
  max-width: 760px;
  background: rgba(15, 23, 42, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1.5px solid rgba(255, 255, 255, 0.18);
  border-radius: 18px;
  padding: 12px 18px;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.38), 0 0 0 1px rgba(0, 0, 0, 0.2);
  color: #FFFFFF;
  animation: slideUpDock 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes slideUpDock {
  from {
    opacity: 0;
    transform: translate(-50%, 20px);
  }
  to {
    opacity: 1;
    transform: translate(-50%, 0);
  }
}

.active-trip-dock-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}

.dock-left {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 200px;
}

.dock-pulse-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #22C55E;
  box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7);
  animation: dockPulse 1.8s infinite;
  flex-shrink: 0;
}

@keyframes dockPulse {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7);
  }
  70% {
    transform: scale(1);
    box-shadow: 0 0 0 8px rgba(34, 197, 94, 0);
  }
  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0);
  }
}

.dock-title {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 3px;
}

.dock-status-badge {
  background: rgba(34, 197, 94, 0.2);
  color: #4ADE80;
  border: 1px solid rgba(74, 222, 128, 0.35);
  font-size: 10.5px;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: 6px;
  letter-spacing: 0.3px;
}

.dock-rider-name {
  font-size: 13px;
  font-weight: 700;
  color: #F8FAFC;
}

.dock-route {
  font-size: 11.5px;
  color: #94A3B8;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 260px;
}

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

.dock-pin-box, .dock-answer-box {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  padding: 5px 10px;
  text-align: center;
}

.dock-pin-label {
  display: block;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: #94A3B8;
  text-transform: uppercase;
}

.dock-pin-val {
  font-size: 13px;
  font-family: monospace;
  font-weight: 800;
  color: #38BDF8;
  letter-spacing: 1px;
}

.dock-answer-val {
  font-size: 13px;
  font-weight: 800;
  color: #FCD34D;
}

.dock-right {
  display: flex;
  align-items: center;
}

.btn-dock-radar {
  background: var(--primary-brand-green, #16A34A);
  color: #FFFFFF;
  border: none;
  border-radius: 10px;
  padding: 8px 14px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: transform 0.15s, background 0.15s;
  box-shadow: 0 4px 12px rgba(22, 163, 74, 0.35);
}

.btn-dock-radar:hover {
  background: #15803D;
  transform: translateY(-1px);
}

@media (max-width: 640px) {
  .active-trip-dock {
    bottom: 12px;
    padding: 10px 14px;
  }
  .active-trip-dock-inner {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
  }
  .dock-left, .dock-center, .dock-right {
    justify-content: space-between;
  }
  .btn-dock-radar {
    width: 100%;
    justify-content: center;
  }
}

/* ==========================================================================
   MY CAMPUS BOOKINGS & MULTI-BOOKING DRAWER STYLES
   ========================================================================== */
.btn-my-bookings-pill {
  background: #F0FDF4;
  border: 1.5px solid #86EFAC;
  color: #15803D;
  border-radius: var(--radius-full, 9999px);
  padding: 5px 12px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
}
.btn-my-bookings-pill:hover {
  background: #DCFCE7;
  border-color: #4ADE80;
  transform: translateY(-1px);
}
.my-bookings-count-tag {
  background: #16A34A;
  color: #FFFFFF;
  border-radius: 12px;
  padding: 1px 7px;
  font-size: 10.5px;
  font-weight: 800;
}

.campus-bookings-modal-box {
  background: #FFFFFF;
  border-radius: 16px;
  width: 94%;
  max-width: 580px;
  padding: 22px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
  margin: auto;
  position: relative;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
}

.btn-bookings-tab {
  background: none;
  border: none;
  font-size: 13px;
  font-weight: 700;
  color: #64748B;
  padding: 8px 14px;
  cursor: pointer;
  border-radius: 8px;
  transition: all 0.15s;
}
.btn-bookings-tab.active {
  background: #F1F5F9;
  color: #0F172A;
}

.booking-card-item {
  background: #F8FAFC;
  border: 1.5px solid #E2E8F0;
  border-radius: 12px;
  padding: 14px;
  margin-bottom: 12px;
  transition: border-color 0.2s;
}
.booking-card-item:hover {
  border-color: #CBD5E1;
}
.booking-card-item.active-trip {
  border-color: #86EFAC;
  background: #F0FDF4;
}

.booking-pin-badge {
  background: #0F172A;
  color: #4ADE80;
  font-family: monospace;
  font-size: 13px;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 6px;
  letter-spacing: 1px;
}

.booking-security-badge {
  background: #E2E8F0;
  color: #334155;
  font-size: 12px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 6px;
}

.btn-dock-call {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: transform 0.15s, background 0.15s;
}
.btn-dock-call:hover {
  background: #047857 !important;
  transform: translateY(-1px);
}
.btn-dock-bookings:hover {
  background: rgba(255, 255, 255, 0.25) !important;
}

/* ==========================================================================
   CAMPUS RIDE HEADER V2 (MOBILE RESPONSIVE • NO WRAPPING • HIGH POLISH)
   ========================================================================== */
.campus-card-header-v2 {
  margin-bottom: 16px;
  width: 100%;
}

.campus-header-row-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
}

.campus-brand-cluster {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  flex: 1;
}

.campus-brand-icon-box {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: #ECFDF5;
  color: #059669;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
  box-shadow: 0 2px 6px rgba(16, 185, 129, 0.15);
}

.campus-brand-text {
  min-width: 0;
  flex: 1;
}

.campus-brand-title {
  font-size: 16.5px;
  font-weight: 800;
  color: #0F172A;
  letter-spacing: -0.3px;
  line-height: 1.2;
  white-space: nowrap;
  margin: 0;
}

.campus-brand-subtitle {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-top: 3px;
  font-size: 11px;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.campus-pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #10B981;
  display: inline-block;
  flex-shrink: 0;
  box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.25);
  animation: campusPulseDot 2s infinite ease-in-out;
}

@keyframes campusPulseDot {
  0%, 100% {
    transform: scale(0.9);
    opacity: 0.8;
  }
  50% {
    transform: scale(1.3);
    opacity: 1;
  }
}

.campus-radar-tag {
  color: #059669;
  font-weight: 700;
}

.campus-corridor-tag {
  color: #64748B;
  font-weight: 600;
}

.campus-header-action-wrap {
  flex-shrink: 0;
}

.btn-my-bookings-pill {
  background: #F0FDF4;
  border: 1.5px solid #86EFAC;
  color: #15803D;
  border-radius: var(--radius-full, 9999px);
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.btn-my-bookings-pill:hover {
  background: #DCFCE7;
  border-color: #4ADE80;
  transform: translateY(-1px);
}

.btn-my-bookings-pill:active {
  transform: scale(0.97);
}

.my-bookings-count-tag {
  background: #16A34A;
  color: #FFFFFF;
  border-radius: 12px;
  padding: 1px 7px;
  font-size: 10px;
  font-weight: 800;
}

@media (max-width: 420px) {
  .campus-brand-title {
    font-size: 15px;
  }
  .campus-brand-icon-box {
    width: 34px;
    height: 34px;
    font-size: 18px;
  }
  .campus-corridor-tag {
    display: none;
  }
  .btn-my-bookings-pill {
    padding: 5px 9px;
    font-size: 11px;
    gap: 4px;
  }
}

/* ==========================================================================
   SMART HUB SECTION & TRIGGER BOX (REPLACES CLUNKY NATIVE SELECT)
   ========================================================================== */
.smart-hub-section-card {
  background: #F8FAFC;
  border: 1.5px solid #E2E8F0;
  border-radius: 14px;
  padding: 12px 14px;
  margin-bottom: 18px;
  transition: border-color 0.2s;
}

.smart-hub-section-card:focus-within {
  border-color: #CBD5E1;
}

.smart-hub-section-title {
  font-size: 11.5px;
  font-weight: 700;
  color: #475569;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 4px;
}

.smart-hub-status-tag {
  font-size: 10.5px;
  color: #059669;
  font-weight: 700;
  background: #ECFDF5;
  border: 1px solid #A7F3D0;
  padding: 2px 8px;
  border-radius: 6px;
}

.smart-hub-status-tag.tag-blue {
  color: #2563EB;
  background: #EFF6FF;
  border-color: #BFDBFE;
}

.smart-hub-trigger-box {
  background: #FFFFFF;
  border: 1.5px solid #CBD5E1;
  border-radius: 12px;
  padding: 9px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
  user-select: none;
}

.smart-hub-trigger-box:hover {
  border-color: #10B981;
  box-shadow: 0 2px 8px rgba(16, 185, 129, 0.12);
}

.smart-hub-trigger-box:active {
  transform: scale(0.99);
  background: #F8FAFC;
}

.smart-hub-trigger-left {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  flex: 1;
}

.smart-hub-icon-pill {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: #ECFDF5;
  color: #059669;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
}

.smart-hub-icon-pill.icon-blue {
  background: #EFF6FF;
  color: #2563EB;
}

.smart-hub-text-wrap {
  min-width: 0;
  flex: 1;
  text-align: left;
}

.smart-hub-micro-label {
  font-size: 10px;
  font-weight: 700;
  color: #64748B;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  margin-bottom: 2px;
}

.smart-hub-value {
  font-size: 13.5px;
  font-weight: 700;
  color: #0F172A;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.2;
}

.smart-hub-trigger-right {
  flex-shrink: 0;
  margin-left: 8px;
}

.smart-hub-badge {
  font-size: 11px;
  font-weight: 700;
  color: #059669;
  background: #F0FDF4;
  border: 1px solid #A7F3D0;
  padding: 3px 8px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.smart-hub-badge.badge-blue {
  color: #2563EB;
  background: #EFF6FF;
  border-color: #BFDBFE;
}

.smart-hub-badge.badge-green {
  color: #047857;
  background: #D1FAE5;
  border-color: #6EE7B7;
}

/* ==========================================================================
   SMART MODERN BOTTOM SHEET MODAL (CAMPUS HUB PICKER & BOOKINGS DRAWER)
   ========================================================================== */
.smart-sheet-modal-box {
  background: #FFFFFF;
  border-radius: 20px;
  width: 94%;
  max-width: 500px;
  padding: 16px 20px 22px;
  box-shadow: 0 25px 60px -12px rgba(15, 23, 42, 0.35);
  margin: auto;
  position: relative;
  max-height: 88vh;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
}

.smart-sheet-drag-pill {
  width: 40px;
  height: 4.5px;
  background: #CBD5E1;
  border-radius: 9999px;
  margin: 0 auto 12px;
  display: block;
  flex-shrink: 0;
}

.smart-sheet-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 12px;
  gap: 12px;
}

.smart-sheet-header-text {
  min-width: 0;
  flex: 1;
}

.smart-sheet-title {
  font-size: 16.5px;
  font-weight: 800;
  color: #0F172A;
  letter-spacing: -0.2px;
  margin: 0;
  line-height: 1.25;
}

.smart-sheet-subtitle {
  font-size: 11.5px;
  color: #64748B;
  margin-top: 3px;
  line-height: 1.35;
}

.smart-sheet-close-btn {
  background: #F1F5F9;
  border: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-size: 13px;
  font-weight: 700;
  color: #475569;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.15s;
  flex-shrink: 0;
}

.smart-sheet-close-btn:hover {
  background: #E2E8F0;
  color: #0F172A;
}

.smart-sheet-search-wrap {
  position: relative;
  margin-bottom: 12px;
}

.smart-sheet-search-icon {
  position: absolute;
  left: 11px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 13px;
  color: #94A3B8;
  pointer-events: none;
}

.smart-sheet-search-input {
  width: 100%;
  padding: 9px 34px 9px 32px;
  font-size: 13px;
  border: 1.5px solid #E2E8F0;
  border-radius: 10px;
  background: #F8FAFC;
  box-sizing: border-box;
  outline: none;
  transition: all 0.2s;
  font-family: inherit;
}

.smart-sheet-search-input:focus {
  border-color: #10B981;
  background: #FFFFFF;
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.12);
}

.smart-sheet-search-clear {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  background: #E2E8F0;
  border: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  font-size: 10px;
  color: #475569;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.smart-sheet-body {
  overflow-y: auto;
  max-height: 50vh;
  padding-right: 2px;
  margin-bottom: 12px;
  -webkit-overflow-scrolling: touch;
}

.smart-hub-option-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 11px 13px;
  border-radius: 12px;
  margin-bottom: 8px;
  border: 1.5px solid #E2E8F0;
  background: #FFFFFF;
  cursor: pointer;
  transition: all 0.15s ease;
  user-select: none;
}

.smart-hub-option-card:hover {
  background: #F8FAFC;
  border-color: #CBD5E1;
}

.smart-hub-option-card:active {
  transform: scale(0.99);
}

.smart-hub-option-card.selected {
  background: #F0FDF4;
  border-color: #10B981;
  box-shadow: 0 2px 8px rgba(16, 185, 129, 0.12);
}

.smart-hub-opt-left {
  display: flex;
  align-items: center;
  gap: 11px;
  min-width: 0;
  flex: 1;
}

.smart-hub-opt-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: #ECFDF5;
  color: #059669;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
  flex-shrink: 0;
}

.smart-hub-opt-icon.icon-none {
  background: #F1F5F9;
  color: #64748B;
}

.smart-hub-opt-info {
  min-width: 0;
  flex: 1;
  text-align: left;
}

.smart-hub-opt-title {
  font-size: 13.5px;
  font-weight: 700;
  color: #0F172A;
  margin-bottom: 2px;
  line-height: 1.25;
}

.smart-hub-opt-sub {
  font-size: 11px;
  color: #64748B;
  line-height: 1.35;
}

.smart-hub-radio-indicator {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2px solid #CBD5E1;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-left: 10px;
  transition: all 0.15s;
  background: #FFFFFF;
}

.smart-hub-option-card.selected .smart-hub-radio-indicator {
  border-color: #10B981;
  background: #10B981;
  color: #FFFFFF;
  font-size: 11px;
  font-weight: 900;
}

.smart-sheet-footer {
  padding-top: 10px;
  border-top: 1px solid #F1F5F9;
  flex-shrink: 0;
}

/* ==========================================================================
   MOBILE BOTTOM SHEET OVERRIDES (< 640px)
   ========================================================================== */
@media (max-width: 640px) {
  .smart-sheet-modal-box,
  .campus-bookings-modal-box {
    width: 100% !important;
    max-width: 100% !important;
    border-radius: 24px 24px 0 0 !important;
    margin: auto 0 0 0 !important;
    padding: 12px 18px 24px !important;
    max-height: 84vh !important;
    box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.25) !important;
    animation: slideUpModalSheet 0.26s cubic-bezier(0.16, 1, 0.3, 1) !important;
  }

  .smart-sheet-body {
    max-height: 54vh;
  }

  /* Stepper Bar Mobile Polish */
  .ride-wizard-stepper {
    margin: 6px 0 16px;
    padding: 0;
  }
  .wizard-step-circle {
    width: 28px;
    height: 28px;
    font-size: 12px;
  }
  .wizard-step-label {
    font-size: 9.5px;
    letter-spacing: -0.2px;
  }
  .wizard-step-line {
    height: 2px;
  }
}

/* ==========================================================================
   CAMPUS RIDE & MULTI-LOCATION COMMUTER PASS SUITE (PRODUCTION POLISH)
   ========================================================================== */

/* Header adjustments to prevent text truncation */
.campus-brand-title {
  font-size: 16px;
  font-weight: 800;
  color: #0F172A;
  letter-spacing: -0.3px;
  line-height: 1.2;
  white-space: nowrap;
  margin: 0;
}

.btn-my-bookings-pill {
  background: #F0FDF4;
  border: 1.5px solid #86EFAC;
  color: #15803D;
  border-radius: var(--radius-full, 9999px);
  padding: 6px 11px;
  font-size: 11.5px;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
  white-space: nowrap;
  flex-shrink: 0;
}

.btn-pill-svg {
  flex-shrink: 0;
}

@media (max-width: 420px) {
  .campus-brand-title {
    font-size: 14.5px;
  }
  .campus-brand-icon-box {
    width: 34px;
    height: 34px;
    font-size: 17px;
  }
  .campus-radar-tag {
    font-size: 10.5px;
  }
  .campus-corridor-tag {
    display: none;
  }
  .btn-my-bookings-pill {
    padding: 5px 8px;
    font-size: 11px;
    gap: 4px;
  }
  .my-bookings-text {
    display: none;
  }
}

/* Active Pass Card Modernization */
.active-pass-banner {
  background: linear-gradient(145deg, #062817 0%, #0D3E24 100%);
  color: #fff;
  border-radius: 18px;
  padding: 18px;
  margin-bottom: 20px;
  box-shadow: 0 8px 24px rgba(6, 40, 23, 0.25);
  border: 1px solid rgba(74, 222, 128, 0.25);
}

.pass-card-brand-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(34, 197, 94, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #4ADE80;
  flex-shrink: 0;
}

.pass-status-pill {
  background: rgba(34, 197, 94, 0.18);
  color: #4ADE80;
  font-size: 11px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 20px;
  border: 1px solid rgba(74, 222, 128, 0.35);
  display: inline-flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
}

.pass-status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #4ADE80;
  box-shadow: 0 0 0 2px rgba(74, 222, 128, 0.3);
}

/* Multi-Pass Location Switcher Bar */
.pass-multi-corridor-wrap {
  margin-top: 14px;
  padding: 10px 12px;
  background: rgba(0, 0, 0, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
}

.pass-multi-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.pass-multi-title {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: #86EFAC;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 5px;
}

.pass-multi-count-tag {
  background: rgba(34, 197, 94, 0.25);
  color: #86EFAC;
  font-size: 10px;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 12px;
  white-space: nowrap;
  flex-shrink: 0;
  letter-spacing: 0.3px;
}

.pass-multi-corridor-strip {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 2px;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.pass-multi-corridor-strip::-webkit-scrollbar {
  display: none;
}

.pass-corridor-chip {
  background: rgba(255, 255, 255, 0.08);
  border: 1.5px solid rgba(255, 255, 255, 0.15);
  color: #E2E8F0;
  padding: 6px 11px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.pass-corridor-chip:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-1px);
}

.pass-corridor-chip.active {
  background: rgba(34, 197, 94, 0.25);
  border-color: #4ADE80;
  color: #FFFFFF;
  box-shadow: 0 0 8px rgba(74, 222, 128, 0.3);
}

.pass-corridor-chip-badge {
  background: rgba(0, 0, 0, 0.3);
  color: #86EFAC;
  padding: 1px 6px;
  border-radius: 10px;
  font-size: 10px;
  font-weight: 800;
}

.pass-corridor-chip.active .pass-corridor-chip-badge {
  background: #22C55E;
  color: #052E16;
}

.pass-corridor-chip-add {
  border: 1.5px dashed rgba(255, 255, 255, 0.3);
  background: transparent;
  color: #86EFAC;
}

.pass-corridor-chip-add:hover {
  background: rgba(34, 197, 94, 0.15);
  border-color: #4ADE80;
}

/* Registered Corridor Card (Redesigned & Generous) */
.pass-corridor-card-v2 {
  background: rgba(0, 0, 0, 0.32);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 12px;
  padding: 12px 14px;
  margin-top: 14px;
}

.pass-corridor-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.pass-corridor-label-group {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: #86EFAC;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 4px;
}

.pass-corridor-actions {
  display: flex;
  align-items: center;
  gap: 6px;
}

.btn-corridor-action {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #86EFAC;
  font-size: 10.5px;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 8px;
  border-radius: 14px;
  transition: all 0.2s ease;
}

.btn-corridor-action:hover {
  background: rgba(255, 255, 255, 0.22);
  border-color: #86EFAC;
  color: #FFFFFF;
}

.btn-corridor-action:active {
  transform: scale(0.96);
}

.btn-corridor-action.btn-details-action {
  color: #FFFFFF;
  border-color: rgba(255, 255, 255, 0.25);
}

.pass-corridor-route-visual {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  padding: 9px 12px;
}

.route-node {
  min-width: 0;
  flex: 1;
  display: flex;
  align-items: center;
  gap: 7px;
}

.route-indicator-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

.dot-pickup {
  background: #10B981;
  box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.25);
}

.dot-dest {
  background: #EF4444;
  box-shadow: 0 0 0 2px rgba(239, 68, 68, 0.25);
}

.route-node-info {
  min-width: 0;
  flex: 1;
}

.route-node-type {
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #94A3B8;
  display: block;
  font-weight: 700;
  line-height: 1.1;
}

.route-node-name {
  font-size: 12.5px;
  font-weight: 800;
  color: #FFFFFF;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: block;
}

.route-arrow-bridge {
  color: #86EFAC;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* Primary Action Button (Production Polish) */
.pass-btn-primary-v2 {
  width: 100%;
  background: linear-gradient(135deg, #22C55E 0%, #16A34A 100%);
  color: #052E16;
  font-weight: 800;
  font-size: 14px;
  height: 48px;
  padding: 0 16px;
  border-radius: 12px;
  margin-top: 16px;
  border: none;
  box-shadow: 0 4px 14px rgba(34, 197, 94, 0.35);
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  transition: all 0.2s ease;
}

.pass-btn-primary-v2:hover {
  background: linear-gradient(135deg, #16A34A 0%, #15803D 100%);
  color: #FFFFFF;
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(34, 197, 94, 0.45);
}

.pass-btn-primary-v2:active {
  transform: scale(0.985);
}

.pass-btn-icon-box {
  width: 28px;
  height: 28px;
  border-radius: 7px;
  background: rgba(5, 46, 22, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #052E16;
}

.pass-btn-primary-v2:hover .pass-btn-icon-box {
  background: rgba(255, 255, 255, 0.2);
  color: #FFFFFF;
}

.pass-btn-text {
  flex: 1;
  text-align: center;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: -0.2px;
}

.pass-btn-arrow {
  width: 24px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  opacity: 0.8;
  flex-shrink: 0;
}

/* Secondary Actions Row (Strictly Equal Size & Structure) */
.pass-secondary-actions-v2 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.pass-btn-secondary-v2 {
  flex: 1 1 0;
  min-width: 0;
  height: 42px;
  min-height: 42px;
  max-height: 42px;
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius-full, 9999px);
  color: #FFFFFF;
  font-size: 12px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 0 12px;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.pass-btn-secondary-v2:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.35);
  transform: translateY(-1px);
}

.pass-btn-secondary-v2:active {
  transform: scale(0.97);
}

.pass-sec-icon-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #86EFAC;
}

.pass-sec-btn-text {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Quick Booking Confirmation Card - Modern Pass Fare & Clean Mobile Layout */
.quick-pass-fare-box {
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: linear-gradient(135deg, #F0FDF4 0%, #FFFFFF 100%);
  border: 1.5px solid #A7F3D0;
  border-radius: 16px;
  padding: 14px 16px;
  margin-bottom: 14px;
  box-shadow: 0 2px 10px rgba(5, 150, 105, 0.06);
  transition: all 0.25s ease;
}

.quick-pass-fare-box.reroute-active-box {
  background: linear-gradient(135deg, #EFF6FF 0%, #FFFFFF 100%) !important;
  border-color: #93C5FD !important;
  box-shadow: 0 2px 10px rgba(37, 99, 235, 0.08) !important;
}

.quick-fare-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  width: 100%;
}

.quick-pass-fare-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: #047857;
  font-weight: 800;
  white-space: nowrap;
}

.reroute-active-box .quick-pass-fare-label {
  color: #1D4ED8 !important;
}

.quick-pass-fare-badge {
  background: #FFFFFF;
  color: #047857;
  font-size: 11px;
  font-weight: 800;
  padding: 4px 9px;
  border-radius: var(--radius-full, 9999px);
  border: 1.5px solid #6EE7B7;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  box-shadow: 0 1px 4px rgba(5, 150, 105, 0.1);
  white-space: nowrap;
  flex-shrink: 0;
}

.quick-pass-fare-badge.reroute-active-badge {
  background: #EFF6FF !important;
  color: #1D4ED8 !important;
  border-color: #93C5FD !important;
  box-shadow: 0 1px 4px rgba(37, 99, 235, 0.12) !important;
}

.quick-fare-price-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  width: 100%;
}

.quick-fare-price-display {
  display: inline-flex;
  align-items: baseline;
  gap: 3px;
  white-space: nowrap;
}

.quick-fare-currency {
  font-size: 18px;
  font-weight: 900;
  color: #065F46;
  vertical-align: baseline;
}

.reroute-active-box .quick-fare-currency {
  color: #1E40AF !important;
}

.quick-pass-fare-amount {
  font-size: 26px;
  font-weight: 900;
  color: #065F46;
  line-height: 1;
  letter-spacing: -0.5px;
}

.reroute-active-box .quick-pass-fare-amount {
  color: #1E40AF !important;
}

.quick-fare-addon-pill {
  font-size: 11px;
  font-weight: 700;
  color: #1E40AF;
  background: #EFF6FF;
  border: 1px solid #BFDBFE;
  padding: 3px 8px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.quick-pass-fare-sub {
  font-size: 11.5px;
  color: #059669;
  font-weight: 600;
  line-height: 1.4;
  width: 100%;
}

.reroute-active-box .quick-pass-fare-sub {
  color: #1E40AF !important;
}

/* Commute Corridor Route Action (Swap) */
.btn-quick-swap {
  font-size: 11.5px;
  font-weight: 700;
  padding: 4px 11px;
  border-radius: var(--radius-full, 9999px);
  background: #FFFFFF;
  color: #334155;
  border: 1px solid #CBD5E1;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  cursor: pointer;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
  transition: all 0.2s ease;
}

.btn-quick-swap:hover {
  background: #F8FAFC;
  border-color: #94A3B8;
  color: #0F172A;
}

/* Dedicated Re-route Trigger Row below stops (Clean UX) */
.btn-quick-reroute-trigger {
  width: 100%;
  padding: 9px 12px;
  border-radius: 12px;
  background: #F8FAFC;
  border: 1.5px dashed #CBD5E1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: left;
}

.btn-quick-reroute-trigger:hover {
  background: #EFF6FF;
  border-color: #93C5FD;
  border-style: solid;
}

.reroute-icon-pill {
  width: 26px;
  height: 26px;
  border-radius: 8px;
  background: #EFF6FF;
  color: #2563EB;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.reroute-pill-badge {
  font-size: 11px;
  font-weight: 800;
  color: #1D4ED8;
  background: #DBEAFE;
  padding: 3px 9px;
  border-radius: 9999px;
  white-space: nowrap;
}

.quick-reroute-status-bar {
  background: #EFF6FF;
  border: 1.5px solid #BFDBFE;
  border-radius: 10px;
  padding: 7px 10px;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  width: 100%;
  box-sizing: border-box;
}

.quick-reroute-status-left {
  display: flex;
  align-items: center;
  gap: 5px;
  min-width: 0;
  flex: 1;
}

.quick-reroute-status-icon {
  font-size: 13px;
  line-height: 1;
  flex-shrink: 0;
}

.quick-reroute-status-text {
  font-size: 11.5px;
  font-weight: 800;
  color: #1E40AF;
  white-space: nowrap;
}

.btn-reroute-reset {
  background: #DBEAFE;
  border: 1px solid #BFDBFE;
  color: #1E40AF;
  font-size: 10.5px;
  font-weight: 800;
  cursor: pointer;
  padding: 3px 8px;
  border-radius: 6px;
  white-space: nowrap;
  flex-shrink: 0;
  text-decoration: none;
  transition: all 0.2s ease;
  line-height: 1.3;
}

.btn-reroute-reset:hover {
  background: #BFDBFE;
  color: #1D4ED8;
}

.reroute-fee-badge-sm {
  font-size: 10.5px;
  font-weight: 800;
  color: #1D4ED8;
  background: #DBEAFE;
  padding: 2px 7px;
  border-radius: 6px;
  white-space: nowrap;
}

.quick-reroute-input {
  font-size: 13.5px !important;
  font-weight: 600 !important;
  padding: 9px 12px !important;
  border-radius: 10px !important;
  border-color: #CBD5E1 !important;
}

.quick-reroute-input:focus {
  border-color: #2563EB !important;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12) !important;
}

.quick-booking-actions-row {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
  margin-top: 10px;
}

.btn-quick-confirm {
  width: 100%;
  height: 48px;
  min-height: 48px;
  border-radius: 14px;
  background: #059669;
  border: none;
  color: #FFFFFF;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 4px 14px rgba(5, 150, 105, 0.35);
  transition: all 0.2s ease;
  padding: 0 16px;
}

.btn-quick-confirm:hover {
  background: #047857;
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(5, 150, 105, 0.45);
}

.btn-quick-confirm:active {
  transform: scale(0.98);
}

.btn-quick-cancel {
  width: 100%;
  height: 40px;
  min-height: 40px;
  border-radius: 12px;
  background: #F8FAFC;
  border: 1.5px solid #E2E8F0;
  color: #64748B;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.btn-quick-cancel:hover {
  background: #F1F5F9;
  color: #1E293B;
  border-color: #CBD5E1;
}

.btn-quick-cancel:active {
  transform: scale(0.98);
}

/* ==========================================================================
   ACTIVE RIDE RADAR & CONTACT CARD (PRODUCTION REDESIGN)
   ========================================================================== */
.radar-rider-card-v2 {
  background: #F8FAFC;
  border: 1.5px solid #E2E8F0;
  border-radius: 16px;
  padding: 16px;
  margin-top: 14px;
}

.rider-card-top {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.rider-avatar-box {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #ECFDF5;
  color: #059669;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 2px 6px rgba(16, 185, 129, 0.15);
}

.rider-meta-info {
  min-width: 0;
  flex: 1;
}

.rider-role-tag {
  font-size: 10px;
  text-transform: uppercase;
  font-weight: 800;
  letter-spacing: 0.6px;
  color: #059669;
  display: block;
}

.rider-driver-name {
  font-size: 15px;
  font-weight: 800;
  color: #0F172A;
  margin-top: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.rider-driver-unit {
  font-size: 11.5px;
  color: #64748B;
  margin-top: 2px;
}

.rider-comm-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.btn-rider-action {
  flex: 1 1 0;
  height: 42px;
  min-height: 42px;
  border-radius: var(--radius-full, 9999px);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  font-size: 12.5px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.btn-rider-call {
  background: linear-gradient(135deg, #059669 0%, #047857 100%);
  color: #FFFFFF;
  border: none;
  box-shadow: 0 2px 8px rgba(5, 150, 105, 0.25);
}

.btn-rider-call:hover {
  background: #047857;
  color: #FFFFFF;
  transform: translateY(-1px);
}

.btn-rider-whatsapp {
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  color: #FFFFFF;
  border: none;
  box-shadow: 0 2px 8px rgba(37, 211, 102, 0.25);
}

.btn-rider-whatsapp:hover {
  background: linear-gradient(135deg, #22BF5B 0%, #0F766A 100%);
  color: #FFFFFF;
  transform: translateY(-1px);
}

.btn-rider-call:active, .btn-rider-whatsapp:active {
  transform: scale(0.97);
}

/* Radar Action Suite (Strictly Equal Size & Consistent Guidelines) */
.radar-action-suite-v2 {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 14px;
}

/* WhatsApp Branded Share Button */
.radar-btn-whatsapp-share {
  width: 100%;
  height: 46px;
  min-height: 46px;
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  color: #FFFFFF !important;
  border: none;
  font-size: 13.5px;
  font-weight: 800;
  border-radius: var(--radius-full, 9999px);
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.35);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  cursor: pointer;
  transition: all 0.2s ease;
  padding: 0 16px;
  text-decoration: none;
}

.radar-btn-whatsapp-share svg {
  flex-shrink: 0;
}

.radar-btn-whatsapp-share:hover {
  background: linear-gradient(135deg, #22BF5B 0%, #0F766A 100%);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.45);
  transform: translateY(-1px);
}

.radar-btn-whatsapp-share:active {
  transform: scale(0.98);
}

.radar-secondary-row {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
}

@media (min-width: 480px) {
  .radar-secondary-row {
    flex-direction: row;
  }
}

.radar-secondary-row .radar-btn-action {
  width: 100%;
  min-width: 0;
  padding: 0 14px;
  font-size: 12.5px;
}

.radar-secondary-row .radar-btn-action span {
  white-space: nowrap;
}

.radar-secondary-row .radar-btn-action svg {
  flex-shrink: 0;
}

.radar-btn-action {
  height: 44px;
  min-height: 44px;
  border-radius: var(--radius-full, 9999px);
  font-size: 12.5px;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  transition: all 0.2s ease;
  white-space: nowrap;
  padding: 0 14px;
}

.radar-btn-share {
  width: 100%;
  background: #F0FDF4;
  border: 1.5px solid #86EFAC;
  color: #15803D;
}

.radar-btn-share:hover {
  background: #DCFCE7;
  border-color: #4ADE80;
  transform: translateY(-1px);
}

.radar-btn-reroute {
  flex: 1 1 0;
  background: #EFF6FF;
  border: 1.5px solid #93C5FD;
  color: #1D4ED8;
}

.radar-btn-reroute:hover {
  background: #DBEAFE;
  border-color: #60A5FA;
  transform: translateY(-1px);
}

.radar-btn-book-another {
  flex: 1 1 0;
  background: #059669;
  border: none;
  color: #FFFFFF;
  box-shadow: 0 2px 8px rgba(5, 150, 105, 0.25);
}

.radar-btn-book-another:hover {
  background: #047857;
  transform: translateY(-1px);
}

.radar-btn-cancel {
  width: 100%;
  background: #FEF2F2;
  border: 1.5px solid #FECACA;
  color: #DC2626;
}

.radar-btn-cancel:hover {
  background: #FEE2E2;
  border-color: #FCA5A5;
  transform: translateY(-1px);
}

.radar-btn-action:active {
  transform: scale(0.98);
}

/* ==========================================================================
   ACTIVATE COMMUTER PASS MODAL (PRODUCTION POLISH)
   ========================================================================== */
.pass-plan-card-v2 {
  background: #FFFFFF;
  border: 1.5px solid #E2E8F0;
  border-radius: 14px;
  padding: 13px 15px;
  margin-bottom: 10px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.pass-plan-card-v2:hover {
  border-color: #CBD5E1;
  background: #F8FAFC;
}

.pass-plan-card-v2.selected {
  border: 2px solid #16A34A !important;
  background: #F0FDF4 !important;
  box-shadow: 0 2px 10px rgba(22, 163, 74, 0.15);
}

.pass-plan-row-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 5px;
}

.pass-plan-title-text {
  font-size: 13.5px;
  font-weight: 800;
  color: #0F172A;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.pass-plan-price-val {
  font-size: 16px;
  font-weight: 900;
  color: #16A34A;
  white-space: nowrap;
  flex-shrink: 0;
}

.pass-plan-row-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.pass-plan-desc-text {
  font-size: 11px;
  color: #64748B;
  min-width: 0;
  flex: 1;
  line-height: 1.3;
}

.pass-plan-badges-group {
  display: flex;
  align-items: center;
  gap: 5px;
  flex-shrink: 0;
}

.pass-discount-pill {
  font-size: 10px;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: 12px;
  letter-spacing: 0.3px;
  text-transform: uppercase;
  white-space: nowrap;
  flex-shrink: 0;
}

.badge-save-12 {
  background: #DCFCE7;
  color: #15803D;
  border: 1px solid #86EFAC;
}

.badge-save-25 {
  background: #FEF3C7;
  color: #92400E;
  border: 1px solid #FCD34D;
}

.pass-plan-units-val {
  font-size: 10.5px;
  font-weight: 700;
  color: #15803D;
  background: rgba(34, 197, 94, 0.15);
  padding: 2px 7px;
  border-radius: 8px;
  white-space: nowrap;
  flex-shrink: 0;
}

/* Fallback Junction Notice Badges */
.pass-junction-notice-row {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-top: 10px;
  padding: 8px 12px;
  background: rgba(34, 197, 94, 0.08);
  border: 1px solid rgba(34, 197, 94, 0.2);
  border-radius: 10px;
  font-size: 11px;
  color: #86EFAC;
}

.pass-junction-notice-row strong {
  color: #FFFFFF;
}

.radar-junction-box {
  background: rgba(59, 130, 246, 0.08);
  border: 1px solid rgba(59, 130, 246, 0.25);
  border-radius: 10px;
  padding: 9px 13px;
  margin-top: 10px;
  font-size: 11.5px;
  color: #93C5FD;
  display: flex;
  align-items: center;
  gap: 8px;
}

.radar-junction-box strong {
  color: #FFFFFF;
}

/* Modal Footer */
.pass-modal-footer-v2 {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 14px;
  border-top: 1px solid #E2E8F0;
  margin-top: 8px;
}

.pass-modal-wallet-group {
  display: flex;
  flex-direction: column;
}

.pass-modal-wallet-label {
  font-size: 11px;
  color: #64748B;
  font-weight: 600;
}

.pass-modal-wallet-val {
  font-size: 15px;
  font-weight: 800;
  color: #0F172A;
}

.pass-modal-btn-confirm {
  height: 44px;
  padding: 0 20px;
  border-radius: var(--radius-full, 9999px);
  background: linear-gradient(135deg, #16A34A 0%, #15803D 100%);
  color: #FFFFFF;
  border: none;
  font-size: 13.5px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  cursor: pointer;
  box-shadow: 0 3px 12px rgba(22, 163, 74, 0.3);
  transition: all 0.2s ease;
}

.pass-modal-btn-confirm:hover {
  background: linear-gradient(135deg, #15803D 0%, #166534 100%);
  transform: translateY(-1px);
  box-shadow: 0 5px 16px rgba(22, 163, 74, 0.4);
}

.pass-modal-btn-confirm:active {
  transform: scale(0.98);
}

/* Locked Commute Corridor Card for Top-Up & Renewal */
.pass-locked-corridor-card {
  background: linear-gradient(135deg, #F0FDF4 0%, #DCFCE7 100%);
  border: 1.5px solid #86EFAC;
  border-radius: 14px;
  padding: 13px 15px;
  margin-bottom: 16px;
  box-shadow: 0 2px 8px rgba(16, 185, 129, 0.08);
}

.badge-locked-corridor-status {
  background: #DCFCE7;
  color: #15803D;
  font-size: 10px;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 20px;
  border: 1px solid #86EFAC;
  letter-spacing: 0.4px;
  white-space: nowrap;
}

.pass-locked-corridor-route {
  background: #FFFFFF;
  border: 1px solid #BBF7D0;
  border-radius: 10px;
  padding: 10px 12px;
  margin-bottom: 8px;
}

/* ==========================================================================
   RIDER & LOGISTICS HEAD TABLE & PERIOD FILTER STYLES
   ========================================================================== */

/* Modern Responsive Data Table */
.modern-table-container {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid #E2E8F0;
  border-radius: 12px;
  background: #FFFFFF;
  margin-bottom: 16px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.03);
}

.modern-data-table {
  width: 100%;
  min-width: 620px;
  border-collapse: collapse;
  font-size: 12px;
  text-align: left;
}

.modern-data-table th {
  background: #F8FAFC;
  color: #475569;
  font-weight: 700;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 10px 14px;
  border-bottom: 1.5px solid #E2E8F0;
  white-space: nowrap;
}

.modern-data-table td {
  padding: 12px 14px;
  border-bottom: 1px solid #F1F5F9;
  vertical-align: middle;
  color: #1E293B;
  line-height: 1.4;
}

.modern-data-table tbody tr:last-child td {
  border-bottom: none;
}

.modern-data-table tbody tr:hover {
  background: #F8FAFC;
}

/* Period Filter Pill Bar (Logistics Head & Rider Dashboard) */
.rider-filter-bar {
  display: flex;
  gap: 6px;
  background: #F1F5F9;
  padding: 4px;
  border-radius: 12px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.rider-filter-pill, .rider-dash-period-btn {
  flex: 1;
  min-width: 90px;
  padding: 8px 12px;
  border-radius: 9px;
  border: none;
  background: transparent;
  font-size: 12px;
  font-weight: 600;
  color: #475569;
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: center;
  white-space: nowrap;
}

.rider-filter-pill:hover, .rider-dash-period-btn:hover {
  color: #0F172A;
  background: rgba(255, 255, 255, 0.6);
}

.rider-filter-pill.active, .rider-dash-period-btn.active {
  background: #FFFFFF;
  color: #15803D;
  font-weight: 800;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

/* ==========================================================================
   UNIFIED WC VENDORS & WOOCOMMERCE WORKSPACE PALETTE & COMPONENTS
   ========================================================================== */

/* Brand Green: #38A13B */
:root {
  --wcv-primary: #38A13B;
  --wcv-primary-dark: #2E7D32;
  --wcv-primary-light: #E8F5E9;
  --wcv-surface: #FFFFFF;
  --wcv-surface-subtle: #F8FAFC;
  --wcv-border: #E2E8F0;
  --wcv-text-dark: #0F172A;
  --wcv-text-muted: #64748B;
  --wcv-amber: #F59E0B;
  --wcv-amber-light: #FEF3C7;
  --wcv-blue: #0284C7;
  --wcv-blue-light: #E0F2FE;
}

/* Section Wrapper */
.vendor-workspace-section,
.supervisor-workspace-section {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 16px 40px;
  box-sizing: border-box;
}

/* 1. Top Store-Status Bar */
.vendor-top-bar-card,
.supervisor-top-bar-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 16px;
  padding: 16px 20px;
  margin-bottom: 16px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  flex-wrap: wrap;
  gap: 14px;
}

.vendor-top-bar-left,
.supervisor-top-bar-left {
  display: flex;
  align-items: center;
  gap: 14px;
  flex: 1;
  min-width: 280px;
}

.vendor-store-avatar,
.supervisor-badge-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: #E8F5E9;
  color: #38A13B;
  font-size: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 1px solid #C8E6C9;
}

.vendor-title-row,
.supervisor-title-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 4px;
}

.vendor-store-name,
.supervisor-title {
  font-size: 18px;
  font-weight: 800;
  color: #0F172A;
  margin: 0;
  letter-spacing: -0.3px;
}

.vendor-wc-badge {
  background: #E8F5E9;
  color: #2E7D32;
  font-size: 11.5px;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 20px;
  border: 1px solid #A5D6A7;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.vendor-hub-pill {
  background: #F1F5F9;
  color: #475569;
  font-size: 11.5px;
  font-weight: 600;
  padding: 3px 9px;
  border-radius: 20px;
  border: 1px solid #CBD5E1;
}

.vendor-sub-meta,
.supervisor-sub {
  font-size: 12px;
  color: #64748B;
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.vendor-top-bar-right,
.supervisor-top-bar-right {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.store-status-toggle-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #F0FDF4;
  border: 1px solid #BBF7D0;
  padding: 6px 14px;
  border-radius: 20px;
}

.store-status-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #22C55E;
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.2);
}

.store-status-label {
  font-size: 12px;
  font-weight: 700;
  color: #166534;
}

.btn-vendor-add-product {
  padding: 9px 18px;
  font-size: 13px;
  font-weight: 700;
  border-radius: 10px;
  background: #38A13B;
  color: #FFFFFF;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
}

.btn-vendor-add-product:hover {
  background: #2E7D32;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(56, 161, 59, 0.25);
}

/* 2. 4-Card Real-Time KPI Bento Grid */
.vendor-bento-grid,
.supervisor-bento-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-bottom: 18px;
}

@media (max-width: 960px) {
  .vendor-bento-grid,
  .supervisor-bento-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 540px) {
  .vendor-bento-grid,
  .supervisor-bento-grid {
    grid-template-columns: 1fr;
  }
}

.vendor-bento-card,
.sup-bento-card {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 14px;
  padding: 16px 18px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.03);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  position: relative;
  overflow: hidden;
}

.vendor-bento-card:hover,
.sup-bento-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.06);
}

.bento-card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.bento-label {
  font-size: 12px;
  font-weight: 700;
  color: #64748B;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

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

.bento-value {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.5px;
  margin-bottom: 6px;
  line-height: 1.1;
}

.bento-value.text-green { color: #38A13B; }
.bento-value.text-muted { color: #64748B; }
.bento-value.text-primary { color: #0284C7; }
.bento-value.text-dark { color: #0F172A; }
.bento-value.text-amber { color: #D97706; }

.bento-subtext {
  font-size: 11.5px;
  color: #94A3B8;
  display: flex;
  align-items: center;
  gap: 5px;
}

.status-indicator-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #10B981;
  display: inline-block;
}

/* 3. Horizontal Pill Navigation Tabs */
.vendor-nav-pills-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #F1F5F9;
  padding: 6px;
  border-radius: 12px;
  margin-bottom: 18px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.vendor-nav-pill {
  padding: 8px 16px;
  border-radius: 9px;
  border: none;
  background: transparent;
  color: #475569;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  white-space: nowrap;
  transition: all 0.2s ease;
}

.vendor-nav-pill:hover {
  background: rgba(255, 255, 255, 0.7);
  color: #0F172A;
}

.vendor-nav-pill.active {
  background: #FFFFFF;
  color: #38A13B;
  font-weight: 800;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
}

.vendor-pill-counter {
  background: #E2E8F0;
  color: #475569;
  font-size: 11px;
  font-weight: 800;
  padding: 1px 7px;
  border-radius: 10px;
}

.vendor-nav-pill.active .vendor-pill-counter {
  background: #E8F5E9;
  color: #2E7D32;
}

/* 4. Tab Content Panels */
.vendor-tab-content-panel,
.supervisor-tab-content-panel {
  display: none;
  animation: fadeInWorkspace 0.2s ease;
  scroll-margin-top: 80px;
}

.vendor-tab-content-panel.active,
.supervisor-tab-content-panel.active {
  display: block;
}

@keyframes fadeInWorkspace {
  from { opacity: 0; transform: translateY(4px); }
  to { opacity: 1; transform: translateY(0); }
}

.vendor-inner-card {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 14px;
  padding: 20px;
  margin-bottom: 18px;
}

.vendor-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid #F1F5F9;
  flex-wrap: wrap;
  gap: 10px;
}

.vendor-card-title {
  font-size: 16px;
  font-weight: 800;
  color: #0F172A;
  display: flex;
  align-items: center;
  gap: 8px;
}

.vendor-card-sub {
  font-size: 12px;
  color: #64748B;
  margin-top: 2px;
}

/* 5. Dispatch Strip */
.vendor-dispatch-hero-strip {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: linear-gradient(135deg, #1B5E20 0%, #2E7D32 100%);
  color: #FFFFFF;
  padding: 18px 22px;
  border-radius: 14px;
  margin-bottom: 18px;
  box-shadow: 0 4px 16px rgba(46, 125, 50, 0.2);
  flex-wrap: wrap;
  gap: 14px;
}

.dispatch-strip-left {
  display: flex;
  align-items: center;
  gap: 14px;
  flex: 1;
  min-width: 280px;
}

.dispatch-icon-pulse {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  flex-shrink: 0;
}

.dispatch-strip-title {
  font-size: 15px;
  font-weight: 800;
  margin-bottom: 3px;
}

.dispatch-strip-sub {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.4;
}

.dispatch-strip-right {
  display: flex;
  gap: 10px;
}

.btn-vendor-action {
  background: #FFFFFF;
  color: #2E7D32;
  font-size: 12.5px;
  font-weight: 700;
  padding: 8px 16px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
}

.btn-vendor-action:hover {
  background: #F1F5F9;
  transform: translateY(-1px);
}

.btn-vendor-action.secondary {
  background: rgba(255, 255, 255, 0.2);
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.4);
}

.btn-vendor-action.secondary:hover {
  background: rgba(255, 255, 255, 0.3);
}

/* 6. Vendor Orders Stream */
.vendor-orders-stream {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.vendor-order-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 16px;
  border: 1px solid #E2E8F0;
  border-radius: 12px;
  background: #FFFFFF;
  transition: all 0.2s ease;
  flex-wrap: wrap;
  gap: 12px;
}

.vendor-order-card:hover {
  border-color: #CBD5E1;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.vorder-left {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1;
  min-width: 240px;
}

.vorder-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: #F1F5F9;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}

.vorder-code {
  font-size: 13.5px;
  font-weight: 800;
  color: #0F172A;
  margin-bottom: 2px;
}

.vorder-meta {
  font-size: 11.5px;
  color: #64748B;
}

.vorder-price {
  font-size: 14px;
  font-weight: 800;
  color: #38A13B;
  margin-top: 2px;
}

.vorder-right {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* 7. Catalog Table */
.vendor-catalog-table {
  width: 100%;
  border-collapse: collapse;
}

.vendor-catalog-table th {
  text-align: left;
  font-size: 11.5px;
  text-transform: uppercase;
  color: #64748B;
  font-weight: 700;
  padding: 10px 12px;
  border-bottom: 1.5px solid #E2E8F0;
  letter-spacing: 0.3px;
}

.vendor-catalog-table td {
  padding: 12px;
  border-bottom: 1px solid #F1F5F9;
  font-size: 13px;
  vertical-align: middle;
}

.prod-table-info {
  display: flex;
  align-items: center;
  gap: 10px;
}

.prod-table-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}

.stock-toggle-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 700;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.2s ease;
}

.stock-toggle-badge.instock {
  background: #E8F5E9;
  color: #2E7D32;
  border-color: #A5D6A7;
}

.stock-toggle-badge.outofstock {
  background: #FEE2E2;
  color: #DC2626;
  border-color: #FECACA;
}

/* 8. Settlements Layout Grid */
.settlements-layout-grid {
  display: grid;
  grid-template-columns: 1.2fr 1.8fr;
  gap: 18px;
}

@media (max-width: 840px) {
  .settlements-layout-grid {
    grid-template-columns: 1fr;
  }
}

.settlement-hero-gradient {
  background: linear-gradient(135deg, #064E3B 0%, #0B8009 100%) !important;
  color: #FFFFFF !important;
  padding: 22px;
  border-radius: 16px;
  margin-bottom: 16px;
  box-shadow: 0 4px 16px rgba(11, 128, 9, 0.22);
}

.settlement-hero-tag {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: rgba(255, 255, 255, 0.85);
  font-weight: 700;
}

.settlement-hero-amount {
  font-size: 32px;
  font-weight: 900;
  margin: 6px 0;
  letter-spacing: -0.5px;
}

.settlement-hero-note {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.4;
}

.settlement-bank-preview-box {
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 10px;
  padding: 14px;
  margin-bottom: 16px;
}

.bank-preview-row {
  display: flex;
  justify-content: space-between;
  font-size: 12.5px;
  margin-bottom: 6px;
}

.bank-preview-row:last-child {
  margin-bottom: 0;
}

.bank-label {
  color: #64748B;
}

.bank-val {
  color: #0F172A;
}

.btn-payout-cta {
  width: 100%;
  padding: 12px;
  font-size: 13.5px;
  font-weight: 800;
  border-radius: 10px;
  background: #38A13B;
  color: #FFFFFF;
  border: none;
  cursor: pointer;
}

/* 9. Settings Grid */
.vendor-settings-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.vendor-settings-grid .full-width {
  grid-column: 1 / -1;
}

.settings-sub-header {
  font-size: 14px;
  font-weight: 800;
  color: #0F172A;
  padding-top: 10px;
  border-top: 1px dashed #E2E8F0;
  margin-top: 6px;
}

/* 10. Slide-Over Product Drawer */
.vendor-drawer-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(4px);
  z-index: 2000;
  display: none;
  justify-content: flex-end;
  opacity: 0;
  transition: opacity 0.25s ease;
}

.vendor-drawer-overlay.open {
  display: flex;
  opacity: 1;
}

.vendor-drawer-panel {
  width: 100%;
  max-width: 480px;
  height: 100%;
  background: #FFFFFF;
  box-shadow: -6px 0 24px rgba(0, 0, 0, 0.15);
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

.vendor-drawer-overlay.open .vendor-drawer-panel {
  transform: translateX(0);
}

.vendor-drawer-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  border-bottom: 1px solid #E2E8F0;
  background: #FFFFFF;
}

.vendor-drawer-title {
  font-size: 17px;
  font-weight: 800;
  color: #0F172A;
  margin: 0;
}

.vendor-drawer-desc {
  font-size: 12px;
  color: #64748B;
  margin: 2px 0 0;
}

.btn-drawer-close {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #F1F5F9;
  border: 1px solid #E2E8F0;
  color: #64748B;
  font-size: 14px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s ease;
}

.btn-drawer-close:hover {
  background: #FEE2E2;
  color: #DC2626;
  border-color: #FECACA;
}

.vendor-drawer-body {
  padding: 20px;
  overflow-y: auto;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.form-row-dual {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.stock-toggle-box {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 8px;
  min-height: 42px;
  box-sizing: border-box;
}

.switch-control {
  position: relative;
  display: inline-block;
  width: 38px;
  height: 22px;
}

.switch-control input {
  opacity: 0;
  width: 0;
  height: 0;
}

.switch-slider {
  position: absolute;
  cursor: pointer;
  top: 0; left: 0; right: 0; bottom: 0;
  background-color: #CBD5E1;
  transition: 0.25s;
  border-radius: 34px;
}

.switch-slider:before {
  position: absolute;
  content: "";
  height: 16px;
  width: 16px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  transition: 0.25s;
  border-radius: 50%;
}

.switch-control input:checked + .switch-slider {
  background-color: #38A13B;
}

.switch-control input:checked + .switch-slider:before {
  transform: translateX(16px);
}

.stock-toggle-label {
  font-size: 12.5px;
  font-weight: 700;
  color: #0F172A;
}

.icon-selector-strip {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.icon-chip {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: #F8FAFC;
  border: 1.5px solid #E2E8F0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  cursor: pointer;
  transition: all 0.15s ease;
}

.icon-chip:hover {
  background: #E8F5E9;
  border-color: #A5D6A7;
}

.icon-chip.active {
  background: #E8F5E9;
  border-color: #38A13B;
  box-shadow: 0 0 0 2px rgba(56, 161, 59, 0.2);
}

.vendor-drawer-footer {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  padding: 16px 20px;
  border-top: 1px solid #E2E8F0;
  background: #FFFFFF;
}

/* 11. Student Marketplace Upgraded Cards */
.market-card-vendor-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: #E8F5E9;
  color: #2E7D32;
  border: 1px solid #A5D6A7;
  padding: 3px 9px;
  border-radius: 12px;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.15s ease;
}

.market-card-vendor-badge:hover {
  background: #C8E6C9;
  color: #1B5E20;
}

.vendor-check-mark {
  background: #38A13B;
  color: #FFFFFF;
  border-radius: 50%;
  width: 13px;
  height: 13px;
  font-size: 9px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
}

.market-card-hub-badge {
  background: rgba(15, 23, 42, 0.7);
  backdrop-filter: blur(4px);
  color: #FFFFFF;
  font-size: 10.5px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 10px;
}

.market-card-stock-pill {
  font-size: 10.5px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 10px;
}

.market-card-stock-pill.in-stock {
  background: #DCFCE7;
  color: #166534;
}

.market-card-stock-pill.out-of-stock {
  background: #FEE2E2;
  color: #991B1B;
}

.active-vendor-filter-strip {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #E8F5E9;
  border: 1.5px solid #A5D6A7;
  border-radius: 10px;
  padding: 10px 14px;
  margin-bottom: 16px;
}

.active-filter-text {
  font-size: 13px;
  color: #1B5E20;
  font-weight: 600;
}

.btn-clear-vendor-filter {
  background: #FFFFFF;
  border: 1px solid #81C784;
  color: #2E7D32;
  font-size: 11.5px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 20px;
  cursor: pointer;
  transition: all 0.15s ease;
}

.btn-clear-vendor-filter:hover {
  background: #DCFCE7;
}

/* 12. Supervisor Stream Styles */
.supervisor-kyc-stream,
.supervisor-products-stream,
.supervisor-stores-stream {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.kyc-applicant-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border: 1px solid #E2E8F0;
  border-radius: 12px;
  padding: 16px;
  background: #FFFFFF;
  flex-wrap: wrap;
  gap: 12px;
}

.kyc-badge-pill {
  background: #FEF3C7;
  color: #B45309;
  font-size: 11px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 12px;
}

.zero-disputes-hero-box {
  text-align: center;
  padding: 30px 20px;
}

.zero-disputes-icon {
  font-size: 38px;
  margin-bottom: 8px;
}

.zero-disputes-title {
  font-size: 17px;
  font-weight: 800;
  color: #0F172A;
  margin-bottom: 4px;
}

.zero-disputes-desc {
  font-size: 12.5px;
  color: #64748B;
  max-width: 480px;
  margin: 0 auto;
}

/* 13. Fix Clipped Top Header in Profile Modal */
.prof-modal-header-strip {
  background: #FFFFFF !important;
  color: #0F172A !important;
  border-bottom: 1px solid #E2E8F0 !important;
}

.prof-modal-header-left {
  color: #0F172A !important;
}

.prof-modal-close-btn {
  background: #F1F5F9 !important;
  color: #475569 !important;
  border: 1px solid #CBD5E1 !important;
}

.prof-modal-close-btn:hover {
  background: #EF4444 !important;
  color: #FFFFFF !important;
  border-color: #EF4444 !important;
}

.prof-hero-card {
  margin-top: 0 !important;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.05) !important;
}

/* ==========================================================================
   14. EV BIKE INVESTOR PORTAL & CEO INVESTOR MANAGEMENT SUITE
   FinTech Executive Design: Glo-Cafe Green (#38A13B), Spiro Lime/Emerald accents (#10B981, #059669)
   High-Trust Institutional Typography, Glassmorphism & Micro-Interactions
   ========================================================================== */

/* --------------------------------------------------------------------------
   A. MODERN TABLE ARCHITECTURE (CRITICAL FIX FOR SQUISHED TABLES)
   -------------------------------------------------------------------------- */
.table-responsive {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  background: #FFFFFF;
  border-radius: 14px;
  border: 1px solid #E2E8F0;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
}

table.modern-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 13px;
  background: #FFFFFF;
  min-width: 700px;
}

table.modern-table thead {
  background: #F8FAFC;
  border-bottom: 2px solid #E2E8F0;
}

table.modern-table th {
  padding: 14px 16px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #475569;
  white-space: nowrap;
  border-bottom: 2px solid #E2E8F0;
}

table.modern-table td {
  padding: 16px;
  border-bottom: 1px solid #F1F5F9;
  color: #1E293B;
  vertical-align: middle;
  font-size: 13px;
}

table.modern-table tbody tr {
  transition: background-color 0.15s ease;
}

table.modern-table tbody tr:hover {
  background-color: #F8FAFC;
}

table.modern-table tbody tr:last-child td {
  border-bottom: none;
}

.table-header-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  padding-bottom: 14px;
}

.table-actions-group {
  display: flex;
  gap: 6px;
  background: #F1F5F9;
  padding: 4px;
  border-radius: 10px;
}

.btn-table-filter {
  background: transparent;
  border: none;
  font-size: 12px;
  font-weight: 600;
  color: #64748B;
  padding: 6px 12px;
  border-radius: 7px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-table-filter.active {
  background: #FFFFFF;
  color: #0F172A;
  font-weight: 700;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

.btn-table-action {
  background: #F8FAFC;
  border: 1px solid #CBD5E1;
  color: #1E293B;
  font-size: 12px;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 8px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
}

.btn-table-action:hover {
  background: #E2E8F0;
  border-color: #94A3B8;
  color: #0F172A;
}

/* --------------------------------------------------------------------------
   B. STATUS BADGES & PROGRESS BARS
   -------------------------------------------------------------------------- */
.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  border-radius: 9999px;
  font-size: 11.5px;
  font-weight: 700;
  white-space: nowrap;
  letter-spacing: 0.02em;
}

.status-active {
  background: #DCFCE7;
  color: #15803D;
  border: 1px solid #BBF7D0;
}

.badge-amber {
  background: #FEF3C7;
  color: #B45309;
  border: 1px solid #FDE68A;
}

.badge-blue {
  background: #DBEAFE;
  color: #1D4ED8;
  border: 1px solid #BFDBFE;
}

.badge-emerald {
  background: #D1FAE5;
  color: #047857;
  border: 1px solid #A7F3D0;
}

.badge-purple {
  background: #F3E8FF;
  color: #7E22CE;
  border: 1px solid #E9D5FF;
}

.badge-danger {
  background: #FEE2E2;
  color: #B91C1C;
  border: 1px solid #FECACA;
}

.badge-gray {
  background: #F1F5F9;
  color: #475569;
  border: 1px solid #E2E8F0;
}

.badge-bike-count {
  background: #F1F5F9;
  color: #0F172A;
  font-weight: 700;
  padding: 4px 9px;
  border-radius: 6px;
  border: 1px solid #E2E8F0;
  font-size: 12px;
}

.mobilize-live-badge {
  background: #EFF6FF;
  color: #1E40AF;
  font-weight: 700;
  padding: 4px 9px;
  border-radius: 6px;
  border: 1px solid #BFDBFE;
  font-size: 12px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.progress-bar-track {
  width: 100%;
  height: 8px;
  background: #E2E8F0;
  border-radius: 9999px;
  overflow: hidden;
  margin-top: 5px;
}

.progress-bar-fill {
  height: 100%;
  border-radius: 9999px;
  transition: width 0.3s ease;
}

.progress-bar-fill.fill-green {
  background: linear-gradient(90deg, #10B981 0%, #059669 100%);
}

.progress-bar-fill.animated-blue {
  background: linear-gradient(90deg, #3B82F6 0%, #60A5FA 100%);
  animation: pulseBarAnim 2s infinite ease-in-out;
}

@keyframes pulseBarAnim {
  0% { opacity: 0.85; }
  50% { opacity: 1; }
  100% { opacity: 0.85; }
}

/* --------------------------------------------------------------------------
   C. INVESTOR HERO BANNER CARD
   -------------------------------------------------------------------------- */
.investor-hero-card {
  background: linear-gradient(135deg, #064E3B 0%, #065F46 45%, #0F172A 100%);
  border-radius: 20px;
  padding: 28px 32px;
  color: #FFFFFF;
  margin-bottom: 24px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 12px 32px rgba(6, 78, 59, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.investor-hero-card::after {
  content: '';
  position: absolute;
  top: -60px;
  right: -60px;
  width: 240px;
  height: 240px;
  background: radial-gradient(circle, rgba(52, 211, 153, 0.25) 0%, rgba(16, 185, 129, 0) 70%);
  border-radius: 50%;
  pointer-events: none;
}

.investor-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(16, 185, 129, 0.2);
  border: 1px solid rgba(52, 211, 153, 0.4);
  color: #6EE7B7;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 5px 12px;
  border-radius: 9999px;
  margin-bottom: 12px;
}

.hero-dot-pulse {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #34D399;
  box-shadow: 0 0 0 3px rgba(52, 211, 153, 0.3);
  animation: pulseGreenDot 2s infinite;
}

@keyframes pulseGreenDot {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(52, 211, 153, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(52, 211, 153, 0); }
}

.investor-hero-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 18px;
}

.investor-hero-title {
  font-size: 26px;
  font-weight: 800;
  color: #FFFFFF;
  letter-spacing: -0.02em;
  margin: 0 0 8px 0;
  line-height: 1.25;
}

.investor-profile-strip {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  font-size: 13px;
  color: #E2E8F0;
}

.inv-profile-badge {
  color: #FFFFFF;
  font-weight: 600;
}

.inv-profile-tag {
  background: rgba(255, 255, 255, 0.12);
  padding: 3px 10px;
  border-radius: 6px;
  font-weight: 600;
  color: #F8FAFC;
}

.inv-payout-freq-badge {
  background: rgba(16, 185, 129, 0.25);
  color: #A7F3D0;
  padding: 3px 10px;
  border-radius: 6px;
  font-weight: 700;
  border: 1px solid rgba(52, 211, 153, 0.3);
}

.inv-status-chip {
  background: rgba(56, 161, 59, 0.25);
  color: #86EFAC;
  padding: 3px 10px;
  border-radius: 6px;
  font-weight: 600;
}

.investor-hero-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.btn-investor-primary {
  background: linear-gradient(135deg, #10B981 0%, #059669 100%);
  color: #FFFFFF;
  border: none;
  font-size: 13.5px;
  font-weight: 700;
  padding: 10px 18px;
  border-radius: 10px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.35);
  transition: all 0.2s ease;
}

.btn-investor-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(16, 185, 129, 0.45);
}

.btn-investor-secondary {
  background: rgba(255, 255, 255, 0.12);
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.22);
  font-size: 13.5px;
  font-weight: 700;
  padding: 10px 18px;
  border-radius: 10px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s ease;
}

.btn-investor-secondary:hover {
  background: rgba(255, 255, 255, 0.22);
}

.btn-investor-outline {
  background: transparent;
  color: #CBD5E1;
  border: 1px solid rgba(255, 255, 255, 0.2);
  font-size: 13px;
  font-weight: 600;
  padding: 9px 14px;
  border-radius: 10px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
}

.btn-investor-outline:hover {
  color: #FFFFFF;
  border-color: #FFFFFF;
}

/* --------------------------------------------------------------------------
   D. 6 LIVE BENTO KPI CARDS (FINTECH GRID)
   -------------------------------------------------------------------------- */
.investor-bento-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 16px;
  margin-bottom: 24px;
}

@media (min-width: 1024px) {
  .investor-bento-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.inv-bento-card {
  background: #FFFFFF;
  border-radius: 18px;
  padding: 22px;
  border: 1px solid #E2E8F0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.inv-bento-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.07);
}

.kpi-active-card {
  border-top: 4px solid #10B981;
}

.kpi-prep-card {
  border-top: 4px solid #3B82F6;
}

.kpi-wallet-card {
  border-top: 4px solid #059669;
  background: linear-gradient(180deg, #FFFFFF 0%, #F0FDF4 100%);
}

.kpi-profit-card {
  border-top: 4px solid #8B5CF6;
}

.inv-bento-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.inv-bento-icon {
  font-size: 22px;
  line-height: 1;
}

.inv-live-badge {
  font-size: 11px;
  font-weight: 700;
  padding: 4px 9px;
  border-radius: 9999px;
  letter-spacing: 0.03em;
}

.pulse-green {
  background: #DCFCE7;
  color: #15803D;
  border: 1px solid #BBF7D0;
}

.inv-bento-label {
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #64748B;
  margin-bottom: 6px;
}

.inv-bento-val {
  font-size: 25px;
  font-weight: 800;
  color: #0F172A;
  letter-spacing: -0.02em;
  margin-bottom: 4px;
}

.inv-bento-sub {
  font-size: 12.5px;
  color: #475569;
  font-weight: 500;
  line-height: 1.4;
}

.inv-card-footer-pill {
  margin-top: 14px;
  padding-top: 10px;
  border-top: 1px solid #F1F5F9;
  font-size: 11.5px;
  color: #64748B;
  display: flex;
  align-items: center;
  gap: 6px;
}

.countdown-highlight {
  color: #0284C7;
  font-weight: 700;
}

.btn-wallet-payout-action {
  width: 100%;
  background: linear-gradient(135deg, #10B981 0%, #059669 100%);
  color: #FFFFFF;
  border: none;
  font-size: 13px;
  font-weight: 700;
  padding: 9px 14px;
  border-radius: 10px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  box-shadow: 0 3px 10px rgba(16, 185, 129, 0.3);
  transition: all 0.2s ease;
}

.btn-wallet-payout-action:hover {
  background: #059669;
  transform: translateY(-1px);
}

/* --------------------------------------------------------------------------
   E. YIELD CALCULATOR & MULTI-BIKE SIMULATOR
   -------------------------------------------------------------------------- */
.calculator-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 16px;
}

.yield-pills-row {
  display: flex;
  background: #F1F5F9;
  padding: 4px;
  border-radius: 12px;
  gap: 4px;
}

.yield-pill-btn {
  background: transparent;
  border: none;
  padding: 8px 14px;
  border-radius: 8px;
  cursor: pointer;
  text-align: left;
  transition: all 0.2s ease;
}

.yield-pill-btn.active {
  background: #FFFFFF;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.yield-pill-label {
  display: block;
  font-size: 10.5px;
  text-transform: uppercase;
  font-weight: 700;
  color: #64748B;
  letter-spacing: 0.04em;
}

.yield-pill-val {
  display: block;
  font-size: 13px;
  font-weight: 800;
  color: #0F172A;
}

.yield-pill-btn.active .yield-pill-val {
  color: #059669;
}

.yield-simulator-box {
  background: #F8FAFC;
  border-radius: 14px;
  padding: 20px;
  border: 1px solid #E2E8F0;
}

.slider-count-badge {
  background: #38A13B;
  color: #FFFFFF;
  padding: 3px 10px;
  border-radius: 9999px;
  font-size: 12px;
  font-weight: 700;
}

.investor-slider {
  width: 100%;
  height: 8px;
  border-radius: 5px;
  background: #CBD5E1;
  outline: none;
  -webkit-appearance: none;
  margin: 10px 0;
}

.investor-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #38A13B;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(56, 161, 59, 0.4);
  border: 2px solid #FFFFFF;
}

.simulator-results-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 12px;
  margin-top: 16px;
}

.sim-stat-box {
  background: #FFFFFF;
  border-radius: 12px;
  padding: 14px 16px;
  border: 1px solid #E2E8F0;
}

.sim-stat-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #64748B;
  margin-bottom: 4px;
}

.sim-stat-val {
  font-size: 18px;
  font-weight: 800;
  color: #0F172A;
  margin-bottom: 2px;
}

.sim-stat-sub {
  font-size: 11.5px;
  color: #64748B;
}

.highlight-green {
  background: #F0FDF4;
  border-color: #86EFAC;
}

.highlight-green .sim-stat-val {
  color: #15803D;
}

.highlight-emerald {
  background: #ECFDF5;
  border-color: #6EE7B7;
}

.highlight-emerald .sim-stat-val {
  color: #047857;
}

/* --------------------------------------------------------------------------
   F. SPIRO EKON 450L ASSET SHOWCASE CARD
   -------------------------------------------------------------------------- */
.spiro-asset-showcase-card {
  background: #FFFFFF;
  border-radius: 18px;
  padding: 24px;
  border: 1px solid #E2E8F0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
  margin-top: 22px;
}

.asset-showcase-grid {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

@media (min-width: 860px) {
  .asset-showcase-grid {
    flex-direction: row;
    align-items: center;
  }
}

.asset-image-container {
  flex: 0 0 340px;
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  border: 1px solid #E2E8F0;
}

.spiro-poster-img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  display: block;
  background: #0F172A;
}

.asset-tag-floating {
  position: absolute;
  bottom: 10px;
  left: 10px;
  background: rgba(15, 23, 42, 0.85);
  color: #6EE7B7;
  backdrop-filter: blur(4px);
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.asset-content-col {
  flex: 1;
}

.asset-sub-badge {
  color: #059669;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.asset-heading {
  font-size: 22px;
  font-weight: 800;
  color: #0F172A;
  margin: 0 0 8px 0;
  line-height: 1.25;
}

.asset-desc {
  font-size: 13px;
  color: #64748B;
  line-height: 1.5;
  margin: 0 0 16px 0;
}

.asset-features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 10px;
  margin-bottom: 18px;
}

.asset-feat-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  background: #F8FAFC;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid #E2E8F0;
}

.asset-feat-item strong {
  display: block;
  font-size: 12.5px;
  color: #0F172A;
}

.asset-feat-item span {
  font-size: 11px;
  color: #64748B;
}

.asset-cta-row {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.asset-contact-link {
  font-size: 13px;
  font-weight: 700;
  color: #059669;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.asset-contact-link:hover {
  text-decoration: underline;
}

/* --------------------------------------------------------------------------
   G. CEO DASHBOARD INVESTOR MANAGEMENT SUITE
   -------------------------------------------------------------------------- */
.ceo-tab-navigation {
  display: flex;
  gap: 8px;
  margin-bottom: 22px;
  border-bottom: 2px solid #E2E8F0;
  padding-bottom: 8px;
  flex-wrap: wrap;
}

.ceo-tab-btn {
  background: transparent;
  border: none;
  font-size: 14px;
  font-weight: 700;
  color: #64748B;
  padding: 10px 18px;
  border-radius: 10px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s ease;
}

.ceo-tab-btn.active {
  background: #38A13B;
  color: #FFFFFF;
  box-shadow: 0 4px 12px rgba(56, 161, 59, 0.25);
}

.ceo-badge-alert {
  background: #EF4444;
  color: #FFFFFF;
  font-size: 11px;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: 9999px;
}

.ceo-kpi-card {
  background: #FFFFFF;
  border-radius: 16px;
  padding: 20px;
  border: 1px solid #E2E8F0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.highlight-border-blue { border-left: 4px solid #3B82F6; }
.highlight-border-amber { border-left: 4px solid #F59E0B; }
.highlight-border-purple { border-left: 4px solid #8B5CF6; }

.ceo-kpi-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.ceo-kpi-val {
  font-size: 22px;
  font-weight: 800;
  color: #0F172A;
  margin-bottom: 4px;
}

.ceo-kpi-sub {
  font-size: 12px;
  color: #64748B;
}

/* Simulation Command Bar */
.ceo-simulator-bar {
  background: linear-gradient(135deg, #0F172A 0%, #1E1B4B 50%, #312E81 100%);
  border-radius: 18px;
  padding: 20px 24px;
  color: #FFFFFF;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px;
  margin: 20px 0;
  border: 1px solid rgba(165, 180, 252, 0.3);
  box-shadow: 0 8px 24px rgba(30, 27, 75, 0.28);
}

.sim-bar-badge {
  display: inline-block;
  background: rgba(129, 140, 248, 0.25);
  border: 1px solid rgba(165, 180, 252, 0.4);
  color: #C7D2FE;
  font-size: 10.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 3px 8px;
  border-radius: 6px;
  margin-bottom: 6px;
}

.sim-bar-title {
  font-size: 16px;
  font-weight: 800;
  color: #FFFFFF;
  margin-bottom: 4px;
}

.sim-bar-desc {
  font-size: 12.5px;
  color: #C7D2FE;
  max-width: 580px;
  line-height: 1.4;
}

.sim-bar-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.btn-sim-fastforward {
  background: linear-gradient(135deg, #3B82F6 0%, #2563EB 100%);
  color: #FFFFFF;
  border: none;
  padding: 10px 18px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.35);
  transition: all 0.2s ease;
}

.btn-sim-fastforward:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(37, 99, 235, 0.45);
}

.btn-sim-creditday {
  background: linear-gradient(135deg, #10B981 0%, #059669 100%);
  color: #FFFFFF;
  border: none;
  padding: 10px 18px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.35);
  transition: all 0.2s ease;
}

.btn-sim-creditday:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(16, 185, 129, 0.45);
}

.btn-ceo-action {
  border: none;
  padding: 6px 12px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: all 0.2s ease;
}

.btn-verify {
  background: #10B981;
  color: #FFFFFF;
}

.btn-verify:hover {
  background: #059669;
}

.btn-reject {
  background: #EF4444;
  color: #FFFFFF;
}

.btn-reject:hover {
  background: #DC2626;
}

.btn-settle {
  background: #0F172A;
  color: #FFFFFF;
}

.btn-settle:hover {
  background: #334155;
}

.btn-ceo-popview {
  background: #F1F5F9;
  border: 1px solid #CBD5E1;
  color: #334155;
  padding: 5px 10px;
  border-radius: 6px;
  font-size: 11.5px;
  font-weight: 600;
  cursor: pointer;
}

.btn-ceo-popview:hover {
  background: #E2E8F0;
}

/* --------------------------------------------------------------------------
   H. POP-UPS & MODALS: POLISHED FINTECH SHEETS
   -------------------------------------------------------------------------- */
.smart-sheet-modal-box {
  background: #FFFFFF;
  border-radius: 20px;
  width: 100%;
  padding: 24px 28px;
  position: relative;
  box-shadow: 0 20px 48px rgba(15, 23, 42, 0.22);
  border: 1px solid #E2E8F0;
  animation: modalFadeIn 0.25s ease-out;
}

@keyframes modalFadeIn {
  from { opacity: 0; transform: translateY(12px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.smart-sheet-drag-pill {
  width: 40px;
  height: 4px;
  background: #CBD5E1;
  border-radius: 9999px;
  margin: 0 auto 16px;
}

.smart-sheet-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 16px;
}

.smart-sheet-title {
  font-size: 18px;
  font-weight: 800;
  color: #0F172A;
  margin-bottom: 3px;
}

.smart-sheet-subtitle {
  font-size: 12.5px;
  color: #64748B;
  line-height: 1.4;
}

.smart-sheet-close-btn {
  background: #F1F5F9;
  border: 1px solid #CBD5E1;
  color: #64748B;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 14px;
  font-weight: 700;
  transition: all 0.2s ease;
}

.smart-sheet-close-btn:hover {
  background: #EF4444;
  color: #FFFFFF;
  border-color: #EF4444;
}

.investor-notice-banner {
  background: #FFFBEB;
  border: 1px solid #FDE68A;
  border-radius: 12px;
  padding: 12px 14px;
  font-size: 12px;
  color: #92400E;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  line-height: 1.45;
}

.modal-step-section {
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 14px;
  padding: 16px;
  margin-bottom: 16px;
}

.step-badge-title {
  font-size: 13.5px;
  font-weight: 800;
  color: #0F172A;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.step-badge-title span {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #059669;
  color: #FFFFFF;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11.5px;
  font-weight: 800;
}

.bike-qty-stepper-box {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 12px;
}

.qty-btn {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #FFFFFF;
  border: 1.5px solid #CBD5E1;
  color: #0F172A;
  font-size: 20px;
  font-weight: 800;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s ease;
}

.qty-btn:hover {
  background: #10B981;
  color: #FFFFFF;
  border-color: #10B981;
}

.qty-display-col {
  text-align: center;
  min-width: 120px;
}

.qty-number {
  display: block;
  font-size: 28px;
  font-weight: 800;
  color: #0F172A;
}

.qty-unit {
  font-size: 11.5px;
  color: #64748B;
  font-weight: 600;
}

.qty-quick-pills {
  display: flex;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.qty-quick-pill {
  background: #FFFFFF;
  border: 1px solid #CBD5E1;
  border-radius: 8px;
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 700;
  color: #334155;
  cursor: pointer;
  transition: all 0.15s ease;
}

.qty-quick-pill:hover {
  background: #F1F5F9;
  border-color: #94A3B8;
}

.modal-calc-preview-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.calc-card {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 10px;
  padding: 10px 12px;
}

.calc-label {
  display: block;
  font-size: 10.5px;
  font-weight: 700;
  text-transform: uppercase;
  color: #64748B;
  margin-bottom: 2px;
}

.calc-val {
  display: block;
  font-size: 15px;
  font-weight: 800;
  color: #0F172A;
}

.calc-note {
  display: block;
  font-size: 10.5px;
  color: #94A3B8;
}

.highlight-profit {
  background: #ECFDF5;
  border-color: #A7F3D0;
}

/* Company Bank Card */
.company-bank-card {
  background: linear-gradient(135deg, #0F172A 0%, #1E293B 100%);
  color: #FFFFFF;
  border-radius: 14px;
  padding: 18px 20px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.18);
}

.bank-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.bank-chip {
  background: rgba(255, 255, 255, 0.15);
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 5px;
  color: #F8FAFC;
}

.bank-verified-tag {
  color: #34D399;
  font-size: 11.5px;
  font-weight: 700;
}

.bank-account-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.bank-acc-label {
  font-size: 10.5px;
  color: #94A3B8;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.bank-acc-number {
  font-size: 22px;
  font-weight: 800;
  color: #34D399;
  letter-spacing: 1px;
  font-family: monospace;
}

.btn-copy-acc {
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #FFFFFF;
  font-size: 12px;
  font-weight: 700;
  padding: 7px 12px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-copy-acc:hover {
  background: #10B981;
  border-color: #10B981;
}

.bank-details-sub {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 10px;
  font-size: 12px;
  color: #CBD5E1;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.pop-upload-area {
  border: 2px dashed #CBD5E1;
  background: #FFFFFF;
  border-radius: 12px;
  padding: 20px;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.pop-upload-area:hover {
  border-color: #10B981;
  background: #F0FDF4;
}

.pop-upload-icon {
  font-size: 28px;
  display: block;
  margin-bottom: 6px;
}

/* Payout Modal Elements */
.payout-balance-banner {
  background: linear-gradient(135deg, #064E3B 0%, #065F46 100%);
  color: #FFFFFF;
  border-radius: 14px;
  padding: 18px 20px;
  margin-bottom: 16px;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.payout-banner-label {
  display: block;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  color: #A7F3D0;
  letter-spacing: 0.05em;
  margin-bottom: 4px;
}

.payout-banner-amount {
  font-size: 26px;
  font-weight: 800;
  color: #FFFFFF;
  margin-bottom: 4px;
}

.payout-banner-sub {
  font-size: 12px;
  color: #D1FAE5;
}

.payout-quick-chips {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.payout-chip {
  background: #F1F5F9;
  border: 1px solid #CBD5E1;
  border-radius: 8px;
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 700;
  color: #334155;
  cursor: pointer;
  transition: all 0.15s ease;
}

.payout-chip:hover {
  background: #059669;
  color: #FFFFFF;
  border-color: #059669;
}

.payout-destination-box {
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 10px;
  padding: 12px 14px;
  margin-bottom: 14px;
}


/* Dev Role Switcher Permanently Suppressed */
#newdayDevRoleWidget, #btnToggleDevRoleMenu, #newdayDevRoleMenu, .nd-dev-role-widget { display: none !important; visibility: hidden !important; pointer-events: none !important; opacity: 0 !important; width: 0 !important; height: 0 !important; overflow: hidden !important; }

/* WordPress Admin Bar Hardening (Only Intended for Administrators) */
body:not(.logged-in.admin-bar) #wpadminbar,
body:not(.admin-bar) #wpadminbar {
  display: none !important;
}

@media screen and (max-width: 782px) {
  html {
    margin-top: 0 !important;
  }
  #wpadminbar {
    display: none !important;
  }
}

