/* Web booking (rydmitra.com/book/): same look as the rest of the site. */

.book-head { background: linear-gradient(135deg, var(--navy-deep), var(--navy-soft)); color: var(--white); padding: 34px 0 30px; }
.book-head h1 { font-size: 32px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; }
.book-head p { color: #c3cbe0; margin-top: 6px; }

.book { background: var(--gray); padding: 30px 0 60px; }
.book-grid { display: grid; grid-template-columns: minmax(320px, 440px) 1fr; gap: 24px; align-items: start; }
.book-panel { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); padding: 26px; min-height: 420px; }
.book-map { position: sticky; top: 96px; height: 560px; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); background: #e9eef5; }
.book-map-empty { height: 100%; display: grid; place-content: center; justify-items: center; gap: 10px; color: var(--muted); text-align: center; padding: 20px; }

.book-panel h2 { font-size: 20px; color: var(--navy); font-weight: 700; margin-bottom: 4px; }
.book-muted { color: var(--muted); font-size: 14px; }
.book-step { font-size: 12px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--amber-dark); margin-bottom: 6px; }

.bk-field { display: block; margin-top: 16px; }
.bk-field > span { display: block; font-size: 12px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.bk-input { width: 100%; font: inherit; font-size: 16px; color: var(--ink); padding: 13px 14px; border: 1.5px solid var(--line); border-radius: 10px; background: #fff; outline: none; }
.bk-input:focus { border-color: var(--amber); box-shadow: 0 0 0 3px rgba(253, 172, 1, .2); }
.bk-phone { display: flex; }
.bk-phone b { display: grid; place-items: center; padding: 0 12px; border: 1.5px solid var(--line); border-right: 0; border-radius: 10px 0 0 10px; background: var(--gray); color: var(--ink); font-weight: 500; }
.bk-phone .bk-input { border-radius: 0 10px 10px 0; }
.bk-otp { letter-spacing: 8px; font-size: 22px; text-align: center; }

.bk-btn { display: block; width: 100%; margin-top: 18px; border: 0; border-radius: 100px; padding: 15px 20px; background: var(--amber); color: var(--navy-deep); font: 700 15px "Roboto", sans-serif; letter-spacing: 1px; text-transform: uppercase; cursor: pointer; }
.bk-btn:hover { background: var(--navy); color: #fff; }
.bk-btn[disabled] { opacity: .55; cursor: default; background: var(--amber); color: var(--navy-deep); }
.bk-btn.ghost { background: transparent; color: var(--navy); border: 2px solid var(--line); }
.bk-btn.ghost:hover { border-color: var(--navy); background: transparent; color: var(--navy); }
.bk-btn.danger { background: transparent; color: #c62828; border: 2px solid #f3c1c1; }
.bk-link { background: none; border: 0; color: var(--navy-soft); font: inherit; font-size: 14px; text-decoration: underline; cursor: pointer; padding: 0; }

.bk-error { margin-top: 14px; padding: 10px 12px; border-radius: 10px; background: #fdecec; color: #b71c1c; font-size: 14px; }
.bk-note { margin-top: 14px; padding: 10px 12px; border-radius: 10px; background: #fff4e0; color: #8a5a00; font-size: 14px; }
.bk-ok { margin-top: 14px; padding: 10px 12px; border-radius: 10px; background: #e8f6ee; color: #146c3c; font-size: 14px; }

.bk-where { position: relative; }
.bk-dot { position: absolute; left: 14px; top: 44px; width: 10px; height: 10px; border-radius: 50%; }
.bk-where .bk-input { padding-left: 34px; }
.bk-suggest { position: absolute; z-index: 20; left: 0; right: 0; top: 100%; margin-top: 4px; background: #fff; border: 1px solid var(--line); border-radius: 10px; box-shadow: var(--shadow); max-height: 280px; overflow: auto; }
.bk-suggest button { display: block; width: 100%; text-align: left; border: 0; background: #fff; padding: 11px 14px; font: inherit; font-size: 14px; color: var(--ink); cursor: pointer; border-bottom: 1px solid var(--line); }
.bk-suggest button:hover, .bk-suggest button:focus { background: #fff8ec; outline: none; }
.bk-suggest small { color: var(--muted); }
.bk-suggest .bk-km { white-space: nowrap; color: var(--amber-dark); font-weight: 500; }
.bk-locate { margin-top: 8px; }

.bk-options { display: grid; gap: 10px; margin-top: 14px; }
.bk-option { display: flex; align-items: center; gap: 12px; width: 100%; text-align: left; border: 1.5px solid var(--line); border-radius: 12px; padding: 12px 14px; background: #fff; cursor: pointer; font: inherit; }
.bk-option.on { border-color: var(--amber); background: #fffaf0; box-shadow: 0 0 0 3px rgba(253, 172, 1, .15); }
.bk-option .ic { font-size: 26px; width: 36px; text-align: center; }
.bk-option .nm { flex: 1; }
.bk-option .nm strong { display: block; color: var(--navy); }
.bk-option .nm small { color: var(--muted); }
.bk-option .pr { font-weight: 900; font-size: 18px; color: var(--navy); }

.bk-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.bk-chip { border: 1.5px solid var(--line); border-radius: 100px; padding: 8px 14px; background: #fff; font: inherit; font-size: 14px; cursor: pointer; color: var(--ink); }
.bk-chip.on { border-color: var(--navy); background: var(--navy); color: #fff; }

.bk-route { margin-top: 12px; padding: 12px 14px; background: var(--gray); border-radius: 12px; font-size: 14px; }
.bk-route div { display: flex; gap: 10px; align-items: flex-start; padding: 3px 0; }
.bk-route i { flex: none; width: 9px; height: 9px; border-radius: 50%; margin-top: 6px; }

.bk-status { display: flex; align-items: center; gap: 12px; margin: 6px 0 4px; }
.bk-pulse { width: 14px; height: 14px; border-radius: 50%; background: var(--amber); animation: bkpulse 1.4s infinite; flex: none; }
@keyframes bkpulse { 0% { box-shadow: 0 0 0 0 rgba(253, 172, 1, .6); } 70% { box-shadow: 0 0 0 14px rgba(253, 172, 1, 0); } 100% { box-shadow: 0 0 0 0 rgba(253, 172, 1, 0); } }
.bk-captain { margin-top: 14px; border: 1px solid var(--line); border-radius: 12px; padding: 14px; display: grid; gap: 4px; }
.bk-captain .row { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.bk-plate { display: inline-block; font-weight: 700; letter-spacing: 1px; background: #fff8e1; border: 1px solid #f5d38a; border-radius: 6px; padding: 2px 8px; color: var(--ink); }
.bk-call { display: inline-block; border-radius: 100px; padding: 8px 16px; background: var(--green); color: #fff; font-weight: 700; font-size: 14px; }
.bk-call:hover { color: #fff; opacity: .9; }
.bk-otpbox { margin-top: 14px; text-align: center; background: var(--navy); color: #fff; border-radius: 12px; padding: 14px; }
.bk-otpbox small { display: block; color: #c3cbe0; letter-spacing: 1px; text-transform: uppercase; font-size: 11px; }
.bk-otpbox strong { font-size: 34px; letter-spacing: 10px; color: var(--amber); }

.bk-total { text-align: center; margin: 10px 0; }
.bk-total small { display: block; color: var(--muted); text-transform: uppercase; letter-spacing: 1px; font-size: 12px; }
.bk-total strong { font-size: 40px; font-weight: 900; color: var(--navy); }
.bk-stars { display: flex; justify-content: center; gap: 6px; margin-top: 10px; }
.bk-stars button { font-size: 34px; line-height: 1; border: 0; background: none; cursor: pointer; color: #d6d9e0; }
.bk-stars button.on { color: var(--amber); }

.bk-user { display: flex; justify-content: space-between; align-items: center; font-size: 13px; color: var(--muted); border-bottom: 1px solid var(--line); padding-bottom: 12px; margin-bottom: 16px; }
.bk-reasons { margin-top: 10px; }

@media (max-width: 900px) {
  .book-grid { grid-template-columns: 1fr; }
  .book-map { position: relative; top: 0; height: 280px; order: -1; display: none; }
  .book-map.has-route { display: block; }
}
@media (max-width: 560px) {
  .book-panel { padding: 20px 16px; }
  .book-head h1 { font-size: 26px; }
}
