/*
 * MBRE Listings — Archive Styles
 * Location: /wp-content/plugins/mbre-listings/assets/mbre-listings-archive.css
 *
 * Rules:
 * - No styles on h1–h6, p, a (Avada manages these globally)
 * - No max-width or padding on .mbre-listings-page (Avada manages outer container)
 * - Montserrat 20px is the body baseline — custom components scale from there
 * - Colours: WR Blue #00A3E0 · Body #1C1C1C · Muted #5A5A5A · Divider #E2E2E2 · Off-White #F7F7F7
 */

/* =============================================================================
   FILTER BAR
============================================================================= */
.mbre-listings-page {
    width: 100%;
    padding-top: 70px;
    padding-bottom: 70px;
}
.awb-breadcrumb-list li span{ color:#fff !important; }
.mbre-filter-bar {
    background: #fff;
    border-bottom: 1px solid #E2E2E2;
    padding: 16px 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.mbre-filter-bar__inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}

/* Search input */
.mbre-filter-bar__search {
    position: relative;
    flex: 1;
    min-width: 220px;
}

.mbre-filter-bar__search-icon {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
}

.mbre-filter-bar__input {
    width: 100% !important;
    height: 44px !important;
    border: 1px solid #E2E2E2 !important;
    border-radius: 4px !important;
    padding: 0 12px 0 38px !important;
    font-size: 16px !important;
    color: #1C1C1C !important;
    background: #fff;
    box-sizing: border-box !important;
    transition: border-color 0.15s;
    outline: none !important;
}

.mbre-filter-bar__input:focus {
    border-color: #00A3E0;
}

.mbre-filter-bar__input::placeholder {
    color: #8A8A8A;
}

/* Select dropdowns */
.mbre-filter-bar__select-wrap {
    position: relative;
}

.mbre-filter-bar__select-wrap::after {
    content: '';
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 5px solid #5A5A5A;
    pointer-events: none;
}

.mbre-filter-bar__select {
    height: 44px;
    border: 1px solid #E2E2E2;
    border-radius: 4px;
    padding: 0 32px 0 12px;
    font-family: 'Montserrat', Arial, sans-serif;
    font-size: 16px;
    color: #1C1C1C;
    background: #fff;
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
    min-width: 130px;
    outline: none;
    transition: border-color 0.15s;
}

.mbre-filter-bar__select:focus {
    border-color: #00A3E0;
}

/* Apply button */
.mbre-filter-bar__apply {
    height: 44px;
    padding: 0 24px;
    background: #00A3E0;
    color: #fff;
    border: none;
    border-radius: 4px;
    font-family: 'Montserrat', Arial, sans-serif;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.15s;
    white-space: nowrap;
}

.mbre-filter-bar__apply:hover {
    background: #0090C8;
}

/* Layout toggle */
.mbre-layout-toggle {
    display: flex;
    border: 1px solid #E2E2E2;
    border-radius: 4px;
    overflow: hidden;
    margin-left: auto;
}

.mbre-layout-btn {
    width: 44px;
    height: 44px;
    border: none;
    border-right: 1px solid #E2E2E2;
    background: #fff;
    color: #5A5A5A;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.12s;
}

.mbre-layout-btn:last-child {
    border-right: none;
}

/* Explicit SVG stroke — do not rely on currentColor (Avada may override button color) */
.mbre-layout-btn svg rect,
.mbre-layout-btn svg path,
.mbre-layout-btn svg circle {
    stroke: #5A5A5A !important;
    fill: none !important;
    transition: stroke 0.12s;
}

.mbre-layout-btn:hover {
    background: #F7F7F7;
}

.mbre-layout-btn:hover svg rect,
.mbre-layout-btn:hover svg path,
.mbre-layout-btn:hover svg circle {
    stroke: #1C1C1C !important;
}

.mbre-layout-btn--active {
    background: #00A3E0;
}

.mbre-layout-btn--active svg rect,
.mbre-layout-btn--active svg path,
.mbre-layout-btn--active svg circle {
    stroke: #ffffff !important;
}

.mbre-layout-btn--active:hover {
    background: #0090C8;
}

.mbre-layout-btn--active:hover svg rect,
.mbre-layout-btn--active:hover svg path,
.mbre-layout-btn--active:hover svg circle {
    stroke: #ffffff !important;
}

/* =============================================================================
   RESULTS HEADER
============================================================================= */

.mbre-results-header {
    padding: 16px 0 12px;
    border-bottom: 1px solid #E2E2E2;
    margin-bottom: 24px;
}

.mbre-result-count {
    font-family: 'Montserrat', Arial, sans-serif;
    font-size: 14px;
    color: #5A5A5A;
}

.mbre-result-count strong {
    color: #1C1C1C;
    font-weight: 600;
}

/* =============================================================================
   STATUS BADGE
============================================================================= */

.mbre-status-badge {
    display: inline-block;
    font-family: 'Montserrat', Arial, sans-serif;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 4px 8px;
    line-height: 1.2;
}

/* On image — positioned absolute */
.mbre-card__image-wrap .mbre-status-badge,
.mbre-row__image-wrap .mbre-status-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 2;
}

/* =============================================================================
   SHARED PILL
============================================================================= */

.mbre-card__pill {
    display: inline-block;
    font-family: 'Montserrat', Arial, sans-serif;
    font-size: 16px;
    font-weight: 400;
    color: #5A5A5A;
}

.mbre-card__pill + .mbre-card__pill::before {
    content: '·';
    margin: 0 6px;
    color: #8A8A8A;
}

/* Community tag — plain span */
.mbre-card__community-tag {
    display: inline-block;
    font-family: 'Montserrat', Arial, sans-serif;
    font-size: 13px;
    font-weight: 500;
    color: #5A5A5A;
    background: #F7F7F7;
    border: 1px solid #E2E2E2;
    border-radius: 3px;
    padding: 3px 8px;
    line-height: 1.4;
    position: relative;  /* sit above stretched-link ::after */
    z-index: 1;
}

/* Community tag when it is also a link */
a.mbre-card__community-tag,
.mbre-card__community-tag--link {
    text-decoration: none;
    color: #5A5A5A;
    transition: background 0.12s, color 0.12s;
}

a.mbre-card__community-tag:hover,
.mbre-card__community-tag--link:hover {
    background: #E8F6FC;
    color: #00A3E0;
    border-color: #00A3E0;
}

/* =============================================================================
   GRID VIEW
============================================================================= */

.mbre-grid-view {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

/* Card — equal height via grid stretch, stretched-link for navigation */
.mbre-card--grid {
    background: #fff;
    border: 1px solid #E2E2E2;
    border-radius: 4px;
    overflow: hidden;
    position: relative;              /* required for stretched-link ::after */
    display: flex;
    flex-direction: column;
    transition: box-shadow 0.18s, transform 0.18s;
}

.mbre-card--grid:hover {
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    transform: translateY(-2px);
}

/* Stretched link — ::after covers the full card area behind all interactive elements */
.mbre-card__stretched-link {
    text-decoration: none;
    color: inherit;
}

.mbre-card__stretched-link::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 0;
}

/* Image — equal height via fixed aspect ratio */
.mbre-card__image-wrap {
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: #F7F7F7;
    flex-shrink: 0;
}

.mbre-card__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s;
}

.mbre-card--grid:hover .mbre-card__image {
    transform: scale(1.03);
}

.mbre-card__image-placeholder {
    width: 100%;
    height: 100%;
    background: #E2E2E2;
}

/* Card body — flex column so footer margin-top:auto pushes it to the bottom */
.mbre-card__body {
    padding: 16px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.mbre-card__price {
    font-size: 20px;
    font-weight: 700;
    color: #00A3E0;
    margin-bottom: 6px;
    line-height: 1.2;
}

.mbre-card__address {
    font-size: 18px;
    font-weight: 500;
    color: #1C1C1C;
    line-height: 1.3;
    margin-bottom: 2px;
}

.mbre-card__city {
    display: block;
    font-size: 14px;
    font-weight: 400;
    color: #5A5A5A;
    margin-bottom: 8px;
}

.mbre-card__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0;
}

.mbre-card__description {
    font-size: 14px;
    color: #5A5A5A;
    line-height: 1.5;
    margin: 10px 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 20px !important;
}

.mbre-card__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;     /* push footer to bottom of card body */
    padding-top: 12px;
    border-top: 1px solid #E2E2E2;
    gap: 8px;
    min-height: 36px;     /* consistent height even when community tag is absent */
}

/* When no community tag, CTA still sits at the right */
.mbre-card__footer:not(:has(.mbre-card__community-tag)) {
    justify-content: flex-end;
}

.mbre-card__cta {
    font-family: 'Montserrat', Arial, sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: #00A3E0;
    white-space: nowrap;
    flex-shrink: 0;
    margin-left: auto;
    text-decoration: none;
    position: relative;   /* sit above stretched-link ::after */
    z-index: 1;
}

.mbre-card__cta:hover {
    color: #0090C8;
    text-decoration: underline;
}

/* =============================================================================
   LIST VIEW
============================================================================= */

.mbre-list-view {
    display: flex;
    flex-direction: column;
}

.mbre-row {
    border-bottom: 1px solid #E2E2E2;
}

.mbre-row:first-child {
    border-top: 1px solid #E2E2E2;
}

/* Row is now a flex container directly — no outer <a> wrapper */
.mbre-row {
    border-bottom: 1px solid #E2E2E2;
    position: relative;   /* required for stretched-link */
    display: flex;
    align-items: stretch;
    transition: background 0.15s;
}

.mbre-row:hover {
    background: #F7F7F7;
}

/* Row image */
.mbre-row__image-wrap {
    position: relative;
    width: 280px;
    flex-shrink: 0;
    overflow: hidden;
    background: #F7F7F7;
}

.mbre-row__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    min-height: 180px;
    transition: transform 0.3s;
}

.mbre-row__link:hover .mbre-row__image {
    transform: scale(1.03);
}

.mbre-row__image-placeholder {
    width: 100%;
    height: 180px;
    background: #E2E2E2;
}

/* Row body */
.mbre-row__body {
    flex: 1;
    padding: 20px 24px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 0;
}

.mbre-row__top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
}

.mbre-row__address-block {
    flex: 1;
    min-width: 0;
}

.mbre-row__address {
    font-family: 'Montserrat', Arial, sans-serif;
    font-size: 18px;
    font-weight: 500;
    color: #1C1C1C;
    line-height: 1.3;
    text-decoration: none;
    display: block;
}

/* When .mbre-row__address is also the stretched link */
a.mbre-row__address.mbre-card__stretched-link {
    color: #1C1C1C;
}

.mbre-row__city {
    font-family: 'Montserrat', Arial, sans-serif;
    font-size: 14px;
    color: #5A5A5A;
    margin-top: 2px;
}

.mbre-row__price {
    font-family: 'Montserrat', Arial, sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: #00A3E0;
    white-space: nowrap;
    flex-shrink: 0;
}

.mbre-row__type {
    font-family: 'Montserrat', Arial, sans-serif;
    font-size: 13px;
    font-weight: 500;
    color: #5A5A5A;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.mbre-row__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0;
    margin: 2px 0;
}

.mbre-row__description {
    font-family: 'Montserrat', Arial, sans-serif;
    font-size: 14px;
    color: #5A5A5A;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin: 4px 0;
}

.mbre-row__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
    padding-top: 10px;
    gap: 8px;
}

.mbre-row__cta {
    font-family: 'Montserrat', Arial, sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: #00A3E0;
    white-space: nowrap;
    text-decoration: none;
    position: relative;
    z-index: 1;
}

.mbre-row__cta:hover {
    color: #0090C8;
    text-decoration: underline;
}

/* =============================================================================
   NO RESULTS
============================================================================= */

.mbre-no-results {
    padding: 48px 24px;
    text-align: center;
    color: #5A5A5A;
    font-family: 'Montserrat', Arial, sans-serif;
    font-size: 16px;
}

/* =============================================================================
   LOADING OVERLAY
============================================================================= */

.mbre-loading {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(255,255,255,0.7);
    z-index: 200;
    align-items: center;
    justify-content: center;
}

.mbre-loading.is-active {
    display: flex;
}

.mbre-loading__spinner {
    width: 36px;
    height: 36px;
    border: 3px solid #E2E2E2;
    border-top-color: #00A3E0;
    border-radius: 50%;
    animation: mbre-spin 0.7s linear infinite;
}

@keyframes mbre-spin {
    to { transform: rotate(360deg); }
}

/* =============================================================================
   RESPONSIVE
============================================================================= */

/* Tablet — 2 grid columns */
@media (max-width: 1024px) {
    .mbre-grid-view {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .mbre-row__image-wrap {
        width: 200px;
    }
}

/* Mobile — 1 column, stack list rows */
@media (max-width: 660px) {
    .mbre-row{ flex-direction:column; }

    .mbre-filter-bar__inner {
        flex-direction: column;
        align-items: stretch;
    }

    .mbre-filter-bar__search {
        min-width: 100%;
    }

    .mbre-filter-bar__select-wrap,
    .mbre-filter-bar__select {
        width: 100%;
        min-width: 100%;
    }

    .mbre-filter-bar__apply {
        width: 100%;
    }

    .mbre-layout-toggle {
        margin-left: 0;
        align-self: flex-end;
    }

    .mbre-grid-view {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    /* Stack list row on mobile */
    .mbre-row__link {
        flex-direction: column;
    }

    .mbre-row__image-wrap {
        width: 100%;
        height: 200px;
    }

    .mbre-row__image {
        height: 200px;
        min-height: unset;
    }

    .mbre-row__body {
        padding: 14px 16px;
    }

    .mbre-row__top {
        flex-direction: column;
        gap: 4px;
    }

    .mbre-row__price {
        font-size: 18px;
    }
}

/* =============================================================================
   MAP VIEW LAYOUT (Phase 3)
============================================================================= */

/* Map view wrapper — explicit height required so Google Maps
   doesn't render into a zero-height container */
#mbre-map-view-wrap {
    /* Height is driven by sidebar content, not the viewport.
       With 3 listings the map is ~270px tall.
       With many listings the sidebar scrolls at max-height and map matches.
       min-height ensures the map is never too small to be useful. */
}

.mbre-list-map-layout {
    display: flex;
    align-items: stretch;
    gap: 0;
    position: relative;
    min-height: 400px;
}

/* Map side — sticky so it stays in view while sidebar scrolls.
   align-self: stretch makes it grow with the sidebar naturally. */
.mbre-list-map-side {
    position: sticky;
    top: 0;
    align-self: flex-start;
    width: 55%;
    /* Height matches sidebar height via JS — see mbre-listings-map.js matchMapHeight() */
    min-height: 400px;
    flex-shrink: 0;
}

.mbre-map-container {
    width: 100%;
    height: 100%;
}

#mbre-list-gmap {
    width: 100%;
    height: 100%;
}

/* Sidebar — height driven by content, capped at viewport so it scrolls */
.mbre-list-cards-side {
    width: 45%;
    max-height: calc(100vh - 160px);
    overflow-y: auto;
    background: #fff;
    border-left: 1px solid #E2E2E2;
}

/* =============================================================================
   MAP POPUP CARD — sibling of .mbre-map-container, position absolute
============================================================================= */

.mbre-listing-popup {
    display: none;
    position: absolute;
    top: 16px;
    left: 16px;
    width: 300px;
    background: #fff;
    border-radius: 4px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.18);
    z-index: 9999;
    overflow: hidden;
}

.mbre-listing-popup.is-visible {
    display: block;
}

.mbre-popup__close {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 28px;
    height: 28px;
    border: none;
    background: rgba(255,255,255,0.9);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    padding: 0;
}

.mbre-popup__close:hover {
    background: #fff;
}

.mbre-popup__image-wrap {
    position: relative;  /* required for badge absolute positioning */
    height: 175px;
    overflow: hidden;
    background: #F7F7F7;
}

.mbre-popup__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.mbre-popup__image-placeholder {
    position: relative;
    width: 100%;
    height: 175px;
    background: #E2E2E2;
}

/* Status badge inside popup image */
.mbre-popup__badge {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 2;
}

.mbre-popup__body {
    padding: 14px 16px 16px;
}

.mbre-popup__price {
    font-family: 'Montserrat', Arial, sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: #00A3E0;
    margin-bottom: 4px;
}

.mbre-popup__address {
    font-family: 'Montserrat', Arial, sans-serif;
    font-size: 15px;
    font-weight: 500;
    color: #1C1C1C;
    line-height: 1.3;
}

.mbre-popup__city {
    font-family: 'Montserrat', Arial, sans-serif;
    font-size: 13px;
    color: #5A5A5A;
    margin-top: 2px;
}

.mbre-popup__meta {
    font-family: 'Montserrat', Arial, sans-serif;
    font-size: 13px;
    color: #5A5A5A;
    margin: 8px 0 6px;
}

.mbre-popup__desc {
    font-family: 'Montserrat', Arial, sans-serif;
    font-size: 13px;
    color: #5A5A5A;
    line-height: 1.5;
    margin-bottom: 12px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.mbre-popup__cta {
    display: inline-block;
    font-family: 'Montserrat', Arial, sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    background: #00A3E0;
    padding: 8px 16px;
    border-radius: 3px;
    text-decoration: none;
    transition: background 0.15s;
}

.mbre-popup__cta:hover {
    background: #0090C8;
    color: #fff;
}

/* =============================================================================
   MAP SIDEBAR CARDS — compact list rows
============================================================================= */

.mbre-map-card {
    display: flex;
    align-items: stretch;
    border-bottom: 1px solid #E2E2E2;
    cursor: pointer;
    transition: background 0.12s;
    outline: none;
}

.mbre-map-card:first-child {
    border-top: 1px solid #E2E2E2;
}

.mbre-map-card:hover {
    background: #F7F7F7;
}

/* Active state: WR Blue left border + off-white background */
.mbre-map-card--active {
    border-left: 3px solid #00A3E0;
    background: #F7F7F7;
}

.mbre-map-card__image-wrap {
    position: relative;  /* required for badge absolute positioning */
    width: 100px;
    flex-shrink: 0;
    overflow: hidden;
    background: #F7F7F7;
}

.mbre-map-card__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    min-height: 80px;
}

.mbre-map-card__image-placeholder {
    width: 100%;
    height: 80px;
    background: #E2E2E2;
}

.mbre-map-card__body {
    flex: 1;
    padding: 10px 12px;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.mbre-map-card__price {
    font-family: 'Montserrat', Arial, sans-serif;
    font-size: 15px;
    font-weight: 700;
    color: #00A3E0;
    line-height: 1.2;
}

.mbre-map-card__address {
    font-family: 'Montserrat', Arial, sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: #1C1C1C;
    line-height: 1.3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.mbre-map-card__city {
    font-family: 'Montserrat', Arial, sans-serif;
    font-size: 12px;
    color: #5A5A5A;
}

.mbre-map-card__meta {
    font-family: 'Montserrat', Arial, sans-serif;
    font-size: 12px;
    color: #5A5A5A;
}

.mbre-map-card__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
    padding-top: 6px;
    border-top: 1px solid #E2E2E2;
    gap: 6px;
    min-height: 30px;
}

.mbre-map-card__cta {
    font-family: 'Montserrat', Arial, sans-serif;
    font-size: 13px;
    font-weight: 600;
    color: #00A3E0;
    text-decoration: none;
    white-space: nowrap;
    margin-left: auto;
    flex-shrink: 0;
}

.mbre-map-card__cta:hover {
    color: #0090C8;
    text-decoration: underline;
}

/* Map card community link — smaller variant */
.mbre-map-card__comm-link {
    font-size: 11px;
    padding: 2px 6px;
}

/* Status badge inside map card image */
.mbre-map-card__badge {
    position: absolute;
    top: 6px;
    left: 6px;
    font-size: 10px;
    padding: 3px 6px;
}

.mbre-map-sidebar__empty {
    padding: 32px 16px;
    font-family: 'Montserrat', Arial, sans-serif;
    font-size: 14px;
    color: #5A5A5A;
    text-align: center;
}

/* =============================================================================
   COUNT PILL — bottom-left of map
============================================================================= */

.mbre-map-count-pill {
    position: absolute;
    bottom: 24px;
    left: 12px;
    background: rgba(255,255,255,0.92);
    border: 1px solid #E2E2E2;
    border-radius: 20px;
    padding: 6px 14px;
    font-family: 'Montserrat', Arial, sans-serif;
    font-size: 13px;
    font-weight: 500;
    color: #1C1C1C;
    z-index: 100;
    pointer-events: none;
    box-shadow: 0 1px 6px rgba(0,0,0,0.1);
}

/* =============================================================================
   MAP RESPONSIVE — stack on mobile
============================================================================= */

@media (max-width: 768px) {
    .mbre-list-map-layout {
        flex-direction: column;
        height: auto;
    }

    .mbre-list-map-side {
        width: 100%;
        height: 400px;
        position: relative;
    }

    .mbre-list-cards-side {
        width: 100%;
        max-height: 400px;
        border-left: none;
        border-top: 1px solid #E2E2E2;
    }

    .mbre-listing-popup {
        left: 8px;
        right: 8px;
        width: auto;
        top: 8px;
    }
}