/* ===== Yolo AI Booking Agent - Dora — Local MiniCab Screen Styles (v2.1) ===== */

.yrl-local-box-input {
  border: 2px solid var(--yrl-black);
  border-radius: 8px;
  background: var(--yrl-teal);
  color: var(--yrl-black);
  font-weight: 500;
  font-size: 12.5px;
  padding: 9px 8px;
  font-family: 'Segoe UI', Arial, sans-serif;
  box-sizing: border-box;
  outline: none;
  transition: box-shadow 0.15s ease, border-color 0.15s ease;
}

.yrl-local-box-input:focus {
  box-shadow: 0 0 0 2px rgba(255,255,255,0.5);
}

.yrl-local-box-input::placeholder {
  color: rgba(255,255,255,0.7);
  font-weight: 400;
}

/* ---------- Top row: house number / pickup / arrow / dropoff ---------- */

.yrl-local-topboxes-row {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 14px;
}

.yrl-local-house-box {
  flex: 0 0 44px;
  width: 44px;
  min-width: 44px;
  text-align: center;
  padding-left: 4px;
  padding-right: 4px;
}

.yrl-local-postcode-box {
  flex: 1 1 0;
  min-width: 0;
  text-transform: uppercase;
}

.yrl-local-arrow-circle {
  flex: 0 0 28px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--yrl-white);
  color: var(--yrl-teal-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 14px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}

/* ---------- Airport select (in topboxes row) ---------- */

.yrl-airport-select {
  flex: 2.4;
  min-width: 0;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath fill='%23ffffff' d='M0 0l5 6 5-6z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
  padding-right: 26px;
}

/* ---------- Vehicle carousel ---------- */

.yrl-local-carousel-row {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-bottom: 14px;
}

.yrl-local-carousel-chevron {
  flex: 0 0 auto;
  background: none;
  border: none;
  font-size: 20px;
  font-weight: 700;
  color: var(--yrl-black);
  cursor: pointer;
  padding: 4px 2px;
  transition: transform 0.15s ease, opacity 0.2s ease;
}

.yrl-local-carousel-chevron:hover {
  transform: scale(1.15);
}

.yrl-local-carousel-chevron:active {
  transform: scale(0.92);
}

.yrl-local-carousel-chevron.disabled {
  opacity: 0.25;
  pointer-events: none;
}

.yrl-local-carousel-viewport {
  flex: 1;
  overflow: hidden;
  position: relative;
  padding-top: 6px;
  margin-top: -6px;
}

.yrl-local-carousel-track {
  display: flex;
  gap: 8px;
  transition: transform 0.32s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.32s ease;
}

.yrl-local-carousel-placeholder {
  flex: 1;
  text-align: center;
  font-size: 12px;
  font-weight: 500;
  color: var(--yrl-black);
  opacity: 0.65;
  padding: 30px 10px;
}

.yrl-local-car-card {
  flex: 0 0 calc(50% - 6px);
  min-width: 0;
  background: var(--yrl-teal);
  border: 2px solid var(--yrl-black);
  border-radius: 10px;
  padding: 8px;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
}

.yrl-local-car-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

.yrl-local-car-card.selected {
  background: var(--yrl-teal-dark);
  box-shadow: 0 0 0 2px var(--yrl-black) inset;
}

.yrl-local-car-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
  gap: 4px;
}

.yrl-local-car-name {
  font-weight: 700;
  font-size: 11px;
  color: var(--yrl-black);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.yrl-local-car-meta {
  font-size: 9px;
  font-weight: 400;
  color: var(--yrl-black);
  white-space: nowrap;
  flex-shrink: 0;
}

.yrl-local-car-img-box {
  background: var(--yrl-white);
  border: 1.5px solid var(--yrl-black);
  border-radius: 6px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 6px;
  overflow: hidden;
}

.yrl-local-car-img-box img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.yrl-local-car-price {
  text-align: center;
  font-weight: 700;
  font-size: 12.5px;
  color: var(--yrl-black);
}

/* ---------- Rider info row ---------- */

.yrl-local-rider-row {
  display: flex;
  gap: 6px;
  margin-bottom: 12px;
}

.yrl-local-rider-name {
  flex: 1.4;
  min-width: 0;
}

.yrl-local-mobile {
  flex: 1;
  min-width: 0;
}

.yrl-local-rider-row .yrl-local-box-input.yrl-country-code-selector {
  flex: 0 0 auto;
  background: var(--yrl-teal);
  color: var(--yrl-black);
  border: 2px solid var(--yrl-black);
  gap: 3px;
  padding: 9px 7px;
  white-space: nowrap;
  font-weight: 500;
}

.yrl-local-rider-row .yrl-country-arrow {
  color: var(--yrl-black);
}

/* ---------- Payment options (select dropdown, centered) ---------- */

.yrl-local-payment-select-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 12px;
  animation: yrl-payment-pop-in 0.3s ease;
}

.yrl-local-payment-select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background: var(--yrl-teal);
  color: var(--yrl-black);
  border: 2px solid var(--yrl-black);
  border-radius: 20px;
  padding: 8px 32px 8px 16px;
  font-size: 12.5px;
  font-weight: 700;
  font-family: 'Segoe UI', Arial, sans-serif;
  cursor: pointer;
  text-align: center;
  text-align-last: center;
  outline: none;
  box-shadow: 0 2px 6px rgba(0,0,0,0.12);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath fill='%23111111' d='M0 0l5 6 5-6z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  transition: transform 0.15s ease, box-shadow 0.2s ease, border-color 0.15s ease;
}

.yrl-local-payment-select:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(0,0,0,0.18);
}

.yrl-local-payment-select:focus {
  box-shadow: 0 0 0 2px rgba(255,255,255,0.6);
}

@keyframes yrl-payment-pop-in {
  0% { opacity: 0; transform: translateY(-6px) scale(0.95); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}

/* ---------- Date / time (read-only, grayed) ---------- */

.yrl-local-datetime-row {
  display: flex;
  gap: 8px;
  margin-bottom: 14px;
}

.yrl-local-datetime-box {
  flex: 1;
  text-align: center;
  background: #C9FCF6;
  color: var(--yrl-black);
  cursor: not-allowed;
  user-select: none;
  font-weight: 400;
}

.yrl-local-datetime-box.editable {
  cursor: pointer;
  user-select: auto;
  background: #C9FCF6;
  font-weight: 500;
}

/* ---------- Book Now button ---------- */

.yrl-local-book-btn {
  width: 100%;
  padding: 13px;
  border: 2px solid var(--yrl-black);
  border-radius: 10px;
  background: var(--yrl-black);
  color: var(--yrl-white);
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  position: relative;
  font-family: 'Segoe UI', Arial, sans-serif;
  transition: transform 0.15s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}

.yrl-local-book-btn:not(:disabled):hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.25);
}

.yrl-local-book-btn:not(:disabled):active {
  transform: translateY(0);
}

.yrl-local-book-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.yrl-local-book-btn.loading .btn-text {
  opacity: 0;
}

/* ---------- Error message ---------- */

.yrl-local-error-msg {
  color: #8a1f11;
  background: rgba(255, 255, 255, 0.7);
  border-radius: 8px;
  padding: 8px;
  font-size: 11.5px;
  font-weight: 500;
  text-align: center;
  margin-bottom: 10px;
  animation: yrl-shake-in 0.25s ease;
}

@keyframes yrl-shake-in {
  0% { opacity: 0; transform: translateY(-4px); }
  100% { opacity: 1; transform: translateY(0); }
}

/* ---------- Price update pulse (subtle feedback when price changes) ---------- */

@keyframes yrl-price-pulse {
  0% { transform: scale(1); }
  40% { transform: scale(1.08); }
  100% { transform: scale(1); }
}

.yrl-price-pulse {
  animation: yrl-price-pulse 0.28s ease;
}

/* ---------- Country dropdown ---------- */

.yrl-country-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 200px;
  background: var(--yrl-white);
  border: 1.5px solid var(--yrl-black);
  border-radius: 8px;
  margin-top: 4px;
  z-index: 100;
  max-height: 220px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 8px 20px rgba(0,0,0,0.25);
  animation: yrl-shake-in 0.15s ease;
}

.yrl-country-dropdown input {
  border: none;
  border-bottom: 1.5px solid var(--yrl-black);
  padding: 8px 10px;
  font-size: 12.5px;
  font-weight: 400;
  outline: none;
  border-radius: 8px 8px 0 0;
  color: var(--yrl-black);
}

.yrl-country-list {
  overflow-y: auto;
  max-height: 180px;
}

.yrl-country-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  font-size: 12px;
  font-weight: 400;
  cursor: pointer;
  color: var(--yrl-black);
  transition: background 0.12s ease;
}

.yrl-country-item:hover {
  background: rgba(0,0,0,0.06);
}

.yrl-country-item-code {
  margin-left: auto;
  opacity: 0.7;
  font-weight: 600;
}

/* ---------- Airport Pickup screen ---------- */

/* ---------- Airport Pickup screen: flight no + M&G + immigration row ---------- */

.yrl-airport-flight-services-row {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-bottom: 12px;
  flex-wrap: nowrap;
}

.yrl-airport-flight-box {
  flex: 0 0 62px;
  min-width: 100px;
  padding-left: 4px;
  padding-right: 4px;
  text-align: center;
}

.yrl-airport-toggle-label {
  display: flex;
  align-items: center;
  gap: 3px;
  font-size: 9.5px;
  font-weight: 700;
  color: var(--yrl-black);
  white-space: nowrap;
  cursor: pointer;
  flex-shrink: 1;
  min-width: 0;
}

.yrl-airport-toggle-label input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  cursor: pointer;
  background: var(--yrl-teal);
  border: 2px solid var(--yrl-black);
  border-radius: 4px;
  position: relative;
  outline: none;
  margin: 0;
  transition: background 0.15s ease;
}


.yrl-airport-toggle-label input[type="checkbox"]:checked {
  background: var(--yrl-black);
}

.yrl-airport-toggle-label input[type="checkbox"]:checked::after {
  content: '';
  position: absolute;
  left: 4px;
  top: 0px;
  width: 5px;
  height: 10px;
  border: solid var(--yrl-white);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

/* ===== Yolo AI Booking Agent - Dora — Lost Item Screen Styles ===== */

.yrl-lost-rideid-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}

.yrl-lost-rideid-label {
  font-weight: 800;
  font-size: 13px;
  color: var(--yrl-black);
  white-space: nowrap;
}

.yrl-lost-rideid-input {
  flex: 1;
  min-width: 100px;
}

.yrl-lost-donthave-btn {
  flex: 0 0 auto;
  background: var(--yrl-black);
  color: var(--yrl-white);
  border: 2px solid var(--yrl-black);
  border-radius: 20px;
  padding: 8px 14px;
  font-size: 12px;
  font-weight: 700;
  font-family: 'Segoe UI', Arial, sans-serif;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.15s ease, box-shadow 0.2s ease;
}

.yrl-lost-donthave-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(0,0,0,0.25);
}

.yrl-lost-error-box {
  background: var(--yrl-white);
  border: 1.5px solid var(--yrl-black);
  border-radius: 10px;
  padding: 14px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--yrl-black);
  line-height: 1.5;
  margin-top: 10px;
}

.yrl-lost-error-box a {
  color: var(--yrl-black);
  font-weight: 800;
  text-decoration: underline;
}

.yrl-lost-ride-summary {
  font-weight: 700;
  font-size: 12px;
  color: var(--yrl-black);
  background: var(--yrl-white);
  border: 1.5px solid var(--yrl-black);
  border-radius: 8px;
  padding: 8px 10px;
  margin-top: 10px;
  margin-bottom: 14px;
}

.yrl-lost-field-row {
  margin-bottom: 12px;
}

.yrl-lost-field-label {
  display: block;
  font-weight: 800;
  font-size: 12px;
  color: var(--yrl-black);
  margin-bottom: 6px;
}

.yrl-lost-textarea {
  width: 100%;
  resize: vertical;
  min-height: 70px;
}

.yrl-lost-email {
  width: 100%;
}

.yrl-student-bottom-row {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: nowrap;
}
.yrl-student-bottom-row #yrl-student-cash-note:empty {
    display: none;
}
.yrl-student-bottom-row #yrl-student-cash-note {
    flex: 1 1 0;
    min-width: 0;
}

.yrl-student-bottom-row #yrl-student-cash-note .yrl-local-error-msg {
    margin: 0;
    padding: 6px 8px;
    font-size: 13px;
    text-align: center;
    box-sizing: border-box;
    width: 100%;
    white-space: normal;
    word-wrap: break-word;
    line-height: 1.3;
}

.yrl-student-bottom-row .yrl-local-book-btn {
    flex: 1 1 0;
    width: auto;
    white-space: nowrap;
    min-width: 0;
}

.yrl-time24-wrap {
    display: flex;
    align-items: center;
    gap: 4px;
}
.yrl-time24-select {
    flex: 1 1 0;
    min-width: 0;
    text-align: center;
}
.yrl-time24-colon {
    font-weight: 700;
}