* {
  font-family: 'Open Sans';
}

@media only screen and (min-width: 750px) {
  body {
    font-family: 'Open Sans', sans-serif;
    /* Replace with your Open Sans font */
    text-align: center;
    width: 360px;
    /* Typical mobile screen width */
    margin: auto;
    border: 1px solid #fff;
    border-radius: 10px;
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.8);
    font-size: 14px;
    padding: 20px;
  }

  /* .body-tripinfo {
    padding: 20px;
  } */
}

@media only screen and (max-width: 750px) {
  body {
    font-family: 'Open Sans', sans-serif;
    /* Replace with your Open Sans font */
    text-align: center;
    margin: auto;
    /* Center the content */

  }

  /* .body-tripinfo {
    padding: 10px;
  } */
}

/* .row>*{
      padding: 0px;
    } */



.sub-header {
  background-color: #222156;
  padding: 20px 30px;
  border-radius: 10px;
}

.headline {
  color: white;
  text-transform: uppercase;
  margin-bottom: 0px;
}

.headline-sub1 {
  color: white;
  text-transform: capitalize;
  margin-bottom: 0px;
  font-size: 8px;
}

.headline-sub2 {
  color: white;
  text-transform: capitalize;
  /* margin-bottom: 0px; */
  font-size: 6px;
}

.content {
  display: flex;
  align-items: center;
  gap: 5px;
  /* Adjust spacing between components */
}

.component-wrapper {
  display: flex;
  align-items: center;
  gap: 2px;
  /* Adjust spacing between 1, ×, and ₹10 */
}

.quantity,
.multiply-symbol,
.price,
.rupee-sympol {
  display: inline-block;
}



.details {
  display: flex;
  justify-content: space-between;
  width: 100%;
  margin-top: 0px;
  /* Adjust spacing as needed */
}

.details .left {
  flex: 1;
  text-align: left;
}

.details .right {
  flex: 1;
  text-align: right;
}

.details .center {
  flex: 2;
  text-align: center;
}

.route {
  font-weight: bold;
  font-size: 12px;
  color: #fff;

}

.ticket {
  margin-top: 0px;
  /* Adjust spacing as needed */
}

.total {
  font-weight: bold;
  font-size: 20px;
  margin-top: 0px;
  text-align: right;
  color: #fff;
  /* Adjust spacing as needed */
}

.total-fare {
  font-weight: bold;
  font-size: 20px;
  margin-top: 0px;
  text-align: left;
  color: #fff;
  /* Adjust spacing as needed */
}

.discount-fare {
  font-weight: bold;
  font-size: 16px;
  margin-top: 0px;
  text-align: left;
  color: #000;

}


.bottom-sec {
  display: flex;
  justify-content: space-between;
  width: 100%;
  margin-top: 0px;
  background-color: #222156;
  padding: 20px 30px;
  border-radius: 10px;
  margin-bottom: 20px;

}

.bottom-sec .left {
  flex: 1;
  text-align: left;

}

.bottom-sec .right {
  flex: 1;
  text-align: right;

}

.bottom-sec .center {
  flex: 1;
  text-align: center;

}


/* rating and comment start */


.rating-comment-container {
  max-width: 400px;
  margin: 0 auto;
  background: #fff;
  padding: 20px;
  /* border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); */
}

h6 {
  margin-bottom: 10px;
  color: #333;
  font-weight: bold;
}

h4 {
  margin-bottom: 10px;
  color: #333;
  font-weight: bold;
}



.stars {
  display: flex;
  gap: 5px;
  justify-content: center;
  margin-bottom: 20px;
}

.star {
  font-size: 50px;
  color: #ccc;
  cursor: pointer;
}

.star:hover,
.star.active {
  color: #ffcc00;
}

textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 4px;
  margin-bottom: 10px;
  resize: none;
  height: 60px;
}

button {
  background-color: #04a8b0;
  color: #222156;
  border: none;
  padding: 10px 15px;
  border-radius: 4px;
  cursor: pointer;
  margin: 0px 5px;
  font-weight: bold;
}

/* button:hover {
    background-color: #222156;
    color: #04a8b0;
  } */

/* rating and comment end */

/* popup */

.popup-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.popup-content {
  background-color: #fff;
  padding: 20px;
  border-radius: 10px;
  text-align: center;
  width: 300px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.popup-content h2 {
  margin-bottom: 20px;
}

.popup-content input {
  width: 100%;
  padding: 10px;
  margin: 10px 0;
  border: 1px solid #ccc;
  border-radius: 5px;
}

.popup-content button {
  background-color: #222156;
  color: #fff;
  border: none;
  padding: 10px 20px;
  border-radius: 5px;
  cursor: pointer;
}

.popup-content button:hover {
  background-color: #222156;
}

.close-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 30px;
  cursor: pointer;
  color: #000;
}

.btn-otp {
  color: #fff;
  background-color: #222156;
  border: none;
  padding: 10px 15px;
  border-radius: 4px;
  cursor: pointer;
  margin: 0px 5px;
  font-weight: bold;
}




/* Home page start */

.body-home {
  max-width: 450px;
  margin: 0 auto;
  font-family: Arial, sans-serif;
  background-color: #f8f9fa;
}

.tab-section {
  background-color: #222156;
  overflow-x: auto;
  overflow-y: hidden;
  white-space: nowrap;
}

.tab-section .nav-tabs {
  padding: 0; 
  margin: 0; 
  width: 97%; 
  display: flex;
  justify-content: space-between;
  border: none;

}

.tab-section .nav-link {
  color: white;
  /* border: none; */
  padding: 10px 0px;
  text-align: center;
  flex: 1;
  /* min-width: 120px; */
  transition: background-color 0.3s ease;
}

.tab-section .nav-link.active {
  background-color: #04a8b0;
  color: #222156;
  width: 108%;
}

.tab-section .nav-link:hover {
  background-color: #04a8b0;
}

/* Custom scrollbar for small screens */
.tab-section::-webkit-scrollbar {
  height: 5px;
}

.tab-section::-webkit-scrollbar-thumb {
  background-color: #04a8b0;
  border-radius: 5px;
}

.tab-section::-webkit-scrollbar-track {
  background-color: #ddd;
}

/* Main content area */
.tab-content {
  padding: 20px;
  /* background-color: white; */
  /* border: 1px solid #ddd; */
  border-top: none;
}

@media (max-width: 768px) {
  .tab-section {
    overflow-x: hidden;
  }
}

.dropbar-card {
  max-width: 750px;
  margin: 0px auto;
  /* border: 1px solid #ddd; */
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.dropbar-header {
  background-color: #222156;
  color: white;
  padding: 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.dropbar-header h5 {
  margin: 0;
  font-size: 16px;
}

.dropbar-note {
  font-size: 14px;
  margin-top: 5px;
  color: #f8f9fa;
}

.dropbar-content {
  display: none;
  background-color: #f9f9f9;
  padding: 15px;
}

.dropbar-content .btn-group {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
}

.btn-custom {
  background-color: #04a8b0;
  color: white;
}

.btn-custom:hover {
  background-color: #04a8b0;
}

.bus-name {
  color: #fff;
  font-size: 16px;
  text-transform: uppercase;
  font-weight: bold;
  margin-bottom: 10px;
}


.arrow-icon {
  font-size: 16px;
  transition: transform 0.3s ease;
}

.arrow-icon.open {
  transform: rotate(90deg);
}

.arrow-icon.down {
  transform: rotate(270deg);
}

/* Home page end */


/* coupon section start */

.coupon-cards {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 15px;
}

.coupon-card {
  border: 1px solid #ddd;
  padding: 10px;
  text-align: center;
  background-color: #f9f9f9;
  border-radius: 5px;
  cursor: pointer;
  width: 120px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.coupon-card:hover {
  background-color: #f0f0f0;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
}

.coupon-card.active {
  border: 2px solid #007bff;
  background-color: #e7f3ff;
}

/* coupon section end */


.route-selection-head {
  font-weight: bold;
  /* background-color: #222156; */
  width: 100%;
  text-align: start;
  padding: 5px 15px;
  border-radius: 10px;
  margin: 10px 0px;
  /* color: #fff; */
  text-transform: uppercase;
}

.fare-section {
  background-color: #222156;
  color: #fff;
  padding: 10px 10px;
  margin: 20px 0px;
  font-weight: bold;
  font-size: 20px;
  text-transform: uppercase;

}

.quantity-section {
  display: flex;
  align-items: center;
  gap: 10px;
}

.quantity-section label {
  font-size: 16px;
  font-weight: bold;
  margin-right: 10px;
}

.quantity-section .btn {
  width: 30px;
  height: 30px;
  text-align: center;
  line-height: 1.5;
  border-radius: 5px;
  font-size: 14px;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.quantity-section #quantity {
  width: 50px;
  height: 30px;
  text-align: center;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-size: 14px;
  padding: 0px;
}

.quantity-section .fare-section {
  margin-left: auto;
  /* Push the fare display to the far right */
  font-size: 20px;
  font-weight: bold;
  color: #fff;
  padding: 5px 10px;
  background-color: #222156;
  border: 1px solid #ddd;
  border-radius: 5px;
  /* min-width: 100px; */
  text-align: center;
  width: 50%;
}

.coupon-card {
  border: 1px solid #ddd;
  border-radius: 5px;
  padding: 10px 15px;
  background-color: #f9f9f9;
  color: #333;
  cursor: pointer;
  display: inline-block;
  text-align: center;
  width: 100%;
}

.coupon-card.active {
  border-color: #222156;
  background-color: #e8e8fc;
  font-weight: bold;
}

.coupon-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 10px;
}


.btn-danger {
  position: relative;
  top: -70px;
  right: -120px;
  font-size: 10px;
}

.selected-coupon-card {
  border: 2px double #222156;
  border-radius: 20px;
  margin: 20px;
  padding: 10px 10px 0px 10px;
}


.coupon-desc {
  margin: 0px;
}


/* your-qr-start */


.body-your-qr {
  font-family: Arial, sans-serif;
  /* background-color: #fff; */
  margin: 0;
  /* padding: 20px; */
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.card {
  display: flex;
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  /* width: 320px; */
  transition: transform 0.3s;
  flex-direction: column;
  margin-bottom: 20px;
}

/* .card:hover {
  transform: scale(1.03);
} */

/* New Header Section */
.card-header {
  background-color: #222156;
  color: #fff;
  /* padding: 15px; */
  text-align: center;
  font-size: 14px;
  font-weight: bold;
  margin: 0px;
}

.card-header .route-info {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
}

.card-header .route-info p {
  margin: 0;
}

.card-body {
  display: flex;
  padding: 0px;
}

.left-section {
  background-color: #f0f0f0;
  padding: 15px;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.left-section img {
  width: 50px;
  height: 50px;
  margin-bottom: 10px;
  cursor: pointer;
}

.left-section p {
  font-size: 10px;
  color: #333;
  margin: 0px;
  text-transform: capitalize;
}

.right-section {
  padding: 15px;
  display: flex;
  flex-direction: column;
  /* justify-content: space-around; */
  flex-grow: 1;
  text-align: left;
}

.right-section p {
  margin: 2px 0;
  font-size: 14px;
  color: #555;
}

.view-link {
  color: #007BFF;
  text-decoration: underline;
  cursor: pointer;
  /* margin-top: 10px; */
  font-size: 14px;
}

.status {
  font-weight: bold;
  margin: 0px;
  font-size: 12px;
}

.status.active {
  color: green;
}

.status.expired {
  color: red;
}

.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.modal-content {
  position: relative;
  background: #fff;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
  text-align: center;
  width: 80%;
  max-width: 500px;
}

.modal-content img {
  max-width: 100%;
  max-height: 50vh;
  margin-bottom: 20px;
}

.modal-content p {
  margin: 5px 0;
  font-size: 12px;
  /* color: #555; */
}

.bus-numbers-modal {
  font-size: 14px;
  color: #333;
  padding: 5px;
  border-radius: 4px;
  background-color: #f9f9f9;
  text-align: left;
  max-height: 200px;
  /* Adjust this to set the height of the scrollable area */
  overflow-y: auto;
  /* Makes the section scrollable */
}


.modal-content .bus-numbers-modal {
  font-size: 14px;
  color: #333;
  padding: 5px;
  border-radius: 4px;
  background-color: #f9f9f9;
  text-align: left;
}

.modal-content .bus-numbers-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3px;
}

.modal-head {
  font-size: 16px;
  font-weight: bold;
  text-align: center;
  /* text-decoration: underline; */
  margin: 0px;
  padding: 10px 0px;
  color: #fff;
  background-color: #222156;

}


.close {
  position: absolute;
  top: 10px;
  right: 10px;
  background: #ff5c5c;
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 30px;
  height: 30px;
  text-align: center;
  cursor: pointer;
  font-size: 20px;
  line-height: 28px;
  padding: 0px;
}


/* your-qr-end */

/* Container for the entire component */
.source-destination-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

/* Styling the names (Source and Destination) */
.info {
  display: flex;
  justify-content: space-between;
  width: 100%;
  font-size: 14px;
  font-weight: bold;
  color: #333;
  margin-bottom: 20px;
}

.location-name {
  flex: 1;
  text-align: center;
  padding: 0 16px;
}

/* Line and icons container */
.line-icons {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 250px;
  max-width: 300px;
  position: relative;
}

/* Icons (Source and Destination) */
.icon {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 30px;
  height: 30px;
  background-color: #fff;
  border: 2px solid #222156;
  border-radius: 50%;
}

.icon i {
  color: #222156;
  font-size: 16px;
}

/* The connecting line */
.line {
  flex: 1;
  height: 2px;
  background-color: #04a8b0;
  position: relative;
  top: 0;
}

.station {
  display: flex;
  justify-content: space-between;
  padding: 20px 0px 20px 50px;
  position: relative;
}

.station::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 7px;
  width: 12px;
  height: 12px;
  background-color: #000;
  border: 2px solid #04a8b0;
  border-radius: 50%;
  transform: translateY(-50%);
  /* z-index: 3; */
}

.bus-icon {
  position: absolute;
  left: 0px;
  top: 29%;
  /* Place the icon on one point */
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background-color: #222156;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #04a8b0;
  font-size: 16px;
  z-index: 2;
}

.vertical-line {
  position: absolute;
  top: 439px;
  left: 23px;
  width: 12px;
  height: -webkit-fill-available;
  background-color: #04a8b0;
  border-radius: 14px;
}
@media (max-width: 768px) {
  .vertical-line {
    top: 440px;
  }
}

/* bus track page start */
.schedule-container {
  /* width: 90%; */
  margin: 0px auto;
  background-color: #fff;
  border-radius: 10px;
  /* padding: 20px 0; */
  position: relative;
}

.schedule-header {
  text-align: center;
  font-size: 18px;
  font-weight: bold;
  padding: 0px 0 0 0;
  color: #000;
  /* border-bottom: 1px solid #333; */
}

.station-info {
  font-size: 13px;
  text-align: left;
  font-weight: 600;
}

.arrival,
.departure {
  font-size: 14px;
  font-weight: bold;
  color: #f04b4b;
}

.on-time {
  color: #04a8b0;
}

.km {
  font-size: 12px;
  color: #aaa;
}

.semi-circle-left {
  position: absolute;
  /* top: 57%; */
  left: 0;
  transform: translate(-50%, -50%) rotate(90deg);
  height: 30px;
  width: 30px;
  border-radius: 150px 150px 0 0;
  background-color: #fff
}

.semi-circle-right {
  position: absolute;
  /* top: 57%; */
  right: -40px;
  transform: translate(-50%, -50%) rotate(270deg);
  height: 30px;
  width: 30px;
  border-radius: 150px 150px 0 0;
  background-color: #fff;
  margin-right: 10px;
}

.dot {
  height: 20px;
  width: 25px;
  border-radius: 50%;
  display: table-cell;
  top: -6px;
  position: relative;
}

.dot-b {
  height: 20px;
  width: 25px;
  border-radius: 50%;
  display: table-cell;
  bottom: -6px;
  position: relative;
}

.header-dashboard {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #04a8b0;
  color: #fff;
  padding: 10px 20px;
}

.balance-section {
  text-align: center;
  background-color: #04a8b0;
  color: #fff;
  padding: 20px;
  height: 150px;

}

.balance-section h1 {
  font-size: 36px;
}

.balance-section p {
  font-size: 16px;
  margin-bottom: 20px;
}

.balance-cards {
  display: flex;
  justify-content: space-around;
  position: relative;
  top: -30px;
  margin: 0px;
  color: #222156;
}

.card-dashboard {
  background: #fff;
  border-radius: 10px;
  padding: 10px 20px;
  box-shadow: 0 4px 6px 4px rgba(0, 0, 0, 0.1);
  text-align: center;
}

.sub-card-dashboard {
  border-radius: 10px;
  padding: 5px 5px;
  box-shadow: 0 4px 6px 4px rgba(0, 0, 0, 0.1);
  text-align: center;
}

.card-dashboard .icon {
  font-size: 24px;
}

.card-dashboard h2 {
  font-size: 24px;
  margin: 10px 0;
}

.card-dashboard p {
  font-size: 14px;
}


/* .transactions {
  margin: 20px;
} */

.transactions-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.transactions-header h3 {
  font-size: 18px;
}

.transactions-header a {
  text-decoration: none;
  color: #6c63ff;
  font-size: 14px;
}

.transaction-list {
  list-style: none;
  margin-top: 10px;
}

.transaction-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #fff;
  padding: 10px 15px;
  border-radius: 10px;
  margin-bottom: 10px;
  /* box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); */
  /* box-shadow: inset -5px -5px 10px 0px rgba(255, 255, 255, 0.5), inset 5px 5px 10px 0px rgba(0, 0, 0, 0.3); */
}

.transaction-detail {
  display: flex;
  align-items: center;
}

.transaction-detail .icon {
  font-size: 24px;
  margin-right: 10px;
}

.transaction-detail p {
  font-size: 16px;
}

.transaction-detail span {
  font-size: 12px;
  color: #999;
}

.status {
  font-size: 16px;
}

.success {
  color: green;
}

.failed {
  color: red;
}

/* footer {
  position: fixed;
  bottom: 0;
  width: 100%;
  background-color: #fff;
  padding: 10px 0;
  box-shadow: 0 -2px 4px rgba(0, 0, 0, 0.1);
}

footer nav ul {
  display: flex;
  justify-content: space-around;
  list-style: none;
}

footer nav a {
  text-decoration: none;
  color: #333;
} */

/* =================== */
.custom-footer {
  position: relative;
  background-color: #fff;
  height: 20px;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  /* border-top: 1px solid #222156; */
  margin-top: 30px;
  box-shadow: 0px 5px 6px 2px;
  /* box-shadow: rgba(50, 50, 105, 0.15) 0px 2px 5px 0px, rgba(0, 0, 0, 0.05) 0px 1px 1px 0px; */

}

.pulled-section {
  position: absolute;
  bottom: 13px;
  left: 41%;
  background-color: #fff;
  width: 80px;
  height: 25px;
  border-top-left-radius: 15px;
  border-top-right-radius: 15px;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  /* border-top: 1px solid; */
  /* box-shadow: inset 0px 0.5px 0.5px 0px; */
  border-top: 3px solid #e1d8d8;
}




.pulled-section img {
  width: 100%;
  height: 70%;

}

/* ================= */
.add-btn {
  background-color: #6c63ff;
  color: #fff;
  font-size: 24px;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  text-align: center;
  line-height: 40px;
}


.profile-icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  overflow: hidden;
  cursor: pointer;
  margin: 20px;
}

.profile-icon img {
  width: 100%;
  height: 100%;
}

/* Modal Styles */

.profile-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  justify-content: center;
  align-items: center;
  z-index: 9999;
  /* High z-index to ensure it's on top */
}


/* Add this to ensure no section overlays the modal */
body.modal-open {
  overflow: hidden;
  /* Prevent scrolling when modal is open */
}



.profile-modal.active {
  display: flex;
}

.profile-modal-content {
  background: #fff;
  padding: 20px;
  border-radius: 10px;
  width: 300px;
  text-align: center;
  z-index: 10000;
  /* Extra protection */
}

.profile-modal-content input {
  width: 90%;
  padding: 8px;
  margin-bottom: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 14px;
}

.profile-modal-content button {
  background: #6a4eff;
  color: #fff;
  border: none;
  padding: 10px 15px;
  border-radius: 5px;
  cursor: pointer;
  margin-top: 10px;
}

.profile-modal-content button.close {
  background: #ddd;
  color: #000;
  top: 100px;
  right: 30px;
  padding: 0px;
}

#profileIcon {
  pointer-events: auto;
}


.tabs {
  display: flex;
  justify-content: center;
  margin-top: 20px;
  background-color: #222156;
  margin-left: 10px;
  margin-right: 10px;
  border-radius: 10px;
}


.tab-btn {
  padding: 10px 20px;
  margin: 0 10px;
  cursor: pointer;
  background-color: #222156;
  /* border: 1px solid #ddd; */
  border-radius: 5px;
  color: #fff;
  font-size: 16px;
}

.tab-btn.active {
  background-color: #04a8b0;
  color: #222156;
  border-color: #04a8b0;
}

/* .tab-content {
  margin-top: 20px;
} */

.tab-panel {
  display: none;
}