/* General Styles */
body {
  font-family: "Poppins", sans-serif;
  font-size: 14px;
  overflow-x: hidden; /* Prevent horizontal scrolling */
}

.banner-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;
  min-height: 100vh; /* Full viewport height */
  box-sizing: border-box; /* Ensure padding does not affect width/height */
}

.banner {
  background-image: url("/../assets/images/ukride-car3.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: #fff;
  font-family: "Poppins", sans-serif;
  font-size: 14px;
  width: 100%;
  padding: 50px 0; /* Ensure content has space inside the banner */
  border-bottom-left-radius: 50px;
  /* Adjust the value to change the roundness */
  border-bottom-right-radius: 50px;
  /* Adjust the value to change the roundness */
}

.form-section {
  padding: 50px;
}

.content-section {
  padding: 120px 0;
  text-align: center;
  width: 100%; /* Ensure full width */
  max-width: 1200px; /* Adjust the max-width as needed */
  margin: 0 auto; /* Center align the content */
  padding-left: 20px; /* Add padding to ensure content isn't touching edges */
  padding-right: 20px; /* Same as above */
}

.btn-footer {
  background: linear-gradient(to right, #ed8302, #f79f1a);
  color: #fff !important;
  border: none;
  padding: 10px 0;
  border-radius: 6px;
  width: 20%;
}

.divider-rights {
  border-top: 2px solid #ed8302;
}

/* Solution Section */
.section_our_solution .row {
  align-items: center;
}

.our_solution_category {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  width: 100%; /* Ensure it doesn't exceed the viewport width */
  margin: 0 auto;
}

.our_solution_category .solution_cards_box {
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 100%; /* Ensure it doesn't exceed the viewport width */
}

.solution_cards_box .solution_card {
  flex: 0 1 calc(50% - 16px); /* Responsive flex basis */
  background: #fff;
  box-shadow: 0 2px 4px 0 rgba(136, 144, 195, 0.2),
    0 5px 15px 0 rgba(37, 44, 97, 0.15);
  border-radius: 15px;
  margin: 8px;
  padding: 10px 15px;
  position: relative;
  z-index: 1;
  overflow: hidden;
  min-height: 265px;
  transition: 0.7s;
  color: #000000;
}

.solution_cards_box .solution_card:hover {
  background: #ed8302;
  color: #fff;
  /* transform: scale(1.1); */
  /* z-index: 9; */
}

.solution_cards_box .solution_card:hover::before {
  background: rgba(237, 131, 2, 0.1);
}

.solution_cards_box .solution_card:hover .solu_title h3,
.solution_cards_box .solution_card:hover .solu_description p {
  color: #fff;
}

.solution_cards_box .solution_card:before {
  content: "";
  position: absolute;
  background: rgba(237, 131, 2, 0.05);
  width: 170px;
  height: 400px;
  z-index: -1;
  transform: rotate(42deg);
  right: -56px;
  top: -23px;
  border-radius: 35px;
}

.solution_cards_box .solution_card:hover .solu_description button {
  background: #fff !important;
  color: #ed8302;
}

.solution_card .so_top_icon {
}

.solution_card .solu_title h3 {
  color: #212121;
  font-size: 1.3rem;
  margin-top: 13px;
  margin-bottom: 13px;
}

.solution_card .solu_description p {
  font-size: 15px;
  margin-bottom: 15px;
}

.solution_card .solu_description button {
  border: 0;
  border-radius: 15px;
  background: linear-gradient(
    140deg,
    #ed8302 0%,
    #f79f1a 50%,
    #ed8302c7 75%
  ) !important;
  color: #fff;
  font-weight: 500;
  font-size: 1rem;
  padding: 5px 16px;
}

.our_solution_content h1 {
  text-transform: capitalize;
  margin-bottom: 1rem;
  font-size: 2.5rem;
}

.hover_color_bubble {
  position: absolute;
  background: rgba(54, 81, 207, 0.15);
  width: 100rem;
  height: 100rem;
  left: 0;
  right: 0;
  z-index: -1;
  top: 16rem;
  border-radius: 50%;
  transform: rotate(-36deg);
  left: -18rem;
  transition: 0.7s;
}

.solution_cards_box .solution_card:hover .hover_color_bubble {
  top: 0rem;
}

.solution_cards_box .solution_card .so_top_icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #fff;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.solution_cards_box .solution_card .so_top_icon img {
  width: 40px;
  height: 50px;
  object-fit: contain;
}

/* Form Section */
.form-background {
  background-color: #e0dcdc;
  border-radius: 9px;
  padding: 30px;
  max-width: 380px;
  margin: auto;
  margin-top: 3%;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Adds a soft shadow around the element */

}

.form-group {
  position: relative;
  margin-bottom: 0.5rem;
}

.form-control {
  border-radius: 6px;
  background-color: #fff;
  color: #000;
  padding-right: 30px; /* Adjusted for custom icon */
}

.icon {
  position: absolute;
  top: 70%;
  right: 10px;
  transform: translateY(-50%);
  color: #000;
  width: 20px;
}

.icon_location {
  position: absolute;
  top: 70%;
  right: 10px;
  transform: translateY(-50%);
  color: #000;
  width: 25px;
}

.icon_location_via {
  position: absolute;
  top: 55%;
  right: 10px;
  transform: translateY(-50%);
  color: #000;
  width: 25px;
}

.icon_location_dropoff {
  position: absolute;
  top: 50%;
  right: 10px;
  transform: translateY(-50%);
  color: #000;
  width: 25px;
}

/* Gradient button */
.btn-get-quote {
  background: linear-gradient(to right, #ed8302, #f79f1a);
  color: #fff;
  border: none;
  padding: 10px 0;
  border-radius: 6px;
  width: 100%;
}

.custom-control-input:checked ~ .custom-control-label::before {
  background-color: #ed8302;
  border-color: #ed8302;
}

.custom-control-input:focus ~ .custom-control-label::before {
  box-shadow: 0 0 0 0.2rem rgba(237, 131, 2, 0.25);
}

.custom-control-input:active ~ .custom-control-label::before {
  background-color: #f79f1a;
  border-color: #f79f1a;
}

.custom-control-label::before {
  background: white;
  border: none;
  border-radius: 50%;
  width: 1.25em;
  height: 1.25em;
}

.custom-control-input:not(:checked) ~ .custom-control-label::before {
  background-color: white;
  border: none;
}

.btn-find-driver {
  background: linear-gradient(to right, #ed8302, #f79f1a);
  color: #fff;
  border: none;
  padding: 10px 0;
  border-radius: 6px;
  width: 100%;
}

.btn-account {
  background: linear-gradient(to right, #ed8302, #f79f1a);
  color: #fff;
  border: none;
  padding: 10px 0;
  border-radius: 6px;
  width: 50%;
}

.btn-guest {
  background: #000000;
  color: #fff;
  border: none;
  padding: 10px 0;
  border-radius: 6px;
  width: 50%;
}

.btn-guest:hover {
  background: #000000;
  color: #fff;
  border: none;
  padding: 10px 0;
  border-radius: 6px;
  width: 50%;
}

/* Service Section */
.service-section {
  background-color: black;
  padding: 50px;
}

.service-text {
  color: white;
  text-align: center;
}

.orange-word {
  color: #ed8302;
}

/* Label and input placeholder color adjustment */
label,
::placeholder {
  color: black;
  font-size: 14px;
}

select::-ms-expand {
  display: none;
}

select::-webkit-select-arrow {
  display: none;
}

select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  text-indent: 1px;
  text-overflow: "";
}

.hidden {
  display: none;
}

.via-close-btn {
  color: #000;
}

#toggle-icon {
  margin-left: 5px;
}

.toggle-design {
  background-color: #fff;
  border-radius: 6px;
}

.selected-items,
.selected-items-return,
.selected-items-now {
  display: flex;
  flex-wrap: wrap;
}

.selected-item,
.selected-item-return,
.selected-item-now {
  display: flex;
  align-items: center;
  margin-right: 10px;
  padding: 7px;
  background-color: #fff;
  border: 1px solid #ddd;
  color: #000000;
  border-radius: 5px;
}

.selected-item i,
.selected-item-return i,
.selected-item-now i {
  margin-right: 5px;
  cursor: pointer;
}

.quantity {
  margin-right: 5px;
}

.quantity {
  margin-right: 5px;
}

.circle-loader {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 5px;
  z-index: 999;
}

.circle {
  width: 12px;
  height: 12px;
  background-color: #ed8302;
  border-radius: 50%;
  animation: bounce 0.6s infinite alternate;
}

.circle:nth-child(2) {
  animation-delay: 0.2s;
}
.circle:nth-child(3) {
  animation-delay: 0.4s;
}
.circle:nth-child(4) {
  animation-delay: 0.6s;
}

@keyframes bounce {
  from {
    transform: translateY(0);
  }
  to {
    transform: translateY(-10px);
  }
}

/* Apply animation to vehicle icon */
.loader i {
  animation: moveForward 2s infinite linear;
}

/* Text style */
.loader-text {
  display: block;
  margin-top: 5px;
  font-size: 16px;
  text-align: center;
  color: #333; /* Adjust color as needed */
}

.message-show {
  opacity: 0;
  transition: opacity 0.5s ease-out;
}

/* Custom styling for cards */
.card-header {
  background-color: #e0dcdc;
  color: #000;
}

.card-body {
  padding: 1.25rem;
}

.card-img-top {
  width: 80px;
  margin-top: 10px;
}

.button-container {
  text-align: center;
  margin-top: 15px;
}

.card-group {
  display: flex;
  flex-wrap: wrap;
  border-radius: 6px;
}

/* .list-group {
  display: flex;
  flex-direction: row;
  padding-left: 0;
  margin-bottom: 0;
  border-radius: .25rem;
} */

.icon-wrapper {
  margin-right: 20px;
  margin-left: 20px;
  display: flex;
  align-items: center;
  margin-bottom: 5px;
}

@media (max-width: 768px) {
  .card {
    flex-direction: row;
    align-items: center;
    padding: 10px;
    width: 100%;
  }

  .card-header {
    display: none;
  }

  .pass-web {
    display: none;
  }
  .list-group {
    display: flex;
    flex-direction: row;
    padding-left: 0;
    margin-bottom: 0;
    border-radius: 0.25rem;
  }

  .icon-wrapper {
    margin-right: 10px;
    margin-left: 10px;
    display: flex;
    align-items: center;
  }

  .card-body {
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
    padding: 10px;
  }

  .card-img-top {
    width: 60px;
    height: auto;
    margin-right: 10px;
  }

  .details {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-right: 10px;
  }

  .details .title {
    font-size: 1rem;
    font-weight: bold;
    margin-bottom: 5px;
    text-align: center;
  }

  .details .price {
    color: #f58220;
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 5px;
    text-align: center;
  }

  .details .icons {
    display: flex;
    justify-content: space-around;
    width: 100%;
    margin-bottom: 5px;
  }

  .details .icons .icon-wrapper {
    display: flex;
    align-items: center;
    margin-right: 10px;
  }

  .details .quantities {
    display: flex;
    justify-content: space-around;
    width: 100%;
  }

  .details .quantities .quantity-wrapper {
    display: flex;
    align-items: center;
    font-size: 0.8rem;
  }

  .button-container {
    text-align: center;
    width: auto;
  }

  .btn-get-quote {
    padding: 5px;
    font-size: 0.9rem;
  }

  /* Hide text on mobile devices */
  .details .quantities .quantity-wrapper span.text-dark {
    display: none;
  }
}

.nav-tabs .nav-item .nav-link {
  border-radius: 6px 6px 0 0;
  margin-right: 10px;
  background-color: #d9d9d9;
  color: black;
  border: 1px solid #d9d9d9;
  width: 170px;
}

.nav-tabs .nav-item .nav-link.active {
  background: linear-gradient(to right, #ed8302, #f79f1a);
  color: white;
  border: 1px solid orange;
}

.tab-content {
  border-radius: 10px;
  border: 1px solid #d9d9d9;
  padding: 10px;
  background-color: #e0dcdc;
}

.tab-pane input[type="text"],
.tab-pane input[type="email"],
.tab-pane input[type="password"] {
  margin: 10px 0;
}

.tab-pane button {
  margin-top: 10px;
}

.nav-tabs-custom .nav-item .nav-link {
  border-radius: 6px 6px 0 0;
  margin-right: 10px;
  background-color: #c9b9b9;
  color: black !important;
}

.nav-tabs-custom .nav-item .nav-link.active {
  background: linear-gradient(to right, #ed8302, #f79f1a);
  color: #000000;
  border: 1px solid orange;
}

.tab-content-custom {
  border-radius: 10px;
  border: 1px solid #d9d9d9;
  padding: 10px;
  background-color: #e0dcdc;
}

.tab-pane-custom input[type="text"],
.tab-pane-custom input[type="email"],
.tab-pane-custom input[type="password"] {
  margin: 10px 0;
}

.tab-pane-custom button {
  margin-top: 10px;
}

#success-message,
#success-message-login,
#error-message-register,
#error-message-login,
#error-message,
#error-message-stripe,
#error-message-booking,
#voucher-message {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 9999;
}

.bg-light {
  background-color: #f5f5f5;
  /* Light grey background */
}

.border-right {
  border-right: 1px solid #ccc;
  /* Vertical divider */
}

.bg-orange {
  background-color: orange;
  color: white;
  border-radius: 6px;
}

.bg-black {
  background-color: #343a40;
  color: white;
  border-radius: 6px;
}

.payment-content,
.payment-content-confirm,
.payment-content-guest {
  border-radius: 10px;
  border: 1px solid #d9d9d9;
  padding: 10px;
  background-color: #e0dcdc;
}

.via-close-btn {
  margin-top: -35px;
  margin-right: -20px;
  font-size: 16px;
  cursor: default;
  position: absolute;
  top: 20px;
  right: 20px;
  transform: translateY(-50%);
  cursor: pointer;
  font-size: smaller;
}

.btn-custom {
  background-color: #343a40;
  color: #fff;
  border: none;
  border-radius: 4px;
  padding: 6px 16px;
  font-size: 10px;
  transition: background-color 0.3s ease;
}

.btn-custom:hover {
  background-color: #23272b;
  color: #fff;
}

.loading-indicator {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 10px;
}

.input-wrapper {
  position: relative;
}

.loading-indicator {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  justify-content: center;
  align-items: center;
  pointer-events: none; /* To make sure the input field is still usable */
}

.dot {
  width: 8px;
  height: 8px;
  margin: 0 2px;
  background-color: #333;
  border-radius: 50%;
  display: inline-block;
  animation: dot-blink 1.2s infinite ease-in-out both;
}

.dot:nth-child(1) {
  animation-delay: -0.32s;
}

.dot:nth-child(2) {
  animation-delay: -0.16s;
}

@keyframes dot-blink {
  0%,
  80%,
  100% {
    transform: scale(0);
  }
  40% {
    transform: scale(1);
  }
}

.center-form {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
}

.center-form-history {
  margin-left: 40px;
  margin-right: 40px;
}

.booking-status {
  display: inline-block;
  padding: 0.25em 0.5em;
  border-radius: 1em;
  color: white;
}

.pill {
  font-size: 0.8em;
  font-weight: bold;
  text-transform: uppercase;
}

.danger {
  background-color: #dc3545;
  /* Red color */
}

.filled {
  border: 2px solid transparent;
}

#chat1 .form-outline .form-control ~ .form-notch div {
  pointer-events: none;
  border: 1px solid;
  border-color: #eee;
  box-sizing: border-box;
  background: transparent;
}

#chat1 .form-outline .form-control ~ .form-notch .form-notch-leading {
  left: 0;
  top: 0;
  height: 100%;
  border-right: none;
  border-radius: 0.65rem 0 0 0.65rem;
}

#chat1 .form-outline .form-control ~ .form-notch .form-notch-middle {
  flex: 0 0 auto;
  max-width: calc(100% - 1rem);
  height: 100%;
  border-right: none;
  border-left: none;
}

#chat1 .form-outline .form-control ~ .form-notch .form-notch-trailing {
  flex-grow: 1;
  height: 100%;
  border-left: none;
  border-radius: 0 0.65rem 0.65rem 0;
}

#chat1 .form-outline .form-control:focus ~ .form-notch .form-notch-leading {
  border-top: 0.125rem solid #39c0ed;
  border-bottom: 0.125rem solid #39c0ed;
  border-left: 0.125rem solid #39c0ed;
}

#chat1 .form-outline .form-control:focus ~ .form-notch .form-notch-leading,
#chat1 .form-outline .form-control.active ~ .form-notch .form-notch-leading {
  border-right: none;
  transition: all 0.2s linear;
}

#chat1 .form-outline .form-control:focus ~ .form-notch .form-notch-middle {
  border-bottom: 0.125rem solid;
  border-color: #39c0ed;
}

#chat1 .form-outline .form-control:focus ~ .form-notch .form-notch-middle,
#chat1 .form-outline .form-control.active ~ .form-notch .form-notch-middle {
  border-top: none;
  border-right: none;
  border-left: none;
  transition: all 0.2s linear;
}

#chat1 .form-outline .form-control:focus ~ .form-notch .form-notch-trailing {
  border-top: 0.125rem solid #39c0ed;
  border-bottom: 0.125rem solid #39c0ed;
  border-right: 0.125rem solid #39c0ed;
}

#chat1 .form-outline .form-control:focus ~ .form-notch .form-notch-trailing,
#chat1 .form-outline .form-control.active ~ .form-notch .form-notch-trailing {
  border-left: none;
  transition: all 0.2s linear;
}

#chat1 .form-outline .form-control:focus ~ .form-label {
  color: #39c0ed;
}

#chat1 .form-outline .form-control ~ .form-label {
  color: #bfbfbf;
}

.input-group {
  border-radius: 15px;
  overflow: hidden;
}

#sendButton {
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
}

#sendButton:hover {
  background-color: #3e8f3e;
  /* Change background color on hover */
}

.chat-body {
  max-height: 300px;
  /* Adjust this value as needed */
  overflow-y: auto;
  background-color: #ffffff;
}

/* Mobile Styles */
@media (max-width: 576px) {
  .solution_cards_box .solution_card {
    flex: 1 1 100%; /* Make cards full-width on mobile */
  }
  @media (max-width: 576px) {
    .service-text {
      margin-top: 10px;
      color: white;
      text-align: center;
      font-size: 24px;
    }
  }

  .selected-items,
  .selected-items-return,
  .selected-items-now {
    justify-content: space-between;
  }

  .selected-item,
  .selected-item-return,
  .selected-item-now {
    flex: 1 1 100%;
    margin-bottom: 10px;
  }

  .selected-item i,
  .selected-item-return i,
  .selected-item-now i {
    margin-right: 10px;
  }

  .form-section {
    padding: 20px;
  }

  .form-background {
    padding: 20px;
    width: 100%;
  }

  .btn-account,
  .btn-guest {
    width: 100%;
    font-size: 12px;
  }

  .btn-find-driver,
  .btn-get-quote {
    padding: 8px 0;
    font-size: 12px;
  }

  #quote {
    padding: 20px;
  }

  .payment-content {
    margin: 20px;
  }

  .payment-content-guest {
    margin: 20px;
  }

  .payment-content-confirm {
    margin: 20px;
  }

  .auth-widget {
    padding: 20px;
  }

  .center-form {
    margin: 20px;
  }

  .center-form-history {
    margin: 20px;
  }

  .confirm-blade {
    margin: 20px;
  }

  .nav-tabs-custom .nav-item,
  .nav-tabs .nav-item {
    flex: 1 1 50%;
    padding: 0 5px;
    margin-left: 0;
  }

  .nav-tabs-custom .nav-item .nav-link,
  .nav-tabs .nav-item .nav-link {
    width: 100%;
    margin-left: 0;
    margin-right: 0;
    margin-bottom: 10px;
    margin-top: 10px;
    padding-left: 0;
  }

  .tab-content-custom {
    padding: 5px;
  }

  .footer .logo {
    margin: 20px 0;
    max-width: 100%;
    height: auto;
  }

  .btn-footer {
    width: 50%;
  }
}

/* Tablet Styles */
@media (min-width: 768px) {
  .our_solution_category .solution_cards_box {
    flex: 1;
  }
}

/* Desktop Styles */
@media (min-width: 1024px) {
  .sol_card_top_3 {
    position: relative;
    top: -3rem;
  }

  .our_solution_category {
    margin: 0 auto;
  }
}
