/* Import Inter font from Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;800&display=swap');

/* General Styles */
body {
  font-family: 'Inter', 'Helvetica Neue', Arial, sans-serif;
  background-color: #ffffff;
  padding: 0;
  margin: 0px 0px 8px 0px;
  overflow-y: scroll;
  -webkit-overflow-scrolling: touch;
  overflow-x: hidden;
    width: 100%;
}

.row {
  --bs-gutter-x: 3.5rem;
 }

h1 {
  font-size: 28px; /* 28px */
  font-weight: 800;
}

h2 {
  font-size: 1.5em; /* 24px */
  font-weight: 800;

}

h3 {
  font-size: 1.25em; /* 20px */
  font-weight: 700;

}

h4 {
  font-size: 1em; /* 16px */
  font-weight: 600;

}

h5 {
  font-size: 0.875em; /* 14px */
  font-weight: 600;

}

h6 {
  font-size: 0.75em; /* 12px */
  font-weight: 600;

}

p {
  margin-bottom: 1rem;
}

a {
  text-decoration: none;
  color: #000;
}

/* Header styles */
.header {
  position: relative;
  width: 100%;
  height: 400px; /* Adjust the height as needed */
  overflow: hidden;
  z-index: -1;
}

.header-image {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Ensures the image covers the entire area */
}

.logo-container-signup {
  position: absolute;
  top: 30%; /* Center vertically */
  left: 50%; /* Center horizontally */
  transform: translate(-50%, -50%); /* Shift back by 50% of the element's size to center it */
  text-align: center; /* Center text if there is any below the logo */
}

.payment-method-item {
cursor: pointer;
padding: 20px;
border-bottom: 1px solid #d8dde2;
}

.payment-method-item .badge {
  margin-top: 0 !important;
  border: none;
  padding: 10px 15px;
  font-size: 14px;
}

.payment-method-item:hover {
  background: #FFFFFF;
  box-shadow: 0 2px 34px 0 rgba(0, 0, 0, 0.10);
  border-radius: 10px;
  z-index: 100;
  padding: 20px;
}

@media (max-width: 768px) {
  .payment-method-item {
    padding: 20px 0 20px 0 !important;
    border-bottom: 1px solid #ddd;
  }

  .payment-method-item:hover {
    background: #FFFFFF;
    box-shadow: none;
    border-radius: 10px;
    z-index: 100;
    padding: 20px;
  }

  
  }

.card-body-login {
  background: #FFFFFF;
  box-shadow: 0 2px 54px 0 rgba(0,0,0,0.19);
  border-radius: 20px;
  padding: 30px;
  margin-top: -200px;
  }

.logo-container {
  position: absolute;
  top: 40%; /* Center vertically */
  left: 50%; /* Center horizontally */
  transform: translate(-50%, -50%); /* Shift back by 50% of the element's size to center it */
  text-align: center; /* Center text if there is any below the logo */
  padding-left: 250px;
}

.recent-rides {
  background: #FFFFFF;
/* box-shadow: 0 2px 54px 0 rgba(0,0,0,0.19);*/
border-radius: 30px 30px 0 0;
padding: 30px;
height: auto;
width: 100% !important;
padding-bottom: 100px;
margin-top: -120px;
}

@media (max-width: 991px) {
  .logo-container {
    position: absolute;
    top: 40%; /* Center vertically */
    left: 50%; /* Center horizontally */
    transform: translate(-50%, -50%); /* Shift back by 50% of the element's size to center it */
    text-align: center; /* Center text if there is any below the logo */
    padding-left: 0px;
  }
}

.header-logo {
  max-width: 200px; /* Control the maximum width of the logo */
  height: auto;
  width: 100%; /* Ensure it scales properly within its container */
}


.underlined-text {
  text-decoration: underline;
}

.footer-menu .svg-icon {
  display: block;
  margin: 0 auto 0.5rem auto;
  width: 24px;
  height: 28px;
}

.back-button {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  display: flex;
  align-items: center;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: -8px !important;
  background-color: white;
  z-index: 1000;
  padding: 35px 45px 35px 45px;
  margin: 0px -40px 0px -40px;
}

.header-container-chat {
  display: flex;
  justify-content: center; /* Center contents horizontally */
  align-items: center;
  position: sticky;
  top: -8px !important;
  background-color: white;
  z-index: 1000;
  position: sticky;
  padding: 35px 30px 35px 25px;
  max-width: 800px; /* Set a max-width that suits your design */
  margin: 0 auto; /* Centers the container on the page */
  width: 100%; /* Ensures it doesn't exceed the max-width */
}




#route-heading {
    margin: 0 auto;
}

.dropdown img {
  cursor: pointer;
}

#back-button {
  position: absolute;
  background-color: transparent;
  background: none;
  border: none;
}

#back-button-chat {
  position: absolute;
  background-color: transparent;
  background: none;
  left: 0;
  border: none;
}

#back-button:hover {
  background-color: transparent !important;
  color: transparent !important;
  opacity: 0.5;
}

.distance-time {
  margin-top: -14px;
  font-size: 14px;
}

.bold {
  font-weight: 600;
}

.no-rides-image {
  max-width: 100px;
  height: auto;
  margin: 27px;
}

.super-bold {
  font-weight: 700;
}

.profile-header {
  display: flex;
  align-items: center;
  margin: 40px 0px 0px 0px;
}

.photo-container {
  position: relative;
  display: inline-block;
  cursor: pointer;
}

.arrow-right-journey {
  padding: 5px;
}

.flashing {
  animation: flashing 3.5s infinite;
}

@keyframes flashing {
  0%, 50%, 100% { opacity: 1; }
  25%, 75% { opacity: 0.3; }
}

.date-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  padding-left: 10px;
  pointer-events: none;
  border-radius: 10px;
  color: #000000;
  background-color: #fff;
}

.date-input-wrapper {
  position: relative;
}

label {
  display: block;
  margin-bottom: 0.5rem; /* Adjust the spacing as needed */
  color: #000;
  font-weight: 600;
  padding: 0px 0px 6px 0px;
}

.sticky-review-link {
  text-decoration: underline;
  color: #7367E7;
  white-space: nowrap;
  display: none; /* Hidden by default */
}

/* Card Styles */
.card {
  border: none;
  border-radius: 10px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  margin-bottom: 1rem;
  cursor: pointer;
  transition: 0.3s;
}

.card-reviews {
  border: none;
  border-radius: 10px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1) !important;
  transition: 0.3s;
  margin: 10px;
  padding: 25px;
  background-color: #fff;
}

.card-login {
  border: none;
  max-width: 300px;
  width: 100%;
  cursor: pointer;
  transition: 0.3s;
}

.card:hover {
  border: none;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  margin-bottom: 1rem;
  cursor: pointer;
}

.card-body {
  background: #FFFFFF;
  box-shadow: 0 14px 84px -40px rgba(0,0,0,0.60);
border-radius: 20px;
padding: 30px;
cursor: pointer;
transition: all .2s ease-in-out; 
}

.card-body:hover {
  transform: scale(1.02); 
}

.card-title {
  font-size: 17px;
  margin-top: -5px;
  max-width: 220px;
}

.password-toggle {
  position: relative;
}

.password-toggle-icon {
  position: absolute;
  top: 50%;
  right: 10px;
  transform: translateY(-50%);
  cursor: pointer;
}

.card-text {
  font-size: 1rem;
  color: #000;
}

textarea.form-control {
  min-height: 160px;
  padding: 25px;
}

.form-control,
.custom-textarea {
  border: none; /* Removes default border */
  border-radius: 10px;
  padding: 0.5rem;
  padding-left: 25px;
  font-size: 1rem;
  height: 60px;
  background-color: #F5F4F6;
  outline: none; /* Removes the default browser outline */
  box-shadow: none; /* Removes any default focus shadow */
}

.form-control:focus,
.custom-textarea:focus {
  outline: none; /* Ensures no browser outline on focus */
  box-shadow: 0 0 0 2px #000; /* Adds a custom black outline using box-shadow */
  background-color: #F5F4F6;
}

.private-label {
opacity: 0.5;
}


.login-field {
  display: block;
  width: 100%;
  padding: .375rem .75rem;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  color: var(--bs-body-color);
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-color: #F5F4F6;
  background-clip: padding-box;
  border-radius: 5px;
  border-style: none;
  height: 60px;
  transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
}

.login-field:focus {
outline: 2px solid #000;
}

#map {
  height: 220px !important;
  width: 100%;
  margin-bottom: 20px;
  border-radius: 20px;
}

.map-placeholder {
  height: 220px;
  width: 100%;
  margin: 50px 0 30px 0;
  background-color: grey;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #000 !important;
  font-size: 0.875rem; /* Smaller font size */
  text-align: center; /* Center the text */
  opacity: 0.5 !important;
  border-radius: 20px;
  box-sizing: border-box; /* Ensure padding and borders are included in the element's total width and height */
}

.map-placeholder-icon {
  width: 100px; /* Adjust the size as needed */
  height: auto;
}

.text-white {
  color: #fff;
}

.recommended-price {
  background-color: #85DD75;
  color: #000;
  padding: 10px;
  border-radius: 5px;
  text-align: center;
  margin-bottom: 20px;
  font-weight: 600;
  border-radius: 40px;
}

.price-warning {
  background-color: #F7A65B;
  color: #000;
  padding: 10px;
  border-radius: 5px;
  text-align: center;
  margin-bottom: 20px;
  font-weight: 600;
  border-radius: 40px;
}

.popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  visibility: hidden;
  opacity: 0;
  transition: visibility 0s, opacity 0.5s;
}

.popup-content {
  background-color: #fff;
  padding: 20px;
  border-radius: 5px;
  text-align: center;
}

.popup.visible {
  visibility: visible;
  opacity: 1;
}

.earnings-chart {
  max-height: 350px;
}

.btn-group>.btn:not(:last-child):not(.dropdown-toggle) {
  border-radius: 5px;
}

.btn-group>:not(.btn-check:first-child)+.btn {
  border-radius: 5px;
}

.form-group {
  padding: 0 0 20px 0px;
}

#average-rating {
  font-size: 1.5rem;
  align-items: center;
  cursor: pointer;
  margin-left: 20px;
  text-align: left;
}
.rating-container {
  display: flex;
}

.star {
  width: 22px;
  margin-bottom: 6px;
  margin-right: 2px;
}

.rating-value {
  color: #000;
  font-size: 22px;
}

.rating-value:hover {
text-decoration: underline;
}

.modal-dialog {
  height: 100%;
  padding: 0;
}

.img-container {
  width: 100%;
  height: 100%;
  max-height: 100%;
}

.img-container img {
  max-width: 100%;
  max-height: 100%;
  display: block;
}

.sticky-button {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: #007bff;
  color: white;
  text-align: center;
  padding: 10px;
  font-size: 16px;
  cursor: pointer;
}

.cancel-trip-button {
  color: white;
  cursor: pointer;
}

.dropdown-menu-right {
  right: 0;
  left: auto;
}

.booked-users-summary-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.booked-user {
  align-items: center;
  margin-bottom: 30px !important;
}

.booked-user img {
  margin-right: 10px;
}

.badge-canceled {
  background-color: #e4e4e4 !important;
  font-weight: 600;
  color: #000;
  border-radius: 30px;
  padding: 10px 15px 10px 15px;
}

.is-invalid {
  border-color: red;
}


.badge {
  margin-left: 5px;
}

.status.booked {
  color: green;
}

.badge-refunded {
  background-color: green;
  color: white;
}

.disabled {
  pointer-events: none;
  opacity: 0.6;
}

.modal-backdrop {
  z-index: 1040 !important;
}

.modal {
  z-index: 1050 !important;
}

#card-element {
  background-color: #efefef;
  color: #e0e0e0;
  border: 1px solid #b4b4b4;
  padding: 20px;
  border-radius: 10px;
}

/* Footer Styles */
.price-display {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 20px;
}

.footer-menu a {
  color: #000;
  text-align: center;
  display: block;
  text-decoration: none;
  font-weight: 600;
  font-size: 12px;
  opacity: 0.4;
  transition: opacity 0.3s ease;
}

.footer-menu a.active {
  opacity: 1;
}

.footer-menu a:hover {
  opacity: 0.5;
}

.footer-menu .nav-link {
  padding: 0.5rem 0;
}

.primary-color {
  color: #7165E3;
}

.btn-outline-primary {
  background-color: #F7F7F7;
  color: #000;
  border: none;
  padding: 24px;
  margin: 0px 10px 0px 0px;
}

.footer-login {
  bottom: 0;
    position: absolute;
    text-align: center;
    left: 0px;
    right: 0px;
}

.footer-page {
  margin-top: 40px;
}

.btn-check:checked+.btn {
  background-color: #7367E7;
}

.flatpickr-day.selected {
  background: #7367E7 !important;
  border-radius: 5px;
}

.flatpickr-day {
  border-radius: 5px !important;
}

/* Custom Styles */
.custom-btn {
  background-color: #7367E7;
  color: #ffffff;
  border: none;
  height: 60px;
  width: 100%;
  border-radius: 45px;
  font-weight: 600;
  padding: 0.5rem 1rem;
  font-size: 1rem;
}

.subheading {
  margin-top: 5px;
    font-weight: 600;
    white-space: nowrap;
}

.custom-btn:disabled {
  background-color: #7367E7;
  color: #fff;
  opacity: 0.7;
  cursor: not-allowed; 
}

.custom-input {
  border: none; /* Bootstrap's border color */
  border-radius: 10px;
  padding: 0.5rem;
  font-size: 1rem;
  height: 60px;
  background-color: #F5F4F6;
}

.custom-input:focus {
  outline: 2px solid #000;
}

.custom-input,
.custom-textarea {
  border: none; 
  border-radius: 10px;
  padding: 1rem;
  font-size: 1rem;
  height: 60px;
  background-color: #F5F4F6;
  outline: none; 
  box-shadow: none; 
  width: 100%;
}

.custom-input:focus,
.custom-textarea:focus {
  outline: none;
  box-shadow: 0 0 0 2px #000; 
}


.list-group-item {
  padding: 20px;
  border-bottom: 1px solid #F5F4F6;
  font-weight: 600;
  cursor: pointer;
}

.mr-4 {
  margin-right: 6px;
}

footer {
  position: fixed;
  bottom: 0;
  width: 93%;
  background-color: rgba(255, 255, 255, 0.8); /* Slightly transparent white */
  backdrop-filter: blur(10px); /* Adjust the blur strength */
  justify-content: space-around;
  padding: 5px 0 5px 0px;
  margin: 15px 0px 20px 15px;
  border-radius: 80px;
  -webkit-backdrop-filter: blur(10px); /* For Safari */
  white-space: nowrap;
  z-index: 999; /* Ensure the footer stays above other elements */
box-shadow: 0 14px 84px -10px rgba(0,0,0,0.30);
}


footer a {
  text-decoration: none;
  color: #007aff;
  font-size: 14px;
}

.logout-button {
  margin-top: 20px;
  padding: 10px 20px;
  background-color: #ff3b30;
  color: white;
  border: none;
  cursor: pointer;
  border-radius: 10px;
  font-size: 16px;
  transition: background-color 0.3s ease;
}

.logout-button:hover {
  background-color: #ff2a1a;
}

.ride {
  border: 1px solid #d1d1d6;
  padding: 10px;
  margin: 10px;
  border-radius: 10px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  background-color: #ffffff;
  cursor: pointer;
  transition: 0.3s;
}

.ride:hover {
  border: 1px solid #d1d1d6;
  padding: 10px;
  margin: 10px;
  border-radius: 10px;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.3);
  background-color: #ffffff;
  cursor: pointer;
  transition: 0.3s;
}

.custom-dropdown {
  position: absolute;
  z-index: 1000;
  background-color: white;
  border: 1px solid #ccc;
  width: 100%;
  max-height: 200px;
  overflow-y: auto;
  display: none;
}

.custom-dropdown-item {
  padding: 10px;
  cursor: pointer;
}

.custom-dropdown-item:hover {
  background-color: #f1f1f1;
}

.price-text {
  font-size: 2rem;
  margin: 0 9px;
  font-weight: 600;
}

.white {
  color: #fff;
  font-weight: 100;
}

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

/* Modal styles */
.modal {
  display: none;
  position: fixed;
  z-index: 1;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgb(0,0,0);
  background-color: rgba(0,0,0,0.4);
  align-items: center;
  justify-content: center;
}

.modal-content {
  background-color: #fefefe;
  padding: 40px;
  color: #000;
  max-width: 500px;
  border-radius: 15px;
}

.chat-icon-container {
  margin-left: auto;
}


.close-button {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
}

.close-button:hover,
.close-button:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}

.total-payout {
  text-decoration: underline;
  color: #7367E7;
  cursor: pointer;
}

.message-body {
  -webkit-tap-highlight-color: rgba(255, 255, 255, 0);
  cursor: pointer;
  user-select: none;
  -webkit-user-select: none;
  -webkit-touch-callout: none;
}

.message-list-item.active .message-body {
  background-color: rgba(255, 255, 255, 0.05);
}

.message-body:focus {
  outline: none;
}

.message {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
  margin: 20px 0px 0px 0px;
}

.message .profile-photo {
  width: 55px;
  height: 55px;
  border-radius: 50%;
  margin-right: 10px;
  margin-left: 3px;
}

.profile-photo {
  width: 55px;
  height: 55px;
}

.dropdown-menu.show {
  display: block;
  border: none;
  background: #FFFFFF;
  box-shadow: 0 0px 54px 0px rgba(0, 0, 0, 0.31) !important;
  padding: 11px;
}

.dropdown-item {
  padding: 15px;

}

.message .sender {
  font-weight: bold;
}

.message-input {
  border-radius: 60px;
}


#messageInputContainer {
  display: flex;
  gap: 10px;
  border: none;
  margin: 20px 0px 20px 10px;
  position: fixed;
}

#messageInput {
  flex: 1;
}

.spinner-container {
  display: flex;
  justify-content: center;
  align-items: center;
}

@keyframes expandEffect {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.expand-effect {
  animation: expandEffect 0.5s ease-out;
}

.fade-out {
  animation: fadeOut 0.5s forwards;
}

.fade-in {
  animation: fadeIn 0.5s forwards;
}

@keyframes fadeOut {
  to {
    opacity: 0;
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

#card-errors {
  color: #F75B5B;
  margin-top: 10px;
}

.error-message {
  color: #F75B5B;
  margin: 0px 0px 10px 0px;
}

form button, #book-ride-button {
  display: block;
  margin: 10px 0px 0px 0px;
  padding: 20px 30px 20px 30px;
  background-color: #96F775;
  color: #000;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  font-size: 16px;
  transition: background-color 0.3s ease;
  font-weight: 600;
}

form button, #add-payment-method-button {
  border: none;
  background: none;
  text-decoration: underline;
  padding: 0;
  font-weight: 600;
  color: #7165E3;
}

.default-label {
  color: #85DD75;
  font-weight: bold;
  margin-left: 10px;
}

.disabled-button {
  background-color: grey;
  color: white;
  cursor: not-allowed !important;
  opacity: 0.6;
}

.disabled-button:hover {
  background-color: grey;
  color: white;
  cursor: not-allowed !important;
  opacity: 0.6;
}

.nav-pills {
  cursor: pointer;
}

.search-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  z-index: 1000;
  display: none; /* Initially hidden */
  justify-content: center;
  align-items: center;
  color: #fff;
}

.search-overlay .container {
  max-width: 600px;
  width: 100%;
}

.search-overlay input {
  margin-bottom: 10px;
}

.search-overlay button {
  width: 100%;
}

.search-overlay .back-button {
  position: absolute;
  top: 10px;
  left: 10px;
  background: transparent;
  border: none;
  color: #fff;
  font-size: 24px;
}

.input-group-text {
  background: none;
  border: none;
}

.table-striped .table-row-canceled {
  background-color: #f9f9f9;
  background-image: linear-gradient(45deg, #f3f3f3 25%, transparent 25%, transparent 50%, #f3f3f3 50%, #f3f3f3 75%, transparent 75%, transparent);
  background-size: 1rem 1rem;
}

.table>:not(caption)>*>* {
  background-color: #ffffff;
  color: #000000;
}

#withdraw-button:disabled {
  background-color: #6c757d;
  border-color: #6c757d;
  color: #fff;
}

#total-to-be-paid {
  color: #000;
  font-weight: 600;
}

.svg-icon.find-rides {
  content: url('../img/find_rides_light.svg');
}

.svg-icon.post-ride {
  content: url('../img/post_ride_light.svg');
}

.svg-icon.my-rides {
  content: url('../img/my_rides_light.svg');
}

.svg-icon.messages {
  content: url('../img/messages_light.svg');
}

.svg-icon.profile {
  content: url('../img/profile.svg');
}

.skeleton-loader {
  display: inline-block;
  height: 60px;
  width: 100%;
  background-color: #e0e0e0;
  border-radius: 5px;
  animation: pulse 1.5s infinite ease-in-out;
  padding: .375rem .75rem;
}

@keyframes pulse {
  0% {
    background-color: #e0e0e0;
  }
  50% {
    background-color: #f0f0f0;
  }
  100% {
    background-color: #e0e0e0;
  }
}

.loading-container {
  display: none;
}

.max-width {
  max-width: 560px;
}

.where-to-div {
  position: relative;
}

.mt-10 {
  margin-top: -10px;
}

.text-primary {
  color: #7367E7 !important;
}

.search-icon {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 21px;
  height: 24px;
  z-index: 100;
  left: 13px;
}

.search-field {
  padding-left: 40px !important;
  width: 100%;
  padding: .375rem .75rem;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  color: #000;
  background-color: #f2f2f2;
  background-clip: padding-box;
  border-radius: 30px !important;
  border-style: none;
  height: 60px;
}

.search-field-find-rides {
  padding-left: 40px !important;
  width: 100%;
  padding: .375rem .75rem;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  color: #000;
  background-color: #f2f2f2;
  background-clip: padding-box;
  border-radius: 30px !important;
  border-style: none;
  height: 60px;
  background: linear-gradient(white, white) padding-box,
  linear-gradient(420deg, #7165e3, #c0bbf2) border-box;
  border: 3px solid transparent;
box-shadow: 0 23px 18px -11px rgba(115,103,231,0.20);
}

.search-field-find-rides::placeholder {
  color: #7367E7; /* Change to your desired color */
  opacity: 0.5; /* Ensures full opacity for the placeholder text */
}


.search-field,
.custom-textarea {
  border: none; /* Removes default border */
  border-radius: 5px;
  padding: 0.5rem;
  font-size: 1rem;
  height: 60px;
  background-color: #F5F4F6;
  outline: none; /* Removes the default browser outline */
  box-shadow: none; /* Removes any default focus shadow */
}

.search-field:focus,
.custom-textarea:focus {
  outline: none; /* Ensures no browser outline on focus */
  box-shadow: 0 0 0 2px #000; /* Adds a custom black outline using box-shadow */
}

.skeleton-map {
  padding: 50px;
}

/* Skeleton loading effect */
.skeleton {
  background-color: #e0e0e0;
  border-radius: 4px;
  margin-bottom: 10px;
  min-height: 20px;
  width: 100%;
  animation: skeleton-loading 1.2s infinite ease-in-out;
}

.skeleton-text {
  height: 20px;
  margin-bottom: 10px;
}

@keyframes skeleton-loading {
  0% {
    background-color: #e0e0e0;
  }
  50% {
    background-color: #f0f0f0;
  }
  100% {
    background-color: #e0e0e0;
  }
}

.horizontal_line {
  border-top: 1px solid #7066d72b;
  margin: 40px 0px 40px 0px;
}

.horizontal_line_2 {
  border-top: 1px solid #d8dde2;
  margin: 25px 0px 25px 0px;
}

.bg-primary {
  background: #7165E3 !important;
  border-radius: 30px;
  padding: 10px 15px 10px 15px;
  font-weight: 600;
  border: 5px solid #fff;
    margin-top: 15px !important;
}

.border-top {
  border-top: 1px solid #d8dde2 !important;
}

.dot-line-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-right: 10px;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: #7165E3; /* Adjust color as needed */
}

.dot-line-container {
  position: relative;
}

.dashed-line {
  position: relative;
  width: 2px;
  height: 100px;
  background: repeating-linear-gradient(
    to bottom,
    #7165E3,
    #7165E3 2px,
    transparent 8px,
    transparent 5px
  );
}

.ride-time {
  position: absolute;
  top: 58%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: #fff;
  padding: 2px 5px;
  font-size: 14px;
  color: #7165e39e;
  white-space: nowrap;
}

.fully-booked {
  opacity: 0.5;
  position: relative;
}

.full-badge {
  background-color: #6c757d; /* Bootstrap secondary color */
  color: #fff; /* White text color */
  font-size: 1rem;
  padding: 10px 20px;
}

.bg-secondary {
  border-radius: 30px;
  padding: 10px 15px 10px 15px;
}


.modal-dialog-centered {
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-header {
  border-bottom: none;
  padding: 0px 0px 30px 0px;
}

.modal-title {
  font-size: 1.25rem;
  font-weight: bold;
}

.cost-detail {
  display: flex;
  justify-content: space-between;
  font-size: 1rem;
  margin-bottom: 0.5rem;
}

.cost-detail .amount {
  color: #7367E7; /* Adjust the color to match the one in your screenshot */
  font-weight: bold;
}

.modal-body {
  padding: 0;
}

.modal-body h6 {
  margin-top: 1rem;
  font-weight: bold;
}

.modal-body p {
  margin-top: 0.5rem;
  font-size: 0.9rem;
}

hr {
  border-top: 1px solid #eaeaea;
}


.modal-dialog-centered {
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-header {
  border-bottom: none;
}

.modal-title {
  font-size: 1.25rem;
  font-weight: bold;
}

.cost-detail {
  display: flex;
  justify-content: space-between;
  font-size: 1rem;
  margin-bottom: 0.5rem;
}

.cost-detail .amount {
  color: #7367E7; /* Adjust the color to match the one in your screenshot */
  font-weight: bold;
}

hr {
  border-top: 1px solid #eaeaea;
}

.sticky-footer {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 560px;
  background-color: #fff;
  border-top: 1px solid #d8dde2;
  padding: 10px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 999;
}



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

.total-cost-label {
  font-size: 18px;
  font-weight: bold;
}


#sticky-book-ride-button {
  padding: 10px 20px;
  font-size: 16px;
}

.form-select {
  padding: 12px;
  background-color: #F7F7F7;
}

.send-button {
  color: #ffffff;
  border: none;
  height: 60px;
  border-radius: 45px;
  font-weight: 600;
  padding: 0.5rem 1rem;
  font-size: 1rem;
}

.btn-send {
  background-color: #7367E7;
  color: #ffffff;
  border: none;
  height: 60px;
  width: 100%;
  border-radius: 45px;
  font-weight: 600;
  padding: 0.5rem 1rem;
  font-size: 1rem;
}

.btn-primary {
  background-color: #7367E7;
  color: #ffffff;
  border: none;
  width: 100%;
  border-radius: 45px;
  font-weight: 600;
  padding: 20px;
  font-size: 1rem;
  text-decoration: none;
  max-width: 560px;
  text-align: center;
  cursor: pointer;
  transition: 0.3s;
}

.btn-primary:hover {
  background-color: #8074e8;
  color: #ffffff;
  border: none;
  border-radius: 45px;
  font-weight: 600;
  padding: 20px;
  font-size: 1rem;
  text-decoration: none;
  text-align: center;
  cursor: pointer;
}

.btn-primary:active {
  background-color: #887dec !important;
  color: #ffffff;
  border: none;
  width: 100%;
  border-radius: 45px;
  font-weight: 600;
  padding: 20px;
  font-size: 1rem;
  text-decoration: none;
  text-align: center;
  cursor: pointer;
}

.btn-secondary {
    background-color: #F5F4F6;
    color: #000;
    border: none;
    width: 100%;
    border-radius: 45px;
    font-weight: 600;
    padding: 20px;
    font-size: 1rem;
    text-decoration: none;
    max-width: 560px;
    text-align: center;
    cursor: pointer;
}

.btn-secondary:hover {
  background-color: #e6e6e6;
  color: #000;
  border: none;
  width: 100%;
  border-radius: 45px;
  font-weight: 600;
  padding: 20px;
  font-size: 1rem;
  text-decoration: none;
  text-align: center;
  cursor: pointer;
}

.btn-secondary:focus {
  background-color: #d6d6d6;
  color: #000;
  border: none;
  width: 100%;
  border-radius: 45px;
  font-weight: 600;
  padding: 20px;
  font-size: 1rem;
  text-decoration: none;
  text-align: center;
  cursor: pointer;
}

.btn-secondary:active {
  background-color: #d6d6d6;
  color: #000;
  border: none;
  width: 100%;
  border-radius: 45px;
  font-weight: 600;
  padding: 20px;
  font-size: 1rem;
  text-decoration: none;
  text-align: center;
  cursor: pointer;
}

.btn-danger {
  background-color: #EE5A5A;
  color: #fff;
  border: none;
  width: 100%;
  border-radius: 45px;
  font-weight: 600;
  padding: 20px;
  font-size: 1rem;
  text-decoration: none;
  max-width: 560px;
  text-align: center;
  cursor: pointer;
}

.bg-secondary {
  background-color: #e4e4e4 !important;
  font-weight: 600;
  color: #000;
}

.floating {
  position: fixed;
  bottom: 20px;
  z-index: 1000;
}

.information-text {
  font-weight: 100;
}


.btn:focus-visible {
  background-color: #7367E7 !important;
}

.payment-body {
  background: #fff;
  box-shadow: 0 14px 100px -40px rgb(0 0 0 / 40%);
  border-radius: 20px;
  padding: 30px;
}

.bg-success {
  padding: 10px 15px 10px 15px;
  border-radius: 30px;
  color: #000;
  font-weight: 600;
  background-color: #96f775 !important;
}

.bg-pending {
  padding: 10px 15px 10px 15px;
  border-radius: 30px;
  color: #000;
  font-weight: 600;
  background-color: #ffba48 !important;
}

.signup-label {
  position: absolute;
  top: 20%; /* Adjust this value to position it correctly */
  left: 50%;
  transform: translateX(-50%);
  font-size: 24px;
  font-weight: bold;
  color: white;
}




.body-success {
  background-color: #96f775 !important;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  margin: 0;
  color: white;
  font-family: Arial, sans-serif;
  text-align: center;
}

.container-rm {
  max-width: 560px;
  margin-right: auto;
  margin-left: auto;
  width: 80%;
}

.button-view-ride {
  background-color: white;
  color: black;
  border: none;
  padding: 16px 20px;
  width: 100%;
  font-size: 16px;
  cursor: pointer;
  font-weight: 600;
  border-radius: 35px;
  margin-top: 20px;
}

.button-share-ride {
  background-color: white;
  color: black;
  border: none;
  padding: 16px 20px;
  width: 100%;
  font-size: 16px;
  cursor: pointer;
  font-weight: 600;
  border-radius: 35px;
  margin-top: 20px;
}

.search-form {
  margin:45px 0px 0px 0px;
}

    /* Custom styles for the Google Maps autocomplete dropdown */
    .pac-container {
      background-color: #fff;
      border-radius: 20px;
      border-top: 0px solid #d9d9d9;
      box-shadow: 0 2px 24px rgba(0,0,0,0.2);
    }
    .pac-item {
      padding: 10px 15px;
      cursor: pointer;
    }
    .pac-item:hover {
      background-color: #f0f0f0;
    }
    .pac-icon {
      margin-right: 10px;
    }
    .pac-item-query {
      font-weight: 700;
    }
    .pac-matched {
      font-weight: 700;
      color: #7165E3;
    }

    .heading {
      position: absolute;
      left: 50%;
      transform: translateX(-50%);
      margin: 0px 0px 0px 0px;
      white-space: nowrap;
    }

    .heading-ride-details {
      margin: 25px 0px 0px 0px;
    }
    .input-group {
      position: relative;
    }
    .clear-icon {
      position: absolute;
      right: 17px;
      top: 50%;
      transform: translateY(-50%);
      cursor: pointer;
      width: 15px;
      height: 20px;
      display: none;
    }

    .btn-primary.disabled, 
.btn-primary:disabled {
  background-color: #e9ecef;
  border-color: #dee2e6;
  color: #6c757d;
  cursor: not-allowed;
}

    .no-rides-found {
      padding: 30px 0px 35px 0px;
      text-align: center;
    }

    .margin-bottom {
      margin-bottom: 120px !important;
    }

    .skeleton-card {
      background-color: #e0e0e0;
      border-radius: 10px;
      margin-bottom: 10px;
      min-height: 20px;
      width: 100%;
      padding: 15px;
      animation: skeleton-loading 1.2s infinite ease-in-out;
  }

  .dropdown {
    margin-left: auto;
    position: inherit;
  }

  .distance {
    margin: 40px 0px -10px 0px;
  }

  .flatpickr-months .flatpickr-prev-month, .flatpickr-months .flatpickr-next-month {
    padding: 8px 15px 8px 15px !important;
    background-color: #f2f2f2 !important;
    height: auto !important;
    margin: 18px 15px 0 0 !important;
    border-radius: 5px !important;
    top: 7px !important;
  }

  .flatpickr-months .flatpickr-prev-month {
    padding: 8px 15px 8px 15px !important;
    background-color: #f2f2f2 !important;
    height: auto !important;
    margin: 18px 0px 0 15px !important;
    border-radius: 5px !important;
    top: 7px !important;
  }

  .flatpickr-months .flatpickr-next-month:hover svg {
    fill: #000 !important;
  }

  .flatpickr-months .flatpickr-prev-month:hover svg {
    fill: #000 !important;
  }

  .flatpickr-months .flatpickr-month {
    margin: 20px;
  }

  .flatpickr-day.selected {
    font-weight: 600;
    border: none;
  }

  .flatpickr-current-month .flatpickr-monthDropdown-months {
    font-weight: 600 !important;
  }

  .flatpickr-current-month {
    padding: 0 !important;
  }
  
  /* Display clear icon when input is not empty */
  .search-field:not(:placeholder-shown) + .clear-icon {
    display: block;
  }
  
  .flatpickr-calendar {
    box-shadow: none !important;
    background: #FFFFFF;
box-shadow: 0 14px 84px -40px rgba(0,0,0,0.71) !important;
margin: 8px 0 0 -20px;
width: 334px !important;
padding: 12px !important;
border-radius: 10px !important;
  }

  .mb-4 {
    margin-bottom: 55px !important;
  }

  .mb-3_5 {
    margin-bottom: 30px !important;
  }

  .center {
    text-align: center;
  }

  .ride-cost {
    text-align: center;
  }

  .price-button {
    margin: 0;
  }
  
  .flatpickr-alt-input {
    border: none;
    background-color: transparent;
    font-size: 1em;
    padding: 0;
    width: 100%;
  }
  
  .journey-container {
    margin-left: 15px;;
  }

  .booked-seat {
    opacity: 0.5;
  }

  .ride-info {
    text-align: center;
    font-weight: 700;
  }

  .ride-date {
    text-align: center;
    opacity: 0.5;
    font-size: 14px;
  }

  .ride-date-card {
    padding: 40px 0 20px 0px;
    font-weight: 600;
    text-align: left;
  }

  .view-ride-link {
    text-decoration: underline;
    text-align: center;
    margin-top: 10px;
  }

  .footer-chat {
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 560px;
    background-color: #fff;
    border-top: 1px solid #d8dde2;
    padding: 10px 20px;
    display: flex;
  }

  .fixed-header {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: white; /* Adjust according to your design */
    z-index: 1000; /* Ensure it stays above other elements */
    padding: 10px 20px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* Optional: adds a shadow for better visibility */
  }
  
  .back-button {
    margin-right: 10px;
  }
  
  .chat-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }

  .chat-icon-container {
    background: #F5F4F6;
    padding: 10px;
    border-radius: 10px;
    border: 1px solid #dee2e6;
  }
  
  .verified-badge {
    width: 17px; 
    height: 17px;
  }

  .chat-icon {
    width: 24px;
    cursor: pointer;
  }
  
  #sendIcon {
    vertical-align: middle;
  }
  
  #sendMessageSpinner {
    vertical-align: middle;
  }
  
  .message-container::-webkit-scrollbar {
    display: none;
  }

  .get-verified {
    margin: auto;
    display: block;
    padding-left: 30px;
    max-width: 220px;
  }

  .verification-container h2 {
    font-size: 18px;
}


.description {
    font-size: 16px;
    color: #666666;
    margin-bottom: 24px;
}

.verification-instructions {
    text-align: left;
    margin-bottom: 24px;
}

.verification-instructions h2 {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 12px;
}

.verification-instructions ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

.verification-instructions li {
    font-size: 16px;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
}

.verification-instructions img {
    margin-right: 8px;
    width: 20px;
    height: 20px;
}

.take-photo-button {
    background-color: #58AFFF;
    color: #FFFFFF;
    border: none;
    padding: 12px 24px;
    font-size: 16px;
    font-weight: bold;
    border-radius: 25px;
    cursor: pointer;
    width: 100%;
    transition: 0.3s;
    text-decoration: none;
}

.take-photo-button:hover {
    background-color: #4793D6;
}

.skeleton-verification {
  display: inline-block;
  width: 80px;
  height: 16px;
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: skeleton-loading 1.5s infinite;
  border-radius: 4px;
}

.message-list-item {
  display: flex;
  align-items: center;
  border-bottom: 1px solid #e9e8e8;
  cursor: pointer;
  transition: 0.3s;
  padding: 20px;
}

@media (max-width: 768px) {
  .message-list-item {
    padding: 20px !important;
  }
}

.message-list-item:hover {
background-color: #e9e8e8;
background: #FFFFFF;
box-shadow: 0 2px 34px 0 rgba(0,0,0,0.10);
border-radius: 10px;
padding: 20px;
}


.list-group-item:hover {
  background: #FFFFFF;
  box-shadow: 0 2px 34px 0 rgba(0,0,0,0.10);
  border-radius: 10px;
  z-index: 100;
}

.skeleton {
  background-color: #e0e0e0;
  border-radius: 4px;
  margin-bottom: 10px;
}

.skeleton-message {
  height: 110px;
  width: 100%;
}

.message-body {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.message-details {
  padding: 10px;
  flex: 1;
  word-wrap: break-word;
}

.message-details .card-text {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-top: 8px;
  opacity: 0.5;
}

.profile-photo-container {
  position: relative;
  display: inline-block;
}

.notification-icon {
  width: 15px;
  height: 15px;
  background-color: #ff4e4e;
  border-radius: 50%;
  position: absolute;
  outline: 4px solid #fff;
  margin: -5px 0px 0px -20px !important;
}

.notification-icon-footer {
  width: 15px;
  height: 15px;
  background-color: #ff4e4e;
  border-radius: 50%;
  position: absolute;
  outline: 4px solid #fff;
  margin: -60px 0px 0px 35px !important;
}

.notification-badge {
  width: 15px;
  height: 15px;
  background-color: #ff4e4e;
  border-radius: 50%;
  position: absolute;
  outline: 4px solid #fff;
  margin: -55px 0px 0px 13px !important;
}

.nav-link {
  position: relative;
}

/* Add this CSS to your stylesheet */
.skeleton-photo {
  width: 50px; /* Adjust as needed */
  height: 50px; /* Adjust as needed */
  border-radius: 50%;
  background: #ddd;
  animation: flash 1s infinite ease-in-out;
}

@keyframes flash {
  0%, 100% {
    opacity: 0.7;
  }
  50% {
    opacity: 1;
  }
}


    .message-container-skeleton {
      overflow-y: auto;
      flex-grow: 1;
      margin-bottom: 10px; /* Space above the footer */
    }

    .message-container {
      display: flex;
      flex-direction: column;
      overflow-y: auto;
      height: calc(100vh - 240px); /* Adjust based on your header/footer height */
      scroll-behavior: auto !important;
    }

    .footer-chat {
      flex-shrink: 0;
    }


    /* Chat bubble styles */
.message {
  display: flex;
  align-items: center;
  margin: 10px;
}

.message.you {
  justify-content: flex-end;
}

.message.other {
  justify-content: flex-start;
}

.message .profile-photo {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  margin-right: 10px;
}

.message.you .profile-photo {
  margin-left: 10px;
  margin-right: 0;
}

.message .bubble {
  padding: 10px;
  border-radius: 20px;
  position: relative;
}

.message.you .bubble {
  background-color: #7367E7; /* Purple color for sender */
  color: white !important;
  border-bottom-right-radius: 0;
  padding: 15px;
}

.message.other .bubble {
  background-color: #E5E5EA; /* Grey color for receiver */
  color: black !important;
  border-bottom-left-radius: 0;
}

.skeleton {
    background-color: #e0e0e0;
    border-radius: 4px;
    margin-bottom: 10px;
  }

  .skeleton-chat1 {
    height: 40px;
    width: 60%;
    margin: 10px;
    position: relative;
    float: left;
  }

  .skeleton-chat2 {
    height: 40px;
    width: 60%;
    margin: 10px 0 10px 130px;
    position: relative;
    float: right;
  }

  .skeleton-chat3 {
    height: 40px;
    width: 60%;
    margin: 10px;
    position: relative;
    float: left;
  }

  .skeleton-chat4 {
    height: 40px;
    width: 60%;
    margin: 10px 0 10px 130px;
    position: relative;
    float: right;
  }

  .skeleton-chat5 {
    height: 40px;
    width: 60%;
    margin: 10px;
    position: relative;
    float: left;
  }

  .skeleton-chat:nth-child(2n) {
    width: 50%;
  }

  .notification {
    position: fixed;
    top: 20px;
    background-color: #96f775;
    color: #000;
    font-weight: 600;
    padding: 20px 30px 20px 0px;
    margin-left: 0;
    margin-right: 0;
    border-radius: 75px;
    z-index: 1000;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition:  top 0.3s ease-in-out;
    width: 90%;
    left: 50%;
    transform: translateX(-50%);
    padding-left: 23px;
    max-width: 560px;
}

  .notification.show {
    top: 20px;
  }

  .close-notification {
    position: absolute;
    top: 10px;
    right: 15px; 
    background: none;
    border: none;
    color: black;
    font-size: 26px; 
    cursor: pointer;
}

.button-share-ride {
  background: none;
  color: #000000;
  border: none;
  padding: 10px 20px;
  font-size: 16px;
  cursor: pointer;
  border-radius: 5px;
  display: block;
  width: 100%;
  text-decoration: underline;
  text-align: center;
  font-weight: 600;
  margin-top: 15px;
}

.button-share-ride:hover {
opacity: 0.5;
}

.placeholder-myrides img {
  max-width: 90px !important;
  margin-bottom: 30px !important;
}


.leave-a-review {
  display: flex;
  margin-top: 10px;
  background-color: #ffd35c;
  border-radius: 35px;
  font-weight: 600;
  border: none;
  padding: 10px 20px 10px 20px;
  box-shadow: 0 14px 25px -16px rgba(0, 0, 0, 0.31);
  transition: all .2s ease-in-out;
}

.leave-a-review:hover {
  transform: scale(1.04); 
}

.text-center img {
  max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}

.text-center  {
  text-align: center;
  display: block;
    margin-left: auto;
    margin-right: auto;
}

.rating-star {
  margin: 5px !important;
}

#submit-review {
  min-height: 62px !important;
}


/* Desktop Sidebar Menu Styles */
.sidebar-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 250px;
  height: 100%;
  background-color: #fff;
  box-shadow: 2px 0 15px rgba(0, 0, 0, 0.07);
  display: none; /* Hide by default */
  flex-direction: column;
  justify-content: space-between;
  padding: 50px;
  z-index: 1000;
}

.sidebar-menu .logo {
  max-width: 150px;
  margin-bottom: 60px;
}

.sidebar-menu .menu-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.sidebar-menu .menu-list li {
  margin-bottom: 20px;
}

.sidebar-menu .menu-list li a {
  color: #000;
  text-decoration: none;
  display: flex;
  align-items: center;
  font-weight: 600;
  margin: 0px 0px 25px 0px;
}

.sidebar-menu .menu-list li a img {
  margin-right: 15px;
  width: 24px;
  height: 24px;
}

.sidebar-menu .menu-footer {
  margin-top: auto;
  font-weight: 600;
}

.sidebar-menu .support-link {
  display: flex;
  align-items: center;
  color: #000;
  text-decoration: none;
  font-weight: 600;
}

.sidebar-menu .support-link img {
  margin-right: 10px;
  width: 20px;
  height: 20px;
}

/* Show sidebar on large screens only */
@media (min-width: 992px) {
  .sidebar-menu {
    display: flex;
  }
  .footer-menu {
    display: none; /* Hide the footer menu on larger screens */
  }
}

/* Show sidebar on large screens only */
@media (max-width: 992px) {
  .main-container {
    display: flex;
    padding-left: 0px !important; /* Ensure enough space for the sidebar */
    justify-content: center;
  }
}



/* Sidebar Menu Styles */
.sidebar-menu .menu-list li a {
  color: #000;
  text-decoration: none;
  display: flex;
  align-items: center;
  font-weight: 600;
  opacity: 0.4;
  transition: opacity 0.3s ease;
}

.password-requirements {
  margin: 0px 0 20px 0px;
}

.sidebar-menu .menu-list li a.active {
  opacity: 1;
}

.sidebar-menu .menu-list li a:hover {
  opacity: 0.7;
}

/* Main container that holds sidebar and content */
.main-container {
  display: flex;
  padding-left: 250px; /* Ensure enough space for the sidebar */
  justify-content: center;
}

/* Content container styles */
.content-container {
  flex: 1;
  display: flex;
  justify-content: center; /* Center the content within this container */
  padding-bottom: 85px; /* Same as footer height */
}


/* Main container that holds sidebar and content */
.main-container {
  padding-bottom: 85px; /* Adjust this value based on your footer height */
  min-height: 100vh;
  position: relative;
}

@media (min-width: 992px) { /* Apply these styles only on larger screens (e.g., desktop) */
  .main-container {
    padding-left: 250px; /* Ensure enough space for the sidebar on desktop */
  }

  .content-container {
    flex: 1;
    max-width: 900px; /* Adjust max-width to control the total width of the content */
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
  }
}

/* Content container styles for all screen sizes */
.content-container {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

/* Sidebar on mobile should not be fixed and should take full width */
@media (max-width: 991px) {
  .sidebar-menu {
    position: relative;
    width: 100%;
    box-shadow: none;
    padding: 10px;
  }

  .content-container {
    margin-left: 0;
  }

  .main-container {
    padding-left: 0; /* Remove padding on mobile */
    flex-direction: column; /* Stack elements vertically on mobile */
  }
}

.verified-status.verified ~ .profile-right-icons {
  display: none;
  float: right;
}

.profile-right-icon {
  float: right;
}




/* Hide the default radio button */
.custom-radio input[type="radio"] {
  position: absolute;
  opacity: 0;
  cursor: pointer;
}

.dropdown-toggle::after  {
  display: none;
}

/* Create a custom radio button */
.custom-radio .checkmark {
  position: relative;
  height: 20px;
  width: 20px;
  background-color: #e8e7ea;
  border-radius: 50%;
  display: inline-block;
  margin-right: 10px;
}

/* On mouse-over, add a grey background color */
.custom-radio:hover input ~ .checkmark {
  background-color: #c9c9c9;
}

/* When the radio button is checked, add a background color */
.custom-radio input:checked ~ .checkmark {
  background-color: #96f775;
}

/* Create the indicator (the dot inside the radio button) */
.custom-radio .checkmark:after {
  content: "";
  position: absolute;
  display: none;
}

/* Show the indicator (dot/circle) when checked */
.custom-radio input:checked ~ .checkmark:after {
  display: block;
}

/* Style the indicator (dot/circle) */
.custom-radio .checkmark:after {
  top: 6px;
  left: 6px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: white;
}


.custom-calendar {
  margin: 10px 0 20px -20px !important;
  box-shadow: none !important;
}




input[type="time"].custom-input {
  font-size: 16px;
  padding: 12px 40px 12px 50px; /* Add padding to the left for the icon */
  width: 100%;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  text-align: left;
  box-sizing: border-box;
}

/* Position the clock icon */
input[type="time"].custom-input::-webkit-calendar-picker-indicator {
  position: absolute;
  left: 10px;
  background: url('../img/time-icon.svg') no-repeat center;
  padding: 2px;
  color: transparent;
  cursor: pointer;
}

/* For other browsers */
input[type="time"].custom-input::-moz-calendar-picker-indicator {
  position: absolute;
  left: 0px;
  background: url('../img/time-icon.svg') no-repeat center;
  padding: 12px;
  color: transparent;
  cursor: pointer;
}

#load-more-button {
  margin: 20px auto;
  padding: 10px 20px;
  transition: opacity 0.3s ease;
}

#load-more-button:disabled {
  opacity: 0.7;
}

.message-group {
  display: flex;
  flex-direction: column;
}

.sender-name {
  font-size: 14px;
  color: #666;
  margin-bottom: 4px;
}

.message.you .message-group {
  align-items: flex-end;
}

.message.other .message-group {
  align-items: flex-start;
}


.bubble {
  max-width: 80%;
  word-wrap: break-word;
  overflow-wrap: break-word;
  padding: 12px;
  border-radius: 18px;
}

.message {
  width: 100%;
  margin: 8px 0;
}

.message-group {
  display: flex;
  flex-direction: column;
  width: 100%;
}

@media screen and (max-width: 768px) {
  .bubble {
      max-width: 85%;
  }
}

@media screen and (max-width: 480px) {
  .bubble {
      max-width: 90%;
  }
}

.app-store-icon {
  height: 40px !important;
  width: auto !important;
  opacity: 1 !important;
  display: inline-block;
  margin: 0px 0px 40px 0px;
}

.app-store-links {
  text-align: left; 
}


.iti--allow-dropdown input, .iti--allow-dropdown input[type=text], .iti--allow-dropdown input[type=tel], .iti--separate-dial-code input, .iti--separate-dial-code input[type=text], .iti--separate-dial-code input[type=tel] {
  padding-right: 6px !important;
  padding-left: 68px !important;
  margin-left: -10px !important;
}

.iti input, .iti input[type=text], .iti input[type=tel] {
  position: relative;
  z-index: 0;
  padding-right: 36px;
  padding: 20px 20px 20px 30px;
  border-radius: 50px;
  border: 0px;
  width: 250px;
}


.verification-container {
  margin-top: 30px;
}

/* Verification Container */
.verification-container {
  max-width: 560px;
  margin: 50px auto;
  padding: 0 20px;
  text-align: left;
}

/* Heading and Description */
.verification-container h1 {
  font-size: 28px;
  font-weight: 800;
  margin-bottom: 20px;
}

.verification-container .description {
  font-size: 16px;
  color: #666666;
  line-height: 1.5em;
  margin-bottom: 24px;
  font-weight: 400;
}

/* Form Styles */
#verification-form.verification-form {
  margin-top: 45px;
}

/* Labels and Inputs */
label {
  display: block;
  margin-bottom: 6px;
  color: #000;
  font-weight: 600;
  font-size: 14px;
}

.select-wrapper,
.phone-input-container {
  position: relative;
}

.form-control:focus {
  outline: 2px solid #000;
  background-color: #f2f2f2;
}

/* WhatsApp Icon before phone input if desired */
.phone-input-container {
  display: flex;
  align-items: center;
  background-color: #F5F4F6;
  border-radius: 10px;
  padding: 0 20px;
  height: 60px;
}

.phone-input-container .whatsapp-icon {
  margin-right: 10px;
  width: 24px;
  height: 24px;
}


/* Verification Code Section */
#verification-code-section {
  display: none;
  margin-top: 20px;
}

#verify-code {
  background-color: #7f5af0;
  color: #fff;
  border: none;
  height: 60px;
  border-radius: 45px;
  font-weight: 600;
  font-size: 16px;
  cursor: pointer;
  text-align: center;
  display: inline-flex;
  margin: 30px 0px 20px 0px;
  align-items: center;
  justify-content: center;
  width: 100%;
  transition: background-color 0.3s ease;
}

#verify-code:hover {
  background-color: #6e4ed0;
}

/* Status, Timer, Success Message */
#status-message {
  font-size: 14px;
  padding: 10px;
  border-radius: 8px;
  margin-bottom: 20px;
  display: none;
}

#status-message.success {
  background: #e0ffe0;
  color: #2c662d;
  width: 100%;
  padding: 15px;
  margin: 10px 0 10px 0;
}

#status-message.error {
  background: #ffe0e0;
  color: #662c2d;
  width: 100%;
  padding: 15px;
  margin: 10px 0 10px 0;
}

#resend-timer {
  display: none;
  font-size: 14px;
  color: #333;
  margin-bottom: 20px;
  text-align: center;
}

#verification-success {
  background: #e0ffe0;
  color: #2c662d;
  padding: 20px;
  border-radius: 10px;
  font-size: 16px;
  text-align: center;
  margin-top: 20px;
  display: none;
}

/* Validation Message */
.validation-message {
  color: #ff4e4e;
    font-size: 14px;
    margin-top: 10px;
  display: none;
}


.links {
  margin-top: 20px;
}

.links a {
  margin-top: 20px;
  display: block;
  margin-bottom: 0.5em;
  color: #333;
  font-size: 14px;
  text-decoration: underline;
}


.loading-spinner {
  display: none;
  width: 20px;
  height: 20px;
  border: 2px solid #ffffff;
  border-radius: 50%;
  border-top-color: transparent;
  animation: spin 1s linear infinite;
  margin: 0 auto;
}

@keyframes spin {
  0% {
      transform: rotate(0deg);
  }
  100% {
      transform: rotate(360deg);
  }
}

.btn-primary:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

.button-text.hidden {
  display: none;
}

.text-shrink {
  max-width: 230px;
  width: 100%;
}

/* User Profile Modal */
.upm-content {
  border: none;
  border-radius: 20px;
  padding: 30px 24px;
  position: relative;
  overflow: hidden;
}

.upm-close {
  position: absolute;
  top: 12px;
  right: 16px;
  background: none;
  border: none;
  font-size: 24px;
  color: #999;
  cursor: pointer;
  z-index: 1;
  line-height: 1;
}

.upm-close:hover {
  color: #333;
}

.upm-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 20px;
}

.upm-photo {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 12px;
}

.upm-name-row {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 4px;
}

.upm-name {
  font-size: 20px;
  font-weight: 700;
  margin: 0;
  color: #000;
}

.upm-verified-badge {
  width: 18px;
  height: 18px;
}

.upm-rating {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 15px;
  color: #333;
  font-weight: 600;
}

.upm-star {
  width: 16px;
  height: 16px;
}

.upm-description {
  font-size: 14px;
  color: #666;
  line-height: 1.5;
  text-align: center;
  margin-bottom: 20px;
  padding: 0 10px;
}

.upm-info-section {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.upm-info-item {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 12px 14px;
  background: #F5F4F6;
  border-radius: 10px;
}

.upm-info-label {
  font-size: 13px;
  font-weight: 600;
  color: #999;
  flex-shrink: 0;
  margin-right: 12px;
}

.upm-info-value {
  font-size: 14px;
  color: #333;
  text-align: right;
  word-break: break-word;
}

.upm-loading {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 60px 0;
}

.upm-clickable {
  cursor: pointer;
}

.upm-clickable:hover {
  opacity: 0.8;
}