/**
 * Umrah Taxi Booking System — Frontend Stylesheet
 * Scoped with .utbs-* classes to prevent conflicts with other WordPress themes or plugins.
 */

.utbs-booking-widget {
  background: #FFFFFF;
  border-radius: 18px;
  border: 1px solid #DDE4E0;
  box-shadow: 0 18px 46px rgba(16, 28, 44, 0.12);
  overflow: hidden;
  color: #101C2C;
}

.utbs-bw-header {
  background: linear-gradient(110deg, #101C2C 0%, #0B6236 100%);
  color: #FFFFFF;
  padding: 24px 28px;
  border-bottom: 3px solid #D6AD54;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px;
}

.utbs-bw-header-text h3 {
  color: #FFFFFF;
  margin: 0 0 4px;
  font-size: 21px;
}

.utbs-bw-header-text p {
  margin: 0;
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.86);
}

.utbs-bw-steps-indicator {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.utbs-step-pill {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.24);
  color: rgba(255, 255, 255, 0.85);
  border-radius: 999px;
  padding: 7px 14px;
  font-size: 13px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.utbs-step-pill.is-active {
  background: #D6AD54;
  border-color: #D6AD54;
  color: #101C2C;
  font-weight: 700;
}

.utbs-step-num {
  width: 21px;
  height: 21px;
  border-radius: 50%;
  background: rgba(16, 28, 44, 0.25);
  color: #FFFFFF;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11.5px;
  font-weight: 700;
}

.utbs-step-pill.is-active .utbs-step-num {
  background: #101C2C;
  color: #D6AD54;
}

.utbs-booking-form {
  padding: 28px;
}

.utbs-step-pane {
  display: none;
}

.utbs-step-pane.is-active {
  display: block;
  animation: utbsFadeIn 0.25s ease;
}

@keyframes utbsFadeIn {
  from { opacity: 0; transform: translateY(4px); }
  to { opacity: 1; transform: translateY(0); }
}

.utbs-form-row,
.utbs-form-group {
  margin-bottom: 18px;
}

.utbs-form-row label,
.utbs-form-group label {
  display: block;
  font-size: 13.5px;
  font-weight: 700;
  color: #101C2C;
  margin-bottom: 6px;
}

.utbs-input {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid #CBD5E1;
  border-radius: 8px;
  font-size: 14.5px;
  color: #101C2C;
  background-color: #F8FAFC;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.utbs-input:focus {
  outline: none;
  border-color: #0B6236;
  background-color: #FFFFFF;
  box-shadow: 0 0 0 3px rgba(11, 98, 54, 0.14);
}

.utbs-form-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.utbs-form-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.utbs-form-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.utbs-Send-stepper {
  display: flex;
  align-items: center;
}

.utbs-stepper-btn {
  width: 38px;
  height: 42px;
  background: #E7F3EC;
  border: 1px solid #CBD5E1;
  color: #0B6236;
  font-weight: 800;
  font-size: 16px;
  cursor: pointer;
}

.utbs-stepper-btn:first-child {
  border-radius: 8px 0 0 8px;
}

.utbs-stepper-btn:last-child {
  border-radius: 0 8px 8px 0;
}

.utbs-Send-stepper .utbs-input {
  border-radius: 0;
  text-align: center;
  border-left: 0;
  border-right: 0;
}

.utbs-step-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid #E2E8F0;
}

.utbs-step-note {
  font-size: 13px;
  color: #0B6236;
  font-weight: 600;
}

/* Step 2 Vehicle Selection */
.utbs-step2-banner {
  background: #F5F7F6;
  border: 1px solid #DDE4E0;
  border-radius: 10px;
  padding: 12px 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 20px;
}

.utbs-badge-emerald {
  background: #E7F3EC;
  color: #0B6236;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 999px;
}

.utbs-vehicle-selector-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.utbs-vehicle-option {
  border: 2px solid #E2E8F0;
  border-radius: 12px;
  overflow: hidden;
  background: #FFFFFF;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  transition: all 0.2s ease;
}

.utbs-vehicle-option:hover {
  border-color: #D6AD54;
}

.utbs-vehicle-option.is-selected {
  border-color: #0B6236;
  box-shadow: 0 8px 24px rgba(11, 98, 54, 0.14);
}

.utbs-vo-image {
  height: 155px;
  overflow: hidden;
  background: #F5F7F6;
}

.utbs-vo-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.utbs-vo-body {
  padding: 16px;
}

.utbs-vo-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 10px;
}

.utbs-vo-top h4 {
  margin: 0 0 2px;
  font-size: 16.5px;
}

.utbs-vo-model {
  margin: 0;
  font-size: 13px;
  color: #52606D;
}

.utbs-vo-price-box {
  text-align: right;
}

.utbs-vo-price-amount {
  display: block;
  font-size: 18px;
  font-weight: 800;
  color: #0B6236;
}

.utbs-vo-price-box small {
  font-size: 11px;
  color: #64748B;
}

.utbs-vo-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 12.5px;
  color: #334155;
  margin-bottom: 12px;
}

.utbs-vo-capacity-alert {
  font-size: 12px;
  color: #B45309;
  background: #FEF3C7;
  padding: 6px 10px;
  border-radius: 6px;
  margin-bottom: 10px;
}

.utbs-vo-select-btn {
  width: 100%;
  padding: 9px 14px;
  border-radius: 8px;
  border: 1px solid #0B6236;
  background: #FFFFFF;
  color: #0B6236;
  font-weight: 700;
  font-size: 13.5px;
  cursor: pointer;
}

.utbs-vehicle-option.is-selected .utbs-vo-select-btn {
  background: #0B6236;
  color: #FFFFFF;
}

/* Step 3 Layout & Summary */
.utbs-step3-layout {
  display: grid;
  grid-template-columns: 1.35fr 0.85fr;
  gap: 24px;
  align-items: start;
}

.utbs-summary-card {
  background: #F5F7F6;
  border: 1px solid #DDE4E0;
  border-top: 4px solid #0B6236;
  border-radius: 12px;
  padding: 20px;
}

.utbs-summary-card h4 {
  margin: 0 0 14px;
  font-size: 17px;
}

.utbs-summary-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.utbs-summary-list li {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 9px 0;
  border-bottom: 1px solid #E2E8F0;
  font-size: 13.5px;
}

.utbs-summary-list li.utbs-summary-total {
  border-bottom: 0;
  padding-top: 14px;
  font-size: 16px;
}

.utbs-summary-list li.utbs-summary-total strong {
  color: #0B6236;
  font-size: 19px;
}

.utbs-summary-subnote {
  margin: 12px 0 0;
  font-size: 12px;
  color: #52606D;
}

.utbs-form-feedback {
  margin-top: 14px;
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
}

.utbs-form-feedback.is-error {
  background: #FEE2E2;
  color: #991B1B;
  border: 1px solid #FCA5A5;
}

/* Confirmation Screen */
.utbs-confirmation-box {
  text-align: center;
  padding: 20px 12px;
}

.utbs-conf-badge {
  display: inline-block;
  background: #E7F3EC;
  color: #0B6236;
  font-weight: 700;
  font-size: 13px;
  padding: 6px 16px;
  border-radius: 999px;
  margin-bottom: 12px;
}

.utbs-conf-details {
  max-width: 540px;
  margin: 18px auto;
  background: #F5F7F6;
  border: 1px solid #DDE4E0;
  border-radius: 10px;
  padding: 16px 20px;
  text-align: left;
  font-size: 14px;
}

.utbs-conf-actions {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 20px;
}

/* Fleet Cards Grid */
.utbs-fleet-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.utbs-fleet-card {
  background: #FFFFFF;
  border: 1px solid #DDE4E0;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(16, 28, 44, 0.06);
  display: flex;
  flex-direction: column;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.utbs-fleet-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 14px 34px rgba(16, 28, 44, 0.12);
  border-color: #D6AD54;
}

.utbs-fleet-img-wrap {
  position: relative;
  height: 200px;
  overflow: hidden;
  background: #101C2C;
}

.utbs-fleet-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.utbs-fleet-price-tag {
  position: absolute;
  top: 12px;
  right: 12px;
  background: #0B6236;
  color: #FFFFFF;
  font-weight: 700;
  font-size: 13px;
  padding: 5px 12px;
  border-radius: 999px;
  border: 1px solid #D6AD54;
}

.utbs-fleet-body {
  padding: 22px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.utbs-fleet-category {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #0B6236;
  margin-bottom: 4px;
}

.utbs-fleet-model {
  font-size: 19px;
  margin: 0 0 14px;
  color: #101C2C;
}

.utbs-fleet-meta {
  background: #F5F7F6;
  border-radius: 10px;
  padding: 12px;
  margin-bottom: 14px;
  font-size: 13px;
}

.utbs-fleet-meta-item {
  display: flex;
  justify-content: space-between;
  padding: 4px 0;
}

.utbs-fleet-features {
  list-style: none;
  padding: 0;
  margin: 0 0 18px;
  font-size: 13px;
  color: #52606D;
}

.utbs-fleet-features li {
  padding: 3px 0;
}

.utbs-fleet-footer {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid #E2E8F0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}

.utbs-fleet-starting small {
  display: block;
  font-size: 11.5px;
  color: #64748B;
}

.utbs-fleet-starting strong {
  font-size: 18px;
  color: #0B6236;
}

/* Popular Routes Cards */
.utbs-popular-routes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.utbs-route-card {
  background: #FFFFFF;
  border: 1px solid #DDE4E0;
  border-radius: 14px;
  padding: 24px;
  box-shadow: 0 4px 16px rgba(16, 28, 44, 0.05);
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.utbs-route-card:hover {
  transform: translateY(-4px);
  border-color: #0B6236;
}

.utbs-rc-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.utbs-rc-tag {
  background: #E7F3EC;
  color: #0B6236;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 999px;
}

.utbs-rc-meta {
  font-size: 12.5px;
  color: #64748B;
  font-weight: 600;
}

.utbs-route-card h3 {
  font-size: 19px;
  margin: 0 0 10px;
}

.utbs-route-card h3 a {
  color: #101C2C;
}

.utbs-route-card p {
  font-size: 14px;
  color: #52606D;
  margin: 0 0 18px;
  flex-grow: 1;
}

.utbs-rc-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 14px;
  border-top: 1px solid #E2E8F0;
}

.utbs-rc-price small {
  display: block;
  font-size: 11.5px;
  color: #64748B;
}

.utbs-rc-price strong {
  font-size: 18px;
  color: #0B6236;
}

/* Responsive Pricing Table */
.utbs-pricing-table-scroll {
  width: 100%;
  overflow-x: auto;
  border-radius: 14px;
  border: 1px solid #DDE4E0;
  box-shadow: 0 6px 22px rgba(16, 28, 44, 0.06);
}

.utbs-pricing-table {
  width: 100%;
  border-collapse: collapse;
  background: #FFFFFF;
  min-width: 760px;
}

.utbs-pricing-table thead th {
  background: #101C2C;
  color: #FFFFFF;
  padding: 16px 18px;
  text-align: left;
  border-bottom: 3px solid #D6AD54;
}

.utbs-pt-cat {
  display: block;
  font-size: 15px;
  font-weight: 700;
}

.utbs-pt-model {
  display: block;
  font-size: 11.5px;
  color: #D6AD54;
  font-weight: 500;
}

.utbs-pricing-table tbody td {
  padding: 15px 18px;
  border-bottom: 1px solid #E2E8F0;
  font-size: 14.5px;
}

.utbs-pricing-table tbody tr:nth-child(even) {
  background: #F9FBFA;
}

.utbs-pt-route-cell small {
  display: block;
  color: #64748B;
  font-size: 12px;
}

.utbs-pt-amount {
  color: #0B6236;
  font-size: 16px;
}

.utbs-pt-custom {
  display: inline-block;
  background: #FBF6EA;
  color: #9A6B13;
  border: 1px solid #E8C77B;
  font-size: 12.5px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 6px;
}

.utbs-btn-sm {
  padding: 8px 14px;
  font-size: 13.5px;
}

.utbs-pricing-mobile-cards {
  display: none;
}

/* Testimonials Grid */
.utbs-testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.utbs-testimonial-card {
  background: #FFFFFF;
  border: 1px solid #DDE4E0;
  border-radius: 14px;
  padding: 26px;
  box-shadow: 0 4px 16px rgba(16, 28, 44, 0.05);
}

.utbs-demo-review-badge {
  display: inline-block;
  background: #FBF6EA;
  color: #8C6210;
  border: 1px solid #D6AD54;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 6px;
  margin-bottom: 14px;
}

.utbs-testimonial-quote {
  margin: 0 0 18px;
  font-size: 14.5px;
  color: #334155;
  font-style: italic;
}

.utbs-testimonial-author strong {
  display: block;
  color: #101C2C;
  font-size: 14.5px;
}

.utbs-testimonial-author span {
  font-size: 12.5px;
  color: #0B6236;
  font-weight: 600;
}

/* Mobile Responsiveness */
@media (max-width: 1024px) {
  .utbs-fleet-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .utbs-popular-routes-grid,
  .utbs-testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .utbs-step3-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .utbs-booking-form {
    padding: 18px;
  }
  .utbs-form-grid-2,
  .utbs-form-grid-3,
  .utbs-form-grid-4,
  .utbs-vehicle-selector-grid,
  .utbs-fleet-grid,
  .utbs-popular-routes-grid,
  .utbs-testimonials-grid {
    grid-template-columns: 1fr;
  }
  .utbs-pricing-table-scroll {
    display: none;
  }
  .utbs-pricing-mobile-cards {
    display: flex;
    flex-direction: column;
    gap: 16px;
  }
  .utbs-pm-card {
    background: #FFFFFF;
    border: 1px solid #DDE4E0;
    border-radius: 12px;
    padding: 18px;
    box-shadow: 0 4px 12px rgba(16, 28, 44, 0.05);
  }
  .utbs-pm-card-head {
    border-bottom: 1px solid #E2E8F0;
    padding-bottom: 10px;
    margin-bottom: 12px;
  }
  .utbs-pm-card-head h4 {
    margin: 0 0 4px;
    font-size: 17px;
  }
  .utbs-pm-card-head span {
    font-size: 12.5px;
    color: #64748B;
  }
  .utbs-pm-vehicle-list {
    list-style: none;
    padding: 0;
    margin: 0 0 14px;
  }
  .utbs-pm-vehicle-list li {
    display: flex;
    justify-content: space-between;
    padding: 7px 0;
    border-bottom: 1px dashed #E2E8F0;
    font-size: 13.5px;
  }
  .utbs-pm-vehicle-list li strong {
    color: #0B6236;
  }
}
