/* Custom CSS for Proposal App */

/* Import Poppins Font */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

/* Apply Poppins to text elements only - NOT to icons */
body, html,
h1, h2, h3, h4, h5, h6,
p, span, div, a, label,
button:not(.btn-close),
input, textarea, select, option,
table, th, td,
.nav-item, .nav-link,
.card, .card-body, .card-header, .card-footer,
.form-control, .form-label, .form-text,
.btn, .alert, .badge,
.dropdown-item, .dropdown-menu {
    font-family: 'Poppins', sans-serif !important;
}

/* Simple Header Styles */
.wrapper-no-sidebar .main-panel {
    width: 100% !important;
    margin-left: 0 !important;
}

/* Navigation Dropdown Styles */
.nav-dropdown {
    position: relative;
    display: inline-block;
}

.nav-dropdown .dropdown-toggle {
    cursor: pointer;
}

.nav-dropdown .dropdown-toggle:hover + .dropdown-menu,
.nav-dropdown:hover .dropdown-menu {
    display: block;
}

.nav-dropdown .dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 1000;
    display: none;
    min-width: 200px;
    padding: 0.5rem 0;
    margin: 0;
    font-size: 14px;
    color: #212529;
    text-align: left;
    list-style: none;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid rgba(0,0,0,.15);
    border-radius: 0.375rem;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.175);
}

.nav-dropdown .dropdown-menu.show {
    display: block;
}

.nav-dropdown .dropdown-item {
    display: block;
    width: 100%;
    padding: 0.5rem 1rem;
    clear: both;
    font-weight: 400;
    color: #212529;
    text-align: inherit;
    text-decoration: none;
    white-space: nowrap;
    background-color: transparent;
    border: 0;
    transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out;
}

.nav-dropdown .dropdown-item:hover,
.nav-dropdown .dropdown-item:focus {
    color: #1e2125;
    background-color: #e9ecef;
}

.nav-dropdown .dropdown-item.active,
.nav-dropdown .dropdown-item:active {
    color: #fff;
    background-color: #0d6efd;
}

.simple-header {
    /* background-image: url('../template/assets/img/bg-scaled.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed; */
    background-color: #F7F8FD;
    padding: 15px 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    backdrop-filter: blur(5px);
}
.table>tbody>tr>td,.table>tbody>tr>th {
    padding: 5px 14px !important;
    vertical-align: middle !important;
    font-size: 14px;
}
.custom-th-width-service{
    width: 360px;
}
.main-panel>.container{
    margin-top: 30px !important;
}
.card, .card-light
 {
    box-shadow: none !important;
}

.table thead th {
    padding: 12px 15px !important;
    font-size: 17px;
}
/* Add padding to body to account for fixed header */
.main-panel {
    padding-top: 40px;
}

/* Background image for entire website */
body {
    /* background-image: url('../template/assets/img/bg-scaled.jpg'); */
    /* background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed; */
    background-color: #F7F8FD;
}

/* Make all text black for better readability */
.card-body,
.table,
.table td,
.table th,
.text-muted {
    color: #000 !important;
}

/* Remove table cell padding */
.table td,
.table th {
    padding: 0 !important;
    vertical-align: middle !important;
}

.card-title,
h1, h2, h3, h4, h5, h6 {
    color: #000 !important;
}

/* Footer positioning - always at bottom */
body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.wrapper {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.main-panel {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.page-inner {
    flex: 1;
}

.footer {
    margin-top: auto;
    background: none !important;
    border-top: none !important;
    position: relative;
    z-index: 1;
}

.simple-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1400px;
    margin: 0 auto;
}

.nav-brand img {
    height: 30px;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 40px;
}

.nav-item {
    text-decoration: none;
    color: #000;
    font-weight: 500;
    font-size: 16px;
    padding: 8px 0;
    position: relative;
    transition: color 0.3s ease;
}

.nav-item:hover {
    color: #333;
}

.nav-item.active {
    color: red;
    font-weight: 600;
}

.nav-item.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 3px;
    background: red;
    border-radius: 2px;
}

.nav-user {
    display: flex;
    align-items: center;
    gap: 15px;
}

.user-profile-link {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    color: #000;
    font-weight: 500;
    padding: 8px 4px;
    border-radius: 8px;
    transition: background 0.2s, color 0.2s;
}

.user-profile-link:hover {
    background: #f5f5f5;
    color: #E52925;
}

.logout-form {
    margin: 0;
    display: inline-flex;
}

.logout-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    padding: 8px 12px;
    border-radius: 8px;
    cursor: pointer;
    color: #000;
    font-size: 18px;
    transition: background 0.2s, color 0.2s;
}

.logout-btn:hover {
    background: #E52925;
    color: #fff;
}

.logout-btn i {
    font-size: 18px;
}

@media (max-width: 768px) {
    .nav-menu {
        gap: 20px;
    }

    .nav-item {
        font-size: 14px;
    }
}

/* Proposal Builder Header Section */
.proposal-header-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 40px;
    border-radius: 15px;
    position: relative;
    overflow: hidden;
}

.proposal-header-section h1 {
    font-size: 40px;
    font-weight: 700;
    margin-bottom: 10px;
}

.proposal-header-section p {
    font-size: 1rem;
    opacity: 0.95;
    margin-bottom: 5px;
}

.proposal-header-section p:last-child {
    margin-bottom: 0;
}

.proposal-logo img {
    max-height: 80px;
    max-width: 200px;
    filter: drop-shadow(2px 2px 4px rgba(0,0,0,0.2));
}

.proposal-logo-placeholder {
    background: rgba(255,255,255,0.2);
    padding: 20px;
    border-radius: 10px;
    backdrop-filter: blur(10px);
    display: inline-block;
}

/* Service Section Styling */
.service-title {
    color: #333;
    font-weight: 600;
    padding-bottom: 0px;
}

.service-description {
    padding: 2px 0px;
}

.addon-buttons-section {
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 20px;
    height: fit-content;
}

.addon-buttons-section h5 {
    color: #333;
    font-weight: 600;
    margin-bottom: 15px;
}

.btn-block {
    width: 100%;
    margin-bottom: 8px;
}

/* Service Footer Styling */
.service-footer {

    border-radius: 0 8px 8px 0;
}

/* Custom Pagination Component */
.custom-pagination {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    margin-top: 24px;
}

.pagination-info {
    font-size: 0.875rem;
    color: #6c757d;
    font-weight: 500;
}

.pagination-controls {
    display: flex;
    align-items: center;
    gap: 8px;
}

.pagination-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #f8f9fa;
    border: 1px solid #e9ecef;
    color: #6c757d;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s ease-in-out;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    cursor: pointer;
}

.pagination-btn:hover {
    background-color: #e9ecef;
    color: #495057;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
    text-decoration: none;
}

.pagination-btn.active {
    background-color: #007bff;
    border-color: #007bff;
    color: #fff;
    box-shadow: 0 4px 8px rgba(0,123,255,0.3);
}

.pagination-btn.disabled {
    background-color: #f8f9fa;
    border-color: #e9ecef;
    color: #adb5bd;
    cursor: not-allowed;
    opacity: 0.6;
}

.pagination-btn.disabled:hover {
    background-color: #f8f9fa;
    color: #adb5bd;
    transform: none;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* Hide default Laravel pagination */
/* .pagination {
    display: none !important;
} */

/* Responsive design */
@media (max-width: 576px) {
    .pagination-btn {
        width: 36px;
        height: 36px;
        font-size: 12px;
    }

    .pagination-controls {
        gap: 6px;
    }
}
.note-modal-footer{
    height: 53px !important;
}
.note-modal-footer>input[type="button"].note-editor.note-frame .note-btn {
    background-color: #4E8EED !important;
}

/* Top header nav: active menu state (Polytechnic ERP) */
#layout-navbar .navbar-nav .nav-link.active {
    color: var(--bs-primary) !important;
    font-weight: 600;
}
#layout-navbar .navbar-nav .nav-link.dropdown-toggle.active {
    color: var(--bs-primary) !important;
    font-weight: 600;
}
#layout-navbar .dropdown-menu .dropdown-item.active {
    background-color: rgba(102, 108, 255, 0.12);
    color: var(--bs-primary);
    font-weight: 500;
}

/* Breadcrumb links: clickable, hover state */
h4.fw-bold.mb-4 a.text-muted {
    transition: color 0.15s ease;
}
h4.fw-bold.mb-4 a.text-muted:hover {
    color: var(--bs-primary) !important;
}

/* -------------------------------------------------------------------------
   ERP pagination (Laravel paginator + Bootstrap 5 + glass / primary #4F8CFF)
   ------------------------------------------------------------------------- */
.card-footer.erp-pagination-wrap {
    background: rgba(255, 255, 255, 0.72) !important;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-top: 1px solid rgba(79, 140, 255, 0.12) !important;
    padding-top: 1.25rem !important;
    padding-bottom: 1.25rem !important;
}

.erp-pagination {
    width: 100%;
}

.erp-pagination__nav {
    width: 100%;
}

.erp-pagination__summary-inner {
    display: inline-block;
    padding: 0.35rem 0.85rem;
    border-radius: 999px;
    background: rgba(79, 140, 255, 0.06);
    border: 1px solid rgba(79, 140, 255, 0.1);
}

.pagination.pagination-erp {
    gap: 0.35rem;
    flex-wrap: wrap;
    align-items: center;
}

.pagination.pagination-erp .page-link {
    min-width: 2.35rem;
    text-align: center;
    border-radius: 12px !important;
    border: 1px solid rgba(79, 140, 255, 0.2);
    background: rgba(255, 255, 255, 0.75);
    color: #4a5d7a;
    font-weight: 500;
    padding: 0.45rem 0.65rem;
    box-shadow: 0 2px 8px rgba(79, 140, 255, 0.06);
    transition: color 0.18s ease, background 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease, transform 0.12s ease;
}

.pagination.pagination-erp .page-link:hover {
    color: #4F8CFF;
    background: rgba(79, 140, 255, 0.1);
    border-color: rgba(79, 140, 255, 0.35);
    box-shadow: 0 4px 12px rgba(79, 140, 255, 0.12);
    transform: translateY(-1px);
}

.pagination.pagination-erp .page-item.active .page-link {
    background: linear-gradient(135deg, #4F8CFF 0%, #3d7aee 100%);
    border-color: #4F8CFF;
    color: #fff !important;
    box-shadow: 0 6px 18px rgba(79, 140, 255, 0.35);
    font-weight: 600;
}

.pagination.pagination-erp .page-item.disabled .page-link {
    opacity: 0.5;
    pointer-events: none;
    background: rgba(0, 0, 0, 0.02);
    border-color: rgba(0, 0, 0, 0.06);
    color: #8b9bb0 !important;
    box-shadow: none;
    transform: none;
}

.pagination.pagination-erp .erp-pagination__arrow {
    min-width: 2.5rem;
    padding-left: 0.5rem;
    padding-right: 0.5rem;
    font-size: 1.15rem;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.pagination.pagination-erp .erp-pagination__ellipsis {
    border: none !important;
    background: transparent !important;
    box-shadow: none !important;
    color: #8b9bb0 !important;
    min-width: auto;
    padding-left: 0.35rem;
    padding-right: 0.35rem;
}

/* -------------------------------------------------------------------------
   Public browse buddies — pagination strip
   ------------------------------------------------------------------------- */
.browse-pagination-wrap {
    border-radius: 1.15rem;
    padding: 0.85rem 1rem 1rem;
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid rgba(79, 140, 255, 0.14);
    box-shadow: 0 8px 32px rgba(15, 23, 42, 0.08);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

.browse-pagination__nav {
    width: 100%;
}

.browse-pagination__pill {
    display: inline-block;
    padding: 0.4rem 0.95rem;
    border-radius: 999px;
    background: rgba(79, 140, 255, 0.08);
    border: 1px solid rgba(79, 140, 255, 0.12);
    line-height: 1.35;
}

.browse-pagination__pager.pagination {
    gap: 0.4rem;
}

.browse-pagination__nav-btn.page-link {
    min-width: 2.75rem;
    min-height: 2.75rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    padding: 0.35rem;
}

@media (min-width: 768px) {
    .browse-pagination-wrap {
        padding: 1rem 1.25rem 1.1rem;
    }
}

/* -------------------------------------------------------------------------
   App dashboards — paginator strip (admin / super-admin / lg tables)
   ------------------------------------------------------------------------- */
.dashboard-pagination-wrap {
    border-radius: 1rem;
    padding: 0.85rem 1rem;
    background: rgba(255, 255, 255, 0.82);
    border: 1px solid rgba(79, 140, 255, 0.12);
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.05);
}

.card-footer.dashboard-pagination-wrap {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
    padding-bottom: 1.1rem;
}

.marketplace-pager-mobile .btn.rounded-pill {
    min-height: 2.65rem;
    font-weight: 600;
}

/* -------------------------------------------------------------------------
   BuddyOnRent marketplace styles
   ------------------------------------------------------------------------- */
.glass-card,
.metric-card,
.hero-glass-card {
    background: rgba(255, 255, 255, 0.72) !important;
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border: 1px solid rgba(255, 255, 255, 0.55);
    box-shadow: 0 16px 40px rgba(79, 140, 255, 0.12) !important;
}

.metric-card {
    min-height: 118px;
}

.public-body {
    background:
        radial-gradient(circle at top left, rgba(79, 140, 255, 0.18), transparent 30%),
        radial-gradient(circle at top right, rgba(255, 118, 174, 0.14), transparent 26%),
        linear-gradient(180deg, #f7f9ff 0%, #f5f7fb 100%);
    color: #1d2a45;
}

.public-navbar {
    position: sticky;
    top: 0;
    z-index: 1050;
    backdrop-filter: blur(16px);
    background: #fff;
    border-bottom: 1px solid rgba(79, 140, 255, 0.08);
}

/* BuddyOnRent wordmark (public + mobile + auth + dashboard nav) */
.public-navbar__brand {
    flex-shrink: 0;
}

.site-header-logo {
    /* width: auto;
    max-width: min(260px, 58vw);
    height: auto;
    max-height: 2.75rem;
    object-fit: contain;
    display: block; */
}

.site-header-logo--mobile-public,
.site-header-logo--mobile-app {
    /* max-height: 2.125rem;
    max-width: min(220px, 62vw); */
}

.site-header-logo--sa-mobile {
    max-height: 1.875rem;
    max-width: min(180px, 44vw);
}

.site-header-logo--guest {
    max-height: 3rem;
    max-width: min(280px, 85vw);
    margin: 0 auto;
}

.layout-navbar .site-header-logo--dashboard {
    max-height: 1.9rem;
    max-width: min(200px, 40vw);
}

.public-footer {
    border-top: 1px solid rgba(79, 140, 255, 0.08);
    background: rgba(255, 255, 255, 0.65);
    margin-top: auto;
}

.public-navbar__inner {
    display: grid;
    gap: 0.75rem 1rem;
    align-items: center;
}

@media (min-width: 992px) {
    .public-navbar__inner {
        grid-template-columns: auto 1fr auto;
    }

    .public-navbar__nav {
        justify-content: center !important;
    }
}

@media (max-width: 991.98px) {
    .public-navbar__inner {
        grid-template-columns: 1fr auto;
        grid-template-areas:
            "brand actions"
            "nav nav";
    }

    .public-navbar__brand {
        grid-area: brand;
    }

    .public-navbar__actions {
        grid-area: actions;
    }

    .public-navbar__nav {
        grid-area: nav;
    }
}

/* Public home — intro strip + experience tiles (full image, no crop) */
.home-showcase-section {
    margin-top: 0.25rem;
    background: transparent;
}

.home-showcase-intro {
    background: linear-gradient(
        135deg,
        rgba(79, 140, 255, 0.14) 0%,
        rgba(237, 242, 255, 0.96) 42%,
        rgba(255, 250, 252, 0.98) 100%
    );
    border: none !important;
    border-radius: 1.5rem !important;
    box-shadow: 0 16px 44px rgba(79, 140, 255, 0.14) !important;
}

.home-showcase-pill--on-light {
    box-shadow: 0 6px 16px rgba(79, 140, 255, 0.22);
}

.home-showcase-pill--on-light:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 22px rgba(79, 140, 255, 0.28);
}

/* Gutters tuned for four columns */
.home-experience-grid {
    --bs-gutter-x: 1.25rem;
    --bs-gutter-y: 1.5rem;
}

@media (min-width: 1200px) {
    .home-experience-grid {
        --bs-gutter-x: 1.5rem;
        --bs-gutter-y: 1.5rem;
    }
}

.home-experience-tile {
    background: #fff;
    color: #1a2234;
    border: none;
    border-radius: 1.5rem;
    outline: none;
    box-shadow: 0 18px 46px rgba(15, 23, 42, 0.1) !important;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.home-experience-tile:hover,
.home-experience-tile:focus-visible {
    transform: translateY(-4px);
    box-shadow: 0 26px 56px rgba(79, 140, 255, 0.16) !important;
}

.home-experience-tile:focus-visible {
    box-shadow: 0 0 0 3px rgba(79, 140, 255, 0.35), 0 22px 52px rgba(79, 140, 255, 0.14) !important;
}

/*
 | Square frame (1:1) + equal padding on all sides; image scales down with
 | object-fit: contain so nothing is cropped.
 */
.home-experience-tile__figure {
    display: grid;
    place-items: center;
    width: 100%;
    margin: 0;
    aspect-ratio: 1 / 1;
    padding: 1rem;
    background: transparent;
    box-sizing: border-box;
}

.home-experience-tile__img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    object-position: center;
    display: block;
    border-radius: 1.125rem;
}

.home-experience-tile__caption {
    width: 100%;
    padding: 1rem 1rem 1.25rem;
    background: #fff;
    border-top: none;
    margin-top: 0;
    box-sizing: border-box;
}

.home-experience-tile__kicker {
    color: #5c6578 !important;
    letter-spacing: 0.04em;
}

.home-experience-tile__title {
    color: #0f172a !important;
}

.home-experience-tile__caption .home-experience-tile__cta {
    width: 100%;
    max-width: 100%;
    text-align: center;
}

.home-experience-tile__cta {
    background: linear-gradient(135deg, #e854a0 0%, #7d63ff 100%);
    color: #fff !important;
    border: none;
    font-weight: 600;
}

.home-experience-tile:hover .home-experience-tile__cta,
.home-experience-tile:focus-visible .home-experience-tile__cta {
    filter: brightness(1.06);
}

/* Public landing (home) — phone density: less gutter, smaller type, 2-up grids */
@media (max-width: 575.98px) {
    .public-home .container-xxl,
    .browse-public-section .container-xxl {
        padding-left: max(0.5rem, env(safe-area-inset-left));
        padding-right: max(0.5rem, env(safe-area-inset-right));
    }

    .public-home section.py-5 {
        padding-top: 2.25rem !important;
        padding-bottom: 2.25rem !important;
    }

    .public-home .home-hero-photo .container-xxl {
        padding-left: 0.65rem;
        padding-right: 0.65rem;
    }

    .public-home .home-hero-metric-tile h3 {
        font-size: 1.1rem;
    }

    .public-home .display-5 {
        font-size: 1.35rem;
        line-height: 1.2;
    }

    .public-home .home-hero-photo .lead {
        font-size: 0.85rem;
    }

    .public-home .home-experience-grid {
        --bs-gutter-x: 0.3rem;
        --bs-gutter-y: 0.45rem;
    }

    .public-home .home-experience-tile {
        border-radius: 0.9rem;
    }

    .public-home .home-experience-tile__figure {
        padding: 0.4rem;
    }

    .public-home .home-experience-tile__img {
        border-radius: 0.65rem;
    }

    .public-home .home-experience-tile__caption {
        padding: 0.45rem 0.3rem 0.55rem;
    }

    .public-home .home-experience-tile__kicker {
        font-size: 0.52rem !important;
        line-height: 1.2;
        letter-spacing: 0.03em;
    }

    .public-home .home-experience-tile__title {
        font-size: 0.75rem !important;
        line-height: 1.2;
    }

    .public-home .home-experience-tile__cta {
        font-size: 0.55rem;
        line-height: 1.2;
        padding: 0.3rem 0.35rem !important;
        margin-top: 0.35rem !important;
    }

    .public-home .home-experience-tile__cta i.mdi {
        font-size: 0.7rem;
    }

    .public-home .text-center.mb-4.mx-auto h2 {
        font-size: 1rem;
    }

    .public-home .text-center.mb-4.mx-auto p {
        font-size: 0.78rem;
    }

    .public-home .home-showcase-intro {
        margin-bottom: 1.5rem !important;
        border-radius: 1rem !important;
        padding: 1rem !important;
    }

    .public-home .home-showcase-intro h2,
    .public-home .home-showcase-intro .h3 {
        font-size: 1.05rem;
    }

    .public-home .home-showcase-intro .text-muted {
        font-size: 0.78rem;
    }

    .public-home .home-showcase-pill--on-light {
        font-size: 0.68rem;
        padding: 0.25rem 0.5rem;
    }

    .public-home .home-live-booking-section .glass-card,
    .public-home .card.home-trust-panel {
        border-radius: 1rem !important;
        padding: 1rem !important;
    }

    .public-home .home-live-booking-section h2,
    .public-home .home-live-booking-section .h3,
    .public-home .card.home-trust-panel h3 {
        font-size: 1.05rem;
    }

    .public-home .home-live-booking-section p,
    .public-home .card.home-trust-panel p {
        font-size: 0.8rem;
    }

    .public-home .home-featured-buddies h2 {
        font-size: 1rem;
    }

    .public-home .home-featured-buddies__intro,
    .public-home section .text-muted {
        font-size: 0.72rem;
    }

    .public-home section h2.mb-1:not(.fs-5) {
        font-size: 1rem;
    }

    .public-home .home-category-grid,
    .public-home .home-featured-grid,
    .browse-public-section .buddy-marketplace-grid {
        --bs-gutter-x: 0.3rem;
        --bs-gutter-y: 0.45rem;
    }

    .public-home .category-card--fill .card-body,
    .public-home .buddy-card--grid-profile .card-body,
    .browse-public-section .buddy-card--grid-profile .card-body {
        padding: 0.5rem 0.45rem !important;
    }

    .public-home .category-card .icon-wrapper {
        width: 36px;
        height: 36px;
        border-radius: 12px;
    }

    .public-home .category-card .icon-wrapper i.mdi {
        font-size: 18px !important;
    }

    .public-home .category-card__title {
        font-size: 0.78rem !important;
    }

    .public-home .category-card__tagline,
    .public-home .category-card__desc,
    .public-home .category-card p.small {
        font-size: 0.65rem !important;
        line-height: 1.3;
    }

    .public-home .category-card__live-badge {
        font-size: 0.55rem;
        padding: 0.1rem 0.4rem;
    }

    .public-home .category-card__cta {
        font-size: 0.55rem;
        padding: 0.25rem 0.35rem;
        min-height: auto;
    }

    .public-body--mobile-app .public-home .buddy-card--grid-profile .buddy-grid-profile__avatar.avatar-xl,
    .public-body--mobile-app .browse-public-section .buddy-card--grid-profile .buddy-grid-profile__avatar.avatar-xl {
        width: 2.4rem !important;
        min-width: 2.4rem;
        height: 2.4rem !important;
    }

    .public-body--mobile-app .public-home .buddy-card--grid-profile .buddy-grid-profile__avatar .avatar-initial,
    .public-body--mobile-app .public-home .buddy-card--grid-profile .buddy-grid-profile__avatar img,
    .public-body--mobile-app .browse-public-section .buddy-card--grid-profile .buddy-grid-profile__avatar .avatar-initial,
    .public-body--mobile-app .browse-public-section .buddy-card--grid-profile .buddy-grid-profile__avatar img {
        width: 2.4rem !important;
        height: 2.4rem !important;
    }

    /* Avatar row, then full-width text — avoids cramped 2-col beside avatar */
    .public-home .buddy-card--grid-profile .buddy-grid-profile__head,
    .browse-public-section .buddy-card--grid-profile .buddy-grid-profile__head {
        row-gap: 0.35rem;
    }

    .public-home .buddy-card--grid-profile .buddy-grid-profile__meta,
    .browse-public-section .buddy-card--grid-profile .buddy-grid-profile__meta {
        width: 100%;
    }

    .public-home .buddy-grid-profile__titleblock,
    .browse-public-section .buddy-grid-profile__titleblock {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 0.15rem;
    }

    .public-home .buddy-grid-profile__name,
    .browse-public-section .buddy-grid-profile__name {
        font-size: calc(0.7rem + 1px) !important;
        line-height: 1.2;
    }

    .public-home .buddy-grid-profile__area,
    .public-home .buddy-grid-profile__ig,
    .browse-public-section .buddy-grid-profile__area,
    .browse-public-section .buddy-grid-profile__ig {
        font-size: calc(0.6rem + 1px) !important;
    }

    .public-home .buddy-grid-profile__headline,
    .browse-public-section .buddy-grid-profile__headline {
        font-size: calc(0.65rem + 1px) !important;
        line-height: 1.3;
    }

    .public-home .buddy-grid-profile__tags .badge,
    .browse-public-section .buddy-grid-profile__tags .badge {
        font-size: calc(0.52rem + 1px);
        font-weight: 500;
        padding: 0.1rem 0.28rem;
    }

    .public-home .buddy-grid-profile__rating,
    .browse-public-section .buddy-grid-profile__rating {
        display: block;
        font-size: calc(0.58rem + 1px);
        line-height: 1.25;
        color: #64748b;
    }

    .public-home .buddy-grid-profile__rating .text-warning,
    .public-home .buddy-grid-profile__rating .text-muted,
    .browse-public-section .buddy-grid-profile__rating .text-warning,
    .browse-public-section .buddy-grid-profile__rating .text-muted {
        font-size: calc(0.58rem + 1px);
    }

    .public-home .buddy-grid-profile__footer,
    .browse-public-section .buddy-grid-profile__footer {
        font-size: calc(0.6rem + 1px);
        padding-top: 0.4rem !important;
        margin-top: auto;
    }

    .public-home .buddy-grid-profile__price,
    .browse-public-section .buddy-grid-profile__price {
        font-size: calc(0.62rem + 1px) !important;
    }

    .public-home .buddy-grid-profile__view,
    .browse-public-section .buddy-grid-profile__view {
        font-size: calc(0.6rem + 1px);
        padding: 0.2rem 0.4rem;
    }

    .public-home .buddy-grid-profile__badgewrap .badge,
    .public-home .buddy-grid-profile__titleblock .badge,
    .browse-public-section .buddy-grid-profile__badgewrap .badge,
    .browse-public-section .buddy-grid-profile__titleblock .badge {
        font-size: calc(0.5rem + 1px);
        max-width: 100%;
    }

    .public-home .home-trust-panel .badge {
        font-size: 0.62rem;
        padding: 0.2rem 0.45rem;
    }
}

/* Homepage “trust” card — flat white panel, no glass border */
.card.home-trust-panel.glass-card,
.card.home-trust-panel {
    background: #fff !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    border: none !important;
    border-radius: 1.5rem !important;
    box-shadow: 0 20px 52px rgba(15, 23, 42, 0.08) !important;
}

.home-trust-thumb {
    background: transparent;
    padding: 1rem;
    text-align: center;
}

.home-trust-thumb__img {
    width: 100%;
    max-height: 260px;
    height: auto;
    object-fit: contain;
    object-position: center;
    vertical-align: middle;
    border-radius: 1.125rem;
}

/* How it works (public) */
.howit-hero {
    background: linear-gradient(120deg, #0b1220 0%, #1a2744 45%, #3d1f45 100%);
    border-radius: 0 0 2rem 2rem;
}

.howit-hero__eyebrow {
    letter-spacing: 0.08em;
    color: rgba(255, 255, 255, 0.65);
}

.howit-hero__visual {
    background: #0b1220;
}

.howit-hero__img {
    width: 100%;
    max-height: min(420px, 62vw);
    object-fit: contain;
    object-position: center;
}

@media (min-width: 992px) {
    .howit-hero__img {
        max-height: 380px;
    }
}

.howit-step__media {
    background: #0b1220;
    min-height: 200px;
}

.howit-step__img {
    max-height: 380px;
    object-fit: contain;
    object-position: center;
}

@media (max-width: 991.98px) {
    .howit-step__img {
        max-height: 300px;
    }
}

.howit-step__panel {
    background: linear-gradient(145deg, rgba(79, 140, 255, 0.1) 0%, #ffffff 58%);
    border: 1px solid rgba(79, 140, 255, 0.14);
    box-shadow: 0 14px 40px rgba(79, 140, 255, 0.1);
}

.howit-step__num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3.25rem;
    height: 3.25rem;
    border-radius: 1rem;
    font-weight: 800;
    font-size: 1.1rem;
    color: #fff;
    background: linear-gradient(135deg, #e854a0 0%, #7d63ff 100%);
}

.howit-buddy-strip {
    background: linear-gradient(180deg, rgba(79, 140, 255, 0.07) 0%, transparent 100%);
}

.howit-buddy-strip__photo {
    background: #0b1220;
}

.howit-buddy-strip__img {
    max-height: 340px;
    width: 100%;
    object-fit: contain;
    object-position: center;
}

.howit-buddy-card {
    border-radius: 1.25rem;
}

.howit-category-card {
    border-radius: 1.15rem;
    border: 1px solid rgba(79, 140, 255, 0.12) !important;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.howit-category-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 40px rgba(79, 140, 255, 0.14) !important;
}

.howit-category-card__icon {
    width: 52px;
    height: 52px;
    border-radius: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(79, 140, 255, 0.12);
    color: #4f8cff;
}

.howit-cta-banner {
    border-radius: 1.5rem !important;
    background: linear-gradient(135deg, rgba(237, 242, 255, 0.96) 0%, rgba(255, 250, 252, 0.99) 100%) !important;
    border: 1px solid rgba(79, 140, 255, 0.12) !important;
}

.hero-section {
    padding-top: 3rem;
    padding-bottom: 2rem;
}

/* Public home — photo hero (meetup.png) */
.home-hero-photo {
    position: relative;
    overflow: hidden;
    border-radius: 0 0 2.5rem 2.5rem;
    margin-bottom: 0.5rem;
}

.home-hero-photo__bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center 22%;
    transform: scale(1.02);
}

.home-hero-photo__scrim {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        105deg,
        rgba(10, 18, 38, 0.92) 0%,
        rgba(10, 18, 38, 0.55) 48%,
        rgba(10, 18, 38, 0.22) 100%
    );
    pointer-events: none;
}

.home-hero-photo__content {
    position: relative;
    z-index: 1;
    min-height: min(72vh, 620px);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.home-hero-metric-tile {
    border-radius: 1.25rem;
    padding: 1rem 1.1rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(12px);
    color: #fff;
}

/*
 | Global rules elsewhere force h1–h6 and .text-muted to black (!important).
 | On the photo hero that makes stats unreadable and breaks outline-light hovers.
 */
.home-hero-photo h1,
.home-hero-photo h2,
.home-hero-photo h3,
.home-hero-photo h4,
.home-hero-photo h5,
.home-hero-photo h6,
.home-hero-photo .display-5 {
    color: #fff !important;
}

.home-hero-photo .display-5 {
    font-size: 50px;
    line-height: 1.15;
}

.home-hero-photo .lead,
.home-hero-photo .lead.text-white-50 {
    color: rgba(255, 255, 255, 0.88) !important;
}

.home-hero-photo .lead,
.home-hero-photo .lead.text-white-50 {
    font-size: 16px;
    line-height: 1.6;
}

.home-hero-photo .home-hero-metric-tile h3 {
    font-variant-numeric: tabular-nums;
    letter-spacing: 0.02em;
}

.home-hero-photo .home-hero-metric-tile p,
.home-hero-photo .home-hero-metric-tile .small,
.home-hero-photo .home-hero-metric-tile .text-white-50 {
    color: rgba(255, 255, 255, 0.86) !important;
}

.home-hero-photo .text-muted {
    color: rgba(255, 255, 255, 0.78) !important;
}

.home-hero-photo .btn-outline-light,
.home-hero-photo .btn-outline-light:focus {
    color: #fff !important;
    border-color: rgba(255, 255, 255, 0.9) !important;
    background-color: rgba(255, 255, 255, 0.08) !important;
}

.home-hero-photo .btn-outline-light:hover,
.home-hero-photo .btn-outline-light:active {
    color: #0f172a !important;
    background-color: #fff !important;
    border-color: #fff !important;
}

.home-hero-photo .btn-primary,
.home-hero-photo .btn-primary:focus,
.home-hero-photo .btn-primary:hover,
.home-hero-photo .btn-primary:active {
    color: #fff !important;
}

/* Public home — live booking promo art (natural aspect ratio, no stretch) */
.home-live-booking-promo {
    max-width: min(100%, 440px);
}

.home-live-booking-promo__img {
    width: 100%;
    height: auto;
    object-fit: contain;
    vertical-align: middle;
}

.home-meetup-strip-section {
    margin-top: 0.25rem;
}

.home-meetup-strip__img {
    max-height: min(52vh, 520px);
    object-fit: cover;
    object-position: center top;
}

.home-meetup-strip__cta {
    background: linear-gradient(180deg, rgba(247, 249, 255, 0.98) 0%, rgba(245, 247, 251, 0.98) 100%);
    border-top: 1px solid rgba(79, 140, 255, 0.1);
}

.home-chip-btn {
    border-radius: 1.25rem;
    font-weight: 600;
    color: #fff !important;
    background: linear-gradient(135deg, #e854a0 0%, #7d63ff 100%);
    box-shadow: 0 12px 32px rgba(125, 99, 255, 0.28);
    transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
    border: 1px solid rgba(255, 255, 255, 0.22);
}

.home-chip-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 40px rgba(125, 99, 255, 0.38);
    filter: brightness(1.04);
}

.home-chip-btn--movies {
    background: linear-gradient(135deg, #a855f7 0%, #ec4899 100%);
}

.home-chip-btn--parties {
    background: linear-gradient(135deg, #fb7185 0%, #f472b6 100%);
}

.home-chip-btn--city {
    background: linear-gradient(135deg, #4f46e5 0%, #38bdf8 100%);
}

.home-chip-btn__icon {
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
}

.hero-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1rem;
    border-radius: 999px;
    background: rgba(79, 140, 255, 0.12);
    color: #2559c5;
    font-weight: 600;
    font-size: 0.9rem;
}

/* Must follow `.hero-pill` so color/background are not overridden */
.hero-pill.hero-pill--light {
    background: rgba(255, 255, 255, 0.14);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.28);
}

/* Keep hero trust line on one row on narrow phones */
@media (max-width: 575.98px) {
    .home-hero-photo .hero-pill {
        font-size: clamp(0.45rem, 2.35vw + 0.15rem, 0.72rem);
        padding: 0.32rem 0.5rem;
        white-space: nowrap;
        line-height: 1.25;
        letter-spacing: -0.025em;
        max-width: 100%;
    }
}

@media (max-width: 360px) {
    .home-hero-photo .hero-pill {
        font-size: clamp(0.4rem, 2.1vw + 0.12rem, 0.65rem);
        padding: 0.28rem 0.42rem;
    }
}

.hero-visual {
    min-height: 420px;
    border-radius: 32px;
    background:
        linear-gradient(135deg, rgba(79, 140, 255, 0.9), rgba(125, 99, 255, 0.72)),
        linear-gradient(135deg, rgba(255,255,255,0.18), rgba(255,255,255,0.06));
    padding: 1.5rem;
    display: flex;
    align-items: end;
    box-shadow: 0 30px 60px rgba(79, 140, 255, 0.22);
}

.hero-glass-card {
    border-radius: 24px;
    padding: 1.5rem;
    color: #17325f;
}

.category-card .icon-wrapper {
    width: 52px;
    height: 52px;
    border-radius: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(79, 140, 255, 0.12);
    color: #4f8cff;
}

.buddy-card {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.buddy-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 42px rgba(79, 140, 255, 0.16) !important;
}

/* Home featured + /browse: same profile card layout (2-up on phone) */
.buddy-card--grid-profile.card {
    display: flex;
    flex-direction: column;
}

.buddy-card--grid-profile .card-body {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    padding: 1rem 0.95rem 1.05rem;
}

@media (min-width: 768px) {
    .buddy-card--grid-profile .card-body {
        padding: 1.15rem 1.2rem 1.25rem;
    }
}

.avatar .buddy-profile-photo {
    display: block;
    object-fit: cover;
}

.form-check-label.border {
    background: rgba(255, 255, 255, 0.72);
    border-color: rgba(79, 140, 255, 0.16) !important;
}

@media (max-width: 992px) {
    .hero-visual {
        min-height: 280px;
    }

    .home-hero-photo__content {
        min-height: 520px;
    }

    .home-hero-photo__bg {
        background-position: center center;
    }

    .home-meetup-strip__img {
        max-height: none;
    }
}

/* -------------------------------------------------------------------------
   Public site — mobile “app” shell (below lg)
   ------------------------------------------------------------------------- */
@media (max-width: 991.98px) {
    .public-body--mobile-app {
        padding-bottom: calc(72px + env(safe-area-inset-bottom, 0px));
        -webkit-tap-highlight-color: transparent;
    }

    .public-app-scroll {
        /* padding-top: 0.25rem; */
    }

    .public-body--mobile-app .public-app-scroll .container-xxl {
        padding-left: max(0.75rem, env(safe-area-inset-left, 0px)) !important;
        padding-right: max(0.75rem, env(safe-area-inset-right, 0px)) !important;
    }

    .public-app-topbar {
        position: sticky;
        top: 0;
        z-index: 1040;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 0.75rem;
        padding: 0.65rem max(0.75rem, env(safe-area-inset-left, 0px)) 0.65rem max(0.75rem, env(safe-area-inset-right, 0px));
        padding-top: max(0.65rem, env(safe-area-inset-top, 0px));
        background: rgba(255, 255, 255, 0.92);
        backdrop-filter: blur(16px);
        -webkit-backdrop-filter: blur(16px);
        border-bottom: 1px solid rgba(15, 23, 42, 0.06);
        box-shadow: 0 4px 20px rgba(15, 23, 42, 0.06);
    }

    .public-app-topbar__brand {
        display: inline-flex;
        align-items: center;
        gap: 0.4rem;
        min-width: 0;
    }

    .public-app-topbar__title {
        font-size: 1.05rem;
        letter-spacing: -0.02em;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .public-app-topbar__actions {
        display: flex;
        align-items: center;
        gap: 0.35rem;
        flex-shrink: 0;
    }

    .public-app-topbar__avatar {
        width: 2.5rem;
        height: 2.5rem;
        padding: 0 !important;
        display: inline-flex !important;
        align-items: center;
        justify-content: center;
        font-size: 0.85rem;
    }

    .public-app-dock {
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 1020;
        padding-bottom: env(safe-area-inset-bottom, 0px);
        background: rgba(255, 255, 255, 0.94);
        backdrop-filter: blur(16px);
        -webkit-backdrop-filter: blur(16px);
        border-top: 1px solid rgba(15, 23, 42, 0.08);
        box-shadow: 0 -8px 32px rgba(15, 23, 42, 0.08);
    }

    .public-app-dock__legal {
        text-align: center;
        font-size: 0.65rem;
        color: #64748b;
        padding: 0.2rem 0.5rem 0.05rem;
        letter-spacing: 0.02em;
    }

    .public-app-dock__tabs {
        display: flex;
        align-items: stretch;
        justify-content: space-around;
        gap: 0.15rem;
        padding: 0.25rem 0.35rem 0.45rem;
    }

    .public-app-tab {
        flex: 1 1 0;
        min-width: 0;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 0.1rem;
        padding: 0.35rem 0.15rem;
        font-size: 0.62rem;
        font-weight: 600;
        color: #64748b;
        text-decoration: none;
        border: none;
        background: transparent;
        border-radius: 0.85rem;
        line-height: 1.1;
        touch-action: manipulation;
    }

    .public-app-tab span {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        max-width: 100%;
    }

    .public-app-tab.is-active {
        color: #4f8cff;
        background: rgba(79, 140, 255, 0.1);
    }

    .public-app-tab--btn.is-active {
        background: transparent;
    }

    .public-app-more-sheet {
        border-top-left-radius: 1.25rem;
        border-top-right-radius: 1.25rem;
        height: min(78vh, 520px) !important;
    }

    .public-body--mobile-app .buddy-card--compact .card-body {
        padding: 0.85rem !important;
    }

    .public-body--mobile-app .buddy-card--compact .avatar-xl {
        width: 3rem !important;
        height: 3rem !important;
    }

    .public-body--mobile-app .glass-card,
    .public-body--mobile-app .card {
        border-radius: 1.15rem !important;
    }

    .public-body--mobile-app section.py-5 {
        padding-top: 2rem !important;
        padding-bottom: 2rem !important;
    }

    .public-body--mobile-app .home-hero-photo__content {
        min-height: 62vh;
    }
}

/* -------------------------------------------------------------------------
   Authenticated app — buddy & customer mobile “app” shell (below lg)
   ------------------------------------------------------------------------- */
@media (max-width: 991.98px) {
    .app-body--mobile-marketplace {
        padding-bottom: calc(72px + env(safe-area-inset-bottom, 0px));
        -webkit-tap-highlight-color: transparent;
    }

    .app-body--mobile-marketplace .footer {
        display: none !important;
    }

    .app-body--mobile-marketplace .layout-page {
        padding-bottom: 0.5rem;
    }

    .app-mobile-topbar {
        position: sticky;
        top: 0;
        z-index: 1040;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 0.75rem;
        padding: 0.65rem max(0.75rem, env(safe-area-inset-left, 0px)) 0.65rem max(0.75rem, env(safe-area-inset-right, 0px));
        padding-top: max(0.65rem, env(safe-area-inset-top, 0px));
        background: rgba(255, 255, 255, 0.92);
        backdrop-filter: blur(16px);
        -webkit-backdrop-filter: blur(16px);
        border-bottom: 1px solid rgba(15, 23, 42, 0.06);
        box-shadow: 0 4px 20px rgba(15, 23, 42, 0.06);
    }

    .app-mobile-topbar__brand {
        display: inline-flex;
        align-items: center;
        gap: 0.4rem;
        min-width: 0;
    }

    .app-mobile-topbar__title {
        font-size: 1.05rem;
        letter-spacing: -0.02em;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .app-mobile-topbar__tools {
        display: flex;
        align-items: center;
        gap: 0.35rem;
        flex-shrink: 0;
    }

    .app-mobile-dock {
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 1020;
        padding-bottom: env(safe-area-inset-bottom, 0px);
        background: rgba(255, 255, 255, 0.94);
        backdrop-filter: blur(16px);
        -webkit-backdrop-filter: blur(16px);
        border-top: 1px solid rgba(15, 23, 42, 0.08);
        box-shadow: 0 -8px 32px rgba(15, 23, 42, 0.08);
    }

    .app-mobile-dock__tabs {
        display: flex;
        align-items: stretch;
        justify-content: space-around;
        gap: 0.1rem;
        padding: 0.35rem 0.25rem 0.5rem;
    }

    .app-mobile-dock__tab {
        flex: 1 1 0;
        min-width: 0;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 0.1rem;
        padding: 0.35rem 0.1rem;
        font-size: 0.58rem;
        font-weight: 600;
        color: #64748b;
        text-decoration: none;
        border: none;
        background: transparent;
        border-radius: 0.85rem;
        line-height: 1.1;
        touch-action: manipulation;
    }

    .app-mobile-dock__tab span {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        max-width: 100%;
    }

    .app-mobile-dock__tab.is-active {
        color: #4f8cff;
        background: rgba(79, 140, 255, 0.1);
    }

    .app-mobile-dock__tab--btn {
        cursor: pointer;
    }

    .app-mobile-more-sheet {
        border-top-left-radius: 1.25rem;
        border-top-right-radius: 1.25rem;
        height: min(78vh, 520px) !important;
    }

    .app-body--mobile-marketplace .container-xxl.flex-grow-1.container-p-y {
        padding-left: max(0.75rem, env(safe-area-inset-left, 0px)) !important;
        padding-right: max(0.75rem, env(safe-area-inset-right, 0px)) !important;
    }
}

/* -------------------------------------------------------------------------
   Buddy / customer booking lists — mobile cards (parent uses d-lg-none)
   ------------------------------------------------------------------------- */
.booking-mobile-card {
    border-radius: 1.1rem;
    padding: 1rem 1.05rem;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: 0 6px 24px rgba(15, 23, 42, 0.07);
    -webkit-tap-highlight-color: transparent;
}

.booking-mobile-card--compact {
    padding: 0.85rem 1rem;
}

.booking-mobile-card--empty {
    box-shadow: none;
    background: rgba(248, 250, 252, 0.9);
}

.booking-mobile-card__head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 0.75rem;
}

.booking-mobile-card__title {
    min-width: 0;
    flex: 1 1 auto;
}

.booking-mobile-card__amount {
    flex-shrink: 0;
}

.booking-mobile-card__actions .btn,
.booking-mobile-card__actions .form-select,
.booking-mobile-card__actions .form-control {
    min-height: 2.35rem;
}

/* -------------------------------------------------------------------------
   Super-admin — mobile burger + offcanvas nav (below lg)
   ------------------------------------------------------------------------- */
@media (max-width: 991.98px) {
    .app-body--sa-mobile .sa-mobile-topbar {
        position: sticky;
        top: 0;
        z-index: 1040;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 0.5rem;
        padding: 0.55rem max(0.75rem, env(safe-area-inset-left, 0px)) 0.55rem max(0.75rem, env(safe-area-inset-right, 0px));
        padding-top: max(0.55rem, env(safe-area-inset-top, 0px));
        background: rgba(255, 255, 255, 0.92);
        backdrop-filter: blur(16px);
        -webkit-backdrop-filter: blur(16px);
        border-bottom: 1px solid rgba(15, 23, 42, 0.06);
        box-shadow: 0 4px 20px rgba(15, 23, 42, 0.06);
    }

    .app-body--sa-mobile .sa-mobile-topbar__menu {
        flex-shrink: 0;
    }

    .app-body--sa-mobile .sa-mobile-topbar__brand {
        display: inline-flex;
        align-items: center;
        gap: 0.35rem;
        min-width: 0;
        flex: 1 1 auto;
        justify-content: center;
    }

    .app-body--sa-mobile .sa-mobile-topbar__title {
        font-size: 1rem;
        letter-spacing: -0.02em;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .app-body--sa-mobile .sa-mobile-topbar__tools {
        display: flex;
        align-items: center;
        gap: 0.35rem;
        flex-shrink: 0;
    }

    .app-body--sa-mobile .sa-mobile-nav-sheet {
        width: min(100vw - 2rem, 320px) !important;
        border-top-right-radius: 1rem;
        border-bottom-right-radius: 1rem;
    }

    .app-body--sa-mobile .container-xxl.flex-grow-1.container-p-y {
        padding-left: max(0.75rem, env(safe-area-inset-left, 0px)) !important;
        padding-right: max(0.75rem, env(safe-area-inset-right, 0px)) !important;
    }
}

/* -------------------------------------------------------------------------
   Customer live booking — mini map (Leaflet)
   ------------------------------------------------------------------------- */
.live-search-map-shell {
    background: linear-gradient(135deg, rgba(79, 140, 255, 0.35) 0%, rgba(147, 112, 219, 0.2) 45%, rgba(79, 140, 255, 0.12) 100%);
    box-shadow:
        0 20px 50px rgba(15, 23, 42, 0.1),
        0 1px 0 rgba(255, 255, 255, 0.6) inset;
}

.live-search-map-card {
    border: 1px solid rgba(255, 255, 255, 0.65);
    background:
        radial-gradient(120% 80% at 10% 0%, rgba(79, 140, 255, 0.08) 0%, transparent 55%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(248, 250, 255, 0.96) 100%);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.live-search-map-card__head {
    background: linear-gradient(180deg, rgba(79, 140, 255, 0.07) 0%, rgba(255, 255, 255, 0) 100%);
    border-bottom: 1px solid rgba(15, 23, 42, 0.05);
}

.live-search-map-card__icon {
    width: 2.5rem;
    height: 2.5rem;
    background: rgba(79, 140, 255, 0.12);
    border: 1px solid rgba(79, 140, 255, 0.2);
}

.live-search-map-card__mapwrap {
    position: relative;
}

.live-search-map-card__mapwrap::before {
    content: '';
    position: absolute;
    inset: 0.35rem 0.5rem 0.35rem 0.5rem;
    border-radius: 0.65rem;
    pointer-events: none;
    box-shadow:
        0 0 0 1px rgba(79, 140, 255, 0.12),
        0 12px 28px rgba(15, 23, 42, 0.12);
    z-index: 2;
}

.live-search-map-card__map {
    height: 220px;
    width: 100%;
    z-index: 1;
    transition: box-shadow 0.35s ease, transform 0.35s ease;
    border: 1px solid rgba(15, 23, 42, 0.06);
}

@media (min-width: 992px) {
    .live-search-map-card__map {
        height: 288px;
    }
}

.live-search-map-card__map--pulse {
    box-shadow:
        0 0 0 2px rgba(79, 140, 255, 0.45),
        0 0 24px rgba(79, 140, 255, 0.25);
}

.live-search-map-card__footer {
    background: rgba(248, 250, 255, 0.9);
    border-top: 1px solid rgba(15, 23, 42, 0.05);
    font-size: 0.72rem;
}

.live-search-map-card .leaflet-control-attribution {
    font-size: 10px;
    background: rgba(255, 255, 255, 0.92) !important;
    border-radius: 0.35rem;
    margin: 6px;
}

/* Public browse buddies — compact mobile header + typography */
.browse-filter-fab {
    width: 2.35rem;
    height: 2.35rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.browse-public-section .browse-page-heading {
    font-size: 1.0625rem;
    font-weight: 700;
    line-height: 1.25;
}

.browse-public-section .browse-page-sub {
    font-size: 0.78rem;
    line-height: 1.4;
}

@media (max-width: 575.98px) {
    .browse-public-section .browse-page-heading {
        font-size: 0.98rem;
    }

    .browse-public-section .browse-page-sub {
        font-size: 0.72rem;
    }

}

@media (min-width: 576px) and (max-width: 991.98px) {
    .browse-public-section .browse-page-heading {
        font-size: 1.125rem;
    }

    .browse-public-section .browse-page-sub {
        font-size: 0.8125rem;
    }
}

@media (min-width: 992px) {
    .browse-public-section .browse-page-heading {
        font-size: 1.5rem;
    }

    .browse-public-section .browse-page-sub {
        font-size: 0.875rem;
    }
}

/* (PPC landing page styles removed) */

