/* ART: mobile fixes 2026-10-23 (mobilefix-20261023T050928Z). Loaded after art-brand.css in layouts/app.blade.php.
   Rollback: remove the <link> to this file (or delete the file). */

/* ART: 2. cookie banner = compact bottom bar on small screens, never covering key buttons */
@media (max-width: 767px) {
  .cookies-card {
    left: 0 !important; right: 0 !important; bottom: 0 !important;
    width: auto !important; max-width: none !important; max-height: 25vh; overflow-y: auto;
    border-radius: 14px 14px 0 0 !important; border: 0 !important; border-top: 1px solid rgba(0,17,46,.12) !important;
    padding: 10px 14px !important;
    display: flex; align-items: center; gap: 10px;
    box-shadow: 0 -6px 18px rgba(0,17,46,.15) !important;
  }
  .cookies-card.hide { bottom: -100% !important; }
  .cookies-card__content { font-size: 13px !important; line-height: 1.35; margin: 0 !important; flex: 1 1 auto; }
  .cookies-card__footer { display: flex !important; flex-direction: column; align-items: center; gap: 2px; margin: 0 !important; flex: 0 0 auto; }
  .cookies-card__btn { padding: 6px 14px !important; font-size: 13px !important; line-height: 1.2; white-space: nowrap; }
  .cookies-card__btn-outline { font-size: 12px !important; padding: 2px 4px !important; }
  /* leave room so the bar never sits on top of the last buttons of a page */
  body:has(.cookies-card:not(.hide):not(.d-none)) { padding-bottom: 72px; }
}

/* ART: 4. login / signup tabs: readable, brand navy + amber */
.account-header__tab { background-color: rgba(255,255,255,.12) !important; border: 1px solid rgba(255,255,255,.25); border-radius: 999px !important; }
.account-header__tab-link { color: #fff !important; font-weight: 600 !important; border-radius: 999px !important; }
.account-header__tab-link.active { background: #FFB300 !important; color: #00112E !important; }
.account-header__tab-link:not(.active):hover { color: #FFB300 !important; }

/* ART: 5. e-mail addresses: no mid-word break (body has word-break:break-word); wrap only at the <wbr> before @ */
a[href^="mailto:"], .art-email { word-break: normal !important; overflow-wrap: normal !important; }
@media (max-width: 575px) {
  .art-footer a[href^="mailto:"] { font-size: 14px; }
  .driver-profile__info .number { font-size: 14px; }
}

/* ART: 6. service icons (now real images) */
.ride-content__left-thumb img { object-fit: contain; border-radius: 10px; }

/* ART: 7. dashboard: compact 2x2 stat cards on phones, labelled account-menu button */
@media (max-width: 576px) {
  .art-dash-grid { grid-template-columns: repeat(2, 1fr) !important; gap: 12px !important; margin-bottom: 20px !important; }
  .art-dash-grid .widget { padding: 14px 16px !important; border-radius: 14px !important; }
  .art-dash-grid .widget::before { display: none; }
  .art-dash-grid .widget__label { font-size: 12px !important; }
  .art-dash-grid .widget__value { font-size: 22px !important; margin-top: 4px; }
  .panel { padding: 14px !important; }
}
.art-account-menu-btn { display: inline-flex !important; align-items: center; gap: 6px; width: auto !important; height: auto !important;
  padding: 6px 14px; border: 1px solid rgba(0,17,46,.18); border-radius: 999px; font-size: 22px; color: #00112E; }
.art-account-menu-btn__text { font-size: 14px; font-weight: 600; }

/* ART: 8. ride booking page: trim the big gap above "Where to?" on phones */
@media (max-width: 991px) {
  .art-ride-step { padding-top: 24px !important; }
}

/* ART: 8. contact page heading: no blurry yellow offset shadow; lighter subtitle */
.contact-content__title { text-shadow: none !important; }
.contact-content__subtitle { font-family: var(--body-font) !important; font-weight: 400 !important; font-size: 1rem !important; line-height: 1.5; color: #48566A; }

/* ART: 8. home hero: remove the empty dark band under the booking card on phones */
@media (max-width: 991px) {
  .art-hero .banner-section__content, .art-hero__content { padding-bottom: 24px !important; }
  .banner-section.art-hero { padding-bottom: 24px !important; }
}

/* ART: 8. pickup / drop-off placeholders darker (were very faint) */
.input-group-custom__input::placeholder, #pickup_location_input::placeholder, #destination_location_input::placeholder,
.form--control::placeholder { color: #5B6B82 !important; opacity: 1 !important; }
/* ART: the home booking card is light, but main.css forces white text-fill on its inputs (template dark hero),
   so typed text and placeholders were nearly invisible. */
.art-hero .banner-section__search-form .input-group-custom__input,
.art-hero .banner-section__search-form .input-group-custom__input:focus,
.art-hero .banner-section__search-form .input-group-custom__input:active {
  color: #00112E !important; -webkit-text-fill-color: #00112E !important; caret-color: #00112E;
}
.art-hero .banner-section__search-form .input-group-custom__input::placeholder,
.input-group-custom__input::placeholder {
  color: #5B6B82 !important; -webkit-text-fill-color: #5B6B82 !important; opacity: 1 !important;
}
/* ART: Fare / Riders inputs side by side at equal width (Riders was squeezed) */
.findDriverForm .d-flex.gap-2 > .form-group { flex: 1 1 0 !important; min-width: 0; }
@media (max-width: 767px) { .cookies-card__content { letter-spacing: normal !important; word-spacing: normal !important; } }

/* ART: 9. dashboard "Recent Transactions" (cleanup-20261023T113854Z): navy header row, amber accent,
   card-style rows on phones (<=575px, where main.css switches .table--responsive--sm to stacked rows). */
.art-recent-trx { background: #fff !important; border: 1px solid rgba(0,17,46,.08) !important; border-top: 4px solid #FFB300 !important;
  border-radius: 18px !important; padding: 20px 22px !important; box-shadow: 0 6px 18px rgba(0,17,46,.06); }
.art-recent-trx__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.art-recent-trx__title { color: #00112E !important; margin: 0 !important; font-size: 1.15rem !important; }
.art-recent-trx__all { color: #6B2FA0; font-weight: 600; font-size: 14px; white-space: nowrap; }
.art-recent-trx__all:hover { color: #00112E; text-decoration: underline; }
.art-recent-trx .art-trx-table thead tr th { background: #00112E !important; color: #fff !important; font-weight: 600 !important; font-size: 12px !important;
  letter-spacing: .04em; text-transform: uppercase; border: 0 !important; padding: 11px 14px !important; }
.art-recent-trx .art-trx-table thead tr th:first-child { border-radius: 10px 0 0 10px; }
.art-recent-trx .art-trx-table thead tr th:last-child { border-radius: 0 10px 10px 0; text-align: right; }
.art-recent-trx .art-trx-table tbody tr td { color: #00112E !important; border: 0 !important; border-bottom: 1px solid rgba(0,17,46,.08) !important;
  padding: 13px 14px !important; font-size: 14px !important; vertical-align: middle; }
.art-recent-trx .art-trx-table tbody tr:last-child td { border-bottom: 0 !important; }
.art-trx-table__trx { font-weight: 700; letter-spacing: .02em; color: #00112E; word-break: break-all; }
.art-trx-table__date { color: #5B6B82; font-size: 12px; margin-top: 2px; }
.art-trx-table__amount { font-weight: 700; white-space: nowrap; }
.art-trx-table__amount--in { color: #157347; }
.art-trx-table__amount--out { color: #6B2FA0; }
.art-recent-trx .art-trx-table td.payment-pill { color: #48566A !important; font-weight: 600; }
.art-trx-table__bal { font-weight: 600; }
.art-trx-empty { padding: 22px 10px; text-align: center; }
.art-trx-empty__icon { display: inline-flex; align-items: center; justify-content: center; width: 56px; height: 56px; border-radius: 50%;
  background: rgba(255,179,0,.15); color: #00112E; font-size: 30px; margin-bottom: 10px; }
.art-trx-empty__title { color: #00112E !important; font-weight: 700; margin: 0 0 4px !important; }
.art-trx-empty__text { display: block; color: #5B6B82; font-size: 14px; }
.art-recent-trx .art-trx-table td.empty-message-row::before { display: none !important; }
@media (max-width: 575px) {
  .art-recent-trx { padding: 14px !important; border-radius: 14px !important; }
  .art-recent-trx__title { font-size: 1.05rem !important; }
  .art-recent-trx .art-trx-table tbody tr:not(.art-trx-table__empty-row) { display: block; background: #F7F5FB; border: 1px solid rgba(0,17,46,.08);
    border-left: 4px solid #6B2FA0; border-radius: 12px; margin-bottom: 10px; padding: 4px 0; }
  .art-recent-trx .art-trx-table tbody tr:last-child { margin-bottom: 0; }
  .art-recent-trx .art-trx-table tbody tr td { display: flex !important; justify-content: space-between; align-items: center; gap: 12px;
    padding: 7px 12px !important; border: 0 !important; text-align: right; }
  .art-recent-trx .art-trx-table tbody tr td.art-trx-table__ref { border-bottom: 1px dashed rgba(0,17,46,.15) !important; padding-bottom: 9px !important; }
  .art-recent-trx .art-trx-table tbody tr td::before { color: #5B6B82 !important; font-size: 12px !important; font-weight: 600 !important;
    text-transform: uppercase; letter-spacing: .04em; flex: 0 0 auto; width: auto !important; }
  .art-recent-trx .art-trx-table tbody tr td.empty-message-row { display: block !important; text-align: center; }
}

/* ART: 10. footer social icons (apps-20261024): were ~14px glyphs with 9-16px tap areas on phones
   (main.css @<=575px sets .social-list__link width/height:auto). Restore 44px round tap targets, 20px glyphs. */
@media (max-width: 767px) {
  .bottom-footer .social-list { justify-content: center !important; gap: 10px !important; }
  .bottom-footer .social-list__item { margin-right: 0 !important; }
  .bottom-footer .social-list__link {
    width: 44px !important; height: 44px !important; display: inline-flex !important; align-items: center; justify-content: center;
    border-radius: 50% !important; border: 1px solid rgba(255,255,255,.18) !important; background: rgba(255,255,255,.08) !important;
    color: #fff !important; font-size: 20px !important; line-height: 1;
  }
  .bottom-footer .social-list__link i, .bottom-footer .social-list__link svg { font-size: 20px !important; width: 20px; height: 20px; line-height: 1; }
  .bottom-footer .social-list__link:hover, .bottom-footer .social-list__link:focus { color: #FFB300 !important; border-color: #FFB300 !important; }
}
