/* Custom Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;500;600;700;800&display=swap');

/* CSS Custom Design Variables */
:root {
  --bg-color: #080b11;
  --bg-gradient: radial-gradient(circle at 50% 0%, #111827 0%, #080b11 100%);
  --panel-bg: rgba(17, 24, 39, 0.65);
  --panel-bg-solid: #111827;
  --panel-border: rgba(255, 255, 255, 0.06);
  --panel-border-hover: rgba(255, 255, 255, 0.15);
  
  --text-main: #f9fafb;
  --text-muted: #9ca3af;
  --text-dimmed: #6b7280;

  --primary: #4f46e5; /* Royal Indigo */
  --primary-hover: #6366f1;
  --primary-glow: rgba(79, 70, 229, 0.35);

  --secondary: #06b6d4; /* Neon Cyan */
  --secondary-glow: rgba(6, 182, 212, 0.2);

  --success: #10b981; /* Emerald */
  --success-glow: rgba(16, 185, 129, 0.15);
  --warning: #f59e0b; /* Golden Amber */
  --danger: #ef4444; /* Rose Red */

  --gradient-card: linear-gradient(135deg, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0.01) 100%);
  --gradient-text: linear-gradient(135deg, #6366f1 0%, #06b6d4 100%);
  --gradient-button: linear-gradient(135deg, #4f46e5 0%, #06b6d4 100%);
  
  --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.3), 0 4px 6px -2px rgba(0, 0, 0, 0.15);
  --shadow-glow: 0 0 25px rgba(79, 70, 229, 0.15);

  --border-radius-sm: 8px;
  --border-radius-md: 16px;
  --border-radius-lg: 24px;
}

/* Global Reset & Base */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: 'Inter', sans-serif;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.15) transparent;
}

body {
  background: var(--bg-color);
  background-image: var(--bg-gradient);
  color: var(--text-main);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  line-height: 1.5;
}

body.body-fixed {
  height: 100vh;
  overflow: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  letter-spacing: -0.02em;
}

/* Premium Scrollbars */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
::-webkit-scrollbar-track {
  background: transparent;
}
::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.12);
  border-radius: 99px;
}
::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.25);
}

/* Layout Shell */
header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  background: rgba(8, 11, 17, 0.8);
  border-bottom: 1px solid var(--panel-border);
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.5rem;
  font-weight: 800;
  font-family: 'Outfit', sans-serif;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
}

.logo i {
  background: var(--gradient-button);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.nav-links {
  display: flex;
  gap: 1.5rem;
}

.nav-item {
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  padding: 0.5rem 1rem;
  border-radius: var(--border-radius-sm);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
}

.nav-item:hover, .nav-item.active {
  color: var(--text-main);
  background: rgba(255, 255, 255, 0.05);
}

.nav-item.active {
  box-shadow: inset 0 -2px var(--secondary);
  border-radius: 0;
}

.user-badge {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: var(--panel-bg);
  border: 1px solid var(--panel-border);
  padding: 0.5rem 1rem;
  border-radius: 99px;
  cursor: pointer;
  transition: all 0.3s;
}

.user-badge:hover {
  border-color: var(--panel-border-hover);
  background: rgba(255, 255, 255, 0.05);
}

.avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--secondary);
}

.avatar.admin {
  border-color: var(--warning);
}

/* Page Containers */
.page {
  flex: 1;
  padding: 1rem 2rem;
  max-width: 1400px;
  width: 100%;
  margin: 0 auto;
  display: none;
  animation: fadeIn 0.4s ease-out forwards;
}

.page.active {
  display: flex;
  flex-direction: column;
}

body.body-fixed .page.active {
  overflow-y: auto;
  height: calc(100vh - 120px);
}

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

/* Glassmorphism Panel styles */
.glass-panel {
  background: var(--panel-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--panel-border);
  border-radius: var(--border-radius-md);
  padding: 1.5rem;
  box-shadow: var(--shadow-lg);
}

/* Hero Section */
.hero {
  text-align: center;
  padding: 3rem 1rem;
  position: relative;
  overflow: hidden;
}

.hero-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 400px;
  height: 400px;
  background: var(--primary);
  filter: blur(150px);
  opacity: 0.12;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
  z-index: 1;
  position: relative;
}

.hero h1 span {
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero p {
  color: var(--text-muted);
  font-size: 1.15rem;
  max-width: 600px;
  margin: 0 auto 2.5rem auto;
  z-index: 1;
  position: relative;
}

/* Search and Filters */
.search-container {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  max-width: 900px;
  margin: 0 auto 3rem auto;
  z-index: 2;
  position: relative;
}

.search-bar-row {
  display: flex;
  gap: 1rem;
}

.search-input-wrapper {
  position: relative;
  flex: 1;
}

.search-input-wrapper i {
  position: absolute;
  left: 1.25rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-dimmed);
}

.search-input {
  width: 100%;
  background: var(--panel-bg-solid);
  border: 1px solid var(--panel-border);
  border-radius: 99px;
  padding: 1rem 1rem 1rem 3rem;
  color: var(--text-main);
  font-size: 1rem;
  outline: none;
  transition: all 0.3s;
  box-shadow: var(--shadow-sm);
}

.search-input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 15px var(--primary-glow);
}

.btn {
  background: var(--gradient-button);
  color: var(--text-main);
  border: none;
  border-radius: 99px;
  padding: 0.85rem 2rem;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.3s;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: var(--shadow-glow);
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 25px var(--primary-glow);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.08);
  box-shadow: none;
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.15);
  box-shadow: none;
}

.filters-row {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}

.filter-select {
  background: var(--panel-bg);
  border: 1px solid var(--panel-border);
  color: var(--text-main);
  padding: 0.65rem 1.25rem;
  border-radius: 99px;
  font-size: 0.9rem;
  outline: none;
  cursor: pointer;
  transition: all 0.3s;
}

.filter-select:focus {
  border-color: var(--secondary);
}

.range-slider-wrapper {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: var(--panel-bg);
  border: 1px solid var(--panel-border);
  padding: 0.5rem 1.25rem;
  border-radius: 99px;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.range-slider {
  accent-color: var(--secondary);
  width: 120px;
  cursor: pointer;
}

/* Categories List */
.categories-tabs {
  display: flex;
  gap: 0.75rem;
  overflow-x: auto;
  padding-bottom: 0.5rem;
  margin-bottom: 2.5rem;
}

.category-tab {
  white-space: nowrap;
  background: var(--panel-bg);
  border: 1px solid var(--panel-border);
  padding: 0.6rem 1.25rem;
  border-radius: 99px;
  cursor: pointer;
  font-weight: 500;
  font-size: 0.88rem;
  color: var(--text-muted);
  transition: all 0.3s;
}

.category-tab:hover, .category-tab.active {
  color: var(--text-main);
  border-color: var(--secondary);
  background: rgba(6, 182, 212, 0.1);
}

/* Companion Grid & Cards */
.providers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 2rem;
}

.provider-card {
  position: relative;
  background: var(--gradient-card);
  border: 1px solid var(--panel-border);
  border-radius: var(--border-radius-md);
  padding: 1.5rem;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
}

.provider-card:hover {
  transform: translateY(-6px);
  border-color: var(--panel-border-hover);
  box-shadow: var(--shadow-lg), 0 0 15px rgba(255, 255, 255, 0.03);
}

.provider-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--gradient-button);
  opacity: 0;
  transition: opacity 0.3s;
}

.provider-card:hover::before {
  opacity: 1;
}

.provider-header {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.provider-img-wrapper {
  position: relative;
}

.provider-img {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(255, 255, 255, 0.1);
}

.verify-badge {
  position: absolute;
  bottom: 0;
  right: 0;
  background: var(--secondary);
  color: #000;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  border: 2px solid var(--bg-color);
}

.provider-info h3 {
  font-size: 1.15rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.provider-cat {
  font-size: 0.85rem;
  color: var(--secondary);
  font-weight: 600;
  margin-top: 0.15rem;
}

.rating-badge {
  background: rgba(245, 158, 11, 0.1);
  color: var(--warning);
  padding: 0.2rem 0.5rem;
  border-radius: 6px;
  font-size: 0.8rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  margin-top: 0.35rem;
}

.provider-bio {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.5;
  margin-bottom: 1.5rem;
  flex-grow: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.provider-details-row {
  display: flex;
  justify-content: space-between;
  border-top: 1px solid var(--panel-border);
  padding-top: 1rem;
  margin-bottom: 1.25rem;
  font-size: 0.85rem;
}

.p-detail-label {
  color: var(--text-dimmed);
  margin-bottom: 0.2rem;
}

.p-detail-val {
  color: var(--text-main);
  font-weight: 600;
}

.p-detail-val.rate {
  color: var(--text-main);
  font-size: 1.05rem;
  font-family: 'Outfit', sans-serif;
}

/* Detail Drawer (Slide-out panel) */
.drawer-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(8px);
  z-index: 200;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.drawer-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}

.drawer {
  position: fixed;
  top: 0;
  right: -550px;
  width: 100%;
  max-width: 520px;
  height: 100vh;
  background: var(--panel-bg-solid);
  border-left: 1px solid var(--panel-border);
  z-index: 201;
  box-shadow: -10px 0 30px rgba(0,0,0,0.5);
  display: flex;
  flex-direction: column;
  transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.drawer.open {
  right: 0;
}

.drawer-header {
  padding: 1.5rem;
  border-bottom: 1px solid var(--panel-border);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.drawer-close {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 1.5rem;
  cursor: pointer;
}

.drawer-close:hover {
  color: var(--text-main);
}

.drawer-content {
  flex: 1;
  overflow-y: auto;
  padding: 2rem;
}

/* Booking Drawer Elements */
.booking-calculator {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--panel-border);
  border-radius: var(--border-radius-md);
  padding: 1.25rem;
  margin-top: 1.5rem;
}

.calc-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.75rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.calc-row.total {
  border-top: 1px solid var(--panel-border);
  padding-top: 0.75rem;
  font-weight: 700;
  color: var(--text-main);
  font-size: 1.1rem;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.form-input {
  width: 100%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--panel-border);
  border-radius: 8px;
  padding: 0.75rem 1rem;
  color: var(--text-main);
  outline: none;
  font-size: 0.95rem;
  transition: all 0.3s;
}

.form-input:focus {
  border-color: var(--secondary);
}

/* Modal Shells */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(10px);
  z-index: 300;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow-y: auto;
  padding: 1.5rem 1rem;
}

.modal-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.modal-card {
  width: 100%;
  max-width: 380px; /* Decreased from 480px/440px by 20% */
  background: var(--panel-bg-solid);
  border: 1px solid var(--panel-border);
  border-radius: var(--border-radius-md);
  padding: 1.6rem; /* Decreased from 2rem/2.25rem by 20% */
  position: relative;
  box-shadow: 0 20px 40px rgba(0,0,0,0.6);
  transform: scale(0.95);
  transition: transform 0.3s;
  margin: auto; /* Vertically and horizontally center in flexbox with scroll safety */
}

/* 20% Layout Decrease Overrides for Modal Content */
.modal-card h3 {
  font-size: 1.25rem !important;
}
.modal-card p {
  font-size: 0.8rem !important;
  margin-bottom: 1rem !important;
}
.modal-card .form-group {
  margin-bottom: 0.85rem !important;
}
.modal-card .form-input {
  padding: 0.6rem 0.85rem !important;
  font-weight: 400 !important;
  font-size: 0.88rem !important;
}
.modal-card .otp-box {
  width: 40px !important;
  height: 40px !important;
  font-size: 1.25rem !important;
}
.modal-card .btn {
  padding: 0.6rem 1.5rem !important;
  font-size: 0.88rem !important;
}

.modal-overlay.open .modal-card {
  transform: scale(1);
}

/* OTP login visual styles */
.otp-container {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  margin: 1.5rem 0;
}

.otp-box {
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--panel-border);
  border-radius: 8px;
  text-align: center;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-main);
  outline: none;
  transition: all 0.3s;
}

.otp-box:focus {
  border-color: var(--primary);
  box-shadow: 0 0 10px var(--primary-glow);
}

/* Active Bookings Layout */
.bookings-section {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.booking-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--panel-bg);
  border: 1px solid var(--panel-border);
  border-radius: var(--border-radius-md);
  padding: 1.5rem;
  gap: 1.5rem;
}

.booking-status {
  padding: 0.35rem 0.75rem;
  border-radius: 99px;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
}

.booking-status.pending {
  background: rgba(245, 158, 11, 0.1);
  color: var(--warning);
}

.booking-status.confirmed {
  background: rgba(59, 130, 246, 0.1);
  color: #3b82f6;
}

.booking-status.completed {
  background: rgba(16, 185, 129, 0.1);
  color: var(--success);
}

.booking-status.cancelled {
  background: rgba(239, 68, 68, 0.1);
  color: var(--danger);
}

/* Real-Time Chat System Layout */
.chat-layout {
  display: grid;
  grid-template-columns: 300px 1fr;
  height: calc(100vh - 225px);
  min-height: 400px;
  border-radius: var(--border-radius-md);
  overflow: hidden;
  border: 1px solid var(--panel-border);
}

.chat-sidebar {
  background: rgba(17, 24, 39, 0.8);
  border-right: 1px solid var(--panel-border);
  display: flex;
  flex-direction: column;
}

.chat-sidebar-header {
  padding: 1.25rem;
  border-bottom: 1px solid var(--panel-border);
  font-weight: 600;
}

.chats-list {
  flex: 1;
  overflow-y: auto;
}

.chat-user-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.25rem;
  cursor: pointer;
  border-bottom: 1px solid rgba(255, 255, 255, 0.02);
  transition: all 0.3s;
}

.chat-user-item:hover, .chat-user-item.active {
  background: rgba(255, 255, 255, 0.05);
}

.chat-user-item.active {
  border-left: 3px solid var(--secondary);
}

.chat-window {
  background: rgba(17, 24, 39, 0.4);
  display: flex;
  flex-direction: column;
  position: relative;
}

.chat-window-header {
  padding: 1.25rem;
  border-bottom: 1px solid var(--panel-border);
  background: rgba(17, 24, 39, 0.8);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.messages-area {
  flex: 1;
  overflow-y: auto;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.chat-bubble {
  max-width: 65%;
  padding: 0.85rem 1.25rem;
  border-radius: var(--border-radius-md);
  font-size: 0.92rem;
  line-height: 1.4;
  position: relative;
}

.chat-bubble.sent {
  align-self: flex-end;
  background: var(--primary);
  color: #fff;
  border-bottom-right-radius: 4px;
}

.chat-bubble.received {
  align-self: flex-start;
  background: rgba(255,255,255,0.06);
  color: var(--text-main);
  border-bottom-left-radius: 4px;
}

.chat-time {
  font-size: 0.7rem;
  color: var(--text-dimmed);
  margin-top: 0.35rem;
  text-align: right;
}

.chat-input-area {
  padding: 1.25rem;
  background: rgba(17, 24, 39, 0.8);
  border-top: 1px solid var(--panel-border);
  display: flex;
  gap: 1rem;
}

.chat-input {
  flex: 1;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--panel-border);
  border-radius: 99px;
  padding: 0.75rem 1.5rem;
  color: var(--text-main);
  outline: none;
}

.chat-input:focus {
  border-color: var(--secondary);
}

.chat-simulator-hint {
  font-size: 0.8rem;
  color: var(--text-dimmed);
  text-align: center;
  margin-top: 0.5rem;
  display: block;
}

/* Admin Dashboard Elements */
.admin-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.stat-card {
  padding: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.stat-num {
  font-size: 2rem;
  font-weight: 800;
  font-family: 'Outfit', sans-serif;
  margin-top: 0.25rem;
  color: var(--text-main);
}

.stat-label {
  color: var(--text-muted);
  font-size: 0.85rem;
}

.stat-icon {
  font-size: 2.25rem;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Two column split for Admin lists */
.admin-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

@media (max-width: 900px) {
  .admin-grid {
    grid-template-columns: 1fr;
  }
}

.admin-list-header {
  font-size: 1.25rem;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.kyc-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--panel-border);
  border-radius: var(--border-radius-sm);
  padding: 1rem 1.25rem;
  margin-bottom: 0.75rem;
}

.kyc-files-row {
  display: flex;
  gap: 1rem;
  margin-top: 0.5rem;
}

.kyc-doc-link {
  font-size: 0.8rem;
  color: var(--secondary);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.kyc-doc-link:hover {
  text-decoration: underline;
}

.payout-btn-group {
  display: flex;
  gap: 0.5rem;
}

/* Alert Notification Banner */
.notification-banner {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background: var(--panel-bg-solid);
  border-left: 4px solid var(--secondary);
  padding: 1rem 1.5rem;
  border-radius: 8px;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  transform: translateY(100px);
  opacity: 0;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  z-index: 400;
}

.notification-banner.show {
  transform: translateY(0);
  opacity: 1;
}

.role-switcher-banner {
  background: rgba(99, 102, 241, 0.1);
  border: 1px solid rgba(99, 102, 241, 0.2);
  border-radius: var(--border-radius-sm);
  padding: 0.75rem 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
}

.payment-sheet {
  border-radius: var(--border-radius-md);
  background: #1e1e2d;
  padding: 1.5rem;
  margin-top: 1rem;
  border: 1px solid rgba(255,255,255,0.05);
}

.credit-card-mock {
  background: linear-gradient(135deg, #2b2b45 0%, #151525 100%);
  border-radius: 12px;
  padding: 1.25rem;
  position: relative;
  margin-bottom: 1rem;
  border: 1px solid rgba(255,255,255,0.08);
}

/* Fix drop-down select option background contrast bug in modern browsers */
.form-input option, .filter-select option, select.form-input option {
  background-color: #111827 !important;
  color: #f9fafb !important;
}

/* ========================================================
   MOBILE RESPONSIVE OVERRIDES (UNDER 768PX)
   ======================================================== */
@media (max-width: 768px) {
  /* Header adjustments */
  header {
    padding: 0.75rem 1rem;
    gap: 0.5rem;
  }
  .nav-links {
    gap: 0.75rem;
  }
  .nav-item {
    padding: 0.4rem 0.6rem;
  }
  .nav-item span {
    display: none; /* Hide label text on mobile, show only icons */
  }
  .user-badge-details {
    display: none; /* Hide username/balance details, show avatar only */
  }
  .user-badge {
    padding: 0.35rem;
  }
  .logo span {
    display: none; /* Hide logo title on mobile */
  }

  /* Search & Hero adjustments */
  .hero h1 {
    font-size: 2rem;
  }
  .hero p {
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
  }
  .search-container {
    padding: 1rem;
    margin-bottom: 2rem;
  }
  .search-bar-row {
    flex-direction: column;
    gap: 0.75rem;
  }
  .search-input {
    border-radius: 12px;
    padding: 0.75rem 1rem 0.75rem 2.5rem;
  }
  .btn {
    width: 100%;
    justify-content: center;
    border-radius: 12px;
  }
  .filters-row {
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
  }
  .filter-select, .range-slider-wrapper {
    width: 100%;
    border-radius: 12px;
    justify-content: space-between;
  }
  .range-slider {
    width: 50%;
  }

  /* Grid listings */
  .providers-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
  .provider-card {
    padding: 1rem;
  }

  /* Bookings adjustments */
  .booking-card {
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
  }
  .payout-btn-group {
    width: 100%;
  }
  .payout-btn-group .btn {
    flex: 1;
  }

  /* Chat adjustments */
  .chat-layout {
    grid-template-columns: 1fr; /* Stack sidebar/feed on mobile */
  }
  .chat-sidebar {
    height: 180px; /* Short user list selector */
    border-right: none;
    border-bottom: 1px solid var(--panel-border);
  }
  .messages-area {
    padding: 1rem;
  }
  .chat-bubble {
    max-width: 85%;
  }

  /* Admin Dashboard */
  .admin-stats {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .admin-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  /* Drawer slider panel */
  .drawer {
    width: 100%;
    max-width: 100%;
    right: -100%;
  }
  .drawer.open {
    right: 0;
  }
  .drawer-content {
    padding: 1rem;
  }
}

/* ========================================================
   IMPRESSIVE LANDING PAGE & ADMIN SIDEBAR VISUAL SYSTEMS
   ======================================================== */

/* Hero Split Grid Section */
.hero-split-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 3rem;
  padding: 4.5rem 2rem;
  max-width: 1400px;
  margin: 0 auto;
  position: relative;
  min-height: 75vh;
}

.hero-text-content {
  text-align: left;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  z-index: 2;
}

.hero-text-content h1 {
  font-size: 3.5rem;
  line-height: 1.15;
  margin: 1rem 0 1.25rem 0;
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
}

.hero-text-content h1 span {
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-text-content p {
  font-size: 1.15rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 2rem;
}

.hero-glow-secondary {
  position: absolute;
  top: 30%;
  right: 15%;
  width: 350px;
  height: 350px;
  background: var(--secondary);
  filter: blur(160px);
  opacity: 0.08;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}

.launch-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(99, 102, 241, 0.1);
  border: 1px solid rgba(99, 102, 241, 0.2);
  color: var(--primary-hover);
  padding: 0.4rem 1rem;
  border-radius: 99px;
  width: fit-content;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.hero-action-buttons {
  display: flex;
  gap: 1rem;
  margin-bottom: 3rem;
}

.hero-action-buttons a {
  text-decoration: none;
}

/* Floating Hero Stats Box */
.hero-stats-row {
  display: flex;
  gap: 2.5rem;
  border-top: 1px solid var(--panel-border);
  padding-top: 2rem;
}

.hero-stat-box .num {
  font-family: 'Outfit', sans-serif;
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1;
}

.hero-stat-box .label {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-top: 0.4rem;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

/* Hero Illustration Container */
.hero-image-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  z-index: 2;
}

.illustration-frame {
  position: relative;
  border-radius: var(--border-radius-lg);
  padding: 0.75rem;
  background: linear-gradient(135deg, rgba(255,255,255,0.04) 0%, rgba(255,255,255,0.01) 100%);
  border: 1px solid var(--panel-border);
  box-shadow: var(--shadow-lg), 0 20px 40px rgba(0,0,0,0.5);
  animation: floatAnim 6s ease-in-out infinite;
  display: flex;
}

.hero-graphic {
  max-width: 100%;
  height: auto;
  border-radius: var(--border-radius-md);
  object-fit: cover;
  box-shadow: 0 10px 25px rgba(0,0,0,0.6);
}

.badge-float {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 1.25rem;
  border-radius: 99px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  background: rgba(17, 24, 39, 0.85);
  border: 1px solid var(--panel-border-hover);
  font-size: 0.85rem;
  font-weight: 600;
  box-shadow: var(--shadow-lg);
}

.badge-float.float-top {
  top: 1.5rem;
  right: -1.5rem;
  animation: floatAnim 6s ease-in-out infinite alternate;
}

.badge-float.float-bottom {
  bottom: 2rem;
  left: -2rem;
  animation: floatAnim 6s ease-in-out infinite alternate-reverse;
}

@keyframes floatAnim {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
  100% { transform: translateY(0px); }
}

/* Live matches activity ticker styling */
.ticker-section {
  display: flex;
  align-items: center;
  background: rgba(8, 11, 17, 0.9);
  border-top: 1px solid var(--panel-border);
  border-bottom: 1px solid var(--panel-border);
  padding: 0.75rem 2rem;
  overflow: hidden;
  max-width: 100%;
  margin-bottom: 4rem;
}

.ticker-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--gradient-button);
  color: var(--text-main);
  padding: 0.35rem 1rem;
  border-radius: 99px;
  font-size: 0.8rem;
  font-weight: 700;
  white-space: nowrap;
  margin-right: 2rem;
  box-shadow: var(--shadow-sm);
}

.ticker-wrapper {
  overflow: hidden;
  display: flex;
  align-items: center;
  flex: 1;
}

.ticker-content {
  display: flex;
  gap: 3.5rem;
  white-space: nowrap;
  animation: scrollTicker 35s linear infinite;
}

.ticker-item {
  color: var(--text-main);
  font-size: 0.88rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.ticker-item span {
  color: var(--text-dimmed);
  font-size: 0.75rem;
}

.ticker-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  display: inline-block;
}

.ticker-dot.green {
  background: var(--success);
  box-shadow: 0 0 8px var(--success-glow);
}

.ticker-dot.blue {
  background: var(--secondary);
  box-shadow: 0 0 8px var(--secondary-glow);
}

@keyframes scrollTicker {
  0% { transform: translate3d(0, 0, 0); }
  100% { transform: translate3d(-50%, 0, 0); }
}

/* Value Benefits Section */
.benefits-section, .workflow-section, .directory-explorer {
  padding: 4rem 2rem;
  max-width: 1400px;
  margin: 0 auto;
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
}

.section-title h2 {
  font-size: 2.25rem;
  margin-bottom: 0.5rem;
  font-family: 'Outfit', sans-serif;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-title p {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 550px;
  margin: 0 auto;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.benefit-card {
  text-align: left;
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
}

.benefit-card:hover {
  transform: translateY(-5px);
  border-color: var(--panel-border-hover);
  box-shadow: var(--shadow-lg), 0 0 20px rgba(255,255,255,0.02);
}

.benefit-icon-wrapper {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.25rem;
}

.benefit-icon-wrapper.cyan {
  background: rgba(6, 182, 212, 0.15);
  color: var(--secondary);
}

.benefit-icon-wrapper.indigo {
  background: rgba(99, 102, 241, 0.15);
  color: var(--primary-hover);
}

.benefit-icon-wrapper.emerald {
  background: rgba(16, 185, 129, 0.15);
  color: var(--success);
}

.benefit-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.benefit-card p {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Timeline Workflow Section */
.workflow-timeline {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2.5rem;
  position: relative;
  margin-top: 1rem;
}

.workflow-step {
  text-align: center;
  position: relative;
}

.step-num {
  width: 45px;
  height: 45px;
  background: var(--gradient-button);
  color: var(--text-main);
  font-weight: 700;
  font-size: 1.15rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem auto;
  box-shadow: 0 0 15px rgba(6, 182, 212, 0.35);
}

.workflow-step h4 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  color: var(--text-main);
}

.workflow-step p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* Premium Footer */
.app-footer {
  background: #05070a;
  border-top: 1px solid var(--panel-border);
  padding: 4.5rem 2rem 2rem 2rem;
  margin-top: 5rem;
}

.footer-grid {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid var(--panel-border);
}

.footer-links-group h4, .footer-newsletter h4 {
  font-size: 1rem;
  margin-bottom: 1.25rem;
  color: var(--text-main);
}

.footer-links-group a {
  display: block;
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  margin-bottom: 0.75rem;
  transition: color 0.3s;
}

.footer-links-group a:hover {
  color: var(--secondary);
}

.footer-bottom {
  max-width: 1400px;
  margin: 2rem auto 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
  color: var(--text-dimmed);
}

.footer-bottom a {
  color: var(--text-dimmed);
  font-size: 1rem;
  transition: color 0.3s;
}

.footer-bottom a:hover {
  color: var(--secondary);
}

/* Admin Dashboard layout overrides */
.admin-layout {
  display: flex;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
}

.admin-sidebar {
  width: 260px;
  background: var(--panel-bg-solid);
  border-right: 1px solid var(--panel-border);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100vh;
  flex-shrink: 0;
}

.admin-profile-card {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1.25rem;
  background: rgba(255,255,255,0.01);
  border-bottom: 1px solid var(--panel-border);
}

.admin-profile-info #header-username {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-main);
}

.admin-profile-info #role-text-display {
  font-size: 0.75rem;
  color: var(--warning);
}

.admin-nav {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 1rem;
}

.admin-nav-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
  border-radius: var(--border-radius-sm);
  transition: all 0.3s;
  cursor: pointer;
}

.admin-nav-item:hover, .admin-nav-item.active {
  color: var(--text-main);
  background: rgba(255, 255, 255, 0.05);
}

.admin-nav-item.active {
  color: var(--secondary);
  background: rgba(6, 182, 212, 0.08);
  border-left: 3px solid var(--secondary);
  border-radius: 0 4px 4px 0;
}

.admin-sidebar-footer {
  padding: 1.25rem;
  border-top: 1px solid var(--panel-border);
}

.admin-main {
  flex: 1;
  overflow-y: auto;
  padding: 2rem 3rem;
  height: 100vh;
}

.admin-top-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2.5rem;
  border-bottom: 1px solid var(--panel-border);
  padding-bottom: 1.5rem;
}

/* ========================================================
   RESPONSIVE DESIGN ADDITIONS
   ======================================================== */
@media (max-width: 992px) {
  .hero-split-grid {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 2.5rem 1.5rem;
  }
  .hero-text-content {
    text-align: center;
    align-items: center;
  }
  .hero-action-buttons {
    justify-content: center;
  }
  .hero-stats-row {
    justify-content: center;
  }
  .hero-image-visual {
    margin-top: 2rem;
  }
  .badge-float.float-top {
    right: 0;
  }
  .badge-float.float-bottom {
    left: 0;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
}

@media (max-width: 768px) {
  .hero-split-grid h1 {
    font-size: 2.5rem;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
  
  /* Collapsible Admin sidebar on mobile */
  .admin-layout {
    flex-direction: column;
  }
  .admin-sidebar {
    width: 100%;
    height: auto;
    border-right: none;
    border-bottom: 1px solid var(--panel-border);
  }
  .admin-profile-card {
    padding: 0.75rem 1rem;
  }
  .admin-nav {
    flex-direction: row;
    overflow-x: auto;
    padding: 0.5rem;
    gap: 0.25rem;
  }
  .admin-nav-item {
    padding: 0.5rem 0.75rem;
    white-space: nowrap;
  }
  .admin-nav-item span {
    display: none;
  }
  .admin-sidebar-footer {
    display: none;
  }
  .admin-main {
    padding: 1.5rem 1rem;
    height: calc(100vh - 120px);
  }
  .admin-top-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }
  .admin-top-header .btn {
    width: auto;
  }
  .drawer-content {
    padding: 1rem;
  }
}

/* ========================================================
   TRAVEL BLOGS & TRIP CARDS STYLING
   ======================================================== */
.blogs-section-landing {
  padding: 4rem 2rem;
  max-width: 1400px;
  margin: 0 auto;
}

.blogs-grid-landing {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.blog-card-landing {
  display: flex;
  flex-direction: column;
  height: 100%;
  border-radius: var(--border-radius-md);
  background: var(--gradient-card);
  border: 1px solid var(--panel-border);
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.blog-card-landing:hover {
  transform: translateY(-5px);
  border-color: var(--panel-border-hover);
  box-shadow: var(--shadow-lg), 0 0 15px rgba(255, 255, 255, 0.02);
}

.blog-card-image-wrapper {
  position: relative;
  width: 100%;
  height: 200px;
  overflow: hidden;
}

.blog-card-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.blog-card-landing:hover .blog-card-image {
  transform: scale(1.05);
}

.blog-card-location {
  position: absolute;
  bottom: 0.75rem;
  left: 0.75rem;
  background: rgba(17, 24, 39, 0.85);
  backdrop-filter: blur(8px);
  border: 1px solid var(--panel-border);
  color: var(--text-main);
  padding: 0.35rem 0.75rem;
  border-radius: 99px;
  font-size: 0.78rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.blog-card-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.blog-card-title {
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 0.75rem;
  color: var(--text-main);
}

.blog-card-content {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1.5rem;
  flex-grow: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--panel-border);
  padding-top: 1rem;
  font-size: 0.82rem;
  color: var(--text-dimmed);
}

.blog-card-author {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-weight: 500;
}

.blog-card-date {
  font-weight: 500;
}


