﻿body {
  background-color: #f5f3f4;
}

.primary-color {
  color: #17a2b8;
}

.green-color {
  color: green;
}

a.active {
  font-weight: bold;
}

.required:after {
  content: " *";
  font-weight: bold;
  color: red;
}

.form-control.valid {
  border-color: #28a745;
  padding-right: calc(1.5em + 0.75rem);
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='8' height='8' viewBox='0 0 8 8'%3e%3cpath fill='%2328a745' d='M2.3 6.73L.6 4.53c-.4-1.04.46-1.4 1.1-.8l1.1 1.4 3.4-3.8c.6-.63 1.6-.27 1.2.7l-4 4.6c-.43.5-.8.4-1.1.1z'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right calc(0.375em + 0.1875rem) center;
  background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
}

.form-control.input-validation-error {
  border-color: #dc3545;
  padding-right: calc(1.5em + 0.75rem);
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='none' stroke='%23dc3545' viewBox='0 0 12 12'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23dc3545' stroke='none'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right calc(0.375em + 0.1875rem) center;
  background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
}

@media (min-width: 576px) {
  .navbar-expand-md .navbar-nav .nav-link {
    padding-right: 1rem;
    padding-left: 1rem;
  }
}

.validation-summary-errors ul {
  list-style: none;
  margin-left: -40px;
}

.toast-container {
  border-radius: 0.2rem;
}

.btn-google:hover {
  background: #b22222;
  color: #fff;
}

.btn-facebook:hover {
  background: #2b4db1;
  color: #fff;
}

.btn-twitter:hover {
  background: #007bb6;
  color: #fff;
}

.btn-microsoft:hover {
  background: #00618e;
  color: #fff;
}

.btn-facebook {
  background: #305c99;
  color: #fff;
  margin: 8px 16px;
}

.btn-twitter {
  background: #00cdff;
  color: #fff;
  margin: 8px 16px;
}

.btn-google {
  background: #d24228;
  color: #fff;
  margin: 8px 16px;
}

.btn-linkedin {
  background: #007bb6;
  color: #fff;
  margin: 8px 16px;
}

.btn-microsoft {
  background: #007bb6;
  color: #fff;
  margin: 8px 16px;
}

.observationLabel {
  font-size: 12px;
  margin-bottom: 10px;
}

.select-wrap {
  width: 100%;
  max-width: 100%;
  /* So it doesn't overflow from it's parent */
}

.select-wrap option {
  /* wrap text in compatible browsers */
  -moz-white-space: pre-wrap;
  -o-white-space: pre-wrap;
  white-space: pre-wrap;
  /* hide text that can't wrap with an ellipsis */
  overflow: hidden;
  text-overflow: ellipsis;
}

.btn-join {
  color: #fff;
  background-color: #16404b;
  border-color: #16404b;
}

.btn-join:hover {
  color: #fff;
  background-color: #16404b;
  border-color: #16404b;
}

.btn-join:focus,
.btn-join.focus {
  box-shadow: 0 0 0 0.2rem rgba(22, 64, 75, 0.5);
}

.btn-join.disabled,
.btn-join:disabled {
  color: #fff;
  background-color: #16404b;
  border-color: #16404b;
}

.btn-join:not(:disabled):not(.disabled):active,
.btn-join:not(:disabled):not(.disabled).active,
.show > .btn-join.dropdown-toggle {
  color: #fff;
  background-color: #16404b;
  border-color: #16404b;
}

.btn-join:not(:disabled):not(.disabled):active:focus,
.btn-join:not(:disabled):not(.disabled).active:focus,
.show > .btn-join.dropdown-toggle:focus {
  box-shadow: 0 0 0 0.2rem rgba(22, 64, 75, 0.5);
}

/*Index Page */

.step {
  width: 40px;
  height: 40px;
  font-size: 18px;
  transform: translate(-40%, -40%);
  background-color: #16404b;
}

.bg-carousel {
  background-image: url("/img/carousel_section.webp");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  height: 80vh; /* Full height of the viewport */
  color: white; /* Optional: color of text inside the column */
}

.custom-carousel {
  background-color: rgba(22, 64, 75, 0.95);
  width: 70%; /* Adjust as needed */
  height: 500px; /* Adjust as needed */
  position: relative; /* Ensure position relative for absolute positioning */
  overflow: hidden; /* Hide overflow to prevent controls from moving */
}

.carousel-control-prev,
.carousel-control-next {
  /* Position the controls */
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}

.carousel {
  width: 90%;
}

.custom-carousel .carousel-inner,
.custom-carousel .carousel-item,
.custom-carousel .carousel-item img {
  height: 100%;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
  display: none; /* Hide default icons */
}

.custom-prev-icon,
.custom-next-icon {
  font-size: 2rem; /* Adjust size as needed */
  color: white;
}

.carousel-content {
  height: 100%;
  display: flex;
  flex-direction: column; /* Display items in a column */
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 20px; /* Add padding to the carousel content */
  max-width: 60%; /* Limit maximum width of the carousel content */
  margin: 0 auto; /* Center align the carousel content */
  position: relative; /* Ensure content positioning */
}

.carousel-content h2,
.carousel-content p {
  margin: 10px 0; /* Adjust spacing between title and text */
}

.btn-outline-light {
  /* Customize button styles as needed */
  color: #fff; /* Text color */
  border-color: #fff; /* Border color */
  padding: 10px 20px; /* Adjust padding as needed */
  margin-right: 20px;
  margin-left: 20px;
}

@media (max-width: 450px) {
  .bg-carousel {
    height: 100vh;
  }

  .custom-carousel {
    width: 100%;
    min-height: 550px;
  }

  .carousel-inner {
    margin-top: 20px;
  }
}

@media (max-width: 825px) {
  .bg-carousel {
    height: 60vh;
    min-height: 600px;
  }

  .custom-carousel {
    width: 95%;
  }
}

span[data-update-every-minute] {
  font-style: italic;
}

span[data-update-every-minute] {
  font-style: italic;
}

/* Create Trip Page: Template Card */
.trip-template-card {
  border: 1px solid #f6f6f6;
  background: #fcfcfc;
  box-shadow: 0 16px 36px -30px rgba(23, 47, 40, 0.65);
  overflow: hidden;
}

.trip-template-card__body {
  position: relative;
  padding: 1.25rem 1.5rem 0.5rem 1.75rem;
}

.trip-template-card .form-label,
.trip-template-card label {
  font-weight: 600;
  color: #25463d;
}

.trip-template-card .form-control {
  border-color: rgba(47, 122, 95, 0.18);
  background-color: rgba(255, 255, 255, 0.96);
}

.trip-template-card .btn-primary {
  box-shadow: 0 10px 20px -16px rgba(17, 67, 52, 0.85);
}

.trip-template-card form:last-child {
  margin-bottom: 0;
}

/* Create Trip Page: Trip Summary Aside */
.trip-summary-sticky {
  position: sticky;
  top: 1.5rem;
}

.trip-summary-panel {
  background: #fff;
  border: 1px solid #d0e6f5;
  box-shadow: 0 8px 40px -12px rgba(18, 58, 100, 0.12);
}

.trip-summary-header {
  border-bottom: 1px solid #d0e6f5;
  color: #1a3258;
}

.trip-summary-header .fa-car {
  color: #2a7dc9;
}

.summary-block {
  padding: 0.15rem 0;
}

.summary-block-label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #7aaac8;
  margin-bottom: 0.25rem;
}

.summary-block-value {
  font-size: 0.9rem;
  color: #1a3258;
}

.summary-block-secondary {
  font-size: 0.8rem;
  color: #6a97be;
  margin-top: 0.1rem;
}

.summary-divider {
  height: 1px;
  background-color: #e5f0fb;
  margin: 0.65rem 0;
}

.summary-route {
  padding-left: 0.1rem;
}

.summary-route-stop {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
}

.summary-route-node {
  display: inline-block;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 3px;
}

.summary-route-node--from {
  background-color: #2a7dc9;
  box-shadow: 0 0 0 3px rgba(42, 125, 201, 0.18);
}

.summary-route-node--stop {
  background-color: #fff;
  border: 2px solid #2a7dc9;
}

.summary-route-node--dest {
  background-color: #e07060;
  box-shadow: 0 0 0 3px rgba(224, 112, 96, 0.14);
}

.summary-route-connector {
  width: 2px;
  height: 12px;
  background: linear-gradient(to bottom, #2a7dc9, #b0d4f0);
  margin-left: 4px;
  margin-top: 2px;
  margin-bottom: 2px;
}

.summary-route-place {
  font-size: 0.875rem;
  font-weight: 600;
  color: #1a3258;
  line-height: 1.3;
}

.summary-route-address {
  font-size: 0.75rem;
  color: #7aaac8;
}

.summary-payment-amount {
  font-size: 1rem;
  font-weight: 700;
  color: #2a7dc9 !important;
}

.summary-badge {
  font-size: 0.78rem;
}

.summary-option-badge {
  background-color: #d9ecfd;
  color: #1a4f84;
  border: 1px solid #a7cff1;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.32rem 0.5rem;
}

/* Timeline (for Waypoints List) */
.tl-item {
  border-radius: 3px;
  position: relative;
  display: -ms-flexbox;
  display: flex
}

.tl-item>* {
  padding: 7px 10px
}

.tl-item:last-child .tl-dot:after {
  display: none
}

.tl-item.active .tl-dot:before {
  border-color: #448bff;
  box-shadow: 0 0 0 4px rgba(68, 139, 255, .2)
}

.tl-item:last-child .tl-dot:after {
  display: none;
}

.tl-dot {
  position: relative;
  border-color: rgba(160, 175, 185, .15)
}

.tl-dot:after,
.tl-dot:before {
  content: '';
  position: absolute;
  border-color: inherit;
  border-width: 2px;
  border-style: solid;
  border-radius: 50%;
  width: 10px;
  height: 10px;
  top: 15px;
  left: 50%;
  transform: translateX(-50%)
}

.tl-dot:after {
  width: 0;
  height: auto;
  top: 25px;
  bottom: -15px;
  border-right-width: 0;
  border-top-width: 0;
  border-bottom-width: 0;
  border-radius: 0
}

.tl-secondary {
  font-size: .85em;
  margin-bottom: 6px;
}

.tl-dot.b-warning {
  border-color: #f4c414 !important;
}

.tl-dot.b-primary {
  border-color: #448bff !important;
}

.tl-dot.b-danger {
  border-color: #f54394 !important;
}

/*Pricing*/

@media (max-width: 450px) {
  .hero-section {
    height: 80vh;
  }

  .hero-content {
    width: 80%;
  }
}

/* Registration Wizard Stepper */
.registration-wizard {
  --wizard-circle-size: 50px;
  --wizard-line-thickness: 3px;
  display: flex;
  align-items: flex-start;
  margin: 0 auto 25px;
  max-width: 900px;
  padding: 0 20px;
  width: 100%;
}

.wizard-step {
  position: relative;
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 1;
}

.wizard-step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: calc(var(--wizard-circle-size) / 2);
  left: calc(50% + (var(--wizard-circle-size) / 2));
  width: calc(100% - var(--wizard-circle-size));
  height: var(--wizard-line-thickness);
  background-color: #e0e0e0;
  transform: translateY(-50%);
  z-index: 0;
}

.wizard-step.completed:not(:last-child)::after {
  background-color: #28a745;
}

.wizard-step-circle,
.wizard-step-label {
  position: relative;
  z-index: 1;
}

.wizard-step-circle {
  width: var(--wizard-circle-size);
  height: var(--wizard-circle-size);
  border-radius: 50%;
  background-color: #e0e0e0;
  color: #999;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: bold;
  transition: all 0.3s ease;
  border: 3px solid #e0e0e0;
}

.wizard-step-label {
  margin-top: 8px;
  padding: 0 8px;
  font-size: 13px;
  color: #666;
  text-align: center;
  font-weight: 500;
  white-space: normal;
  line-height: 1.3;
}

.wizard-step.active .wizard-step-circle {
  background-color: #17a2b8;
  color: white;
  border-color: #17a2b8;
  box-shadow: 0 0 0 4px rgba(23, 162, 184, 0.2);
}

.wizard-step.active .wizard-step-label {
  color: #17a2b8;
  font-weight: 600;
}

.wizard-step.completed .wizard-step-circle {
  background-color: #28a745;
  color: white;
  border-color: #28a745;
}

.wizard-step.completed .wizard-step-label {
  color: #28a745;
}

@media (max-width: 768px) {
  .registration-wizard {
    --wizard-circle-size: 45px;
    max-width: 100%;
    padding: 0 15px;
  }

  .wizard-step-circle {
    font-size: 18px;
  }

  .wizard-step-label {
    font-size: 12px;
  }

  .registration-header h1 {
    font-size: 22px;
  }

  .registration-subtitle {
    font-size: 13px;
  }
}

@media (max-width: 576px) {
  .registration-wizard {
    --wizard-circle-size: 40px;
    max-width: 100%;
    padding: 0 10px;
    margin: 10px auto 20px;
  }

  .wizard-step-circle {
    font-size: 16px;
  }

  .wizard-step-label {
    font-size: 11px;
  }

  .registration-header h1 {
    font-size: 20px;
  }

  .registration-subtitle {
    font-size: 12px;
  }
}

/* Registration page specific styles */
.registration-container {
  max-width: 500px;
  margin: 0 auto;
}

.registration-header {
  text-align: center;
  margin-bottom: 15px;
}

.registration-header h1 {
  font-size: 24px;
  font-weight: 600;
  color: #333;
  margin-bottom: 8px;
}

.registration-subtitle {
  color: #666;
  font-size: 14px;
  margin-bottom: 20px;
  text-align: center;
}

/* Loading spinner for registration */
.btn-loading {
  position: relative;
  pointer-events: none;
  opacity: 0.85;
}

.btn-loading .btn-text {
  visibility: hidden;
}

.btn-loading::after {
  content: "";
  position: absolute;
  width: 20px;
  height: 20px;
  top: 50%;
  left: 50%;
  margin-left: -10px;
  margin-top: -10px;
  border: 3px solid #ffffff;
  border-radius: 50%;
  border-top-color: transparent;
  animation: spinner 0.8s linear infinite;
}

@keyframes spinner {
  to {
    transform: rotate(360deg);
  }
}

.registration-processing-message {
  margin-top: 15px;
  color: #17a2b8;
  font-weight: 500;
  font-size: 14px;
  display: none;
}

.registration-processing-message.show {
  display: block;
}

.layout-table td {
  border: none;
  padding: 0;
}

/* Subscription Type/Plan Cards */
.pricing-cards-row {
  align-items: stretch;
}

.pricing-card-col {
  display: flex;
  margin-bottom: 24px;
}

.pricing_design {
  position: relative;
  width: 100%;
  margin: 0;
  display: flex;
}

.pricing_design .single-pricing {
  background: #2aaec9;
  padding: 36px 24px;
  border-radius: 30px;
  box-shadow: 0 10px 40px -10px rgba(0, 64, 128, 0.2);
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.pricing_design.operator-price .single-pricing {
  background: #49b9c2;
}

.pricing_design.fleet-price .single-pricing {
  background: #59c0bb;
}

.pricing_design .single-pricing:before {
  content: "";
  background-color: #fff;
  width: 100%;
  height: 100%;
  border-radius: 18px 18px 190px 18px;
  border: 1px solid #eee;
  position: absolute;
  bottom: 0;
  right: 0;
  z-index: -1;
}

.price-head {
  margin-bottom: 18px;
}

.price-head .plan-title {
  margin: 0 0 10px;
  font-size: 30px;
  font-weight: 700;
  line-height: 1.2;
}

.price-head .plan-price {
  margin: 0;
  font-size: 42px;
  font-weight: 700;
  line-height: 1.1;
}

.price-head .plan-price sup {
  font-size: 0.45em;
  position: relative;
  top: -0.65em;
}

.price-head .plan-period {
  margin: 8px 0 0;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.price-head .plan-description {
  margin: 12px 0 0;
  font-size: 15px;
  line-height: 1.45;
}

.single-pricing ul {
  list-style: none;
  margin: 20px 0 24px;
  padding-left: 0;
  text-align: left;
  flex: 1 1 auto;
}

.single-pricing ul li {
  line-height: 1.5;
  margin-bottom: 8px;
}

.single-pricing ul li:last-child {
  margin-bottom: 0;
}

.single-pricing .pricing-select-btn {
  margin-top: auto;
  align-self: center;
  min-width: 140px;
}

@media (max-width: 991.98px) {
  .pricing_design .single-pricing {
    padding: 30px 20px;
  }

  .price-head .plan-title {
    font-size: 26px;
  }

  .price-head .plan-price {
    font-size: 36px;
  }
}

/* Trips Table (Incoming and Outgoing */
.trips-table {
  thead {
    td {
      border-bottom: 1px solid #dee2e6;
      font-weight: bold;
    }
  }
  tbody + tbody {
    border-top: 1px solid #dee2e6;
  }
  td {
    border-top: none;
  }
  tr.accordion-toggle {
    cursor: pointer;
  }
}
.responses-count {
  position: relative;
  display: inline;

  i {
    font-size: 28px;
  }

  span {
    position: absolute;
    top: -10px;
    right: -8px;
    display: block;
  }
}
.table-responses {
  thead {
    th {
      border-bottom: 1px solid #dee2e6;
      font-weight: bold;
    }
  }
  td {
    border-top: none;
  }
  tr[data-response-id] {
    td {
      border-top: 1px solid #dee2e6;
    }
  }
}