/* =========================================================
   WBBUS.IN - Complete Consolidated & Optimized Stylesheet
   Target Resolutions: Mobile (360px - 767px) & Laptop (1366x768)
   Zero Inline CSS Required in Blade Templates
   ========================================================= */

:root {
    --wb-navy: #0f172a;
    --wb-blue: #0d6efd;
    --wb-blue-dark: #0a58ca;
    --wb-light: #f8fafc;
    --wb-card-img-bg: #f1f5f9;
    --wb-border: #e2e8f0;
    --wb-text: #1e293b;
    --wb-muted: #64748b;
}

* {
    box-sizing: border-box;
}

html,
body {
    width: 100%;
    overflow-x: hidden;
    font-family: 'Segoe UI', system-ui, -apple-system, Roboto, sans-serif;
    background-color: var(--wb-light);
    color: var(--wb-text);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

#blur {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    width: 100%;
    transition: filter 0.2s ease;
}

.blur {
    filter: blur(4px);
    pointer-events: none;
    user-select: none;
}

/* ---------------------------------------------------------
   1. TOP UTILITY BAR & STICKY NAVIGATION
   --------------------------------------------------------- */
.menutop {
    background-color: var(--wb-navy);
    color: #cbd5e1;
    font-size: clamp(0.75rem, 1vw, 0.85rem);
    transition: all 0.25s ease;
    overflow: hidden;
}

.menutop.h0 {
    height: 0 !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    opacity: 0;
}

.menutop a {
    color: #cbd5e1;
    text-decoration: none;
    transition: color 0.2s ease;
}

.menutop a:hover {
    color: #ffffff;
}

.navback {
    background-color: #ffffff;
    border-bottom: 1px solid var(--wb-border);
    z-index: 1030;
}

.navback.sticky {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.08);
}

.navbar-brand {
    font-weight: 800;
    font-size: clamp(1.15rem, 1.8vw, 1.4rem);
    letter-spacing: -0.4px;
    color: var(--wb-navy) !important;
}

.navbar-brand span {
    color: var(--wb-blue);
}

.navbar-nav .nav-link {
    font-weight: 600;
    font-size: clamp(0.85rem, 1.1vw, 0.95rem);
    color: #475569;
    padding: 0.45rem 0.85rem !important;
    border-radius: 0.5rem;
    transition: all 0.2s ease;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.nav-select {
    color: var(--wb-blue);
    background-color: #eff6ff;
}

/* ---------------------------------------------------------
   2. HOME HERO & FLOATING SEARCH (Tuned for 1366x768)
   --------------------------------------------------------- */
.wb-hero {
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.93) 0%, rgba(30, 58, 138, 0.88) 100%),
                url("../image/busn.jpg") center/cover no-repeat;
    padding: clamp(2rem, 4.8vh, 3.25rem) 0 clamp(3.4rem, 7.5vh, 4.75rem);
    color: #ffffff;
}

.wb-hero-title {
    font-size: clamp(1.35rem, 2.5vw, 2.1rem);
    font-weight: 700;
    line-height: 1.25;
    max-width: 780px;
}

.wb-hero-subtitle {
    font-size: clamp(0.85rem, 1.15vw, 1rem);
    max-width: 620px;
    color: rgba(255, 255, 255, 0.85);
}

.wb-search-card {
    margin-top: clamp(-2.3rem, -4.8vh, -3.1rem);
    border: none;
    border-radius: 1rem;
    box-shadow: 0 14px 32px rgba(15, 23, 42, 0.11);
    background: #ffffff;
    position: relative;
    z-index: 20;
}

.wb-search-card .form-control,
.wb-search-card .form-select,
.wb-search-btn {
    height: clamp(42px, 5.4vh, 48px);
    border-radius: 0.65rem;
}

.wb-search-card .form-control,
.wb-search-card .form-select {
    border: 1.5px solid var(--wb-border);
    font-size: 0.92rem;
}

.wb-search-card .form-control:focus,
.wb-search-card .form-select:focus {
    border-color: var(--wb-blue);
    box-shadow: 0 0 0 0.18rem rgba(13, 110, 253, 0.15);
}

.hints.list-group {
    top: 100%;
    left: 0;
    right: 0;
    z-index: 1050;
    max-height: 210px;
    overflow-y: auto;
    border-radius: 0.65rem;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.15);
}

.hints .hint-item {
    cursor: pointer;
    font-size: 0.88rem;
    padding: 0.55rem 0.9rem;
}

.hints .hint-item:hover {
    background-color: #eff6ff;
    color: var(--wb-blue);
}

.swap-circle-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1.5px solid #cbd5e1;
    background: #f8fafc;
    color: var(--wb-blue);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.25s ease;
}

.swap-circle-btn:hover {
    background: var(--wb-blue);
    color: #ffffff;
    border-color: var(--wb-blue);
    transform: rotate(180deg);
}

.quick-cat-card {
    border: 1px solid var(--wb-border);
    border-radius: 0.85rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    background: #ffffff;
}

.quick-cat-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(15, 23, 42, 0.07);
    border-color: #bfdbfe;
}

/* ---------------------------------------------------------
   3. HOME LATEST BUSES & ABOUT US (Horizontal Landscape Images)
   --------------------------------------------------------- */
.bus-card {
    border: 1px solid var(--wb-border);
    border-radius: 0.85rem;
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    background: #ffffff;
    display: flex;
    flex-direction: column;
}

.bus-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(15, 23, 42, 0.09);
}

.bus-card-img-wrap {
    width: 100%;
    aspect-ratio: 16 / 9;
    max-height: 165px;
    background-color: var(--wb-card-img-bg);
    border-bottom: 1px solid var(--wb-border);
    padding: 0;
    overflow: hidden;
}

.bus-card-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 0.3s ease;
}

.bus-card:hover .bus-card-img-wrap img {
    transform: scale(1.05);
}

.bus-card-title {
    font-size: clamp(0.84rem, 1.1vw, 0.96rem);
    font-weight: 700;
    color: var(--wb-text);
}

.bus-card-route {
    font-size: clamp(0.74rem, 0.95vw, 0.84rem);
    color: var(--wb-muted);
}

.about-card-wrapper {
    background: #ffffff;
    border: 1px solid var(--wb-border);
    border-radius: 1rem;
    padding: clamp(1rem, 2.5vw, 2rem);
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.04);
}

.about-img-box {
    width: 100%;
    aspect-ratio: 16 / 10;
    max-height: 250px;
    margin: 0 auto;
    border-radius: 0.85rem;
    background-color: var(--wb-card-img-bg);
    border: 1px solid var(--wb-border);
    padding: 0;
    overflow: hidden;
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.06);
}

.about-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

/* ---------------------------------------------------------
   4. SUBPAGE BREADCRUMBS & A-Z DIRECTORY FILTERS
   --------------------------------------------------------- */
.barcud {
    background: linear-gradient(135deg, var(--wb-navy) 0%, #1e3a8a 100%);
    color: #ffffff;
    padding: clamp(0.8rem, 1.9vh, 1.2rem) 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.barcud .page_name {
    font-weight: 700;
    font-size: clamp(0.98rem, 1.45vw, 1.22rem);
    letter-spacing: -0.2px;
}

.barcud .page_path {
    font-size: clamp(0.76rem, 0.98vw, 0.86rem);
    color: #cbd5e1;
}

.barcud .page_path a {
    color: #93c5fd;
    text-decoration: none;
    font-weight: 600;
}

.barcud .page_path a:hover {
    color: #ffffff;
    text-decoration: underline;
}

.barcud .blink {
    color: #ffffff;
    font-weight: 600;
}

.atz-wrapper {
    background: #ffffff;
    border-bottom: 1px solid var(--wb-border);
    padding: 0.7rem 0;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.03);
}

.atz {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.35rem;
}

.atz a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: clamp(30px, 3vw, 36px);
    height: clamp(30px, 3vw, 36px);
    border-radius: 0.5rem;
    border: 1px solid var(--wb-border);
    background-color: var(--wb-light);
    color: var(--wb-text);
    font-weight: 700;
    font-size: clamp(0.78rem, 1vw, 0.88rem);
    text-decoration: none;
    transition: all 0.2s ease;
}

.atz a:hover,
.atz a.active-char {
    background-color: var(--wb-blue);
    border-color: var(--wb-blue);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(13, 110, 253, 0.25);
}

.dipo-card {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    background: #ffffff;
    border: 1px solid var(--wb-border);
    border-radius: 0.75rem;
    padding: clamp(0.65rem, 1.4vh, 0.9rem) clamp(0.75rem, 1.4vw, 1rem);
    color: var(--wb-text);
    text-decoration: none;
    font-weight: 600;
    font-size: clamp(0.82rem, 1.05vw, 0.94rem);
    transition: all 0.2s ease;
    height: 100%;
}

.dipo-card:hover {
    border-color: var(--wb-blue);
    background-color: #eff6ff;
    color: var(--wb-blue);
    transform: translateY(-2px);
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.06);
}

.dipo-icon-badge {
    width: 32px;
    height: 32px;
    border-radius: 0.5rem;
    background-color: rgba(13, 110, 253, 0.1);
    color: var(--wb-blue);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 0.85rem;
    transition: all 0.2s ease;
}

.dipo-card:hover .dipo-icon-badge {
    background-color: var(--wb-blue);
    color: #ffffff;
}

/* ---------------------------------------------------------
   5. SEARCH, ROUTE RESULT & SIMILAR BUS CARDS + PAGINATION
   --------------------------------------------------------- */
.search-summary-banner {
    background-color: #eff6ff;
    border: 1px solid #bfdbfe;
    border-left: 4px solid var(--wb-blue);
    border-radius: 0.75rem;
    padding: 0.75rem 1rem;
    color: var(--wb-navy);
    font-size: clamp(0.84rem, 1.05vw, 0.94rem);
}

.result-bus-card,
.similar-route-card {
    background: #ffffff;
    border: 1px solid var(--wb-border);
    border-radius: 0.9rem;
    overflow: hidden;
    height: 100%;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.result-bus-card:hover,
.similar-route-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 24px rgba(15, 23, 42, 0.08);
    border-color: var(--wb-blue);
}

.result-bus-thumb,
.similar-route-thumb {
    width: clamp(86px, 8vw, 104px);
    min-height: 112px;
    background-color: var(--wb-card-img-bg);
    border-right: 1px solid var(--wb-border);
    padding: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.result-bus-thumb img,
.similar-route-thumb img {
    width: 100%;
    height: 100%;
    max-height: 112px;
    object-fit: contain;
    border-radius: 0.45rem;
}

.result-schedule-box,
.similar-timing-strip {
    background-color: var(--wb-light);
    border: 1px solid var(--wb-border);
    border-radius: 0.65rem;
    padding: 0.48rem 0.62rem;
}

.result-stop-label,
.similar-stop-name {
    font-size: 0.77rem;
    font-weight: 700;
    color: var(--wb-text);
    line-height: 1.22;
}

.result-time-badge {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--wb-blue);
    background-color: #eff6ff;
    border-radius: 0.35rem;
    padding: 0.12rem 0.45rem;
    margin-top: 0.2rem;
}

.pagination-mobile {
    display: none;
}

/* ---------------------------------------------------------
   6. SINGLE BUS INFORMATION, TIMETABLE & COMMENTS
   --------------------------------------------------------- */
.bus-banner-wrap img {
    max-height: clamp(90px, 14vh, 140px);
    width: auto;
    max-width: 100%;
    object-fit: contain;
}

.bus-hero-card,
.bus-profile-img-card,
.bus-specs-card {
    background: #ffffff;
    border: 1px solid var(--wb-border);
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.05);
}

.bus-hero-header {
    background: linear-gradient(135deg, var(--wb-navy) 0%, #1e3a8a 100%);
    color: #ffffff;
    padding: clamp(0.85rem, 2vh, 1.25rem) clamp(1rem, 2vw, 1.5rem);
}

.bus-hero-body {
    padding: clamp(1rem, 2.2vw, 1.5rem);
}

.bus-vertical-frame,
.bus-profile-img-box {
    width: 100%;
    height: clamp(220px, 31vh, 285px);
    background: linear-gradient(180deg, #f8fafc 0%, #eef2f6 100%);
    border: 1px solid var(--wb-border);
    border-radius: 0.85rem;
    padding: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.bus-vertical-frame img,
.bus-profile-img-box img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 0.55rem;
}

.route-visual-strip {
    background: linear-gradient(135deg, #f8fafc 0%, #eff6ff 100%);
    border: 1px solid #dbeafe;
    border-radius: 0.85rem;
    padding: clamp(0.75rem, 1.6vw, 1rem);
}

.route-point-label {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: var(--wb-muted);
}

.route-point-name {
    font-size: clamp(0.9rem, 1.25vw, 1.08rem);
    font-weight: 800;
    color: var(--wb-navy);
}

.spec-tile {
    background-color: var(--wb-light);
    border: 1px solid var(--wb-border);
    border-radius: 0.75rem;
    padding: 0.6rem 0.8rem;
    height: 100%;
    transition: border-color 0.2s ease, background-color 0.2s ease;
}

.spec-tile:hover {
    background-color: #ffffff;
    border-color: #bfdbfe;
}

.spec-tile-label {
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--wb-muted);
    margin-bottom: 0.15rem;
}

.spec-tile-value {
    font-size: clamp(0.82rem, 1vw, 0.92rem);
    font-weight: 700;
    color: var(--wb-text);
}

.status-alert-strip,
.out-of-service-badge {
    background-color: #fef2f2;
    border: 1px solid #fecaca;
    border-left: 4px solid #dc2626;
    color: #991b1b;
    border-radius: 0.75rem;
    padding: 0.6rem 0.85rem;
    font-size: 0.82rem;
    font-weight: 700;
}

.bus-specs-table th {
    width: 36%;
    font-size: clamp(0.78rem, 1vw, 0.88rem);
    font-weight: 600;
    color: var(--wb-muted);
    background-color: var(--wb-light);
    padding: 0.55rem 0.85rem;
}

.bus-specs-table td {
    font-size: clamp(0.82rem, 1.05vw, 0.92rem);
    font-weight: 600;
    color: var(--wb-text);
    padding: 0.55rem 0.85rem;
}

/* Stoppage Timetable */
.timetable-shell,
.timetable-card {
    background: #ffffff;
    border: 1px solid var(--wb-border);
    border-radius: 1.05rem;
    overflow: hidden;
    box-shadow: 0 10px 26px rgba(15, 23, 42, 0.05);
}

.timetable-banner-head,
.timetable-head {
    background: linear-gradient(135deg, var(--wb-navy) 0%, #1e3a8a 100%);
    color: #ffffff;
    font-weight: 700;
    font-size: clamp(0.75rem, 1vw, 0.86rem);
    padding: 0.75rem 0.25rem;
}

.tt-row,
.timetable-row {
    font-size: clamp(0.78rem, 1vw, 0.9rem);
    transition: background-color 0.15s ease;
}

.tt-row:nth-child(even),
.timetable-row:nth-child(even) {
    background-color: #f8fafc;
}

.tt-row:hover,
.timetable-row:hover {
    background-color: #eff6ff;
}

.tt-stop-num {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background-color: #e2e8f0;
    color: var(--wb-navy);
    font-size: 0.74rem;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.tt-row:first-child .tt-stop-num {
    background-color: var(--wb-blue);
    color: #ffffff;
}

.tt-row:last-child .tt-stop-num {
    background-color: #16a34a;
    color: #ffffff;
}

.tt-stop-link,
.stopage-link {
    color: var(--wb-text);
    text-decoration: none;
    font-weight: 700;
    transition: color 0.15s ease;
}

.tt-stop-link:hover,
.stopage-link:hover {
    color: var(--wb-blue);
    text-decoration: underline;
}

.tt-time-up,
.time-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.28rem;
    background-color: #eff6ff;
    color: #1d4ed8;
    border: 1px solid #dbeafe;
    font-weight: 700;
    font-size: clamp(0.72rem, 0.95vw, 0.83rem);
    padding: 0.2rem 0.55rem;
    border-radius: 0.45rem;
}

.tt-time-down,
.time-pill-down {
    display: inline-flex;
    align-items: center;
    gap: 0.28rem;
    background-color: #f0fdf4;
    color: #15803d;
    border: 1px solid #dcfce7;
    font-weight: 700;
    font-size: clamp(0.72rem, 0.95vw, 0.83rem);
    padding: 0.2rem 0.55rem;
    border-radius: 0.45rem;
}

/* Comments */
.comment-composer,
.comment-form-box {
    background: linear-gradient(135deg, #f8fafc 0%, #eff6ff 100%);
    border: 1px solid #dbeafe;
    border-radius: 0.9rem;
    padding: clamp(0.9rem, 2vw, 1.25rem);
}

.comment-avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.comment-text-card,
.comment-bubble {
    background-color: var(--wb-light);
    border: 1px solid var(--wb-border);
    border-radius: 0.75rem;
    padding: 0.65rem 0.9rem;
    font-size: 0.88rem;
    color: var(--wb-text);
}

.reply-text-card,
.reply-bubble {
    background-color: #eff6ff;
    border: 1px solid #bfdbfe;
    border-left: 3px solid var(--wb-blue);
    border-radius: 0.75rem;
    padding: 0.55rem 0.85rem;
    font-size: 0.84rem;
    color: var(--wb-navy);
    margin-left: clamp(1.25rem, 4vw, 2.75rem);
}

/* ---------------------------------------------------------
   7. ABOUT, CONTACT & LEGAL PAGES (TERMS / PRIVACY)
   --------------------------------------------------------- */
.info-main-card {
    background: #ffffff;
    border: 1px solid var(--wb-border);
    border-radius: 1rem;
    padding: clamp(1.15rem, 2.5vw, 2rem);
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.04);
}

.disclaimer-banner {
    background-color: #fffbeb;
    border: 1px solid #fde68a;
    border-left: 4px solid #f59e0b;
    border-radius: 0.75rem;
    padding: clamp(0.85rem, 1.8vw, 1.25rem);
}

.feature-pill-card {
    background: var(--wb-light);
    border: 1px solid var(--wb-border);
    border-radius: 0.85rem;
    padding: clamp(0.85rem, 1.8vw, 1.15rem);
    height: 100%;
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.feature-pill-card:hover {
    transform: translateY(-2px);
    border-color: #bfdbfe;
    background: #ffffff;
}

.feature-num-badge {
    width: 30px;
    height: 30px;
    border-radius: 0.5rem;
    background-color: var(--wb-blue);
    color: #ffffff;
    font-weight: 700;
    font-size: 0.82rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-channel-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: #ffffff;
    border: 1px solid var(--wb-border);
    border-radius: 0.85rem;
    padding: clamp(0.85rem, 1.8vw, 1.25rem) 0.75rem;
    text-decoration: none;
    color: var(--wb-text);
    height: 100%;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.contact-channel-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 22px rgba(15, 23, 42, 0.08);
    border-color: var(--wb-blue);
    color: var(--wb-text);
}

.contact-icon-circle {
    width: clamp(42px, 4.5vw, 50px);
    height: clamp(42px, 4.5vw, 50px);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: clamp(1.1rem, 1.5vw, 1.35rem);
    margin-bottom: 0.65rem;
}

.contact-form-card {
    background: #ffffff;
    border: 1px solid var(--wb-border);
    border-radius: 1rem;
    padding: clamp(1.15rem, 2.5vw, 1.85rem);
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.05);
}

.contact-form-card .form-control {
    border-radius: 0.65rem;
    border: 1.5px solid var(--wb-border);
    font-size: 0.92rem;
    padding: 0.6rem 0.85rem;
}

.contact-form-card .form-control:focus {
    border-color: var(--wb-blue);
    box-shadow: 0 0 0 0.18rem rgba(13, 110, 253, 0.15);
}

.legal-toc-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    background: var(--wb-light);
    border: 1px solid var(--wb-border);
    border-radius: 0.75rem;
    padding: 0.75rem;
}

.legal-toc-bar a {
    font-size: clamp(0.75rem, 0.95vw, 0.84rem);
    font-weight: 600;
    color: var(--wb-text);
    background: #ffffff;
    border: 1px solid var(--wb-border);
    border-radius: 50px;
    padding: 0.3rem 0.75rem;
    text-decoration: none;
    transition: all 0.2s ease;
}

.legal-toc-bar a:hover {
    background: var(--wb-blue);
    border-color: var(--wb-blue);
    color: #ffffff;
}

.legal-section {
    padding-top: 1.25rem;
    margin-top: 1.25rem;
    border-top: 1px solid var(--wb-border);
}

.legal-section h3 {
    font-size: clamp(1rem, 1.3vw, 1.15rem);
    font-weight: 700;
    color: var(--wb-navy);
    margin-bottom: 0.65rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.legal-section p,
.legal-section li {
    font-size: clamp(0.84rem, 1vw, 0.92rem);
    color: #475569;
    line-height: 1.65;
}

.legal-section ul {
    padding-left: 1.25rem;
    margin-bottom: 0.85rem;
}

.legal-section li {
    margin-bottom: 0.35rem;
}

/* ---------------------------------------------------------
   8. FOOTER, FLOATING BUTTONS & MODAL OVERLAYS
   --------------------------------------------------------- */
.footer-wrapper {
    background-color: var(--wb-navy);
    color: #94a3b8;
    margin-top: auto;
}

.footer-title {
    color: #ffffff;
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 0.85rem;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.2s, padding-left 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-links a:hover {
    color: #ffffff;
    padding-left: 4px;
}

.bottom_footer_bar {
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
    margin: 1.25rem 0 0.85rem;
}

#openSearch {
    position: fixed;
    bottom: 18px;
    right: 18px;
    z-index: 9998;
    border-radius: 50px;
    padding: 0.6rem 1.2rem;
    font-weight: 600;
    box-shadow: 0 8px 20px rgba(13, 110, 253, 0.35);
}

.bus-actions {
    position: fixed;
    bottom: 72px;
    right: 18px;
    z-index: 9997;
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}

.bus-actions .btn {
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    padding: 0.45rem 0.95rem;
    box-shadow: 0 6px 16px rgba(15, 23, 42, 0.16);
    white-space: nowrap;
}

#searchBackdrop {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.65);
    backdrop-filter: blur(2px);
    display: none;
    z-index: 9999;
}

#searchOverlay {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 400px;
    max-width: 92%;
    background: #ffffff;
    border-radius: 1rem;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.3);
    display: none;
    z-index: 10000;
    padding: 1.35rem;
}

.hint-box {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 99999;
    max-height: 210px;
    overflow-y: auto;
    display: none;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.12);
    border-radius: 0.5rem;
}

.reportdiv {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    z-index: 10500;
    padding: 1rem;
}

.reportform {
    width: 430px;
    max-width: 100%;
    background: #ffffff;
    border: 1px solid var(--wb-border);
    border-radius: 1rem;
    box-shadow: 0 24px 48px rgba(15, 23, 42, 0.28);
    padding: 1.35rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(18px) scale(0.97);
    transition: all 0.25s ease;
    pointer-events: none;
}

.reportform.reportformtop {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}

.succback {
    background-color: #f0fdf4;
    border: 1px solid #bbf7d0;
    color: #166534;
    text-align: center;
    font-weight: 700;
}

.danger-popup {
    border: none;
    border-radius: 1rem;
    overflow: hidden;
}

.danger-header {
    background-color: #dc2626;
    color: #ffffff;
    font-weight: 700;
    font-size: 1.05rem;
    padding: 0.85rem 1.25rem;
}

.danger-body {
    padding: 1.25rem;
    font-size: 0.95rem;
    color: var(--wb-text);
}

.danger-footer {
    padding: 0.75rem 1.25rem;
    background-color: var(--wb-light);
    border-top: 1px solid var(--wb-border);
}

/* ---------------------------------------------------------
   9. MOBILE & TABLET RESPONSIVE OVERRIDES
   --------------------------------------------------------- */
@media (max-width: 767.98px) {
    .swap-circle-btn {
        width: 34px;
        height: 34px;
        transform: rotate(90deg);
    }

    .swap-circle-btn:hover {
        transform: rotate(270deg);
    }

    .bus-card-img-wrap {
        aspect-ratio: 16 / 10;
        max-height: 115px;
    }

    .bus-card .card-body {
        padding: 0.55rem !important;
    }

    .about-img-box {
        max-width: 100%;
        max-height: 195px;
    }
}

@media (max-width: 576px) {
    .pagination-desktop {
        display: none;
    }

    .pagination-mobile {
        display: flex;
        justify-content: center;
        align-items: center;
    }
}