:root {
    --page-bg: #f3f6fb;
    --surface: #ffffff;
    --surface-muted: #f8fafc;
    --line: rgba(148, 163, 184, 0.24);
    --text: #0f172a;
    --text-main: #0f172a;
    --text-soft: #475569;
    --brand: #2563eb;
    --brand-dark: #1d4ed8;
    --accent: #0f766e;
    --shadow-soft: 0 18px 45px rgba(15, 23, 42, 0.08);
    --shadow-strong: 0 20px 55px rgba(15, 23, 42, 0.14);
    --radius-xl: 1.5rem;
    --radius-lg: 1rem;
}

body {
    margin: 0;
    font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: #eef4f8;
    color: var(--text);
    line-height: 1.5;
    overflow-x: hidden;
}

.site-navbar {
    min-height: 64px;
    background: linear-gradient(135deg, #0f172a, #1e293b 55%, #0f766e);
    backdrop-filter: blur(12px);
    padding: 0.7rem 0;
    overflow-x: clip;
}

.site-navbar__shell {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem 1rem;
}

.site-navbar__brand {
    max-width: min(100%, 320px);
    line-height: 1.15;
}

.site-navbar__collapse {
    flex-basis: 100%;
    width: 100%;
    align-items: flex-start;
}

.site-nav-list {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
    min-width: 0;
}

.site-nav-list--public,
.site-nav-list--admin {
    justify-content: flex-end;
}

.site-nav-list .nav-item,
.site-nav-list form {
    display: flex;
    margin: 0;
    max-width: 100%;
}

.site-navbar .nav-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.52rem 0.82rem;
    border-radius: 999px;
    color: rgba(255, 255, 255, 0.88);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid transparent;
    max-width: 100%;
    white-space: normal;
    text-align: center;
    line-height: 1.2;
    transition: background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

.site-navbar .nav-link:hover,
.site-navbar .nav-link:focus {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.14);
}

.site-navbar .navbar-brand,
.site-navbar .nav-link,
.site-navbar .btn {
    font-weight: 600;
}

.site-navbar .btn {
    border-radius: 999px;
    max-width: 100%;
    white-space: normal;
}

.site-navbar .navbar-toggler {
    margin-left: auto;
    border-radius: 0.95rem;
}

main.container {
    padding-top: 2rem;
    padding-bottom: 2rem;
}

.search-panel-card,
.summary-card,
.detail-card,
.property-card {
    border: 1px solid rgba(148, 163, 184, 0.18);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-soft);
    background: rgba(255, 255, 255, 0.96);
}

.summary-card .card-body,
.detail-card .card-body {
    min-width: 0;
}

.search-panel-card {
    overflow: hidden;
}

.eyebrow-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.45rem 0.8rem;
    border-radius: 999px;
    background: rgba(37, 99, 235, 0.1);
    color: var(--brand-dark);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.search-mini-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.metric-chip {
    min-width: 180px;
    padding: 0.9rem 1rem;
    border: 1px solid var(--line);
    border-radius: 1rem;
    background: var(--surface-muted);
}

.metric-chip strong,
.metric-chip span {
    display: block;
}

.metric-chip strong {
    font-size: 0.95rem;
}

.metric-chip span {
    color: var(--text-soft);
    font-size: 0.82rem;
    margin-top: 0.2rem;
}

.search-action-group .btn,
.mobile-view-toggle .btn,
.property-card .btn,
.login-card .btn,
.admin-credential-card .btn {
    border-radius: 0.9rem;
}

.form-control,
.form-select {
    border-radius: 0.9rem;
    min-height: 3rem;
    border-color: rgba(148, 163, 184, 0.35);
    box-shadow: none;
}

.form-control:focus,
.form-select:focus {
    border-color: rgba(37, 99, 235, 0.55);
    box-shadow: 0 0 0 0.25rem rgba(37, 99, 235, 0.12);
}

.btn-primary {
    background: linear-gradient(135deg, var(--brand), var(--brand-dark));
    border-color: transparent;
}

.btn-primary:hover,
.btn-primary:focus {
    background: linear-gradient(135deg, #1d4ed8, #1e40af);
    border-color: transparent;
}

.btn-outline-primary,
.btn-outline-secondary,
.btn-outline-light {
    border-radius: 0.95rem;
}

.alert {
    border-radius: 1rem;
    border-width: 1px;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.05);
}

.alert-info {
    color: #0f4c81;
    background: linear-gradient(180deg, rgba(224, 242, 254, 0.92), rgba(255, 255, 255, 0.98));
    border-color: rgba(56, 189, 248, 0.22);
}

.alert-warning {
    color: #92400e;
    background: linear-gradient(180deg, rgba(255, 251, 235, 0.96), rgba(255, 255, 255, 0.98));
    border-color: rgba(245, 158, 11, 0.24);
}

.alert-danger {
    color: #991b1b;
    background: linear-gradient(180deg, rgba(254, 242, 242, 0.96), rgba(255, 255, 255, 0.98));
    border-color: rgba(239, 68, 68, 0.24);
}

.page-hero {
    padding: 0.25rem 0 0.35rem;
}

.page-action-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.page-action-row .btn {
    border-radius: 999px;
}

.home-shell {
    align-items: flex-start;
}

.listing-panel {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.map-panel {
    position: sticky;
    top: 6rem;
}

.map-panel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

#propertyMap,
.property-preview-map {
    width: 100%;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-strong);
}

#propertyMap {
    min-height: calc(100vh - 12.5rem);
    background: #dbeafe;
}

.property-preview-map {
    min-height: 240px;
    background: #dbeafe;
}

.results-pill {
    padding: 0.65rem 0.85rem;
}

.active-filter-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
}

.active-filter-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.5rem 0.8rem;
    border-radius: 999px;
    border: 1px solid rgba(37, 99, 235, 0.16);
    background: rgba(37, 99, 235, 0.08);
    color: var(--brand-dark);
    font-size: 0.84rem;
}

.active-filter-chip strong {
    font-weight: 700;
}

.property-list-stack {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.property-card {
    overflow: hidden;
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.property-card:hover,
.property-card:focus-within,
.property-card.is-active {
    transform: translateY(-3px);
    box-shadow: var(--shadow-strong);
    border-color: rgba(37, 99, 235, 0.22);
}

.property-card.is-active {
    outline: 2px solid rgba(37, 99, 235, 0.14);
}

.property-card-media {
    position: relative;
}

.property-card img,
.gallery-image {
    width: 100%;
    object-fit: cover;
    background: #e2e8f0;
}

.property-card img {
    height: 220px;
}

.property-card .card-body {
    padding: 1.25rem;
}

.property-price-chip {
    position: absolute;
    top: 1rem;
    left: 1rem;
    padding: 0.55rem 0.85rem;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.82);
    color: #fff;
    font-weight: 700;
    backdrop-filter: blur(8px);
}

.property-price-chip small,
.property-price-display small {
    font-weight: 600;
    opacity: 0.78;
}

.property-focus-btn {
    position: absolute;
    right: 1rem;
    bottom: 1rem;
    box-shadow: 0 0.4rem 1rem rgba(15, 23, 42, 0.12);
}

.property-location,
.property-description,
.property-rating,
.text-secondary {
    color: var(--text-soft) !important;
}

.property-description {
    min-height: 3.8rem;
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

.property-facts {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    margin-bottom: 1rem;
}

.property-facts span {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.45rem 0.75rem;
    border-radius: 999px;
    background: var(--surface-muted);
    color: var(--text-soft);
    font-size: 0.84rem;
}

.property-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.map-search-page {
    width: 100%;
    max-width: none;
    margin-left: 0;
    margin-right: 0;
    padding: 1rem 24px 24px;
}

.map-search-page .search-panel {
    width: 100%;
    max-width: none;
    padding: 0 0 16px;
}

.map-search-page .search-panel-card {
    border: 1px solid #dbe4ea;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.08);
    padding: 1.25rem;
}

.search-panel-intro {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 1.25rem;
    margin-bottom: 1rem;
}

.search-kicker,
.results-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.45rem 0.8rem;
    border-radius: 999px;
    background: rgba(37, 99, 235, 0.08);
    color: var(--brand-dark);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.results-eyebrow {
    padding: 0;
    background: transparent;
}

.search-title,
.results-title {
    margin: 0.55rem 0 0.35rem;
    font-weight: 700;
    line-height: 1.15;
}

.search-title {
    font-size: clamp(1.45rem, 1.15rem + 1vw, 2rem);
}

.results-title {
    font-size: 1.25rem;
}

.search-copy,
.search-helper,
.results-meta,
.search-actions-copy {
    color: var(--text-soft);
    font-size: 0.95rem;
}

.search-helper {
    max-width: 420px;
}

.search-fields {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 12px;
}

.search-field {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    min-width: 0;
    grid-column: span 2;
}

.search-field--location {
    grid-column: span 3;
}

.search-field--date,
.search-field--type {
    grid-column: span 2;
}

.search-field--guest,
.search-field--price {
    grid-column: span 1;
}

.search-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #dbe4ea;
}

.mobile-view-toggle {
    display: none;
    gap: 0.75rem;
    padding-bottom: 14px;
}

.mobile-view-toggle .btn {
    flex: 1 1 0;
}

.map-search-layout {
    display: grid;
    grid-template-columns: clamp(420px, 42vw, 620px) minmax(0, 1fr);
    gap: 0;
    width: 100%;
    max-width: none;
    height: var(--map-search-panel-height, calc(100vh - 210px));
    min-height: 680px;
    border: 1px solid #dbe4ea;
    border-radius: 24px;
    overflow: hidden;
    background: #f5f8fb;
    box-shadow: 0 18px 42px rgba(15, 23, 42, 0.08);
}

.results-panel {
    min-width: 0;
    min-height: 0;
    overflow-y: auto;
    padding: 20px;
    border-right: 1px solid #dbe4ea;
    background: #f5f8fb;
}

.results-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #dbe4ea;
    margin-bottom: 1rem;
}

.results-meta {
    margin-bottom: 0;
}

.results-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 104px;
    padding: 0.7rem 0.9rem;
    border-radius: 999px;
    background: #0f172a;
    color: #fff;
    font-size: 0.9rem;
    font-weight: 700;
    white-space: nowrap;
}

.map-search-page .active-filter-row {
    min-height: 1.5rem;
    margin-bottom: 1rem;
}

.property-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

.map-search-page .property-card {
    display: grid;
    grid-template-columns: 180px minmax(0, 1fr);
    gap: 14px;
    background: #fff;
    border: 1px solid rgba(219, 228, 234, 0.95);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
    cursor: pointer;
}

.map-search-page .property-card:hover,
.map-search-page .property-card:focus-within,
.map-search-page .property-card.is-active {
    transform: translateY(-2px);
}

.map-search-page .property-card-media {
    position: relative;
    width: 180px;
    min-height: 150px;
    overflow: hidden;
}

.map-search-page .property-card img {
    width: 180px;
    height: 100%;
    min-height: 150px;
    object-fit: cover;
}

.map-search-page .property-card .card-body {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 0.85rem;
    min-width: 0;
    padding: 14px 16px 14px 0;
}

.map-search-page .property-price-chip {
    top: 12px;
    left: 12px;
    padding: 0.5rem 0.8rem;
    background: rgba(15, 23, 42, 0.88);
    box-shadow: 0 10px 20px rgba(15, 23, 42, 0.22);
}

.map-search-page .property-focus-btn {
    position: static;
    box-shadow: none;
}

.property-address {
    color: var(--text-soft);
    font-size: 0.9rem;
    line-height: 1.45;
}

.map-search-page .property-description {
    min-height: 0;
    margin-bottom: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.map-search-page .property-facts {
    margin-bottom: 0;
}

.map-search-page .property-facts span {
    padding: 0.45rem 0.7rem;
}

.property-card-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: flex-end;
}

.map-search-page .loading-card {
    display: grid;
    grid-template-columns: 180px minmax(0, 1fr);
    gap: 14px;
}

.map-search-page .loading-media {
    height: 100%;
    min-height: 150px;
    border-radius: 0;
}

.map-search-page .loading-card .card-body {
    padding: 14px 16px 14px 0;
}

.map-search-page .map-panel {
    position: sticky;
    top: 0;
    min-width: 0;
    height: 100%;
    background: #eaf1f6;
    overflow: hidden;
}

#map {
    width: 100%;
    height: 100%;
    min-height: 680px;
    background: #dbeafe;
}

.property-marker {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 96px;
    min-height: 38px;
    padding: 0.5rem 0.75rem;
    border-radius: 999px;
    border: 1px solid rgba(15, 23, 42, 0.08);
    background: #fff;
    color: var(--text);
    font-size: 0.82rem;
    font-weight: 700;
    box-shadow: 0 0.8rem 1.6rem rgba(15, 23, 42, 0.18);
}

.property-marker.is-active {
    background: linear-gradient(135deg, var(--brand), var(--brand-dark));
    color: #fff;
}

.property-popup {
    min-width: 220px;
}

.property-popup img {
    width: 100%;
    height: 128px;
    object-fit: cover;
    border-radius: 0.9rem;
    margin-bottom: 0.8rem;
}

.property-popup-body {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.property-popup-body a {
    margin-top: 0.35rem;
    color: var(--brand-dark);
    font-weight: 700;
    text-decoration: none;
}

.leaflet-popup-content-wrapper {
    border-radius: 1rem;
    box-shadow: 0 20px 45px rgba(15, 23, 42, 0.18);
}

.leaflet-popup-content {
    margin: 1rem;
    font-family: inherit;
}

.marker-cluster-small,
.marker-cluster-medium,
.marker-cluster-large {
    background: rgba(37, 99, 235, 0.14);
}

.marker-cluster-small div,
.marker-cluster-medium div,
.marker-cluster-large div {
    background: linear-gradient(135deg, var(--brand), var(--brand-dark));
    color: #fff;
    font-weight: 700;
}

.loading-card {
    overflow: hidden;
}

.loading-media,
.loading-line {
    border-radius: 1rem;
    background: linear-gradient(90deg, #e2e8f0 25%, #f8fafc 40%, #e2e8f0 55%);
    background-size: 200% 100%;
    animation: shimmer 1.4s infinite linear;
}

.loading-media {
    height: 220px;
}

.loading-line {
    height: 0.95rem;
    margin-bottom: 0.85rem;
}

.w-75 { width: 75%; }
.w-50 { width: 50%; }
.w-100 { width: 100%; }

@keyframes shimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

.badge-soft {
    background: rgba(15, 23, 42, 0.06);
    color: #334155;
}

.property-detail-root {
    min-height: 20rem;
}

.property-media-gallery {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 1rem;
}

.property-gallery-stage {
    aspect-ratio: 16 / 10;
    border: 1px solid var(--line);
    border-radius: 1rem;
    overflow: hidden;
    background: var(--surface-muted);
}

.property-gallery-stage img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.property-thumbnail-strip {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(96px, 1fr));
    gap: 0.75rem;
}

.property-gallery-thumb {
    border: 1px solid var(--line);
    background: #fff;
    border-radius: 0.9rem;
    padding: 0.25rem;
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.property-gallery-thumb:hover,
.property-gallery-thumb:focus-visible {
    border-color: rgba(37, 99, 235, 0.45);
    box-shadow: 0 0 0 0.2rem rgba(37, 99, 235, 0.12);
    transform: translateY(-1px);
    outline: none;
}

.property-gallery-thumb.is-active {
    border-color: var(--brand);
    box-shadow: 0 0 0 0.2rem rgba(37, 99, 235, 0.16);
}

.property-gallery-thumb img {
    width: 100%;
    height: 84px;
    object-fit: cover;
    display: block;
    border-radius: 0.7rem;
}

.property-gallery-grid {
    display: grid;
    grid-template-columns: 1.55fr 0.95fr;
    gap: 0.75rem;
    padding: 0.75rem;
}

.property-gallery-grid.is-single {
    grid-template-columns: 1fr;
}

.property-gallery-primary,
.property-gallery-sidebar {
    min-width: 0;
}

.property-gallery-sidebar {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
}

.gallery-image {
    border-radius: 1rem;
}

.gallery-image-lg {
    height: 420px;
}

.gallery-image-sm {
    height: 204px;
}

.property-price-display {
    font-size: 1.7rem;
    font-weight: 800;
    line-height: 1.15;
}

.property-price-display small {
    display: block;
    margin-top: 0.25rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-soft);
}

.property-context-note {
    margin-bottom: 1.5rem;
    padding: 1rem 1.1rem;
    border: 1px solid var(--line);
    border-radius: 1rem;
    background: var(--surface-muted);
}

.property-feature-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.85rem;
}

.property-feature-pill,
.booking-summary-box,
.booking-breakdown,
.credential-item {
    border: 1px solid var(--line);
    background: var(--surface-muted);
    border-radius: 1rem;
}

.property-feature-pill {
    padding: 0.9rem;
}

.property-feature-pill strong,
.property-feature-pill span {
    display: block;
}

.property-feature-pill strong {
    font-size: 1.1rem;
}

.property-feature-pill span {
    color: var(--text-soft);
    font-size: 0.85rem;
    margin-top: 0.25rem;
}

.detail-copy-block {
    border-top: 1px solid var(--line);
    padding-top: 1.5rem;
}

.property-video-card {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--line);
}

.property-video-frame {
    position: relative;
    width: 100%;
    padding-top: 56.25%;
    border-radius: 1rem;
    overflow: hidden;
    background: #0f172a;
}

.property-video-frame iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.property-video-link {
    border-radius: 0.9rem;
}

.property-video-note {
    margin: 0.85rem 0 0;
    color: var(--text-soft);
    font-size: 0.92rem;
}

.amenity-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.amenity-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 0.85rem;
    border-radius: 999px;
    background: rgba(37, 99, 235, 0.1);
    color: var(--brand-dark);
    font-size: 0.9rem;
    font-weight: 600;
}

.amenity-badge::before {
    content: '•';
}

.availability-stack {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.unavailable-range {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.9rem 1rem;
    border: 1px solid var(--line);
    border-radius: 1rem;
    background: var(--surface-muted);
}

.unavailable-range strong,
.unavailable-range span {
    display: block;
}

.booking-sidebar {
    position: sticky;
    top: 6rem;
}

.booking-form-card,
.admin-credential-card,
.login-card {
    overflow: hidden;
}

.contact-action-grid {
    display: grid;
    gap: 0.75rem;
}

.booking-error {
    min-height: 1.2rem;
    color: #dc2626;
    font-size: 0.82rem;
    margin-top: 0.35rem;
}

.booking-estimate {
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
    padding: 1rem;
    border-radius: 1rem;
    background: var(--surface-muted);
    border: 1px solid var(--line);
}

.booking-estimate-row {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    color: var(--text-soft);
    font-size: 0.95rem;
}

.booking-estimate-row.total {
    padding-top: 0.65rem;
    margin-top: 0.15rem;
    border-top: 1px solid var(--line);
    color: var(--text);
    font-weight: 700;
}

.info-list {
    list-style: none;
    padding: 0;
}

.info-list li {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.7rem 0;
    border-bottom: 1px solid var(--line);
}

.info-list li:last-child {
    padding-bottom: 0;
    border-bottom: 0;
}

.info-list span {
    color: var(--text-soft);
}

.booking-confirmation-card {
    overflow: hidden;
}

.booking-confirmation-image {
    width: 100%;
    height: 100%;
    min-height: 100%;
    object-fit: cover;
    background: #dbeafe;
}

.reference-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 0.85rem;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.06);
    color: #0f172a;
    font-size: 0.84rem;
    font-weight: 700;
}

.booking-summary-box,
.booking-breakdown {
    padding: 1rem 1.1rem;
}

.credential-item {
    padding: 0.95rem 1rem;
    margin-bottom: 0.85rem;
}

.credential-label {
    display: block;
    font-size: 0.78rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--text-soft);
    margin-bottom: 0.2rem;
}

.admin-surface .summary-card,
.admin-surface .detail-card,
.admin-surface .search-panel {
    background: rgba(255, 255, 255, 0.98);
}

.table-responsive {
    border: 1px solid rgba(148, 163, 184, 0.18);
    border-radius: 1rem;
    background: rgba(255, 255, 255, 0.98);
    overflow: auto hidden;
}

.table td,
.table th {
    vertical-align: middle;
    padding-top: 1rem;
    padding-bottom: 1rem;
}

.table thead th {
    font-size: 0.8rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--text-soft);
    border-bottom-width: 1px;
}

.empty-state {
    background: var(--surface);
    border-radius: var(--radius-xl);
    border: 1px dashed rgba(148, 163, 184, 0.55);
    padding: 2.25rem;
    text-align: center;
    box-shadow: var(--shadow-soft);
}

footer {
    border-top-color: rgba(148, 163, 184, 0.18) !important;
}

.site-footer {
    background: rgba(255, 255, 255, 0.94) !important;
}

@media (max-width: 1199.98px) {
    .site-navbar .nav-link,
    .site-navbar .btn {
        font-size: 0.92rem;
        padding: 0.52rem 0.8rem;
    }

    .search-panel-intro {
        flex-direction: column;
        align-items: flex-start;
    }

    .search-helper {
        max-width: none;
    }

    .search-fields {
        grid-template-columns: repeat(6, minmax(0, 1fr));
    }

    .search-field--location {
        grid-column: span 3;
    }

    .search-field--date,
    .search-field--type {
        grid-column: span 2;
    }

    .search-field--guest,
    .search-field--price {
        grid-column: span 1;
    }

    .property-feature-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 991.98px) {
    main.container {
        padding-top: 1.5rem;
    }

    #propertyMap {
        min-height: 460px;
    }

    .map-panel,
    .booking-sidebar {
        position: static;
    }

    .search-fields {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .search-field--location,
    .search-field--type {
        grid-column: span 2;
    }

    .search-field--date,
    .search-field--guest,
    .search-field--price {
        grid-column: span 1;
    }

    .home-shell.is-list-only .map-column {
        display: none;
    }

    .home-shell.is-map-only .listing-column {
        display: none;
    }

    .property-gallery-grid,
    .property-gallery-sidebar {
        grid-template-columns: 1fr;
    }

    .property-thumbnail-strip {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .property-media-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .gallery-image-lg,
    .gallery-image-sm {
        height: 280px;
    }
}

/* Premium map-first homepage redesign. Scoped to the public landing shell only. */
.map-search-page {
    --home-ocean: #0077be;
    --home-ocean-dark: #005e97;
    --home-teal: #008a7a;
    --home-teal-dark: #006b5e;
    --home-teal-soft: #d9fbf4;
    --home-sand: #f5ead6;
    --home-navy: #0b1d2d;
    --home-ink: #13283b;
    --home-muted: #5d6b7a;
    --home-line: rgba(93, 107, 122, 0.18);
    --home-surface: rgba(255, 255, 255, 0.88);
    --home-shadow: 0 24px 70px rgba(11, 29, 45, 0.13);
    position: relative;
    isolation: isolate;
    width: 100%;
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
    padding: 1.1rem clamp(12px, 2vw, 24px) 1.5rem;
    box-sizing: border-box;
    color: var(--home-ink);
    overflow-x: visible;
}

main.container:has(.map-search-page) {
    width: 100%;
    max-width: none;
    padding-right: 0;
    padding-left: 0;
    overflow-x: visible;
}

.map-search-page::before {
    content: '';
    position: absolute;
    inset: 0 0 auto;
    height: 430px;
    z-index: -2;
    border-radius: 0 0 2rem 2rem;
    background:
        radial-gradient(circle at 18% 18%, rgba(122, 247, 225, 0.38), transparent 28%),
        radial-gradient(circle at 78% 10%, rgba(154, 203, 255, 0.42), transparent 30%),
        linear-gradient(135deg, rgba(245, 234, 214, 0.92), rgba(232, 247, 250, 0.82) 44%, rgba(246, 250, 255, 0.96));
}

.map-search-page::after {
    content: '';
    position: absolute;
    inset: 7rem 0 auto;
    height: 190px;
    z-index: -1;
    background: linear-gradient(90deg, rgba(0, 94, 151, 0.14), rgba(0, 138, 122, 0.1), transparent);
    filter: blur(34px);
    pointer-events: none;
}

.map-search-page .search-panel {
    width: 100%;
    max-width: 100%;
    padding: 0 0 18px;
}

.map-search-page .search-panel-card {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.72);
    border-radius: 28px;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.93), rgba(247, 251, 255, 0.82)),
        linear-gradient(135deg, rgba(0, 119, 190, 0.12), rgba(0, 138, 122, 0.1));
    box-shadow: var(--home-shadow);
    backdrop-filter: blur(22px);
    padding: clamp(1.1rem, 1.7vw, 1.7rem);
    max-width: 100%;
    box-sizing: border-box;
}

.search-panel-card__glow {
    position: absolute;
    right: 1rem;
    top: 1rem;
    width: clamp(10rem, 26vw, 22rem);
    height: clamp(10rem, 26vw, 22rem);
    border-radius: 999px;
    transform: translate(18%, -42%);
    background: radial-gradient(circle, rgba(0, 119, 190, 0.17), rgba(0, 138, 122, 0.06) 46%, transparent 70%);
    pointer-events: none;
}

@supports (overflow: clip) {
    .map-search-page .search-panel-card {
        overflow: clip;
    }
}

.map-search-page .search-panel-intro {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
    align-items: stretch;
    gap: clamp(1rem, 2vw, 2rem);
    margin-bottom: 1.15rem;
}

.search-panel-copy,
.search-helper {
    min-width: 0;
}

.map-search-page .search-kicker,
.map-search-page .results-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.48rem 0.78rem;
    border: 1px solid rgba(0, 119, 190, 0.14);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.76);
    color: var(--home-ocean-dark);
    font-size: 0.73rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    box-shadow: 0 10px 24px rgba(11, 29, 45, 0.06);
}

.map-search-page .search-kicker::before,
.map-search-page .results-eyebrow::before {
    content: '';
    width: 0.48rem;
    height: 0.48rem;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--home-ocean), var(--home-teal));
    box-shadow: 0 0 0 0.25rem rgba(0, 119, 190, 0.1);
}

.map-search-page .results-eyebrow {
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
}

.map-search-page .search-title,
.map-search-page .results-title {
    margin: 0.62rem 0 0.45rem;
    color: var(--home-navy);
    font-weight: 800;
    letter-spacing: -0.035em;
    line-height: 1.06;
}

.map-search-page .search-title {
    max-width: 900px;
    font-size: clamp(2rem, 1.25rem + 3vw, 4.15rem);
}

.map-search-page .results-title {
    font-size: clamp(1.25rem, 1.05rem + 0.6vw, 1.55rem);
    letter-spacing: -0.02em;
}

.map-search-page .search-copy,
.map-search-page .search-helper,
.map-search-page .results-meta,
.map-search-page .search-actions-copy {
    color: var(--home-muted);
    font-size: 0.96rem;
}

.map-search-page .search-copy {
    max-width: 760px;
    font-size: clamp(1rem, 0.94rem + 0.22vw, 1.16rem);
    line-height: 1.7;
}

.search-trust-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-top: 1rem;
}

.search-trust-row span {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.48rem 0.75rem;
    border: 1px solid rgba(0, 138, 122, 0.16);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.68);
    color: #245064;
    font-size: 0.84rem;
    font-weight: 700;
}

.search-trust-row span::before {
    content: '';
    width: 0.42rem;
    height: 0.42rem;
    border-radius: 999px;
    background: var(--home-teal);
}

.map-search-page .search-helper {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0.35rem;
    max-width: 430px;
    margin-left: auto;
    padding: 1.1rem;
    border: 1px solid rgba(255, 255, 255, 0.76);
    border-radius: 22px;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.76), rgba(255, 255, 255, 0.48)),
        radial-gradient(circle at 90% 0%, rgba(0, 138, 122, 0.16), transparent 38%);
    box-shadow: 0 16px 36px rgba(11, 29, 45, 0.08);
}

.search-helper__label {
    color: var(--home-teal);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.search-helper strong {
    color: var(--home-navy);
    font-size: 1.05rem;
    line-height: 1.25;
}

.map-search-page .search-fields {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(220px, 2fr) minmax(170px, 1.2fr) repeat(2, minmax(120px, 1fr)) minmax(150px, 1.1fr) minmax(96px, 0.72fr) minmax(150px, 1.05fr) repeat(2, minmax(96px, 0.78fr));
    gap: 0.75rem;
    align-items: end;
    padding: 0.45rem;
    border: 1px solid rgba(255, 255, 255, 0.72);
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.66);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.82), 0 14px 34px rgba(11, 29, 45, 0.07);
    min-width: 0;
}

.map-search-page .search-field {
    display: flex;
    flex-direction: column;
    gap: 0.34rem;
    min-width: 0;
    grid-column: auto;
}

.map-search-page .search-field.is-filter-hidden {
    display: none;
}

.map-search-page .search-field--duration {
    grid-column: span 1;
}

.map-search-page .search-field .form-label {
    margin-bottom: 0;
    padding-left: 0.16rem;
    color: #486071;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.map-search-page .form-control,
.map-search-page .form-select {
    min-height: 3.18rem;
    border: 1px solid rgba(93, 107, 122, 0.16);
    border-radius: 16px;
    background-color: rgba(255, 255, 255, 0.88);
    color: var(--home-navy);
    font-weight: 650;
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.78);
    transition: border-color 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease;
}

.map-search-page .form-control::placeholder {
    color: rgba(93, 107, 122, 0.72);
    font-weight: 500;
}

.map-search-page .form-control:focus,
.map-search-page .form-select:focus {
    border-color: rgba(0, 138, 122, 0.55);
    background-color: #fff;
    box-shadow: 0 0 0 0.25rem rgba(0, 138, 122, 0.13), 0 10px 24px rgba(11, 29, 45, 0.08);
}

.map-search-page .search-actions {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    margin-top: 0.95rem;
    padding: 0.95rem 0.25rem 0;
    border-top: 1px solid rgba(93, 107, 122, 0.12);
}

.map-search-page .search-action-group .btn,
.map-search-page .property-card-actions .btn,
.map-search-page .mobile-view-toggle .btn {
    min-height: 2.75rem;
    border-radius: 999px;
    font-weight: 800;
}

.map-search-page .btn-primary {
    background: linear-gradient(135deg, var(--home-ocean), var(--home-teal));
    border-color: transparent;
    box-shadow: 0 12px 26px rgba(0, 119, 190, 0.2);
}

.map-search-page .btn-primary:hover,
.map-search-page .btn-primary:focus {
    background: linear-gradient(135deg, var(--home-ocean-dark), #007164);
    border-color: transparent;
}

.map-search-page .btn-outline-secondary,
.map-search-page .btn-outline-primary {
    border-color: rgba(0, 94, 151, 0.22);
    color: var(--home-ocean-dark);
    background: rgba(255, 255, 255, 0.72);
}

.map-search-page .btn-outline-secondary:hover,
.map-search-page .btn-outline-secondary:focus,
.map-search-page .btn-outline-primary:hover,
.map-search-page .btn-outline-primary:focus {
    border-color: rgba(0, 138, 122, 0.38);
    color: var(--home-teal-dark);
    background: rgba(217, 251, 244, 0.72);
}

.map-search-page .mobile-view-toggle {
    display: none;
    gap: 0.65rem;
    padding-bottom: 14px;
}

.map-search-page .mobile-view-toggle .btn {
    flex: 1 1 0;
}

.map-search-page .map-search-layout {
    display: grid;
    grid-template-columns: clamp(430px, 42vw, 640px) minmax(0, 1fr);
    gap: 0;
    width: 100%;
    max-width: 100%;
    height: var(--map-search-panel-height, calc(100vh - 210px));
    min-height: 680px;
    border: 1px solid rgba(255, 255, 255, 0.72);
    border-radius: 30px;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(247, 250, 255, 0.96), rgba(238, 248, 250, 0.95));
    box-shadow: 0 26px 70px rgba(11, 29, 45, 0.14);
    box-sizing: border-box;
}

.map-search-page .results-panel {
    min-width: 0;
    min-height: 0;
    overflow-y: auto;
    padding: 22px;
    border-right: 1px solid rgba(93, 107, 122, 0.14);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.83), rgba(248, 251, 255, 0.93)),
        radial-gradient(circle at 0% 0%, rgba(0, 138, 122, 0.09), transparent 32%);
    scrollbar-width: thin;
    scrollbar-color: rgba(0, 94, 151, 0.28) transparent;
}

.map-search-page .results-panel::-webkit-scrollbar {
    width: 10px;
}

.map-search-page .results-panel::-webkit-scrollbar-thumb {
    border: 3px solid transparent;
    border-radius: 999px;
    background: rgba(0, 94, 151, 0.28);
    background-clip: padding-box;
}

.map-search-page .results-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    padding: 0 0 1rem;
    border-bottom: 1px solid rgba(93, 107, 122, 0.14);
    margin-bottom: 1rem;
}

.map-search-page .results-meta {
    margin-bottom: 0;
}

.map-search-page .results-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 112px;
    padding: 0.72rem 0.95rem;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--home-navy), #123957);
    color: #fff;
    font-size: 0.88rem;
    font-weight: 800;
    white-space: nowrap;
    box-shadow: 0 12px 24px rgba(11, 29, 45, 0.16);
}

.map-search-page .active-filter-row {
    min-height: 1.7rem;
    margin-bottom: 1rem;
}

.map-search-page .active-filter-chip {
    border-color: rgba(0, 138, 122, 0.18);
    background: linear-gradient(135deg, rgba(217, 251, 244, 0.82), rgba(255, 255, 255, 0.78));
    color: var(--home-teal-dark);
    box-shadow: 0 10px 22px rgba(0, 106, 94, 0.07);
}

.map-search-page .property-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
}

.map-search-page .property-card {
    display: grid;
    grid-template-columns: 190px minmax(0, 1fr);
    gap: 0;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(93, 107, 122, 0.12);
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 14px 34px rgba(11, 29, 45, 0.09);
    cursor: pointer;
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.map-search-page .property-card:hover,
.map-search-page .property-card:focus-within,
.map-search-page .property-card.is-active {
    transform: translateY(-3px);
    border-color: rgba(0, 119, 190, 0.26);
    box-shadow: 0 22px 48px rgba(11, 29, 45, 0.14);
}

.map-search-page .property-card.is-active {
    outline: 3px solid rgba(0, 138, 122, 0.13);
}

.map-search-page .property-card-media {
    position: relative;
    width: 190px;
    min-height: 190px;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(0, 119, 190, 0.1), rgba(245, 234, 214, 0.52));
}

.map-search-page .property-card-media::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(11, 29, 45, 0.02), rgba(11, 29, 45, 0.18));
    pointer-events: none;
}

.map-search-page .property-card img {
    width: 190px;
    height: 100%;
    min-height: 190px;
    object-fit: cover;
    transition: transform 0.28s ease;
}

.map-search-page .property-card:hover img,
.map-search-page .property-card:focus-within img {
    transform: scale(1.035);
}

.map-search-page .property-card .card-body {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 0.95rem;
    min-width: 0;
    padding: 18px;
}

.map-search-page .property-card h3 {
    color: var(--home-navy);
    font-weight: 800;
    letter-spacing: -0.02em;
}

.map-search-page .property-price-chip {
    display: inline-flex;
    align-items: baseline;
    top: auto;
    right: 12px;
    bottom: 12px;
    left: 12px;
    z-index: 1;
    gap: 0.28rem;
    justify-content: center;
    padding: 0.58rem 0.82rem;
    border: 1px solid rgba(255, 255, 255, 0.62);
    background: rgba(255, 255, 255, 0.88);
    color: var(--home-ocean-dark);
    text-align: center;
    box-shadow: 0 12px 24px rgba(11, 29, 45, 0.18);
}

.map-search-page .property-price-chip small {
    color: var(--home-muted);
}

.map-search-page .property-focus-btn {
    position: static;
    box-shadow: none;
}

.map-search-page .property-location,
.map-search-page .property-address {
    color: var(--home-muted) !important;
}

.map-search-page .property-location {
    font-weight: 700;
}

.map-search-page .property-address {
    font-size: 0.9rem;
    line-height: 1.45;
}

.map-search-page .badge-soft {
    border: 1px solid rgba(0, 119, 190, 0.14);
    border-radius: 999px;
    background: rgba(0, 119, 190, 0.08);
    color: var(--home-ocean-dark);
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.08em;
}

.map-search-page .property-description {
    min-height: 0;
    margin-bottom: 0;
    color: var(--home-muted) !important;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.map-search-page .property-facts {
    margin-bottom: 0;
}

.map-search-page .property-facts span {
    padding: 0.48rem 0.72rem;
    border: 1px solid rgba(93, 107, 122, 0.1);
    background: rgba(245, 234, 214, 0.46);
    color: #40556a;
    font-weight: 700;
}

.map-search-page .property-card-footer {
    align-items: center;
    gap: 0.85rem;
    padding-top: 0.85rem;
    border-top: 1px solid rgba(93, 107, 122, 0.12);
}

.map-search-page .property-rating {
    color: var(--home-teal-dark) !important;
    font-size: 0.86rem;
    font-weight: 800;
}

.map-search-page .property-intent-label {
    color: var(--home-ocean-dark);
    font-weight: 800;
}

.property-view-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.42rem 0.68rem;
    border: 1px solid rgba(0, 119, 190, 0.15);
    border-radius: 999px;
    background: rgba(0, 119, 190, 0.08);
    color: var(--home-ocean-dark, #005e97);
    font-size: 0.82rem;
    font-weight: 800;
}

.seller-intent-help {
    min-height: 3.18rem;
    display: flex;
    align-items: center;
    padding: 0.76rem 0.9rem;
    border: 1px solid rgba(0, 119, 190, 0.14);
    border-radius: 16px;
    background: rgba(0, 119, 190, 0.06);
    color: #486071;
    font-size: 0.9rem;
    font-weight: 650;
}

.map-search-page .property-card-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: flex-end;
}

.map-search-page .property-card-actions .btn {
    white-space: nowrap;
}

.map-search-page .loading-card {
    display: grid;
    grid-template-columns: 190px minmax(0, 1fr);
    gap: 0;
    background: rgba(255, 255, 255, 0.84);
}

.map-search-page .loading-media {
    height: 100%;
    min-height: 190px;
    border-radius: 0;
}

.map-search-page .loading-card .card-body {
    padding: 18px;
}

.map-search-page .loading-media,
.map-search-page .loading-line {
    background: linear-gradient(90deg, rgba(224, 232, 238, 0.92) 24%, rgba(248, 252, 253, 0.96) 42%, rgba(224, 232, 238, 0.92) 62%);
    background-size: 220% 100%;
}

.map-search-page .empty-state {
    border: 1px solid rgba(0, 119, 190, 0.14);
    border-radius: 24px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(247, 251, 255, 0.96)),
        radial-gradient(circle at 50% 0%, rgba(217, 251, 244, 0.58), transparent 46%);
    box-shadow: 0 18px 42px rgba(11, 29, 45, 0.08);
}

.map-search-page .map-panel {
    position: sticky;
    top: 0;
    min-width: 0;
    height: 100%;
    overflow: hidden;
    background: linear-gradient(135deg, #d7e8f0, #eef7f5);
}

.map-panel__badge {
    position: absolute;
    top: 18px;
    left: 18px;
    z-index: 500;
    display: flex;
    flex-direction: column;
    gap: 0.08rem;
    max-width: calc(100% - 36px);
    padding: 0.72rem 0.9rem;
    border: 1px solid rgba(255, 255, 255, 0.72);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.82);
    color: var(--home-navy);
    box-shadow: 0 14px 34px rgba(11, 29, 45, 0.13);
    backdrop-filter: blur(14px);
    pointer-events: none;
}

.map-panel__badge span {
    color: var(--home-teal-dark);
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.map-panel__badge strong {
    font-size: 0.92rem;
}

.map-search-page #map {
    width: 100%;
    height: 100%;
    min-height: 680px;
    background: #dbeafe;
}

.map-search-page .leaflet-control-zoom a {
    color: var(--home-navy);
}

.property-marker {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 98px;
    min-height: 38px;
    padding: 0.5rem 0.78rem;
    border: 1px solid rgba(255, 255, 255, 0.75);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.92);
    color: var(--home-navy, #0b1d2d);
    font-size: 0.8rem;
    font-weight: 800;
    box-shadow: 0 14px 30px rgba(11, 29, 45, 0.2);
    backdrop-filter: blur(10px);
    transition: transform 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease;
}

.property-marker:hover {
    transform: translateY(-1px) scale(1.03);
}

.property-marker.is-active {
    background: linear-gradient(135deg, var(--home-ocean, #0077be), var(--home-teal, #008a7a));
    color: #fff;
    box-shadow: 0 18px 34px rgba(0, 94, 151, 0.28);
}

.property-popup {
    min-width: 235px;
}

.property-popup img {
    width: 100%;
    height: 136px;
    object-fit: cover;
    border-radius: 1rem;
    margin-bottom: 0.85rem;
}

.property-popup-body {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    color: var(--home-muted, #5d6b7a);
}

.property-popup-body strong {
    color: var(--home-navy, #0b1d2d);
    font-size: 1rem;
}

.property-popup-body a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 0.5rem;
    padding: 0.55rem 0.75rem;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--home-ocean, #0077be), var(--home-teal, #008a7a));
    color: #fff;
    font-weight: 800;
    text-decoration: none;
}

.leaflet-popup-content-wrapper {
    border: 1px solid rgba(255, 255, 255, 0.72);
    border-radius: 1.2rem;
    box-shadow: 0 24px 52px rgba(11, 29, 45, 0.2);
}

.leaflet-popup-content {
    margin: 1rem;
    font-family: inherit;
}

.marker-cluster-small,
.marker-cluster-medium,
.marker-cluster-large {
    background: rgba(0, 119, 190, 0.16);
}

.marker-cluster-small div,
.marker-cluster-medium div,
.marker-cluster-large div {
    background: linear-gradient(135deg, var(--home-ocean, #0077be), var(--home-teal, #008a7a));
    color: #fff;
    font-weight: 800;
}

@media (max-width: 1199.98px) {
    .map-search-page .search-panel-intro {
        grid-template-columns: 1fr;
    }

    .map-search-page .search-helper {
        max-width: none;
        margin-left: 0;
    }

    .map-search-page .search-fields {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .map-search-page .search-field--location,
    .map-search-page .search-field--intent,
    .map-search-page .search-field--type {
        grid-column: span 2;
    }
}

@media (max-width: 899.98px) {
    .map-search-page {
        width: 100%;
        margin-left: 0;
        margin-right: 0;
        padding-top: 0.6rem;
    }

    .map-search-page::before {
        right: 0;
        left: 0;
    }

    .map-search-page .mobile-view-toggle {
        position: sticky;
        top: 74px;
        z-index: 12;
        display: flex;
        padding: 0.65rem;
        margin-bottom: 1rem;
        border: 1px solid rgba(255, 255, 255, 0.72);
        border-radius: 999px;
        background: rgba(255, 255, 255, 0.9);
        box-shadow: 0 16px 38px rgba(11, 29, 45, 0.12);
        backdrop-filter: blur(16px);
    }

    .map-search-page .search-fields {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .map-search-page .search-field,
    .map-search-page .search-field--date,
    .map-search-page .search-field--guest,
    .map-search-page .search-field--price {
        grid-column: span 1;
    }

    .map-search-page .search-field--location,
    .map-search-page .search-field--intent,
    .map-search-page .search-field--type {
        grid-column: 1 / -1;
    }

    .map-search-page .map-search-layout {
        display: block;
        height: auto;
        min-height: 0;
        border: 0;
        border-radius: 0;
        background: transparent;
        box-shadow: none;
        overflow: visible;
    }

    .map-search-page .results-panel,
    .map-search-page .map-panel {
        border: 1px solid rgba(255, 255, 255, 0.7);
        border-radius: 24px;
        box-shadow: 0 18px 44px rgba(11, 29, 45, 0.11);
        overflow: hidden;
    }

    .map-search-page .results-panel {
        padding: 16px;
        border-right: 0;
        overflow: visible;
    }

    .map-search-page .map-panel {
        height: 72vh;
        min-height: 430px;
        margin-top: 16px;
    }

    .map-search-page .map-search-layout.is-list-only .map-panel {
        display: none;
    }

    .map-search-page .map-search-layout.is-map-only .results-panel {
        display: none;
    }

    .map-search-page .map-search-layout.is-map-only .map-panel {
        margin-top: 0;
    }

    .map-search-page #map {
        min-height: 72vh;
    }

    .map-search-page .results-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .map-search-page .property-card,
    .map-search-page .loading-card {
        grid-template-columns: 1fr;
    }

    .map-search-page .property-card-media,
    .map-search-page .property-card img {
        width: 100%;
    }

    .map-search-page .property-card-media,
    .map-search-page .property-card img,
    .map-search-page .loading-media {
        min-height: 230px;
        height: 230px;
    }

    .map-search-page .property-card-actions {
        width: 100%;
        justify-content: stretch;
    }

    .map-search-page .property-card-actions .btn {
        flex: 1 1 0;
    }
}

@media (max-width: 767.98px) {
    .map-search-page {
        padding-bottom: 1rem;
    }

    .map-search-page .search-panel-card {
        border-radius: 24px;
        padding: 1rem;
    }

    .map-search-page .search-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .map-search-page .search-action-group {
        width: 100%;
    }

    .map-search-page .search-action-group .btn {
        flex: 1 1 0;
    }

    .map-search-page .search-title {
        font-size: clamp(1.9rem, 12vw, 3rem);
    }

    .map-search-page .property-card-footer {
        flex-direction: column;
        align-items: stretch;
    }
}

@media (max-width: 575.98px) {
    .map-search-page .search-fields {
        grid-template-columns: 1fr;
    }

    .map-search-page .search-field,
    .map-search-page .search-field--location,
    .map-search-page .search-field--date,
    .map-search-page .search-field--duration,
    .map-search-page .search-field--guest,
    .map-search-page .search-field--price,
    .map-search-page .search-field--intent,
    .map-search-page .search-field--type {
        grid-column: 1 / -1;
    }

    .search-trust-row span,
    .map-search-page .active-filter-chip {
        width: 100%;
        justify-content: center;
    }

    .map-panel__badge {
        display: none;
    }

    .map-search-page .property-card-media,
    .map-search-page .property-card img,
    .map-search-page .loading-media {
        min-height: 210px;
        height: 210px;
    }
}

@media (max-width: 767.98px) {
    .map-search-page {
        padding: 0.75rem 12px 20px;
    }

    .map-search-page .search-panel {
        padding-bottom: 12px;
    }

    .map-search-page .search-panel-card {
        padding: 1rem;
    }

    .search-actions {
        flex-direction: column;
        align-items: flex-start;
    }

    .property-thumbnail-strip,
    .property-media-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .property-media-fallback-preview {
        align-items: flex-start;
        flex-direction: column;
    }

    .search-action-group {
        width: 100%;
    }

    .search-action-group .btn {
        flex: 1 1 0;
    }

    .search-mini-stats {
        width: 100%;
    }

    .metric-chip {
        flex: 1 1 100%;
    }

    .property-card-footer,
    .unavailable-range,
    .map-panel-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .property-feature-grid {
        grid-template-columns: 1fr 1fr;
    }

    .booking-confirmation-image {
        height: 280px;
    }
}

@media (max-width: 899.98px) {
    .mobile-view-toggle {
        display: flex;
    }

    .search-fields {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .search-field,
    .search-field--date,
    .search-field--guest,
    .search-field--price {
        grid-column: span 1;
    }

    .search-field--location,
    .search-field--type {
        grid-column: 1 / -1;
    }

    .map-search-layout {
        display: block;
        height: auto;
        min-height: 0;
        border: 0;
        border-radius: 0;
        background: transparent;
        box-shadow: none;
        overflow: visible;
    }

    .results-panel,
    .map-search-page .map-panel {
        border: 1px solid #dbe4ea;
        border-radius: 20px;
        box-shadow: 0 12px 32px rgba(15, 23, 42, 0.08);
        background: #f5f8fb;
        overflow: hidden;
    }

    .results-panel {
        overflow: visible;
        padding: 16px;
        border-right: 0;
    }

    .map-search-page .map-panel {
        height: 70vh;
        min-height: 420px;
        margin-top: 16px;
        background: transparent;
    }

    .map-search-layout.is-list-only .map-panel {
        display: none;
    }

    .map-search-layout.is-map-only .results-panel {
        display: none;
    }

    .map-search-layout.is-map-only .map-panel {
        margin-top: 0;
    }

    #map {
        min-height: 70vh;
    }

    .results-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .map-search-page .property-card,
    .map-search-page .loading-card {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .map-search-page .property-card-media,
    .map-search-page .property-card img {
        width: 100%;
    }

    .map-search-page .property-card img,
    .map-search-page .loading-media {
        min-height: 220px;
        height: 220px;
    }

    .map-search-page .property-card .card-body,
    .map-search-page .loading-card .card-body {
        padding: 16px;
    }

    .property-card-actions {
        width: 100%;
        justify-content: stretch;
    }

.property-card-actions .btn {
        flex: 1 1 0;
    }
}

.auth-nav-btn {
    border-radius: 999px;
    min-width: 94px;
}

.auth-page-shell {
    align-items: stretch;
}

.auth-hero-card {
    background: linear-gradient(180deg, rgba(37, 99, 235, 0.08), rgba(15, 118, 110, 0.08));
}

.auth-feature-list {
    margin: 0;
    padding-left: 1.1rem;
    color: var(--text-soft);
}

.auth-feature-list li + li {
    margin-top: 0.75rem;
}

.auth-helper-links {
    display: grid;
    gap: 0.85rem;
}

.auth-helper-links .credential-item {
    margin-bottom: 0;
    background: rgba(255, 255, 255, 0.78);
}

.auth-helper-links .credential-item a {
    color: var(--brand-dark);
    text-decoration: none;
}

.auth-helper-links .credential-item a:hover,
.auth-helper-links .credential-item a:focus {
    text-decoration: underline;
}

.auth-page-shell .summary-card {
    height: 100%;
}

.admin-credential-card {
    background: linear-gradient(180deg, rgba(248, 250, 252, 0.94), rgba(255, 255, 255, 0.99));
    border-style: dashed;
}

.account-summary-card {
    border-color: var(--line);
}

.dashboard-shell {
    display: grid;
    gap: 1.35rem;
    min-width: 0;
}

.dashboard-shell .btn {
    min-height: 2.8rem;
    border-radius: 0.95rem;
    font-weight: 700;
    white-space: normal;
}

.dashboard-hero {
    position: relative;
    overflow: hidden;
    padding: clamp(1.35rem, 3vw, 2.25rem);
    border: 1px solid rgba(148, 163, 184, 0.18);
    border-radius: var(--radius-xl);
    background:
        radial-gradient(circle at top right, rgba(37, 99, 235, 0.14), transparent 34%),
        linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(248, 250, 252, 0.96));
    box-shadow: var(--shadow-soft);
}

.dashboard-hero::after {
    content: '';
    position: absolute;
    inset: auto -4rem -5rem auto;
    width: 13rem;
    height: 13rem;
    border-radius: 999px;
    background: rgba(15, 118, 110, 0.1);
    pointer-events: none;
}

.dashboard-hero--seller {
    background:
        radial-gradient(circle at top right, rgba(15, 118, 110, 0.14), transparent 36%),
        linear-gradient(135deg, rgba(255, 255, 255, 0.99), rgba(239, 246, 255, 0.94));
}

.dashboard-hero__content,
.dashboard-hero__actions {
    position: relative;
    z-index: 1;
    min-width: 0;
}

.dashboard-hero__content {
    max-width: 720px;
}

.dashboard-hero__eyebrow,
.dashboard-stat-card__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    color: var(--brand-dark);
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.dashboard-hero__eyebrow {
    margin-bottom: 0.75rem;
    padding: 0.45rem 0.75rem;
    border: 1px solid rgba(37, 99, 235, 0.14);
    border-radius: 999px;
    background: rgba(37, 99, 235, 0.08);
}

.dashboard-hero__copy {
    max-width: 62ch;
    color: var(--text-soft);
    font-size: 1rem;
}

.dashboard-hero__actions {
    justify-content: flex-start;
}

.dashboard-section-card,
.dashboard-action-panel {
    overflow: hidden;
}

.dashboard-action-panel__header,
.dashboard-section-header {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.35rem;
}

.dashboard-action-grid,
.dashboard-actions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 1rem;
}

.dashboard-action-grid--compact {
    grid-template-columns: repeat(auto-fit, minmax(145px, 1fr));
    gap: 0.65rem;
}

.dashboard-action-card {
    display: flex;
    min-width: 0;
    min-height: 100%;
    flex-direction: column;
    gap: 0.55rem;
    padding: 1.15rem;
    border: 1px solid rgba(148, 163, 184, 0.24);
    border-radius: 1.15rem;
    background: linear-gradient(180deg, rgba(248, 250, 252, 0.98), rgba(255, 255, 255, 0.98));
    color: var(--text-main);
    text-decoration: none;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.045);
    transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.dashboard-action-card:hover,
.dashboard-action-card:focus {
    color: var(--text-main);
    transform: translateY(-2px);
    border-color: rgba(37, 99, 235, 0.24);
    box-shadow: var(--shadow-soft);
}

.dashboard-action-card:focus-visible,
.dashboard-shell .btn:focus-visible {
    outline: 3px solid rgba(37, 99, 235, 0.24);
    outline-offset: 3px;
}

.dashboard-action-card--primary {
    border-color: rgba(37, 99, 235, 0.22);
    background: linear-gradient(180deg, rgba(239, 246, 255, 0.98), rgba(255, 255, 255, 0.99));
}

.dashboard-action-card__label {
    display: inline-flex;
    min-width: 0;
    align-items: center;
    gap: 0.45rem;
    color: var(--text-main);
    font-weight: 800;
    line-height: 1.25;
    overflow-wrap: anywhere;
}

.dashboard-action-card__description {
    color: var(--text-soft);
    font-size: 0.92rem;
    line-height: 1.45;
    overflow-wrap: anywhere;
}

.dashboard-action-card__cta {
    display: inline-flex;
    width: fit-content;
    align-items: center;
    justify-content: center;
    margin-top: auto;
    padding: 0.42rem 0.75rem;
    border-radius: 999px;
    background: rgba(37, 99, 235, 0.09);
    color: var(--brand-dark);
    font-size: 0.78rem;
    font-weight: 800;
}

.dashboard-stat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
}

.dashboard-stat-card {
    border-color: var(--line);
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.dashboard-stat-card .card-body {
    display: flex;
    min-width: 0;
    min-height: 100%;
    flex-direction: column;
    gap: 0.7rem;
}

.dashboard-stat-card__value {
    color: var(--text-main);
    font-size: clamp(2rem, 4vw, 2.65rem);
    font-weight: 800;
    line-height: 1;
    overflow-wrap: anywhere;
}

.dashboard-stat-card__value--text {
    font-size: clamp(1rem, 2vw, 1.18rem);
    line-height: 1.35;
}

.dashboard-stat-card__note {
    color: var(--text-soft);
    font-size: 0.94rem;
}

.dashboard-stat-card__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    margin-top: auto;
}

.dashboard-stat-card__actions--stacked {
    flex-direction: column;
    align-items: stretch;
}

.dashboard-empty-state {
    background: linear-gradient(180deg, rgba(239, 246, 255, 0.7), rgba(255, 255, 255, 0.98));
}

.customer-dashboard .saved-properties-grid {
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
}

.customer-dashboard .saved-property-card .btn {
    flex-shrink: 0;
}

.customer-dashboard .saved-property-card .card-body > .d-flex,
.customer-dashboard .saved-property-card .card-body > .d-flex > div {
    min-width: 0;
}

.seller-dashboard .dashboard-report-shortcut .card-body {
    min-width: 0;
}

.admin-action-group-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1rem;
}

.admin-action-group-card {
    min-width: 0;
    padding: 1rem;
    border: 1px solid rgba(148, 163, 184, 0.2);
    border-radius: 1.25rem;
    background: rgba(248, 250, 252, 0.74);
}

.admin-action-group-card__header {
    margin-bottom: 0.9rem;
}

.provider-auth-note {
    padding: 1rem 1.1rem;
    border-radius: 1rem;
    background: rgba(37, 99, 235, 0.08);
    border: 1px solid rgba(37, 99, 235, 0.16);
}

.google-auth-section {
    padding: 1rem;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 1rem;
    background: rgba(248, 250, 252, 0.88);
}

.google-auth-section--disabled {
    background: rgba(241, 245, 249, 0.88);
    border-color: rgba(148, 163, 184, 0.28);
}

.google-auth-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    min-height: 48px;
    border-radius: 0.95rem;
    border: 1px solid rgba(15, 23, 42, 0.1);
    background: #fff;
    color: var(--text);
    font-weight: 600;
    box-shadow: var(--shadow-soft);
}

.google-auth-button:hover,
.google-auth-button:focus {
    background: #fff;
    color: var(--text);
    border-color: rgba(37, 99, 235, 0.22);
}

.google-auth-button::before {
    content: 'G';
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.8rem;
    height: 1.8rem;
    border-radius: 999px;
    background: linear-gradient(135deg, #ea4335, #fbbc05 50%, #34a853 75%, #4285f4);
    color: #fff;
    font-size: 0.9rem;
    font-weight: 700;
}

.google-auth-button--disabled,
.google-auth-button--disabled:hover,
.google-auth-button--disabled:focus {
    background: rgba(226, 232, 240, 0.8);
    color: var(--text-soft);
    border-color: rgba(148, 163, 184, 0.24);
    box-shadow: none;
}

.google-auth-caption {
    color: var(--text-soft);
    font-size: 0.92rem;
}

.auth-divider {
    position: relative;
    margin: 1rem 0 1.5rem;
    text-align: center;
}

.auth-divider::before {
    content: '';
    position: absolute;
    inset: 50% 0 auto;
    border-top: 1px solid rgba(148, 163, 184, 0.24);
}

.auth-divider span {
    position: relative;
    display: inline-block;
    padding: 0 0.85rem;
    background: #fff;
    color: var(--text-soft);
    font-size: 0.82rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.auth-settings-card {
    border-color: rgba(37, 99, 235, 0.12);
}

.auth-settings-status-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1rem;
}

.auth-settings-status-card,
.auth-settings-card {
    overflow: hidden;
}

.auth-settings-mono {
    font-family: Consolas, 'Courier New', monospace;
    font-size: 0.88rem;
}

.auth-settings-secret-note {
    color: var(--text-soft);
    font-size: 0.9rem;
}

.provider-status-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.25rem;
}

.provider-status-card {
    border-color: var(--line);
}

.provider-status-value {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.provider-status-meta {
    color: var(--text-soft);
    font-size: 0.92rem;
}

.provider-detail-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem 1.5rem;
}

.provider-detail-list dt {
    margin-bottom: 0.35rem;
    color: var(--text-soft);
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.provider-detail-list dd {
    margin: 0;
    font-weight: 600;
}

.provider-detail-list__full {
    grid-column: 1 / -1;
}

.provider-note-box {
    padding: 1rem 1.1rem;
    border-radius: 1rem;
    background: rgba(245, 158, 11, 0.08);
    border: 1px solid rgba(245, 158, 11, 0.18);
}

.provider-feature-list {
    margin: 0;
    padding-left: 1.1rem;
    color: var(--text-soft);
}

.provider-feature-list li + li {
    margin-top: 0.7rem;
}

.provider-filter-form .form-label {
    margin-bottom: 0.35rem;
}

.provider-empty-state {
    padding: 2rem 1rem;
    text-align: center;
    color: var(--text-soft);
}

.provider-admin-table td {
    vertical-align: top;
}

.provider-admin-actions {
    display: grid;
    gap: 0.85rem;
    min-width: 240px;
}

.provider-admin-actions form {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.provider-admin-actions textarea {
    resize: vertical;
}

@media (max-width: 991.98px) {
    .provider-admin-actions {
        min-width: 0;
    }
}

.saved-properties-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.saved-property-card {
    overflow: hidden;
}

.saved-property-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    background: #e2e8f0;
}

.saved-property-card .card-body {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 1.25rem;
}

.saved-property-copy {
    color: var(--text-soft);
}

.saved-property-meta-row {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: center;
    flex-wrap: wrap;
}

.saved-property-meta {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.saved-property-meta strong {
    font-size: 1.1rem;
}

.saved-property-meta span {
    color: var(--text-soft);
    font-size: 0.88rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.favorite-toggle-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    width: 100%;
    min-height: 3rem;
    border-radius: 0.9rem;
    font-weight: 700;
}

.favorite-toggle-btn.is-favorited {
    box-shadow: 0 10px 24px rgba(220, 38, 38, 0.18);
}

.favorite-toggle-icon {
    font-size: 1rem;
    line-height: 1;
}

.favorite-feedback {
    margin-top: 0.9rem;
    padding: 0.85rem 1rem;
    border-radius: 0.9rem;
    border: 1px solid transparent;
    font-size: 0.92rem;
}

.favorite-feedback.is-info {
    background: rgba(37, 99, 235, 0.08);
    border-color: rgba(37, 99, 235, 0.16);
    color: var(--brand-dark);
}

.favorite-feedback.is-success {
    background: rgba(22, 163, 74, 0.1);
    border-color: rgba(22, 163, 74, 0.18);
    color: #166534;
}

.favorite-feedback.is-danger {
    background: rgba(220, 38, 38, 0.1);
    border-color: rgba(220, 38, 38, 0.18);
    color: #991b1b;
}

.seller-count-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1rem;
}

.seller-count-card {
    border-color: var(--line);
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.seller-count-card:hover,
.admin-metric-card:hover,
.provider-request-summary-card:hover,
.provider-review-summary-card:hover,
.commission-summary-card:hover,
.report-summary-card:hover,
.provider-status-card:hover,
.account-summary-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-strong);
    border-color: rgba(37, 99, 235, 0.16);
}

.seller-count-value {
    font-size: clamp(2rem, 4vw, 2.6rem);
    font-weight: 700;
    line-height: 1;
    margin-bottom: 0.75rem;
}

.seller-quick-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 0.85rem;
}

.seller-table-card,
.seller-form-section {
    border-color: var(--line);
}

.seller-property-title {
    min-width: 280px;
}

.seller-property-thumb {
    width: 88px;
    height: 64px;
    object-fit: cover;
    border-radius: 0.85rem;
    background: #e2e8f0;
    flex-shrink: 0;
}

.seller-readonly-note {
    text-align: right;
}

.seller-empty-state {
    padding: 1.5rem 0.75rem;
}

.seller-form-shell .form-control,
.seller-form-shell .form-select {
    border-radius: 0.9rem;
}

.property-media-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1rem;
}

.property-media-item {
    border: 1px solid var(--line);
    border-radius: 1rem;
    background: var(--surface-muted);
    overflow: hidden;
}

.property-media-thumb-wrap {
    position: relative;
}

.property-media-thumb {
    width: 100%;
    height: 148px;
    object-fit: cover;
    display: block;
    background: #e2e8f0;
}

.property-media-badge {
    position: absolute;
    top: 0.75rem;
    left: 0.75rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.35rem 0.65rem;
    border-radius: 999px;
    background: rgba(37, 99, 235, 0.92);
    color: #fff;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.property-media-controls {
    display: grid;
    gap: 0.65rem;
    padding: 0.85rem;
}

.property-media-empty {
    border: 1px dashed var(--line);
    border-radius: 1rem;
    background: var(--surface-muted);
    color: var(--text-soft);
    padding: 1rem;
}

.property-media-fallback-preview {
    display: flex;
    align-items: center;
    gap: 0.85rem;
}

.property-media-fallback-preview img {
    width: 96px;
    height: 72px;
    object-fit: cover;
    border-radius: 0.8rem;
    background: #e2e8f0;
    flex-shrink: 0;
}

.property-media-upload-input {
    border-radius: 0.9rem;
}

.location-picker-card {
    border: 1px solid var(--line);
    border-radius: 1rem;
    background: #fff;
    padding: 1rem;
}

.location-picker-help {
    color: var(--text-soft);
    font-size: 0.95rem;
}

.location-picker-map {
    height: clamp(320px, 38vw, 380px);
    min-height: 320px;
    border: 1px solid var(--line);
    border-radius: 0.9rem;
    overflow: hidden;
    background: #e2e8f0;
}

@media (max-width: 767.98px) {
    .location-picker-map {
        height: clamp(260px, 58vw, 320px);
        min-height: 260px;
    }
}

.status-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.4rem 0.75rem;
    border-radius: 999px;
    font-size: 0.77rem;
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    border: 1px solid transparent;
}

.status-pill--success {
    background: rgba(22, 163, 74, 0.12);
    color: #166534;
    border-color: rgba(22, 163, 74, 0.22);
}

.status-pill--warning {
    background: rgba(245, 158, 11, 0.14);
    color: #92400e;
    border-color: rgba(245, 158, 11, 0.24);
}

.status-pill--danger {
    background: rgba(220, 38, 38, 0.12);
    color: #991b1b;
    border-color: rgba(220, 38, 38, 0.22);
}

.status-pill--info {
    background: rgba(59, 130, 246, 0.12);
    color: #1d4ed8;
    border-color: rgba(59, 130, 246, 0.22);
}

.status-pill--primary {
    background: rgba(37, 99, 235, 0.12);
    color: #1d4ed8;
    border-color: rgba(37, 99, 235, 0.22);
}

.status-pill--secondary {
    background: rgba(100, 116, 139, 0.12);
    color: #475569;
    border-color: rgba(100, 116, 139, 0.22);
}

.admin-metric-card .card-body {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 0.55rem;
    min-height: 100%;
}

.admin-metric-card .display-6,
.account-summary-card .display-6,
.seller-count-value,
.provider-request-summary-value,
.provider-review-summary-value,
.report-summary-value,
.referral-code-card__value {
    overflow-wrap: anywhere;
}

.review-note-box {
    padding: 0.85rem 1rem;
    border-radius: 1rem;
    background: rgba(248, 250, 252, 0.9);
    border: 1px solid rgba(148, 163, 184, 0.22);
    color: var(--text-main);
    font-size: 0.92rem;
}

.review-note-box strong {
    display: block;
    margin-bottom: 0.35rem;
}

.review-note-box--highlight {
    background: rgba(59, 130, 246, 0.08);
    border-color: rgba(59, 130, 246, 0.18);
}

.location-select-shell {
    display: block;
}

.location-field-note {
    padding: 0.85rem 1rem;
    border: 1px dashed rgba(148, 163, 184, 0.36);
    border-radius: 1rem;
    background: rgba(248, 250, 252, 0.92);
    color: var(--text-soft);
    font-size: 0.92rem;
}

.admin-location-grid {
    display: grid;
    gap: 1.5rem;
}

.admin-location-card {
    border-color: var(--line);
}

.admin-location-filter {
    display: grid;
    gap: 1rem;
}

.admin-location-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 0.5rem;
}

.admin-location-meta {
    color: var(--text-soft);
    font-size: 0.88rem;
}

.admin-location-empty {
    padding: 1.5rem 0.75rem;
}

.kyc-form-shell .form-control,
.kyc-form-shell .form-select {
    border-radius: 0.9rem;
}

.kyc-question-builder-options {
    min-height: 9rem;
}

.kyc-question-card {
    padding: 1rem 1.1rem;
    border: 1px solid var(--line);
    border-radius: 1rem;
    background: rgba(248, 250, 252, 0.7);
}

.kyc-choice-list {
    display: grid;
    gap: 0.75rem;
}

.kyc-choice-item {
    margin: 0;
    padding: 0.85rem 1rem;
    border: 1px solid rgba(148, 163, 184, 0.22);
    border-radius: 0.95rem;
    background: #fff;
}

.kyc-answer-list {
    display: grid;
    gap: 1rem;
}

.kyc-answer-item {
    padding: 1rem 1.1rem;
    border: 1px solid var(--line);
    border-radius: 1rem;
    background: rgba(248, 250, 252, 0.88);
}

.kyc-answer-value {
    color: var(--text-main);
}

.kyc-option-list {
    margin: 0;
    padding-left: 1.1rem;
}

.kyc-option-list li + li {
    margin-top: 0.35rem;
}

.secure-file-link {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.55rem 0.75rem;
}

.secure-file-link__anchor {
    font-weight: 600;
    word-break: break-word;
}

.secure-file-link__meta {
    font-size: 0.82rem;
    color: var(--text-soft);
}

@media (max-width: 767.98px) {
    .seller-property-title {
        min-width: 0;
    }

    .seller-property-thumb {
        width: 72px;
        height: 56px;
    }

    .seller-readonly-note {
        text-align: left;
    }
}

.provider-marketplace-page,
.provider-profile-page {
    display: grid;
    gap: 1.5rem;
}

.provider-marketplace-hero,
.provider-filter-card,
.provider-profile-hero,
.provider-profile-section,
.provider-public-card {
    border-color: var(--line);
}

.provider-marketplace-results__count {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 800;
    line-height: 1;
}

.provider-filter-form__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-xl-end;
    align-items: end;
    gap: 0.75rem;
}

.provider-public-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.provider-public-card .card-body {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 1.35rem;
}

.provider-public-card__eyebrow {
    color: var(--text-soft);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.provider-service-area,
.provider-public-card__bio,
.provider-profile-bio {
    color: var(--text-soft);
}

.provider-rating-placeholder {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.45rem 0.8rem;
    border-radius: 999px;
    background: rgba(100, 116, 139, 0.12);
    border: 1px solid rgba(100, 116, 139, 0.18);
    color: #475569;
    font-size: 0.8rem;
    font-weight: 700;
}

.provider-rating-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.45rem 0.8rem;
    border-radius: 999px;
    background: rgba(37, 99, 235, 0.12);
    border: 1px solid rgba(37, 99, 235, 0.18);
    color: #1d4ed8;
    font-size: 0.8rem;
    font-weight: 700;
    text-align: center;
}

.provider-rating-chip--empty {
    background: rgba(100, 116, 139, 0.12);
    border-color: rgba(100, 116, 139, 0.18);
    color: #475569;
}

.provider-rating-summary {
    color: var(--text-soft);
    font-size: 0.92rem;
}

.provider-coming-soon {
    padding: 0.95rem 1rem;
    border-radius: 1rem;
    background: rgba(248, 250, 252, 0.96);
    border: 1px dashed rgba(148, 163, 184, 0.34);
}

.provider-coming-soon__label {
    margin-bottom: 0.7rem;
    color: var(--text-main);
    font-size: 0.86rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.provider-coming-soon__button[disabled] {
    cursor: not-allowed;
    opacity: 0.9;
    white-space: normal;
}

.provider-profile-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.provider-review-list {
    display: grid;
    gap: 1rem;
}

.provider-review-card {
    padding: 1rem 1.1rem;
    border-radius: 1rem;
    border: 1px solid rgba(148, 163, 184, 0.18);
    background: rgba(255, 255, 255, 0.98);
}

.provider-review-card__meta {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.provider-review-card__stars {
    color: #f59e0b;
    font-weight: 700;
    letter-spacing: 0.08em;
    white-space: nowrap;
}

.provider-review-card__text {
    color: var(--text-main);
    line-height: 1.6;
}

.provider-review-empty {
    padding: 1.25rem;
    border: 1px dashed rgba(148, 163, 184, 0.34);
    border-radius: 1rem;
    background: rgba(248, 250, 252, 0.96);
}

.provider-marketplace-empty,
.provider-profile-empty {
    padding: 2.25rem 1.25rem;
}

@media (max-width: 767.98px) {
    .provider-filter-form__actions {
        justify-content: stretch;
    }

    .provider-filter-form__actions .btn,
    .provider-profile-actions .btn {
        width: 100%;
    }
}

.provider-matching-settings-card .card-body {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.provider-matching-settings-form {
    align-items: end;
}

.provider-matching-override-form {
    display: grid;
    gap: 0.65rem;
    min-width: 220px;
}

.provider-matching-meta {
    line-height: 1.5;
}

.seller-provider-section .card-body {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.provider-selection-guidance {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.85rem;
    padding: 1rem 1.1rem;
    border-radius: 1rem;
    border: 1px solid rgba(37, 99, 235, 0.12);
    background: rgba(37, 99, 235, 0.06);
    color: var(--text-soft);
}

.provider-selection-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.38rem 0.75rem;
    border-radius: 999px;
    background: rgba(29, 78, 216, 0.12);
    color: #1d4ed8;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.provider-matching-toolbar {
    display: grid;
    grid-template-columns: minmax(220px, 320px) minmax(0, 1fr);
    gap: 1rem;
    align-items: end;
}

.provider-matching-toolbar__note {
    color: var(--text-soft);
    line-height: 1.6;
}

.provider-matching-feedback {
    min-height: 1px;
}

.provider-match-groups {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.provider-match-group {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.provider-match-group__label {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    color: var(--text-soft);
    font-size: 0.83rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.provider-match-group__label::before {
    content: '';
    width: 0.8rem;
    height: 0.8rem;
    border-radius: 999px;
    background: rgba(37, 99, 235, 0.22);
}

.provider-match-group--wider .provider-match-group__label::before {
    background: rgba(15, 118, 110, 0.24);
}

.provider-match-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1rem;
}

.provider-match-card {
    display: block;
    border-radius: 1.1rem;
    border: 1px solid rgba(148, 163, 184, 0.22);
    background: #fff;
    box-shadow: var(--shadow-soft);
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
    overflow: hidden;
}

.provider-match-card:hover {
    transform: translateY(-2px);
}

.provider-match-card--selected {
    border-color: rgba(37, 99, 235, 0.38);
    box-shadow: 0 0 0 0.2rem rgba(37, 99, 235, 0.08), var(--shadow-soft);
}

.provider-match-card__body {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    padding: 1.1rem;
    height: 100%;
}

.provider-match-card__top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 0.75rem;
}

.provider-match-card__title {
    color: var(--text-main);
    font-size: 1rem;
    font-weight: 700;
}

.provider-match-card__occupation,
.provider-match-card__meta,
.provider-match-card__bio {
    color: var(--text-soft);
}

.provider-match-card__occupation {
    margin-top: 0.2rem;
    font-size: 0.92rem;
}

.provider-match-card__meta,
.provider-match-card__bio {
    font-size: 0.92rem;
    line-height: 1.6;
}

.provider-match-card__bio {
    margin: 0;
}

.provider-match-card__footer {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 0.6rem;
}

.provider-match-scope,
.provider-match-state-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.38rem 0.7rem;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 700;
}

.provider-match-scope {
    border: 1px solid rgba(15, 23, 42, 0.08);
    background: rgba(248, 250, 252, 0.92);
    color: var(--text-soft);
}

.provider-match-state-badge {
    background: rgba(15, 118, 110, 0.1);
    color: #0f766e;
}

.provider-match-toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    margin-top: auto;
    font-weight: 600;
    color: var(--text-main);
}

.provider-match-checkbox {
    width: 1.05rem;
    height: 1.05rem;
    margin: 0;
    flex-shrink: 0;
}

.provider-match-empty {
    padding: 1rem 1.1rem;
    border-radius: 1rem;
    border: 1px dashed rgba(148, 163, 184, 0.34);
    background: rgba(248, 250, 252, 0.96);
    color: var(--text-soft);
}

.provider-match-empty--error {
    border-color: rgba(239, 68, 68, 0.24);
    background: rgba(254, 242, 242, 0.92);
    color: #991b1b;
}

@media (max-width: 991.98px) {
    .provider-matching-toolbar {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767.98px) {
    .provider-matching-override-form,
    .provider-matching-settings-form .btn {
        width: 100%;
    }

    .provider-match-grid {
        grid-template-columns: 1fr;
    }
}

.provider-request-summary-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1rem;
}

.provider-payment-summary-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1rem;
}

.provider-request-summary-card {
    border: 1px solid rgba(148, 163, 184, 0.18);
    border-radius: 1rem;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: var(--shadow-soft);
}

.provider-review-summary-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1rem;
}

.provider-review-summary-card {
    border: 1px solid rgba(148, 163, 184, 0.18);
    border-radius: 1rem;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: var(--shadow-soft);
}

.provider-review-summary-value {
    color: var(--text-main);
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.1;
}

.provider-request-summary-value {
    color: var(--text-main);
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.1;
}

.provider-request-card-list {
    display: grid;
    gap: 1rem;
}

.provider-request-card {
    border: 1px solid rgba(148, 163, 184, 0.2);
}

.provider-request-card__dates {
    min-width: 180px;
}

.provider-request-meta-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 0.9rem 1rem;
}

.provider-request-meta-label {
    margin-bottom: 0.25rem;
    color: var(--text-soft);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.provider-request-note {
    padding: 0.9rem 1rem;
    border-radius: 1rem;
    background: rgba(248, 250, 252, 0.96);
    color: var(--text-soft);
}

.payment-status-badge,
.escrow-status-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.provider-payment-settings-card {
    border: 1px solid rgba(148, 163, 184, 0.18);
}

.provider-payment-settings-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(260px, 0.8fr);
    gap: 1.25rem;
}

.provider-payment-settings-form {
    display: grid;
    gap: 1rem;
}

.provider-payment-settings-summary {
    padding: 1rem 1.05rem;
    border-radius: 1rem;
    border: 1px solid rgba(148, 163, 184, 0.16);
    background: rgba(248, 250, 252, 0.94);
}

.provider-payment-settings-summary-grid {
    display: grid;
    gap: 0.85rem;
}

.provider-payment-settings-state {
    padding: 0.95rem 1rem;
    border-radius: 0.95rem;
    border: 1px solid rgba(148, 163, 184, 0.16);
    background: #fff;
}

.provider-payment-visibility-block,
.seller-payment-status-block {
    padding: 0.95rem 1rem;
    border-radius: 1rem;
    border: 1px solid rgba(148, 163, 184, 0.18);
    background: rgba(248, 250, 252, 0.96);
}

.provider-payment-visibility-block__header,
.seller-payment-status-block__header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.provider-payment-message,
.seller-payment-message {
    padding: 0.75rem 0.9rem;
    border-radius: 0.85rem;
    background: rgba(255, 255, 255, 0.92);
    color: var(--text-soft);
}

.provider-payment-note,
.seller-payment-note,
.admin-provider-payment-note {
    color: var(--text-soft);
    white-space: normal;
}

.provider-payment-timeline,
.seller-payment-status-grid,
.admin-provider-payment-timestamps {
    display: grid;
    gap: 0.6rem;
}

.seller-payment-status-grid {
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    margin-top: 0.85rem;
}

.admin-provider-payment-table td {
    vertical-align: top;
}

.admin-provider-payment-actions {
    display: grid;
    justify-items: end;
    gap: 0.55rem;
    min-width: 160px;
}

.admin-provider-payment-actions form,
.admin-provider-payment-actions .btn {
    width: 100%;
}

.provider-request-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    align-items: flex-start;
}

.provider-request-inline-form {
    margin: 0;
}

.provider-request-reject-form {
    flex: 1 1 320px;
    display: grid;
    gap: 0.75rem;
}

.provider-request-empty {
    padding: 1.25rem;
    border: 1px dashed rgba(148, 163, 184, 0.34);
    border-radius: 1rem;
    background: rgba(248, 250, 252, 0.96);
}

.seller-request-status-block {
    margin-top: 0.9rem;
    padding: 0.95rem 1rem;
    border-radius: 1rem;
    border: 1px solid rgba(148, 163, 184, 0.2);
    background: rgba(248, 250, 252, 0.94);
}

.seller-request-status-block__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.75rem;
}

.seller-request-status-list {
    display: grid;
    gap: 0.75rem;
    margin-top: 0.75rem;
}

.seller-request-status-item {
    padding: 0.85rem 0.95rem;
    border-radius: 0.95rem;
    border: 1px solid rgba(148, 163, 184, 0.18);
    background: #fff;
}

.seller-request-status-meta,
.seller-request-status-dates {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.65rem;
}

.seller-request-status-dates {
    color: var(--text-soft);
    font-size: 0.88rem;
}

.seller-review-panel {
    margin-top: 0.95rem;
    padding-top: 0.95rem;
    border-top: 1px solid rgba(148, 163, 184, 0.18);
}

.seller-review-summary {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.seller-review-form {
    display: grid;
    gap: 0.9rem;
}

.seller-review-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    align-items: center;
}

.seller-review-note,
.seller-review-readonly {
    padding: 0.9rem 1rem;
    border-radius: 1rem;
    border: 1px solid rgba(148, 163, 184, 0.18);
    background: rgba(248, 250, 252, 0.96);
}

.seller-review-note--pending {
    border-color: rgba(245, 158, 11, 0.24);
    background: rgba(254, 249, 195, 0.7);
    color: #92400e;
}

.seller-review-note--rejected {
    border-color: rgba(239, 68, 68, 0.22);
    background: rgba(254, 242, 242, 0.92);
    color: #991b1b;
}

.seller-review-stars {
    color: #f59e0b;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.08em;
}

.seller-review-stars__empty {
    color: rgba(148, 163, 184, 0.9);
}

.seller-review-text {
    color: var(--text-main);
    line-height: 1.6;
}

.admin-provider-request-table td {
    vertical-align: top;
}

.admin-provider-request-note {
    max-width: 320px;
    color: var(--text-soft);
    white-space: normal;
}

.admin-provider-request-actions {
    display: flex;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.admin-provider-review-table td {
    vertical-align: top;
}

.admin-provider-review-text,
.admin-provider-review-note {
    max-width: 320px;
    white-space: normal;
    color: var(--text-soft);
}

.admin-provider-review-actions {
    display: grid;
    justify-items: end;
    gap: 0.75rem;
    min-width: 220px;
}

.admin-provider-review-inline-form,
.admin-provider-review-reject-form {
    width: 100%;
}

.admin-provider-review-reject-form {
    display: grid;
    gap: 0.55rem;
}

.chat-layout {
    display: grid;
    grid-template-columns: minmax(280px, 360px) minmax(0, 1fr);
    gap: 1.25rem;
    align-items: stretch;
}

.chat-layout--admin {
    grid-template-columns: minmax(320px, 400px) minmax(0, 1fr);
}

.chat-sidebar-card,
.chat-thread-card {
    min-height: 70vh;
    min-width: 0;
}

.chat-sidebar-card {
    overflow: hidden;
}

.chat-sidebar-card__header,
.chat-thread-header {
    padding: 1.1rem 1.25rem;
    border-bottom: 1px solid rgba(148, 163, 184, 0.18);
    background: rgba(248, 250, 252, 0.92);
}

.chat-conversation-list {
    display: grid;
}

.chat-conversation-item {
    display: block;
    padding: 1rem 1.15rem;
    border-bottom: 1px solid rgba(148, 163, 184, 0.14);
    text-decoration: none;
    color: inherit;
    background: transparent;
    transition: background-color 0.2s ease, border-color 0.2s ease;
}

.chat-conversation-item:hover {
    background: rgba(37, 99, 235, 0.05);
    color: inherit;
}

.chat-conversation-item--active {
    background: rgba(37, 99, 235, 0.08);
}

.chat-conversation-item__top,
.chat-conversation-item__bottom,
.chat-compose-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
}

.chat-conversation-time,
.chat-message-time {
    color: var(--text-soft);
    font-size: 0.8rem;
    white-space: nowrap;
}

.chat-conversation-preview {
    color: var(--text-soft);
    font-size: 0.88rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.chat-unread-badge,
.chat-link-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 1.5rem;
    height: 1.5rem;
    padding: 0 0.45rem;
    border-radius: 999px;
    background: var(--brand);
    color: #fff;
    font-size: 0.78rem;
    font-weight: 700;
    line-height: 1;
}

.chat-link-badge {
    margin-left: 0.45rem;
}

.chat-thread-card .card-body {
    min-height: inherit;
}

.chat-message-thread {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
    padding: 1.25rem;
    background: linear-gradient(180deg, rgba(239, 246, 255, 0.46), rgba(255, 255, 255, 0.95));
    overflow-y: auto;
}

.chat-message-row {
    display: flex;
}

.chat-message-row--seller {
    justify-content: flex-end;
}

.chat-message-row--provider {
    justify-content: flex-start;
}

.chat-message-bubble {
    max-width: min(78%, 640px);
    padding: 0.9rem 1rem;
    border-radius: 1.1rem;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
    border: 1px solid rgba(148, 163, 184, 0.16);
}

.chat-message-bubble--seller {
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    color: #fff;
    border-bottom-right-radius: 0.35rem;
}

.chat-message-bubble--provider {
    background: #fff;
    color: var(--text);
    border-bottom-left-radius: 0.35rem;
}

.chat-message-author {
    font-size: 0.78rem;
    font-weight: 700;
    margin-bottom: 0.35rem;
    opacity: 0.85;
}

.chat-message-text {
    white-space: normal;
    word-break: break-word;
}

.chat-message-bubble--seller .chat-message-time,
.chat-message-bubble--seller .chat-message-author {
    color: rgba(255, 255, 255, 0.86);
}

.chat-polling-status {
    min-height: 1rem;
    margin-top: 0.4rem;
    font-size: 0.78rem;
    color: var(--text-soft);
}

.chat-polling-status[data-state="success"] {
    color: #0f766e;
}

.chat-polling-status[data-state="warning"] {
    color: #b45309;
}

.chat-compose-form,
.chat-readonly-note {
    border-top: 1px solid rgba(148, 163, 184, 0.18);
    background: #fff;
}

.chat-compose-form {
    display: grid;
    gap: 0.9rem;
    padding: 1rem 1.25rem 1.25rem;
}

.chat-compose-form textarea.form-control {
    min-height: 7rem;
    resize: vertical;
}

.chat-readonly-note,
.chat-empty-state {
    color: var(--text-soft);
}

.chat-readonly-note {
    padding: 1rem 1.25rem;
}

.chat-empty-state {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 1.5rem;
}

.chat-empty-state--sidebar {
    min-height: 12rem;
}

.chat-empty-state--thread {
    min-height: 24rem;
}

.chat-empty-state--messages {
    padding: 0;
}

.admin-surface .notification-template-card,
.admin-surface .notification-placeholder-panel,
.admin-surface .notification-settings-card {
    overflow: hidden;
}

.admin-surface .notification-template-form textarea.form-control {
    min-height: 11rem;
    resize: vertical;
}

.admin-surface .notification-placeholder-list {
    display: grid;
    gap: 0.9rem;
}

.admin-surface .notification-placeholder-item {
    padding: 0.95rem 1rem;
    border: 1px solid var(--line);
    border-radius: 1rem;
    background: var(--surface-muted);
}

.admin-surface .notification-placeholder-item code {
    font-size: 0.95rem;
    color: var(--brand-dark);
}

.admin-surface .notification-admin-empty {
    padding: 1.25rem;
    border: 1px dashed rgba(148, 163, 184, 0.4);
    border-radius: 1rem;
    color: var(--text-soft);
    background: rgba(248, 250, 252, 0.7);
}

.admin-surface .notification-admin-table th {
    white-space: nowrap;
}

.admin-surface .notification-log-preview {
    min-width: 16rem;
    max-width: 26rem;
    white-space: normal;
    word-break: break-word;
}

.package-card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.25rem;
}

.package-card {
    border: 1px solid rgba(148, 163, 184, 0.2);
    border-radius: 1.15rem;
    overflow: hidden;
}

.package-price-display {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--brand-dark);
}

.package-meta-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 0.9rem;
}

.package-form-note {
    padding: 0.95rem 1rem;
    border: 1px dashed rgba(148, 163, 184, 0.4);
    border-radius: 1rem;
    background: rgba(248, 250, 252, 0.82);
}

.seller-entitlement-summary-card {
    overflow: hidden;
}

.package-purchase-table th {
    white-space: nowrap;
}

.package-admin-action-stack {
    display: grid;
    gap: 0.6rem;
    min-width: 11rem;
}

.package-admin-action-stack form {
    margin: 0;
}

.listing-expiry-badge,
.listing-featured-badge {
    font-size: 0.76rem;
    letter-spacing: 0.01em;
}

.admin-surface .notification-filter-form .btn,
.admin-surface .notification-template-form .btn,
.admin-surface .notification-settings-card .btn {
    border-radius: 0.9rem;
}

.report-readonly-note {
    padding: 1rem 1.1rem;
    border: 1px solid rgba(37, 99, 235, 0.18);
    border-radius: 1rem;
    background: linear-gradient(180deg, rgba(239, 246, 255, 0.7), rgba(255, 255, 255, 0.96));
    color: var(--text-soft);
}

.report-filter-card,
.dashboard-report-shortcut {
    overflow: hidden;
}

.report-filter-form .btn,
.dashboard-report-shortcut .btn {
    border-radius: 0.9rem;
}

.report-summary-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1rem;
}

.report-summary-card {
    border: 1px solid rgba(148, 163, 184, 0.18);
}

.report-summary-eyebrow {
    color: var(--text-soft);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
}

.report-summary-value {
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    font-weight: 800;
    line-height: 1.05;
    color: var(--brand-dark);
}

.report-summary-note {
    margin-top: 0.5rem;
    color: var(--text-soft);
    font-size: 0.92rem;
}

.report-section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.report-key-value-list {
    display: grid;
    gap: 0.75rem;
}

.report-key-value-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding: 0.85rem 1rem;
    border: 1px solid rgba(148, 163, 184, 0.16);
    border-radius: 1rem;
    background: rgba(248, 250, 252, 0.75);
}

.report-key-value-label {
    color: var(--text-soft);
    font-weight: 600;
}

.report-status-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 0.9rem;
}

.report-status-item {
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
    padding: 1rem;
    border: 1px solid rgba(148, 163, 184, 0.16);
    border-radius: 1rem;
    background: rgba(248, 250, 252, 0.75);
}

.report-table th {
    white-space: nowrap;
}

.report-table code {
    color: var(--brand-dark);
    font-size: 0.92rem;
}

.dashboard-report-shortcut {
    border: 1px solid rgba(37, 99, 235, 0.14);
    background: linear-gradient(180deg, rgba(239, 246, 255, 0.5), rgba(255, 255, 255, 0.96));
}

@media (max-width: 767.98px) {
    .report-section-header,
    .report-key-value-row {
        flex-direction: column;
        align-items: flex-start;
    }

    .chat-layout,
    .chat-layout--admin {
        grid-template-columns: 1fr;
    }

    .chat-sidebar-card,
    .chat-thread-card {
        min-height: auto;
    }

    .chat-conversation-item__top,
    .chat-conversation-item__bottom,
    .chat-compose-actions {
        align-items: flex-start;
        flex-direction: column;
    }

    .chat-message-bubble {
        max-width: 100%;
    }

    .chat-compose-actions .btn {
        width: 100%;
    }

    .provider-request-card__dates {
        min-width: 0;
    }

    .provider-request-actions,
    .admin-provider-request-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .provider-request-actions .btn,
    .provider-request-reject-form,
    .admin-provider-request-actions .btn {
        width: 100%;
    }

    .seller-request-status-block__header {
        flex-direction: column;
        align-items: flex-start;
    }

    .provider-payment-settings-layout {
        grid-template-columns: 1fr;
    }

    .admin-provider-payment-actions {
        justify-items: stretch;
    }

    .package-admin-action-stack {
        min-width: 0;
    }

.notification-log-preview {
        min-width: 0;
        max-width: none;
    }
}

.admin-settings-hub .settings-hub-card {
    border-color: rgba(148, 163, 184, 0.18);
}

.admin-settings-hub .settings-hub-card .card-body {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.settings-hub-card__header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
}

.settings-hub-card__description {
    color: var(--text-soft);
}

.settings-status-badge {
    flex-shrink: 0;
}

.settings-summary-note {
    padding: 0.95rem 1rem;
    border: 1px solid var(--line);
    border-radius: 1rem;
    background: var(--surface-muted);
    color: var(--text-soft);
}

.settings-summary-list {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.settings-summary-row {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.8rem 0;
    border-bottom: 1px solid rgba(148, 163, 184, 0.18);
}

.settings-summary-row:first-child {
    padding-top: 0;
}

.settings-summary-row:last-child {
    padding-bottom: 0;
    border-bottom: 0;
}

.settings-summary-label {
    min-width: 0;
}

.settings-summary-label strong {
    display: block;
    font-size: 0.94rem;
}

.settings-summary-key {
    display: block;
    margin-top: 0.2rem;
    font-size: 0.75rem;
    color: var(--text-soft);
    font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, monospace;
    word-break: break-all;
}

.settings-summary-value {
    text-align: right;
    font-weight: 600;
    color: var(--text);
    word-break: break-word;
}

.settings-secret-mask {
    letter-spacing: 0.14em;
    font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, monospace;
}

.settings-card-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: auto;
}

.auth-settings-mono,
.custom-domain-mono,
.referral-share-links__value {
    overflow-wrap: anywhere;
}

@media (max-width: 767.98px) {
    .settings-hub-card__header,
    .settings-summary-row {
        flex-direction: column;
    }

    .settings-summary-value {
        text-align: left;
    }

    .settings-card-links .btn {
        width: 100%;
    }
}

.provider-service-summary-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.provider-service-layout {
    display: grid;
    gap: 1.5rem;
    grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
}

.provider-service-list,
.provider-profile-services-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.provider-service-card {
    border: 1px solid rgba(148, 163, 184, 0.18);
    box-shadow: var(--shadow-soft);
}

.provider-service-card__image,
.provider-service-form-image-preview img {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    border-radius: 1rem;
    border: 1px solid rgba(148, 163, 184, 0.18);
    background: #f8fafc;
}

.provider-service-card__description {
    color: var(--text-soft);
    line-height: 1.65;
}

.provider-service-card__price {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    width: fit-content;
    padding: 0.45rem 0.8rem;
    border-radius: 999px;
    background: rgba(37, 99, 235, 0.08);
    color: var(--brand-dark);
    font-weight: 600;
    font-size: 0.92rem;
}

.provider-service-card__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.provider-service-admin-note {
    padding: 0.9rem 1rem;
    border-radius: 1rem;
    background: rgba(248, 113, 113, 0.08);
    border: 1px solid rgba(248, 113, 113, 0.18);
    color: #991b1b;
    font-size: 0.92rem;
}

.provider-service-empty-state {
    padding: 1.25rem;
    border-radius: 1rem;
    background: linear-gradient(180deg, rgba(239, 246, 255, 0.55), rgba(255, 255, 255, 0.96));
    border: 1px dashed rgba(59, 130, 246, 0.28);
}

.provider-service-form .form-label {
    font-weight: 600;
}

.provider-service-form-image-preview {
    max-width: 320px;
}

.provider-admin-services-table td,
.provider-admin-services-table th {
    vertical-align: middle;
}

.provider-service-admin-actions {
    display: grid;
    gap: 0.5rem;
    min-width: 180px;
}

.provider-profile-services-section {
    background: linear-gradient(180deg, rgba(239, 246, 255, 0.38), rgba(255, 255, 255, 0.98));
}

.provider-public-service-count {
    margin-top: 0.35rem;
}

.provider-landing-page-layout,
.provider-landing-public-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.85fr);
    gap: 1.5rem;
}

.custom-domain-layout {
    align-items: start;
}

.custom-domain-summary-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.custom-domain-status-card,
.custom-domain-dns-card,
.custom-domain-inline-card,
.custom-domain-dashboard-card,
.provider-domain-admin-card {
    border-color: rgba(148, 163, 184, 0.22);
}

.custom-domain-inner-card {
    border: 1px solid rgba(148, 163, 184, 0.18);
    border-radius: 1rem;
    background: rgba(248, 250, 252, 0.78);
}

.custom-domain-field-list {
    display: grid;
    gap: 0.9rem;
}

.custom-domain-field-row {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    padding-bottom: 0.85rem;
    border-bottom: 1px solid rgba(148, 163, 184, 0.18);
}

.custom-domain-field-row:last-child {
    padding-bottom: 0;
    border-bottom: 0;
}

.custom-domain-field-label {
    color: var(--text-soft);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.custom-domain-mono {
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, 'Liberation Mono', 'Courier New', monospace;
}

.provider-domain-admin-list {
    display: grid;
    gap: 1rem;
}

.provider-domain-admin-table td,
.provider-domain-admin-table th {
    vertical-align: middle;
}

.provider-domain-admin-card .form-control,
.provider-domain-admin-card .form-select,
.provider-custom-domain-form .form-control,
.provider-custom-domain-form .form-select {
    border-radius: 0.95rem;
}

.provider-custom-domain-page .review-note-box,
.provider-domain-admin-page .review-note-box {
    margin-bottom: 0;
}

.provider-custom-domain-page .status-pill,
.provider-domain-admin-page .status-pill,
.custom-domain-dashboard-card .status-pill,
.custom-domain-inline-card .status-pill {
    white-space: nowrap;
}

.provider-landing-page-form .form-label {
    font-weight: 600;
}

.provider-landing-page-share-block,
.provider-landing-page-preview-note,
.provider-landing-cta-card,
.provider-landing-public-summary-grid article {
    border-radius: 1rem;
}

.provider-landing-page-share-block {
    padding: 1rem;
    background: linear-gradient(180deg, rgba(239, 246, 255, 0.55), rgba(255, 255, 255, 0.96));
    border: 1px solid rgba(59, 130, 246, 0.18);
}

.provider-landing-page-preview-note {
    padding: 1rem 1.1rem;
    background: rgba(15, 23, 42, 0.03);
    border: 1px solid rgba(15, 23, 42, 0.08);
}

.provider-landing-hero {
    background: linear-gradient(180deg, rgba(239, 246, 255, 0.72), rgba(255, 255, 255, 0.98));
}

.provider-landing-public-identity {
    font-size: 1.05rem;
    font-weight: 600;
    color: #0f172a;
}

.provider-landing-public-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.provider-landing-cta-card {
    background: linear-gradient(180deg, rgba(239, 246, 255, 0.6), rgba(255, 255, 255, 0.98));
}

.provider-landing-services-grid {
    align-items: stretch;
}

.provider-landing-public-summary-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1rem;
}

.landing-page-status-badge {
    white-space: nowrap;
}

.provider-inquiry-form {
    padding: 1rem;
    border: 1px solid rgba(148, 163, 184, 0.18);
    border-radius: 1rem;
    background: rgba(255, 255, 255, 0.86);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.55);
}

.provider-inquiry-selected-service {
    padding: 0.85rem 1rem;
    border-radius: 0.9rem;
    border: 1px solid rgba(37, 99, 235, 0.14);
    background: rgba(239, 246, 255, 0.78);
}

.provider-lead-summary-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
}

.provider-lead-summary-card {
    border: 1px solid rgba(148, 163, 184, 0.14);
}

.provider-lead-card-list {
    display: grid;
    gap: 1rem;
}

.provider-lead-card {
    border: 1px solid rgba(148, 163, 184, 0.14);
}

.provider-lead-card__meta {
    min-width: 190px;
}

.provider-lead-meta-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1rem;
}

.provider-lead-meta-label {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #64748b;
}

.provider-lead-source-slug {
    word-break: break-word;
}

.provider-lead-message-block {
    padding: 1rem 1.1rem;
    border-radius: 1rem;
    background: linear-gradient(180deg, rgba(248, 250, 252, 0.96), rgba(255, 255, 255, 0.98));
    border: 1px solid rgba(148, 163, 184, 0.16);
}

.provider-lead-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.provider-lead-note-card,
.provider-lead-conversion-card,
.provider-lead-inline-note {
    padding: 1rem 1.1rem;
    border-radius: 1rem;
    border: 1px solid rgba(148, 163, 184, 0.16);
    background: rgba(248, 250, 252, 0.9);
}

.provider-lead-note-form,
.provider-lead-conversion-form,
.lead-conversion-reject-form {
    display: grid;
    gap: 0.85rem;
}

.provider-lead-note-actions,
.lead-conversion-actions,
.provider-lead-conversion-inline-form {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem;
}

.provider-lead-linked-request {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.provider-lead-eligibility-note {
    padding: 0.9rem 1rem;
    border-radius: 0.95rem;
    border: 1px solid rgba(245, 158, 11, 0.18);
    background: rgba(255, 251, 235, 0.92);
    color: #92400e;
}

.lead-conversion-card-list {
    display: grid;
    gap: 1rem;
}

.lead-conversion-card {
    border: 1px solid rgba(148, 163, 184, 0.14);
}

.lead-conversion-card__meta {
    min-width: 190px;
}

.lead-conversion-inline-form {
    display: inline-flex;
}

.provider-leads-admin-table td {
    vertical-align: top;
}

.provider-lead-message-preview {
    max-width: 360px;
    white-space: normal;
}

.provider-lead-message-details summary {
    cursor: pointer;
    font-size: 0.875rem;
    color: #1d4ed8;
}

.provider-lead-message-details summary:hover {
    color: #1e40af;
}

.provider-lead-dashboard-card .provider-request-summary-card,
.provider-lead-summary-card {
    background: linear-gradient(180deg, rgba(239, 246, 255, 0.6), rgba(255, 255, 255, 0.98));
}

.referral-code-card {
    border: 1px solid rgba(59, 130, 246, 0.14);
    background: linear-gradient(180deg, rgba(239, 246, 255, 0.72), rgba(255, 255, 255, 0.98));
}

.referral-code-card__value {
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    font-weight: 800;
    letter-spacing: 0.08em;
    color: #1d4ed8;
    word-break: break-word;
}

.referral-share-links {
    display: grid;
    gap: 0.9rem;
    min-width: min(100%, 420px);
}

.referral-share-links__label {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #64748b;
    margin-bottom: 0.25rem;
}

.referral-share-links__value {
    display: block;
    padding: 0.85rem 1rem;
    border-radius: 0.95rem;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(148, 163, 184, 0.16);
    word-break: break-word;
}

.referral-commission-summary-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1rem;
}

.commission-summary-card {
    border: 1px solid rgba(148, 163, 184, 0.14);
    background: linear-gradient(180deg, rgba(248, 250, 252, 0.94), rgba(255, 255, 255, 0.99));
}

.commission-status-badge {
    letter-spacing: 0.04em;
}

.admin-referral-rules-table td,
.admin-referral-commission-table td {
    vertical-align: top;
}

.admin-referral-ledger-action-form {
    display: grid;
    gap: 0.45rem;
    min-width: 220px;
}

@media (max-width: 991.98px) {
    .site-navbar {
        padding: 0.6rem 0;
    }

    .site-navbar__brand {
        max-width: calc(100% - 68px);
    }

    .site-navbar__collapse {
        margin-top: 0.45rem;
        padding-top: 0.8rem;
        border-top: 1px solid rgba(255, 255, 255, 0.14);
    }

    .site-nav-list .nav-item,
    .site-nav-list form {
        width: 100%;
    }

    .site-nav-list .nav-link,
    .site-nav-list .auth-nav-btn,
    .site-nav-list form .btn,
    .site-nav-list > .btn {
        width: 100%;
        justify-content: flex-start;
        white-space: normal;
    }

    .page-action-row .btn,
    .admin-dashboard-quick-links .btn {
        width: 100%;
    }

    .dashboard-action-panel__header {
        display: grid;
        gap: 0.85rem;
    }

.dashboard-action-grid,
.dashboard-action-grid--compact,
.dashboard-actions-grid,
.dashboard-stat-grid,
.admin-action-group-grid {
    grid-template-columns: 1fr;
}

    .dashboard-action-card {
        padding: 0.95rem;
    }

    .provider-service-layout {
        grid-template-columns: 1fr;
    }

    .provider-landing-page-layout,
    .provider-landing-public-layout {
        grid-template-columns: 1fr;
    }

    .custom-domain-field-row {
        padding-bottom: 0.75rem;
    }

    .provider-lead-card__meta {
        min-width: 0;
        text-align: left !important;
    }

    .referral-share-links {
        min-width: 0;
        width: 100%;
    }
}

