:root {
  --primary: #2dd4bf;
  --primary-hover: #14b8a6;
  --dark: #1f2937;
  --gray: #6b7280;
  --light-bg: #f9fafb;
  --white: #ffffff;
  --border: #e5e7eb;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Inter", sans-serif;
}

body {
  background-color: var(--white);
  color: var(--dark);
  line-height: 1.6;
}

/* --- NAVIGATION --- */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.2rem 5%;
  background: var(--white);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
}
.logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-hover);
  display: flex;
  align-items: center;
  gap: 10px;
}
.nav-links {
  display: flex;
  list-style: none;
  gap: 30px;
}
.nav-links a {
  text-decoration: none;
  color: var(--gray);
  font-weight: 500;
  transition: color 0.3s;
  cursor: pointer;
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--dark);
}



.btn-signin {
  padding: 8px 20px;
  border: 1px solid var(--border);
  background: transparent;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s;
}
.btn-signin:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.nav-avatar {
  width: 35px;
  height: 35px;
  background: #e0f2fe;
  color: #0284c7;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
}

/* --- HOME HERO & SECTIONS (Existing Styles) --- */
.hero {
  text-align: center;
  padding: 80px 20px;
  max-width: 900px;
  margin: 0 auto;
}
.hero h1 {
  font-size: 3.5rem;
  line-height: 1.2;
  margin-bottom: 20px;
  color: var(--dark);
}
.hero .highlight {
  color: #3b82f6;
}
.hero p {
  color: var(--gray);
  font-size: 1.2rem;
  margin-bottom: 40px;
}
.hero-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.btn-primary {
  background: linear-gradient(to right, #3b82f6, #2dd4bf);
  color: white;
  border: none;
  padding: 12px 30px;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: transform 0.2s;
}
.btn-outline {
  background: white;
  border: 2px solid var(--border);
  color: var(--dark);
  padding: 12px 30px;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 10px;
}
.btn-primary:hover {
  transform: translateY(-2px);
}
.btn-outline:hover {
  border-color: var(--primary);
}

/* Features, How it Works, Stats, Testimonials */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  padding: 40px 10%;
  margin-bottom: 60px;
}
.feature-card {
  background: white;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  text-align: left;
  transition: transform 0.3s;
}
.icon-box {
  width: 50px;
  height: 50px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 20px;
}
.icon-box.red {
  background: #fee2e2;
  color: #ef4444;
}
.icon-box.green {
  background: #dcfce7;
  color: #22c55e;
}
.icon-box.blue {
  background: #dbeafe;
  color: #3b82f6;
}

.how-it-works {
  text-align: center;
  padding: 80px 10%;
  background: var(--white);
}
.subtitle {
  color: var(--gray);
  margin-bottom: 50px;
}
.steps-container {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}
.step {
  flex: 1;
  min-width: 250px;
}
.step-number {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #3b82f6, #2dd4bf);
  color: white;
  font-size: 1.5rem;
  font-weight: bold;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.stats {
  background: linear-gradient(to right, #3b82f6, #2dd4bf);
  padding: 60px 10%;
  display: flex;
  justify-content: space-around;
  color: white;
  flex-wrap: wrap;
  gap: 20px;
}
.stat-item {
  text-align: center;
}
.stat-item h2 {
  font-size: 2.5rem;
  margin-bottom: 5px;
}

.testimonials {
  padding: 80px 10%;
  text-align: center;
}
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}
.testi-card {
  background: white;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  text-align: left;
  border: 1px solid var(--border);
}
.stars {
  color: #facc15;
  margin-bottom: 15px;
}
.user-info {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-top: 20px;
}
.avatar {
  width: 40px;
  height: 40px;
  background: #e5e7eb;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  color: var(--gray);
}

.cta-footer {
  text-align: center;
  padding: 80px 20px;
  background: #f8fafc;
}
.cta-footer h2 {
  font-size: 2rem;
  margin-bottom: 10px;
}
.cta-footer p {
  color: var(--gray);
  margin-bottom: 30px;
}
.cta-footer .btn-primary {
  margin: 0 auto;
  display: inline-flex;
}

/* Safety Page */
.safety-container {
  padding: 60px 10%;
  text-align: center;
}
.safety-header {
  margin-bottom: 60px;
}
.safety-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-bottom: 80px;
}
.safety-card {
  background: white;
  padding: 30px;
  border-radius: 12px;
  border: 1px solid var(--border);
  transition: transform 0.3s;
}
.safety-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}
.icon-circle {
  width: 60px;
  height: 60px;
  background: #ccfbf1;
  color: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin: 0 auto 20px;
}
.tips-section {
  background: white;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 40px;
  text-align: left;
}
.tips-grid {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
  margin-bottom: 30px;
}
.tip-column,
.tip-full {
  flex: 1;
}
.tips-section ul {
  list-style: none;
}
.tips-section ul li {
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--gray);
}
.tips-section ul li i {
  color: #22c55e;
}

/* Login Page */
.auth-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 80vh;
  padding: 40px 20px;
  background: #f3f4f6;
}
.auth-card {
  background: white;
  width: 100%;
  max-width: 450px;
  padding: 40px;
  border-radius: 16px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
  text-align: center;
}
.auth-icon {
  width: 50px;
  height: 50px;
  background: #ccfbf1;
  color: var(--primary);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin: 0 auto 20px;
}
.input-group {
  text-align: left;
  margin-bottom: 20px;
}
.input-group label {
  display: block;
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 8px;
}
.input-group input,
.input-group select {
  width: 100%;
  padding: 12px;
  border: 1px solid var(--border);
  border-radius: 8px;
  outline: none;
  transition: border 0.3s;
}
.input-group input:focus {
  border-color: var(--primary);
}
.btn-block {
  width: 100%;
  background: var(--primary);
  color: white;
  padding: 14px;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  margin-bottom: 20px;
}
.social-login {
  display: flex;
  gap: 10px;
}
.btn-social {
  flex: 1;
  padding: 10px;
  border: 1px solid var(--border);
  background: white;
  border-radius: 8px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 500;
}
.login-options {
  display: flex;
  justify-content: space-between;
  margin-bottom: 20px;
  font-size: 0.9rem;
}
.checkbox-group {
  display: flex;
  align-items: center;
  gap: 5px;
}

/* --- DASHBOARD STYLES (NEW) --- */
.dashboard-container {
  padding: 40px 5%;
  background: #f9fafb;
  min-height: 100vh;
}
.dash-header {
  margin-bottom: 30px;
}
.dash-header h1 {
  font-size: 2rem;
  color: var(--dark);
}
.dash-header p {
  color: var(--gray);
}

/* Stats Row */
.stats-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-bottom: 30px;
}
.dash-stat-card {
  background: white;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
  display: flex;
  justify-content: space-between;
  align-items: center;
  border: 1px solid var(--border);
}
.stat-info span {
  color: var(--gray);
  font-size: 0.9rem;
}
.stat-info h3 {
  font-size: 1.5rem;
  color: var(--dark);
  margin-top: 5px;
}
.stat-icon {
  width: 45px;
  height: 45px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}
.stat-icon.red {
  background: #fee2e2;
  color: #ef4444;
}
.stat-icon.green {
  background: #dcfce7;
  color: #16a34a;
}
.stat-icon.yellow {
  background: #fef9c3;
  color: #ca8a04;
}

/* Dashboard Grid */
.dashboard-grid {
  display: grid;
  grid-template-columns: 2.5fr 1fr;
  gap: 30px;
}
@media (max-width: 900px) {
  .dashboard-grid {
    grid-template-columns: 1fr;
  }
}

/* Main Content Area */
.dash-main {
  background: transparent;
}
.dash-tabs {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  margin-bottom: 20px;
  padding-bottom: 5px;
  border-bottom: 1px solid var(--border);
}
.tab-btn {
  background: none;
  border: none;
  padding: 10px 15px;
  color: var(--gray);
  font-weight: 600;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}
.tab-btn:hover {
  color: var(--dark);
}
.tab-btn.active {
  color: var(--primary);
  border-bottom-color: var(--primary);
}

.dash-content {
  background: white;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
  border: 1px solid var(--border);
  animation: fadeIn 0.3s ease;
}
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Sidebar */
.sidebar-card {
  background: white;
  padding: 20px;
  border-radius: 12px;
  border: 1px solid var(--border);
  margin-bottom: 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}
.sidebar-card h3 {
  font-size: 1.1rem;
  margin-bottom: 15px;
}
.profile-header {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 15px;
}
.avatar-large {
  width: 50px;
  height: 50px;
  background: #e0f2fe;
  color: #0284c7;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: bold;
}
.rating-stars {
  font-size: 0.9rem;
  color: #ca8a04;
}
.verify-box {
  background: #fef9c3;
  padding: 15px;
  border-radius: 8px;
  font-size: 0.85rem;
  border: 1px solid #fde047;
}
.verify-box a {
  color: #854d0e;
  font-weight: 600;
  text-decoration: none;
  display: block;
  margin-top: 5px;
}

.btn-sidebar-primary {
  width: 100%;
  background: #3b82f6;
  color: white;
  border: none;
  padding: 10px;
  border-radius: 6px;
  font-weight: 600;
  margin-bottom: 10px;
  cursor: pointer;
}
.btn-sidebar-outline {
  width: 100%;
  background: white;
  border: 1px solid var(--border);
  padding: 10px;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

/* Ride Cards */
.ride-card,
.mini-ride {
  border: 1px solid var(--border);
  padding: 15px;
  border-radius: 8px;
  margin-bottom: 15px;
}
.ride-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
}
.badge {
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: bold;
}
.badge.blue {
  background: #dbeafe;
  color: #1e40af;
}
.badge.green {
  background: #dcfce7;
  color: #166534;
}
.ride-price,
.price {
  font-weight: bold;
  color: var(--primary-hover);
}
.ride-meta {
  display: flex;
  gap: 15px;
  font-size: 0.85rem;
  color: var(--gray);
  margin-top: 10px;
}
.mini-ride h4 {
  font-size: 0.95rem;
  margin-bottom: 5px;
}
.mini-ride p {
  font-size: 0.8rem;
  color: var(--gray);
  margin-bottom: 10px;
}
.mini-tags {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Activity & Wallet */
.activity-item,
.trans-item {
  display: flex;
  gap: 15px;
  padding: 15px 0;
  border-bottom: 1px solid #f3f4f6;
}
.act-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.act-icon.blue {
  background: #eff6ff;
  color: #3b82f6;
}
.act-icon.green {
  background: #f0fdf4;
  color: #22c55e;
}
.act-details h4,
.trans-item h4 {
  font-size: 0.95rem;
  font-weight: 600;
}
.act-details p,
.trans-item p {
  font-size: 0.85rem;
  color: var(--gray);
}
.wallet-balance {
  background: linear-gradient(135deg, #3b82f6, #2dd4bf);
  padding: 20px;
  border-radius: 12px;
  color: white;
  margin-bottom: 20px;
}
.amount.positive {
  color: #16a34a;
  font-weight: bold;
}
.amount.negative {
  color: #dc2626;
  font-weight: bold;
}

/* Form grid */
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
