/*
Template Name: BusGo - Bus Booking Mobile App Template
Author: Askbootstrap
Author URI: https://themeforest.net/user/askbootstrap
Version: 0.1
*/

/* Body /
/ Scroll Bar /
/ Status bar styling /
/ App header /
/ Sidebar /
/ User profile /
/ Search card /
/ Section headers /
/ Route cards /
/ Offer cards /
/ Bottom navigation /
/ Form styling /
/ Scrollable horizontal sections /
/ Route visualization /
/ Page content /
/ Empty state /
/ List items /
/ Badge /
/ Action buttons /
/ Feature cards /
/ Stats card /
/ Payment methods /
/ Settings /
/ Notifications /
/ Help & Support /
/ Offers & Rewards /
/ Animations /
/ inline to main /
/ Text colors /
/ Font weights /
/ Icon sizes /
/ Authentication Pages Styles /
/ Bus Listing Styles /
/ Bus Details Styles /
/ Not Available Styles /
/ Select Seat Styles /
/ Verification Styles /
/ Payment Styles /
/ Success Page Styles */

@import url("https://fonts.googleapis.com/css2?family=Karla:wght@200;300;400;500;600;700;800&display=swap");

@import url("https://cdn.jsdelivr.net/npm/bootstrap-icons@1.10.3/font/bootstrap-icons.css");

/* Body */
:root {
  --primary-color: #4b6d41;
  --primary-light: #4b6d41;
  --secondary-color: #03dac6;
  --accent-color: #ff4081;
  --background: #f5f5f5;
  --background-light: #4b6d411a;
  --background-primary: #4b6d41;
  --background-primary-light: #4b6d416c;
  --surface: #ffffff;
  --error: #b00020;
  --text-primary: #212121;
  --text-secondary: #757575;
  --text-hint: #9e9e9e;
  --warning: rgb(255, 115, 0);
  --warning-light: rgba(255, 115, 0, 0.568);
  --success: #4b6d41;
  --success-light: #4b6d416c;
  --danger: rgb(255, 0, 0);
  --danger-light: rgb(255, 0, 0 , 0.568);
  --white: #ffffff;
  --gold: rgb(124 114 17);
  --black-blue: rgb(38 48 60);
  --dark-mode: #000000;
  --bs-secondary-bg: #d8d8d8 ;
  --text-hover: #000000;
  --card-background : #ededed;

   /* Step 0: 13px → 15px */
  --step-0: clamp(0.8125rem, 0.769rem + 0.2174vw, 0.9375rem);
  /* Step 1: 15.6px → 18.75px */
  --step-1: clamp(0.975rem, 0.9065rem + 0.3424vw, 1.1719rem);
  /* Step 2: 18.72px → 23.4375px */
  --step-2: clamp(1.17rem, 1.0674rem + 0.5128vw, 1.4648rem);
  /* Step 3: 22.464px → 29.2969px */
  --step-3: clamp(1.404rem, 1.2555rem + 0.7427vw, 1.8311rem);
  /* Step 4: 26.9568px → 36.6211px */
  --step-4: clamp(1.6848rem, 1.4747rem + 1.0505vw, 2.2888rem);
  /* Step 5: 32.3482px → 45.7764px */
  --step-5: clamp(2.0218rem, 1.7298rem + 1.4596vw, 2.861rem);
  /* Step 6: 38.8178px → 57.2205px */
  --step-6: clamp(2.4261rem, 2.0261rem + 2.0003vw, 3.5763rem);
  /* Step 7: 46.5814px → 71.5256px */
  --step-7: clamp(2.9113rem, 2.3691rem + 2.7113vw, 4.4703rem);
    /* Step 8: 9px → 12px */
  --step-8: clamp(0.5625rem, 0.4973rem + 0.3261vw, 0.75rem);
}

body.dark-mode {
  /* All custom properties must be defined again here */
  --primary-color: #4b6d41;
  --primary-light: #4b6d41;
  --secondary-color: #03dac6;
  --accent-color: #ff4081;
  --background: #292929;
  --background-light: #ffffff1a;
  --background-primary: #4b6d41;
  --surface: #1a1a1a; /* darkened surface */
  --error: #cf6679;
  --text-primary: #ffffff;
  --text-secondary: #333333;
  --text-hint: #9e9e9e;
  --warning: #ffa000;
  --success: #81c784;
  --danger: #ef5350;
  --dark-mode: #000000;
  --white: #ffffff;
  --text-hover: #ffffff;
  --card-background : #404040;
}

body {
  font-family: "karla", sans-serif !important;
  font-size: var(--step-0);
  background-color: var(--background);
  margin: 0 auto;
  position: relative;
  overflow-x: hidden;
  /* padding-bottom: 70px; Space for bottom nav */
  color: var(--text-primary);
}
h1{
  font-size: var(--step-6);
}
h2{
  font-size: var(--step-5);
}
h3{
  font-size: var(--step-4);
}
h4{
  font-size: var(--step-3);
}
h5{
  font-size: var(--step-2);
}
h6{
  font-size: var(--step-1);
}
p{
   font-size: var(--step-0);
}
a {
  text-decoration: none;
  color: var(--text-primary);
}

.small{
  font-size: var(--step-8);
}

.x-small{
  font-size: 9px;
}

.main{
  min-height: 85vh;
}

/* Scroll Bar */
::-webkit-scrollbar-button {
  width: 0;
  height: 0;
  display: none;
}
::-webkit-scrollbar-corner {
  background-color: transparent;
}
::-webkit-scrollbar-thumb {
  height: 6px;
  border: 4px solid transparent;
  background-clip: padding-box;
  -webkit-border-radius: 9px;
  border-radius: 9px;
  background-color: rgba(0, 0, 0, 0.15);
  -webkit-box-shadow: inset -1px -1px 0 rgba(0, 0, 0, 0.05),
    inset 1px 1px 0 rgba(0, 0, 0, 0.05);
  box-shadow: inset -1px -1px 0 rgba(0, 0, 0, 0.05),
    inset 1px 1px 0 rgba(0, 0, 0, 0.05);
}
::-webkit-scrollbar {
  width: 0px;
  height: 2px;
  background-color: #ffffff;
}
::-webkit-scrollbar-thumb {
  height: 50px;
  background: hsla(0, 0%, 53.3%, 0.4);
}

/* Status bar styling */
.status-bar {
  background: linear-gradient(
    90deg,
    var(--primary-color),
    var(--primary-light)
  );
  color: var(--white);
  padding: 4px 15px;
  font-size: 12px;
  display: flex;
  justify-content: space-between;
}

/* input */

.form-control:disabled{
  opacity: 0.7;
}

/* App header */
.app-header {
  background: linear-gradient(
    90deg,
    var(--primary-color),
    var(--primary-light)
  );
  padding: 15px;
  color: var(--white);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 100;
}

.app-header-icon {
  font-size: 20px;
}

.app-header-title {
  font-weight: 600;
}

.header-btn {
  color: var(--white);
  padding: 0;
}

.menu-btn {
  margin-right: 0.75rem;
  color: var(--white);
  padding: 0;
  line-height: 17px;
}

.menu-icon {
  font-size: 24px;
}

/* Sidebar */
.sidebar {
  position: fixed;
  top: 0;
  right: -350px;
  width: 350px;
  height: 100vh;
  background-color: var(--surface);
  z-index: 1001;
  transition: right 0.3s ease;
  box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
  overflow-y: auto;
}

@media screen and (max-width : 1200px) {
  .sidebar {
    width: 280px;
    right: -280px;
  }
}

.sidebar.active {
  right: 0;
}

.sidebar-header {
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--primary-light)
  );
  color: var(--white);
  padding: 20px;
}

.sidebar-menu {
  padding: 10px 0;
}

.sidebar-menu-item {
  padding: 7px 20px;
  display: flex;
  align-items: center;
  color: var(--text-primary);
  text-decoration: none;
  transition: background-color 0.2s;
  position: relative;
}

.sidebar-menu-item:hover {
  background-color: rgba(98, 0, 238, 0.05);
}

.sidebar-menu-item i {
  margin-right: 15px;
  font-size: 20px;
  color: var(--primary-color);
}

.sidebar-menu-item.active {
  background-color: var(--background-light);
  color: var(--primary-color);
  font-weight: 500;
}

.sidebar-menu-item.active::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background-color: var(--primary-color);
}

.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 1000;
  display: none;
}

.overlay.active {
  display: block;
}

/* User profile */
.user-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: var(--white);
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 24px;
  color: var(--primary-color);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  border: 2px solid var(--white);
}

.profile-edit-btn {
  background-color: rgba(255, 255, 255, 0.2);
  color: var(--white);
  border-radius: 9px !important;
}

.points-icon {
  color: #ffd700;
}

.signout-btn {
  width: 75%;
}

/* Search card */
.search-card {
  background-color: var(--surface);
  border-radius: 9px;
  margin: 15px;
  padding: 20px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.search-title {
  font-weight: 600;
  margin-bottom: 15px;
  color: var(--primary-color);
}

/* Section headers */
.section-header {
  padding: 0 15px;
  margin-top: 25px;
  margin-bottom: 15px;
  font-weight: 600;
  color: var(--primary-color);
  display: flex;
  align-items: center;
}

/* .section-header::before { */
  /* content: "";
  display: inline-block;
  width: 4px;
  height: 18px;
  background-color: var(--primary-color);
  margin-right: 8px;
  border-radius: 2px; */
/* } */


/* Route cards */
.route-card {
  background-color: var(--surface);
  border-radius: 9px;
  margin: 10px 15px;
  padding: 15px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  border-left: 7px solid var(--secondary-color);
  transition: transform 0.2s, box-shadow 0.2s;
}

.route-card:active {
  transform: scale(0.98);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
}

/* Offer cards */
.offer-card {
  background-color: var(--surface);
  border-radius: 9px;
  margin: 10px 15px;
  padding: 18px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  position: relative;
  overflow: hidden;
  border: none;
  transition: transform 0.2s;
}

.offer-card:active {
  transform: scale(0.98);
}

.offer-card::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 100px;
  height: 100px;
  background: linear-gradient(
    135deg,
    transparent 50%,
    rgba(255, 64, 129, 0.1) 50%
  );
  border-radius: 0 0 0 100px;
}

.offer-badge {
  position: absolute;
  top: 0;
  right: 0;
  background-color: var(--accent-color);
  color: var(--white);
  padding: 6px 12px;
  border-radius: 0 0 0 9px;
  font-size: 12px;
  font-weight: 600;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Bottom navigation */
.bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: var(--surface);
  display: flex;
  justify-content: space-around;
  padding: 12px 0 8px 0;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.08);
  max-width: 480px;
  margin: 0 auto;
  z-index: 1000;
  border-top-left-radius: 20px;
  border-top-right-radius: 20px;
}

.nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  color: var(--text-secondary);
  font-size: 11px;
  position: relative;
  transition: color 0.2s;
  text-decoration: none;
}

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

.nav-item i {
  font-size: 22px;
  margin-bottom: 4px;
}

.nav-item.active::after {
  content: "";
  position: absolute;
  bottom: -8px;
  width: 6px;
  height: 6px;
  background-color: var(--primary-color);
  border-radius: 50%;
}

/* Form styling */
.form-control,
.form-select {
  border-radius: 9px;
  border: 1px solid #e0e0e0;
  font-size: 14px;
  background-color: #f9f9f9;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.input-group-text {
  border-radius: 9px;
}

.form-control:focus,
.form-select:focus {
  border-color: var(--primary-light);
  box-shadow: 0 0 0 3px rgba(187, 134, 252, 0.2);
}

.form-label {
  font-size: var(--step-0);
  font-weight: 500;
  margin-bottom: 2px;
  color: var(--text-primary);
}

.btn-app {
  background: linear-gradient(
    90deg,
    var(--primary-color),
    var(--primary-light)
  );
  color: var(--white);
  border-radius: 9px;
  border: none;
  width: 100%;
  box-shadow: 0 4px 8px var(--background-light);
  transition: transform 0.2s, box-shadow 0.2s;
}
.btn-app:hover,
.btn-app:focus {
  color: var(--white) !important;
}
.btn-app:active {
  transform: translateY(2px);
  box-shadow: 0 2px 4px rgba(98, 0, 238, 0.2);
  color: var(--white);
}

/* Scrollable horizontal sections */
.scroll-container {
  display: flex;
  overflow-x: auto;
  padding: 5px 15px 20px 15px;
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE and Edge */
  scroll-snap-type: x mandatory;
}

.scroll-container::-webkit-scrollbar {
  display: none; /* Chrome, Safari, Opera */
}


@media screen and (min-width: 1200px) {
  .scroll-item {
    width: 300px !important;
  }
}

.scroll-item {
  flex: 0 0 auto;
  width: 160px;
  background: var(--surface);
  border-radius: 9px;
  margin-right: 12px;
  padding: 15px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(187, 134, 252, 0.1);
  scroll-snap-align: start;
  position: relative;
  overflow: hidden;
  border-left: 4px solid var(--primary-color);
}

/* .dark-mode .scroll-item{
  color: var(--dark-mode);
} */

/* .scroll-item::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(
    90deg,
    var(--secondary-color),
    var(--primary-light)
  );
  border-radius: 9px;
} */

/* Route visualization */
.route-visual {
  position: relative;
  padding-left: 19px;
  margin-bottom: 10px;
}

.route-point {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  position: absolute;
  left: 0;
}

.route-point.start {
  background-color: var(--primary-color);
  top: 0;
}

.route-point.end {
  background-color: var(--secondary-color);
  bottom: 0;
}

.route-line {
  position: absolute;
  left: 5px;
  top: 12px;
  bottom: 12px;
  width: 2px;
  background: linear-gradient(
    to bottom,
    var(--primary-color),
    var(--secondary-color)
  );
}

.route-cities {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 50px;
}

/* Page content */
.page-content {
  padding: 15px;
}

.page-title {
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 20px;
  color: var(--primary-color);
}

/* Empty state */
.empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.empty-state-icon {
  font-size: 60px;
  color: var(--primary-light);
  margin-bottom: 20px;
  opacity: 0.8;
}

.empty-state-text {
  color: var(--text-secondary);
  margin-bottom: 20px;
}

/* List items */
.list-item {
  background-color: var(--surface);
  border-radius: 9px;
  margin-bottom: 15px;
  padding: 15px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  transition: transform 0.2s;
}

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

/* Badge */
.status-badge {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 9px;
  font-size: 12px;
  font-weight: 500;
}

.status-badge.confirmed {
  background-color: rgba(3, 218, 198, 0.1);
  color: var(--secondary-color);
}

.status-badge.pending {
  background-color: rgba(255, 193, 7, 0.1);
  color: var(--warning);
}

.status-badge.completed {
  background-color: rgba(76, 175, 80, 0.1);
  color: var(--success);
}

.status-badge.cancelled {
  background-color: rgba(244, 67, 54, 0.1);
  color: var(--danger);
}

/* Action buttons */
.text-primary {
  color: rgb(98 0 239) !important;
}
.action-btn {
  border-radius: 9px;
  font-size: 14px;
}

.primary-action-btn {
  background-color: var(--primary-color);
  color: var(--white);
}

.primary-action-btn.border {
  border: 1px solid var(--white);
}

.primary-action-btn:hover,
.primary-action-btn:active {
  background-color: var(--white);
  color: var(--primary-color);
  box-shadow: 1px 1px 15px var(--white);
}

.primary-btn {
  background-color: var(--primary-color);
  color: var(--white);
}

.primary-btn:hover,
.primary-btn:active {
  background-color: var(--white);
  color: var(--primary-color);
  box-shadow: 1px 1px 15px var(--white);
  border: 1px solid var(--primary-color);
}

.secondary-action-btn.dropdown-toggle {
  background-color: #ffffff1a;
  color: var(--white);
}
.secondary-action-btn.dropdown-toggle:hover,.secondary-action-btn.dropdown-toggle:focus {
  background-color: #ffffff !important;
  color: var(--primary-color) !important;
}

.dark-mode .secondary-action-btn.dropdown-toggle {
  background-color: #ffffff1a;
  color: var(--white);
}
.dark-mode .secondary-action-btn.dropdown-toggle:hover,.secondary-action-btn.dropdown-toggle:focus {
  background-color: #ffffff !important;
  color: var(--primary-color) !important;
}

.dark-mode .btn-outline-danger{
  background-color: #ffffff1a ;
  color: var(--white);
}

.dark-mode .btn-outline-danger:hover{
  background-color: var(--danger) ;
}

.secondary-action-btn.switch::after{
  content: '';
  border: none;
}

.secondary-action-btn {
  background-color: var(--background-light);
  color: var(--primary-color);
}
.dark-mode .secondary-action-btn {
  background-color: var(--background-primary);
  color: var(--white);
}
.secondary-action-btn:hover,
.secondary-action-btn:focus {
  background-color: var(--primary-color) !important;
  color: var(--white) !important;
}

.tertiary-action-btn {
  background-color: rgba(3, 218, 198, 0.1);
  color: var(--secondary-color);
}

.danger-action-btn {
  background-color: rgba(244, 67, 54, 0.1);
  color: var(--danger);
}

.waiting-action-btn {
  background-color: var(--warning);
  color: var(--white);
  transition: all 0.3 ease-in-out;
}

.waiting-action-btn:hover {
  background-color: var(--warning-light);
  color: var(--white);
}
.cancel-action-btn {
  background-color: var(--danger);
  color: var(--white);
  transition: all 0.3 ease-in-out;
}

.cancel-action-btn:hover {
  background-color: var(--danger-light);
  color: var(--white);
}
.join-action-btn {
  background-color: var(--success);
  color: var(--white);
  transition: all 0.3 ease-in-out;
}

.join-action-btn:hover {
  background-color: hsla(106, 25%, 34%, 0.568);
  color: var(--white);
}
.btn .credit{
  margin-top: -5px;
  opacity: 0.7;
}

.dark-mode .session-btn{
  color: var(--dark-mode);
}
/* Feature cards */
.feature-card {
  border-radius: 9px;
  border: none;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  height: 100%;
}

.feature-icon-container {
  width: 50px;
  height: 50px;
  border-radius: 9px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto 10px auto;
}

.feature-icon-container.primary {
  background: linear-gradient(135deg, #bb86fc, #6200ee);
}

.feature-icon-container.secondary {
  background: linear-gradient(135deg, #03dac6, #018786);
}

.feature-icon-container.accent {
  background: linear-gradient(135deg, #ff4081, #c51162);
}

.feature-icon-container.warning {
  background: linear-gradient(135deg, #ffab40, #ff6d00);
}

.feature-icon {
  color: white;
  font-size: 24px;
}

.feature-title {
  font-size: 14px;
  margin-bottom: 0;
}

/* Stats card */
.stats-card {
  border-radius: 9px;
  border: none;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  margin-bottom: 20px;
}

.stat-value {
  font-size: 24px;
  font-weight: 600;
}

.stat-value.primary {
  color: var(--primary-color);
}

.stat-value.secondary {
  color: var(--secondary-color);
}

.stat-value.accent {
  color: var(--accent-color);
}

.stat-label {
  font-size: 12px;
  color: var(--text-secondary);
}

/* Payment methods */
.payment-method-card {
  background-color: var(--surface);
  border-radius: 9px;
  padding: 15px;
  margin-bottom: 15px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  position: relative;
}

.payment-card-logo {
  position: absolute;
  top: 15px;
  right: 15px;
  font-size: 24px;
}

.payment-card-number {
  font-size: 18px;
  letter-spacing: 2px;
  margin-top: 25px;
  margin-bottom: 15px;
}

.payment-card-details {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--text-secondary);
}

.payment-card-name {
  text-transform: uppercase;
  font-weight: 500;
}

.payment-card-expiry {
  font-weight: 500;
}

/* Settings */
.settings-section {
  margin-bottom: 25px;
}

.settings-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px;
  background-color: var(--surface);
  border-radius: 9px;
  margin-bottom: 10px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.settings-item-icon {
  width: 40px;
  height: 40px;
  border-radius: 9px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-right: 15px;
}

.settings-item-icon.primary {
  background-color: var(--background-light);
  color: var(--primary-color);
}

.settings-item-icon.secondary {
  background-color: rgba(3, 218, 198, 0.1);
  color: var(--secondary-color);
}

.settings-item-icon.accent {
  background-color: rgba(255, 64, 129, 0.1);
  color: var(--accent-color);
}

.settings-item-icon.warning {
  background-color: rgba(255, 193, 7, 0.1);
  color: var(--warning);
}

.settings-item-icon.danger {
  background-color: rgba(244, 67, 54, 0.1);
  color: var(--danger);
}

.settings-item-content {
  flex: 1;
}

.settings-item-title {
  font-weight: 500;
  margin-bottom: 2px;
  color: var(--text-primary);
}

.settings-item-description {
  font-size: 12px;
  color: var(--text-primary);
}

/* Notifications */
.notification-item {
  background-color: var(--surface);
  border-radius: 9px;
  padding: 15px;
  margin-bottom: 15px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  position: relative;
}

.notification-item.unread {
  border-left: 4px solid var(--primary-color);
}

.notification-icon {
  width: 40px;
  height: 40px;
  border-radius: 9px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-right: 15px;
}

.notification-icon.primary {
  background-color: var(--background-light);
  color: var(--primary-color);
}

.notification-icon.secondary {
  background-color: rgba(3, 218, 198, 0.1);
  color: var(--secondary-color);
}

.notification-icon.accent {
  background-color: rgba(255, 64, 129, 0.1);
  color: var(--accent-color);
}

.notification-icon.warning {
  background-color: rgba(255, 193, 7, 0.1);
  color: var(--warning);
}

.notification-content {
  flex: 1;
}

.notification-title {
  font-weight: 500;
  margin-bottom: 5px;
}

.notification-message {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 5px;
}

.notification-time {
  font-size: 12px;
  color: var(--text-hint);
}

/* Help & Support */
.help-category {
  background-color: var(--surface);
  border-radius: 9px;
  padding: 15px;
  margin-bottom: 15px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  transition: transform 0.2s;
}

.help-category:active {
  transform: scale(0.98);
}

.help-category-icon {
  width: 40px;
  height: 40px;
  border-radius: 9px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-right: 15px;
}

.help-category-icon.primary {
  background-color: var(--background-light);
  color: var(--primary-color);
}

.help-category-icon.secondary {
  background-color: rgba(3, 218, 198, 0.1);
  color: var(--secondary-color);
}

.help-category-icon.accent {
  background-color: rgba(255, 64, 129, 0.1);
  color: var(--accent-color);
}

.help-category-content {
  flex: 1;
}

.help-category-title {
  font-weight: 500;
  margin-bottom: 2px;
}

.help-category-description {
  font-size: 12px;
  color: var(--text-secondary);
}

.faq-item {
  background-color: var(--surface);
  border-radius: 9px;
  padding: 15px;
  margin-bottom: 10px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.faq-question {
  font-weight: 500;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.faq-answer {
  font-size: 14px;
  color: var(--text-secondary);
  padding-top: 10px;
  display: none;
}

.faq-answer.show {
  display: block;
}

/* Offers & Rewards */
.input-group .btn {
  border-radius: 9px;
}
.reward-card {
  background-color: var(--surface);
  border-radius: 9px;
  padding: 15px;
  margin-bottom: 15px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  position: relative;
  overflow: hidden;
}

.reward-card::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 80px;
  height: 80px;
  background: linear-gradient(
    135deg,
    transparent 50%,
    rgba(255, 64, 129, 0.05) 50%
  );
  border-radius: 0 0 0 80px;
}

.reward-icon {
  width: 50px;
  height: 50px;
  border-radius: 9px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-right: 15px;
}

.reward-icon.primary {
  background: linear-gradient(135deg, #bb86fc, #6200ee);
  color: var(--white);
}

.reward-icon.secondary {
  background: linear-gradient(135deg, #03dac6, #018786);
  color: var(--white);
}

.reward-icon.accent {
  background: linear-gradient(135deg, #ff4081, #c51162);
  color: var(--white);
}

.reward-icon.warning {
  background: linear-gradient(135deg, #ffab40, #ff6d00);
  color: var(--white);
}

.reward-content {
  flex: 1;
}

.reward-title {
  font-weight: 500;
  color: var(--primary-color);
  margin-bottom: 5px;
}

.reward-description {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 5px;
}

.reward-expiry {
  font-size: 11px;
  color: var(--accent-color);
  display: flex;
  align-items: center;
}

.reward-expiry i {
  margin-right: 5px;
}

.progress-container {
  height: 8px;
  background-color: var(--background-light);
  border-radius: 9px;
  margin: 15px 0;
  overflow: hidden;
}

.progress-bar {
  height: 100%;
  background: linear-gradient(
    90deg,
    var(--primary-color),
    var(--primary-light)
  );
  border-radius: 9px;
}

/* Animations */
@keyframes pulse {
  0% {
    transform: scale(0.95);
  }
  50% {
    transform: scale(1);
  }
  100% {
    transform: scale(0.95);
  }
}

.pulse-animation {
  animation: pulse 2s infinite;
}

/* inline to main */
.bg-primary-light {
  background-color: var(--background-light);
}

.btn-light-2 {
  background-color: var(--background-light);
  border-radius: 9px;
  color: var(--primary-color);
  font-size: 14px;
}
.btn-light-2:hover,
.btn-light-2:focus {
  background-color: var(--background-light) !important;
  color: var(--primary-color);
}
.btn-light-3 {
  background-color: rgba(3, 218, 198, 0.1);
  border-radius: 9px;
  color: var(--secondary-color);
  font-size: 14px;
}
.btn-light-3:hover,
.btn-light-3:focus {
  background-color: rgba(3, 218, 198, 0.1) !important;
  color: var(--secondary-color);
}
.position-rt {
  top: 10px;
  right: 10px;
  color: var(--text-secondary);
}

.icon-btn {
  width: 32px;
  height: 32px;
}
.icon-50 {
  width: 50px;
  height: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.gradient-1 {
  background: linear-gradient(135deg, #bb86fc, #6200ee);
}
.gradient-2 {
  background: linear-gradient(135deg, #03dac6, #018786);
}
.gradient-3 {
  background: linear-gradient(135deg, #ff4081, #c51162);
}
.gradient-4 {
  background: linear-gradient(135deg, #ffab40, #ff6d00);
}
.gradient-5 {
  background: linear-gradient(135deg, #6200ee, #bb86fc);
}
.gradient-6 {
  background: linear-gradient(135deg, #03dac6, #018786);
}
.fs-120 {
  font-size: 120px;
}
.scrollbar-osahan {
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.user-avatar-100 {
  width: 100px;
  height: 100px;
  font-size: 40px;
}

/* Text colors */
.bg-primary-color {
  background-color: var(--primary-color);
}
.text-primary-color {
  color: var(--primary-color);
}

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

.text-accent-color {
  color: var(--accent-color);
}

.text-muted {
  color: var(--text-primary) !important;
}

.text-hint {
  color: var(--text-hint);
}

/* Font weights */
.fw-semibold {
  font-weight: 600;
}

/* Icon sizes */
.fs-11 {
  font-size: 11px;
}
.fs-12 {
  font-size: 12px;
}
.fs-14 {
  font-size: 14px;
}
.fs-24 {
  font-size: 24px;
}
.icon-sm {
  font-size: 14px;
}

.icon-md {
  font-size: 18px;
}

.icon-lg {
  font-size: 24px;
}

/* Authentication Pages Styles */
.auth-container {
  max-width: 100%;
  width: 50%;
  padding: 20px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 92vh;
}

@media screen and (max-width:1190px) {
  .auth-container {
    width:100%;
  }
}

.app-logo {
  width: 150px;
}

@media screen and (max-width: 600px) {
  .app-logo {
    width: 100px;
  }
}

.auth-form {
  width: 100%;
}

.back-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-color);
}

.social-btn {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: #f5f5f5;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: var(--text-color);
  border: none;
}

.social-btn:hover {
  background-color: #e9e9e9;
}

.strength-bar {
  height: 4px;
  flex: 1;
  background-color: #e9e9e9;
  border-radius: 2px;
}

.strength-bar.active {
  background-color: var(--primary-color);
}

.success-icon {
  width: 80px;
  height: 80px;
  background-color: rgba(var(--primary-color-rgb), 0.1);
  color: var(--primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 40px;
  margin: 0 auto;
}

/* Additions for bus listing, details, and booking pages */

/* Bus Listing Styles */
.bus-item {
  display: block;
  text-decoration: none;
  color: inherit;
  margin-bottom: 16px;
}

.session-type .bus-item{
  margin-bottom: 0;
}

.bus-card {
  background-color: var(--surface);
  border-radius: 9px;
  padding: 16px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  border-left: 7px solid var(--secondary-color);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.bus-item:hover .bus-card {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.journey-lined {
  position: relative;
  height: 5px;
  background-color: var(--background-light);
}

.journey-lined .spend-line{
  position: absolute;
  height: 5px;
  width: 0;
  left: 0;
  top: 0;
  z-index: 1;
  border-radius: 50px;
  background-color: var(--primary-color);
  transition: width 1s ease-in-out;
}

.journey-lined::before,
.journey-lined::after {
  content: "";
  position: absolute;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  z-index: 2;
  background-color: var(--primary-color);
  top: 50%;
  transform: translateY(-50%);
}

.journey-lined::before {
  left: -0.1rem;
}

.journey-lined::after {
  right: -0.1rem;
}

.amenity-badge {
  display: inline-block;
  padding: 4px 0px 4px 2px;
  border-radius: 9px;
  background-color: var(--light-color);
  font-size: 12px;
  color: var(--text-color);
  margin-right: 4px;
}

.amenity-badge i {
  font-size: 10px;
  margin-right: 2px;
}

/* Bus Details Styles */
.bus-header {
  height: 200px;
  overflow: hidden;
  border-radius: 9px;
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0));
}

.btn-circle {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.rating-badge {
  background-color: var();
  border-radius: 9px;
  padding: 4px 8px;
  font-size: 14px;
  font-weight: 500;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.journey-stops {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.departure-stop,
.arrival-stop {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: var(--primary-color);
  position: relative;
}

.departure-stop {
  margin-top: 6px;
}

.arrival-stop {
  margin-bottom: 6px;
}

.journey-line {
  width: 2px;
  height: 40px;
  background-color: var(--primary-color);
  opacity: 0.5;
  margin: 4px 0;
}

.amenity-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background-color: var(--surface);
  border-radius: 9px;
  padding: 12px;
  min-width: 70px;
  text-align: center;
}

.amenity-item i {
  font-size: 20px;
  margin-bottom: 6px;
  color: var(--primary-color);
}

.amenity-item span {
  font-size: 12px;
}

.bus-photo-thumb {
  width: 120px;
  height: 80px;
  object-fit: cover;
  flex-shrink: 0;
}

.pickup-radio,
.dropoff-radio {
  width: 20px;
}

.cancellation-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.review-item {
  border-left: 3px solid var(--primary-color);
  background-color: var(--surface);
}

.avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: #ddd;
}

.bottom-fixed-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: var();
  padding: 16px;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
  z-index: 100;
}

/* Not Available Styles */
.empty-state-icon {
  font-size: 60px;
  color: var(--primary-color);
  opacity: 0.5;
}

.date-suggestion-item {
  text-decoration: none;
  color: inherit;
  background-color: var();
  border-radius: 9px;
  padding: 12px;
  text-align: center;
  min-width: 80px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.date-day {
  font-size: 18px;
  font-weight: bold;
}

.date-month {
  font-size: 12px;
  color: var(--text-muted);
}

.date-price {
  font-size: 14px;
  color: var(--primary-color);
  font-weight: 500;
  margin-top: 4px;
}

.route-suggestion-item {
  display: block;
  text-decoration: none;
  color: inherit;
  background-color: var();
  border-radius: 9px;
  padding: 12px;
  margin-bottom: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.route-cities {
  font-weight: 500;
}

.route-price {
  color: var(--primary-color);
  font-weight: 500;
  text-align: right;
}

/* Select Seat Styles */
.bus-icon i {
  font-size: 24px;
  color: var(--primary-color);
}

.seat-deck-selector {
  font-size: 14px;
}

.steering-wheel i {
  font-size: 28px;
  color: #888;
}

.door-text {
  border: 1px dashed #888;
  padding: 5px 11px;
  border-radius: 9px;
}

.seats-grid {
  padding: 10px;
}

.seat-row {
  width: 100%;
}

.seat {
  width: 40px;
  height: 40px;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
}

.seat.available {
  background-color: #ffffff;
  border: 1px solid #ddd;
  color: #333;
}

.seat.selected {
  background-color: var(--primary-color);
  color: var(--white);
  border: 1px solid var(--primary-color);
}

.seat.booked {
  background-color: var(--surface);
  color: #aaa;
  cursor: not-allowed;
  border: 1px solid #eee;
}

.seat-gap {
  width: 80px;
}

.legend-dot {
  width: 14px;
  height: 14px;
  border-radius: 9px;
  margin-right: 6px;
}

.legend-dot.available {
  background-color: #ffffff;
  border: 1px solid #ddd;
}

.legend-dot.selected {
  background-color: var(--primary-color);
}

.legend-dot.booked {
  background-color: var(--surface);
  border: 1px solid #eee;
}

.seat-number {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  background-color: var(--primary-color);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
}

/* Verification Styles */
.booking-progress {
  position: relative;
}

.progress-step {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.step-dot {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background-color: var(--surface);
  border: 2px solid #ddd;
  margin-bottom: 4px;
}

.progress-connector {
  height: 2px;
  background-color: #ddd;
  flex-grow: 1;
  margin-top: 12px;
  z-index: 1;
}

.progress-step.active .step-dot {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
}

.progress-step.completed .step-dot {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
}

.progress-connector.completed {
  background-color: var(--primary-color);
}

.seat-tag {
  background-color: var(--primary-color);
  color: var(--white);
  border-radius: 9px;
  padding: 2px 8px;
  font-size: 12px;
  font-weight: 500;
}

/* Payment Styles */
.saved-card-option,
.payment-option {
  padding: 10px;
  border: 1px solid #eee;
  border-radius: 9px;
  margin-bottom: 8px;
}

.saved-card-option:hover,
.payment-option:hover {
  border-color: var(--primary-color);
  background-color: rgba(var(--primary-color-rgb), 0.05);
}

.card-icon,
.payment-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 9px;
  background-color: var(--surface);
  color: var(--text-color);
  font-size: 18px;
}

/* Success Page Styles */
.success-icon {
  font-size: 72px;
  color: var(--primary-color);
  margin-bottom: 20px;
}

.booking-card,
.trip-card {
  border-left: 4px solid var(--primary-color);
}

.additional-info {
  border-left: 3px solid var(--primary-color);
}

.social-share a {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}


#sessionTabs{
  overflow-x: auto;
  flex-wrap: nowrap;
 padding: 0.5rem;
}

#sessionTabs .nav-link{
  width: 60px;
  font-size: var(--step-0);
  border-width: 1px; /* top right bottom left */
  border-style: solid;
  border-color: var(--primary-color);
  color: var(--primary-color);
  margin-right: 0.2rem;
  border-radius: 0;
}

#sessionTabs .nav-link.active{
  background-color: var(--primary-color);
  color: var(--white);
}

#sessionTabs .month-tab{
  min-height: 65px;
  height: 100%;
  display: flex;
  align-items: center;
  padding: 5px;
}

.progress{
  width: 50%;
}

.modal{
  background-color: #0000002a;
}
.dark-mode .modal{
  background-color: #ffffff2a;
}

.modal.success .modal-content{
  border: 1px solid var(--success);
  color: var(--white);
  background-color: var(--success-light);
}

.modal.error .modal-content{
  border: 1px solid var(--danger);
  color: var(--white);
  background-color: var(--danger-light);
}

.modal-content{
  border-radius: 25px;
  background-color: var(--surface);
}

.modal .modal-header{
  border: none !important;
}

.otp-field input{
  width: 30px;
  height: 50px;
  text-align: center;
  border-radius: 10px;
}

a:hover {
  color: var(--text-hover);
}

.sessions-card {
  background-color:var(--card-background);
  font-size: xx-small;
  color: var(--text-hover);
}

.pagination .page-link{
  background-color: var(--surface);
  border-color:var(--dark-mode);
  color:var(--dark-mode);
}

.dark-mode .pagination .page-link{
   color:var(--white);
}

.pagination .page-item.active .page-link{
  background-color: var(--primary-color);
  border-color:var(--primary-color);
}

.modal .modal-header{
  position: relative;
}

.modal .btn-close{
  position: absolute;
  right: 1.5rem;
  top: 1rem;
  background: unset;
}

.dark-mode .btn-close{
  color: var(--white);
  font-weight: 700;
  font-size: 12px;
}

.language{
  cursor: pointer;
}

.dropdown-language{
  position: absolute;
  right: 1rem;
  bottom: 1rem;
}

.dropdown-language ul{
  margin: 0;
  list-style: none;
  padding: 0;
  border-radius: 10px;
  background-color: var(--white);
  color: var( --dark-mode);
}

.dropdown-language ul li:first-child:hover {
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
}

.dropdown-language ul li:last-child:hover {
  border-bottom-left-radius: 10px;
  border-bottom-right-radius: 10px;
}
.dropdown-language ul li{
 padding: 0.5rem 1rem;
 cursor: pointer;
}

.dropdown-language ul li:hover{
  background-color: var(--bs-secondary-bg);
}

.dropdown-menu {
    white-space: normal;
    word-wrap: break-word;
    max-width: 300px;
}
.dropdown-menu .dropdown-item {
    white-space: normal;
    width: 296px;
}