:root {
    --bupolo-accent: #ffd24a;
    --bupolo-dark: #151718;
    --bupolo-text: #ffffff;
    --bupolo-transition: 1200ms cubic-bezier(0.76, 0, 0.24, 1);
}

* {
    box-sizing: border-box;
}

html,
body {
    width: 100%;
    min-height: 100%;
    margin: 0;
}

body {
    font-family:
        Inter,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;
}

body.public-home {
    overflow: hidden;
    overscroll-behavior: none;
    background: var(--bupolo-dark);
    color: var(--bupolo-text);
}

/*
|--------------------------------------------------------------------------
| Homepage fullscreen
|--------------------------------------------------------------------------
*/

.bupolo-homepage {
    position: relative;
    width: 100%;
    height: 100vh;
    height: 100dvh;
    min-height: 560px;
    overflow: hidden;
    isolation: isolate;
    background: var(--bupolo-dark);
}

.bupolo-slider {
    position: absolute;
    inset: 0;
    z-index: 1;
    overflow: hidden;
}

.bupolo-slides {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    will-change: transform;
    transition: transform var(--bupolo-transition);
}

.bupolo-slide {
    position: relative;
    flex: 0 0 100%;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background: #25292b;
}

/*
|--------------------------------------------------------------------------
| Galerie foto
|--------------------------------------------------------------------------
*/

.bupolo-gallery {
    position: absolute;
    inset: 0;
    z-index: 1;
    overflow: hidden;
    background: #25292b;
}

.bupolo-gallery::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;

    background:
        linear-gradient(
            180deg,
            rgba(0, 0, 0, 0.34) 0%,
            rgba(0, 0, 0, 0.04) 30%,
            rgba(0, 0, 0, 0.08) 52%,
            rgba(0, 0, 0, 0.88) 100%
        );
}

.bupolo-gallery-image {
    position: absolute;
    inset: 0;

    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center;

    opacity: 0;
    transform: scale(1);

    transition:
        opacity 450ms ease,
        transform 7s linear;
}

.bupolo-gallery-image.is-active {
    opacity: 1;
    transform: scale(1.035);
}

/*
|--------------------------------------------------------------------------
| Header
|--------------------------------------------------------------------------
*/

.bupolo-header {
    position: absolute;
    z-index: 20;

    top: 0;
    left: 0;
    right: 0;

    display: flex;
    align-items: center;
    justify-content: space-between;

    padding:
        calc(16px + env(safe-area-inset-top))
        calc(16px + env(safe-area-inset-right))
        0
        calc(16px + env(safe-area-inset-left));

    pointer-events: none;
}

.bupolo-header > * {
    pointer-events: auto;
}

/*
|--------------------------------------------------------------------------
| Logo
|--------------------------------------------------------------------------
*/

.bupolo-logo {
    display: inline-flex;
    align-items: center;
    gap: 9px;

    color: #ffffff;
    text-decoration: none;

    font-size: 22px;
    font-weight: 700;
    letter-spacing: -1px;

    text-shadow: 0 2px 15px rgba(0, 0, 0, 0.45);
}

.bupolo-logo:hover,
.bupolo-logo:focus {
    color: #ffffff;
}

.bupolo-logo-mark {
    display: inline-grid;
    place-items: center;

    width: 32px;
    height: 32px;

    border-radius: 11px 11px 11px 4px;

    background: var(--bupolo-accent);
    color: #171717;

    font-size: 16px;
    font-weight: 800;

    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.22);
}

/*
|--------------------------------------------------------------------------
| Buton burger
|--------------------------------------------------------------------------
*/

.bupolo-menu-button {
    display: inline-grid;
    place-items: center;

    width: 48px;
    height: 48px;
    padding: 0;

    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: 16px;

    background: rgba(18, 20, 21, 0.36);
    color: #ffffff;

    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);

    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);

    cursor: pointer;
    transition:
        background-color 180ms ease,
        transform 180ms ease;
}

.bupolo-menu-button i {
    font-size: 27px;
    line-height: 1;
}

.bupolo-menu-button:hover {
    background: rgba(18, 20, 21, 0.56);
}

.bupolo-menu-button:active {
    transform: scale(0.94);
}

/*
|--------------------------------------------------------------------------
| Panoul anunțului - poziționare de bază
|--------------------------------------------------------------------------
*/

.bupolo-ad-panel {
    position: absolute;
    z-index: 8;

    left: calc(14px + env(safe-area-inset-left));
    right: calc(14px + env(safe-area-inset-right));
    bottom: calc(14px + env(safe-area-inset-bottom));

    color: #ffffff;
}

/*
|--------------------------------------------------------------------------
| Navigare verticală
|--------------------------------------------------------------------------
*/

.bupolo-pagination {
    position: absolute;
    z-index: 15;

    top: 50%;
    right: max(2px, env(safe-area-inset-right));

    display: flex;
    flex-direction: column;
    align-items: center;

    transform: translateY(-50%);
}

.bupolo-pagination-item {
    position: relative;

    width: 44px;
    height: 34px;
    padding: 0;

    border: 0;
    background: transparent;

    cursor: pointer;
}

.bupolo-pagination-item::after {
    content: "";

    position: absolute;
    top: 50%;
    left: 50%;

    width: 4px;
    height: 17px;

    border-radius: 10px;

    background: rgba(255, 255, 255, 0.42);

    transform: translate(-50%, -50%);

    transition:
        height 220ms ease,
        background-color 220ms ease;
}

.bupolo-pagination-item.is-active::after {
    height: 30px;
    background: var(--bupolo-accent);
}

/*
|--------------------------------------------------------------------------
| Meniul - ascuns până adăugăm JavaScript
|--------------------------------------------------------------------------
*/

.bupolo-main-menu {
    position: absolute;
    z-index: 50;
    inset: 0;

    transform: translateX(102%);
    transition: transform 500ms cubic-bezier(0.72, 0, 0.22, 1);

    background: rgba(13, 15, 16, 0.88);
    color: #ffffff;

    backdrop-filter: blur(28px);
    -webkit-backdrop-filter: blur(28px);
}

.bupolo-main-menu.is-open {
    transform: translateX(0);
}

@media (min-width: 768px) {
    .bupolo-header {
        padding-top: 24px;
        padding-left: 28px;
        padding-right: 28px;
    }

    .bupolo-ad-panel {
        left: 28px;
        right: auto;
        bottom: 28px;
        width: min(520px, calc(100% - 80px));
    }

    .bupolo-pagination {
        right: 14px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .bupolo-gallery-image,
    .bupolo-main-menu {
        transition-duration: 1ms;
    }

    .bupolo-gallery-image.is-active {
        transform: none;
    }
}


/*
|--------------------------------------------------------------------------
| Panoul translucid al anunțului
|--------------------------------------------------------------------------
*/

.bupolo-ad-panel {
    padding: 17px;

    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 25px;

    background: rgba(17, 19, 20, 0.68);

    backdrop-filter: blur(20px) saturate(1.25);
    -webkit-backdrop-filter: blur(20px) saturate(1.25);

    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.25);
}

/*
|--------------------------------------------------------------------------
| Categorie, locație și distanță
|--------------------------------------------------------------------------
*/

.bupolo-ad-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;

    margin-bottom: 10px;
}

.bupolo-category,
.bupolo-location {
    display: inline-flex;
    align-items: center;
    gap: 6px;

    color: rgba(255, 255, 255, 0.82);

    font-size: 12px;
    line-height: 1.2;
}

.bupolo-category {
    flex-shrink: 0;

    padding: 6px 9px;

    border-radius: 999px;
    background: rgba(255, 255, 255, 0.14);
}

.bupolo-location {
    min-width: 0;
    justify-content: flex-end;
    text-align: right;
}

.bupolo-category i,
.bupolo-location i {
    font-size: 14px;
}

/*
|--------------------------------------------------------------------------
| Titlu, preț și descriere
|--------------------------------------------------------------------------
*/

.bupolo-ad-title {
    margin: 0;

    color: #ffffff;

    font-size: clamp(23px, 7vw, 30px);
    font-weight: 700;
    line-height: 1.08;
    letter-spacing: -1px;
}

.bupolo-ad-price {
    margin-top: 8px;

    color: var(--bupolo-accent);

    font-size: 22px;
    font-weight: 800;
    line-height: 1.2;
}

.bupolo-ad-description {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;

    margin: 9px 0 14px;

    color: rgba(255, 255, 255, 0.74);

    font-size: 13px;
    line-height: 1.45;
}

/*
|--------------------------------------------------------------------------
| Miniaturi fotografii
|--------------------------------------------------------------------------
*/

.bupolo-thumbnails {
    display: flex;
    align-items: center;
    gap: 8px;

    margin-bottom: 14px;
}

.bupolo-thumbnail {
    flex: 0 0 44px;

    width: 44px;
    height: 44px;
    padding: 0;

    overflow: hidden;

    border: 2px solid transparent;
    border-radius: 12px;

    background: rgba(255, 255, 255, 0.12);

    opacity: 0.62;
    cursor: pointer;

    transition:
        opacity 180ms ease,
        border-color 180ms ease,
        transform 180ms ease;
}

.bupolo-thumbnail img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;
}

.bupolo-thumbnail.is-active {
    border-color: var(--bupolo-accent);
    opacity: 1;
}

.bupolo-thumbnail:active {
    transform: scale(0.92);
}

/*
|--------------------------------------------------------------------------
| Acțiunile anunțului
|--------------------------------------------------------------------------
*/

.bupolo-ad-actions {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 46px 46px;
    gap: 9px;
}

.bupolo-view-button,
.bupolo-action-button {
    min-height: 46px;
    padding: 0;

    border-radius: 15px;

    font-family: inherit;
    cursor: pointer;

    transition:
        transform 180ms ease,
        background-color 180ms ease;
}

.bupolo-view-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    border: 0;

    background: var(--bupolo-accent);
    color: #171717;

    font-size: 14px;
    font-weight: 800;
    line-height: 1;
    text-align: center;
    text-decoration: none;
}

.bupolo-view-button:hover,
.bupolo-view-button:focus {
    color: #171717;
    text-decoration: none;
}

.bupolo-action-button {
    display: inline-grid;
    place-items: center;

    border: 1px solid rgba(255, 255, 255, 0.18);

    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;

    font-size: 19px;
}

.bupolo-action-button:hover {
    background: rgba(255, 255, 255, 0.18);
}

.bupolo-view-button:active,
.bupolo-action-button:active {
    transform: scale(0.95);
}

/*
|--------------------------------------------------------------------------
| Ecrane scunde
|--------------------------------------------------------------------------
*/

@media (max-height: 680px) {
    .bupolo-ad-panel {
        padding: 14px;
        border-radius: 21px;
    }

    .bupolo-ad-description {
        display: none;
    }

    .bupolo-ad-title {
        font-size: 22px;
    }

    .bupolo-thumbnails {
        margin-top: 10px;
        margin-bottom: 10px;
    }
}

@media (min-width: 768px) {
    .bupolo-ad-panel {
        padding: 22px;
    }

    .bupolo-ad-title {
        font-size: 34px;
    }

    .bupolo-ad-description {
        font-size: 14px;
    }
}


/* =========================================================
   MAIN MENU
   ========================================================= */

.bupolo-main-menu {
    position: fixed;
    inset: 0;
    z-index: 2000;

    display: flex;
    flex-direction: column;

    padding:
        max(18px, env(safe-area-inset-top))
        16px
        max(20px, env(safe-area-inset-bottom));

    color: #fff;

    background:
        linear-gradient(
            180deg,
            rgba(15, 18, 17, 0.82) 0%,
            rgba(11, 14, 13, 0.96) 100%
        );

    -webkit-backdrop-filter: blur(24px);
    backdrop-filter: blur(24px);

    transform: translateX(100%);
    opacity: 0;
    visibility: hidden;

    transition:
        transform 500ms cubic-bezier(0.76, 0, 0.24, 1),
        opacity 350ms ease,
        visibility 500ms;
}

.bupolo-main-menu.is-open {
    transform: translateX(0);
    opacity: 1;
    visibility: visible;
}

.bupolo-menu-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.bupolo-menu-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 48px;
    height: 48px;

    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 16px;

    color: #fff;
    background: rgba(255, 255, 255, 0.08);

    font-size: 1.35rem;
    cursor: pointer;
}

.bupolo-menu-content {
    margin-top: 48px;
}

.bupolo-menu-content h2 {
    margin: 0 0 8px;

    font-size: clamp(2rem, 9vw, 3rem);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.04em;
}

.bupolo-menu-content > p {
    margin: 0;

    color: rgba(255, 255, 255, 0.68);
    font-size: 1rem;
}

.bupolo-menu-navigation {
    display: grid;
    gap: 12px;

    margin-top: 36px;
}

.bupolo-menu-option {
    display: flex;
    align-items: center;
    gap: 16px;

    width: 100%;
    min-height: 64px;
    padding: 14px 18px;

    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 18px;

    color: #fff;
    background: rgba(255, 255, 255, 0.07);

    font: inherit;
    font-size: 1rem;
    font-weight: 600;
    text-align: left;

    cursor: pointer;
    transition:
        transform 180ms ease,
        background-color 180ms ease,
        border-color 180ms ease;
}

.bupolo-menu-option i {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 38px;
    height: 38px;

    border-radius: 12px;
    color: #ffd24a;
    background: rgba(255, 210, 74, 0.12);

    font-size: 1.15rem;
}

.bupolo-menu-option:active {
    transform: scale(0.98);
}

.bupolo-login-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;

    width: 100%;
    min-height: 58px;
    margin-top: auto;
    padding: 14px 20px;

    border: 0;
    border-radius: 18px;

    color: #171916;
    background: #ffd24a;

    font: inherit;
    font-size: 1rem;
    font-weight: 800;

    cursor: pointer;
    box-shadow: 0 12px 30px rgba(255, 210, 74, 0.18);
}

@media (hover: hover) {
    .bupolo-menu-option:hover {
        background: rgba(255, 255, 255, 0.12);
        border-color: rgba(255, 210, 74, 0.35);
    }

    .bupolo-menu-button:hover {
        background: rgba(255, 255, 255, 0.14);
    }
}






/* =========================================================
   AUTH MODAL
   ========================================================= */

.bupolo-auth-modal[hidden] {
    display: none;
}

.bupolo-auth-modal {
    position: fixed;
    inset: 0;
    z-index: 3000;

    display: flex;
    align-items: flex-end;
    justify-content: center;

    padding-top: 24px;
}

.bupolo-auth-backdrop {
    position: absolute;
    inset: 0;

    background: rgba(5, 8, 7, 0.72);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);

    opacity: 0;
    transition: opacity 350ms ease;
}

.bupolo-auth-dialog {
    position: relative;
    z-index: 1;

    width: 100%;
    max-height: calc(100dvh - 24px);
    overflow-y: auto;
    overscroll-behavior: contain;

    padding:
        18px
        16px
        max(22px, env(safe-area-inset-bottom));

    color: #fff;

    background:
        linear-gradient(
            180deg,
            rgba(30, 34, 31, 0.98),
            rgba(13, 16, 15, 0.99)
        );

    border: 1px solid rgba(255, 255, 255, 0.14);
    border-bottom: 0;
    border-radius: 28px 28px 0 0;

    box-shadow: 0 -20px 60px rgba(0, 0, 0, 0.45);

    opacity: 0;
    transform: translateY(100%);

    transition:
        transform 450ms cubic-bezier(0.76, 0, 0.24, 1),
        opacity 300ms ease;
}

.bupolo-auth-modal.is-open .bupolo-auth-backdrop {
    opacity: 1;
}

.bupolo-auth-modal.is-open .bupolo-auth-dialog {
    opacity: 1;
    transform: translateY(0);
}

.bupolo-auth-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.bupolo-auth-close {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 44px;
    height: 44px;
    padding: 0;

    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 14px;

    color: #fff;
    background: rgba(255, 255, 255, 0.07);

    font-size: 1.15rem;
    cursor: pointer;
}

.bupolo-auth-content {
    margin-top: 34px;
}

.bupolo-auth-content h2 {
    margin: 0 0 8px;

    font-size: 2rem;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.04em;
}

.bupolo-auth-content > p {
    margin: 0;
    color: rgba(255, 255, 255, 0.65);
}

.bupolo-auth-options {
    display: grid;
    gap: 10px;
    margin-top: 28px;
}

.bupolo-auth-option {
    display: flex;
    align-items: center;
    gap: 14px;

    width: 100%;
    min-height: 58px;
    padding: 12px 16px;

    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 17px;

    color: #fff;
    background: rgba(255, 255, 255, 0.07);

    font: inherit;
    font-size: 0.98rem;
    font-weight: 650;
    text-align: left;

    cursor: pointer;
    transition:
        transform 180ms ease,
        background-color 180ms ease,
        border-color 180ms ease;
}

.bupolo-auth-option i {
    display: inline-flex;
    justify-content: center;

    width: 28px;
    font-size: 1.2rem;
}

.bupolo-auth-option[data-auth-provider="google"] i {
    color: #5c9cff;
}

.bupolo-auth-option[data-auth-provider="facebook"] i {
    color: #4b8cf7;
}

.bupolo-auth-option:active {
    transform: scale(0.98);
}

.bupolo-auth-separator {
    display: flex;
    align-items: center;
    gap: 12px;

    margin: 20px 0;

    color: rgba(255, 255, 255, 0.42);
    font-size: 0.82rem;
}

.bupolo-auth-separator::before,
.bupolo-auth-separator::after {
    content: "";
    flex: 1;
    height: 1px;
    background: rgba(255, 255, 255, 0.12);
}

.bupolo-auth-option-email {
    color: #151714;
    background: #ffd24a;
    border-color: #ffd24a;
}

.bupolo-auth-option-email i {
    color: #151714;
}

.bupolo-auth-content .bupolo-auth-legal {
    margin-top: 20px;

    color: rgba(255, 255, 255, 0.42);
    font-size: 0.75rem;
    line-height: 1.5;
    text-align: center;
}

@media (hover: hover) {
    .bupolo-auth-option:hover {
        background: rgba(255, 255, 255, 0.12);
        border-color: rgba(255, 210, 74, 0.3);
    }

    .bupolo-auth-option-email:hover {
        background: #ffda60;
        border-color: #ffda60;
    }
}

@media (min-width: 768px) {
    .bupolo-auth-modal {
        align-items: center;
        padding: 24px;
    }

    .bupolo-auth-dialog {
        max-width: 480px;
        padding: 22px 24px 26px;

        border-bottom: 1px solid rgba(255, 255, 255, 0.14);
        border-radius: 28px;

        transform: translateY(30px) scale(0.96);
    }

    .bupolo-auth-modal.is-open .bupolo-auth-dialog {
        transform: translateY(0) scale(1);
    }
}






/* =========================================================
   SEARCH MODAL
   ========================================================= */

.bupolo-search-modal[hidden] {
    display: none;
}

.bupolo-search-modal {
    position: fixed;
    inset: 0;
    z-index: 3000;

    display: flex;
    align-items: center;
    justify-content: center;

    color: #fff;
    background: rgba(5, 8, 7, 0.72);

    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);

    opacity: 0;
    visibility: hidden;

    transition:
        opacity 350ms ease,
        visibility 350ms;
}

.bupolo-search-modal.is-open {
    opacity: 1;
    visibility: visible;
}

.bupolo-search-surface {
    display: flex;
    flex-direction: column;

    width: 100%;
    height: 100dvh;
    overflow: hidden;

    padding:
        max(18px, env(safe-area-inset-top))
        16px
        max(20px, env(safe-area-inset-bottom));

    background:
        linear-gradient(
            180deg,
            rgba(29, 34, 30, 0.98),
            rgba(11, 14, 13, 0.99)
        );

    transform: translateX(100%);

    transition:
        transform 500ms cubic-bezier(0.76, 0, 0.24, 1);
}

.bupolo-search-modal.is-open .bupolo-search-surface {
    transform: translateX(0);
}

.bupolo-search-header {
    display: flex;
    align-items: center;
    gap: 16px;
}

.bupolo-search-header h2 {
    margin: 0 0 3px;

    font-size: 1.35rem;
    font-weight: 800;
    letter-spacing: -0.025em;
}

.bupolo-search-header p {
    margin: 0;

    color: rgba(255, 255, 255, 0.55);
    font-size: 0.82rem;
}

.bupolo-search-close {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;

    width: 46px;
    height: 46px;
    padding: 0;

    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 15px;

    color: #fff;
    background: rgba(255, 255, 255, 0.07);

    font-size: 1.25rem;
    cursor: pointer;
}

.bupolo-search-form {
    display: flex;
    align-items: center;
    gap: 12px;

    min-height: 60px;
    margin-top: 30px;
    padding: 0 16px;

    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 18px;

    background: rgba(255, 255, 255, 0.08);

    transition:
        border-color 180ms ease,
        background-color 180ms ease,
        box-shadow 180ms ease;
}

.bupolo-search-form:focus-within {
    border-color: #ffd24a;
    background: rgba(255, 255, 255, 0.11);
    box-shadow: 0 0 0 4px rgba(255, 210, 74, 0.1);
}

.bupolo-search-form > i {
    flex: 0 0 auto;

    color: #ffd24a;
    font-size: 1.15rem;
}

.bupolo-search-form input {
    flex: 1;
    min-width: 0;
    height: 58px;
    padding: 0;

    border: 0;
    outline: 0;

    color: #fff;
    background: transparent;

    font: inherit;
    font-size: 1rem;

    appearance: none;
}

.bupolo-search-form input::placeholder {
    color: rgba(255, 255, 255, 0.42);
}

.bupolo-search-form input::-webkit-search-cancel-button {
    display: none;
}

.bupolo-search-clear {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 6px;
    border: 0;

    color: rgba(255, 255, 255, 0.55);
    background: transparent;

    font-size: 1.05rem;
    cursor: pointer;
}

.bupolo-search-clear[hidden] {
    display: none;
}

.bupolo-search-initial {
    margin-top: 34px;
}

.bupolo-search-initial h3,
.bupolo-search-results-header h3 {
    margin: 0;

    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;

    color: rgba(255, 255, 255, 0.5);
}

.bupolo-search-suggestions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;

    margin-top: 16px;
}

.bupolo-search-suggestions button {
    padding: 10px 15px;

    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 999px;

    color: #fff;
    background: rgba(255, 255, 255, 0.07);

    font: inherit;
    font-size: 0.9rem;
    font-weight: 600;

    cursor: pointer;
}

.bupolo-search-suggestions button::before {
    content: "#";
    margin-right: 3px;
    color: #ffd24a;
}

.bupolo-search-results {
    flex: 1;
    min-height: 0;
    overflow-y: auto;

    margin-top: 28px;
    padding-bottom: 12px;
}

.bupolo-search-results[hidden] {
    display: none;
}

.bupolo-search-results-header {
    display: flex;
    align-items: center;
    justify-content: space-between;

    margin-bottom: 14px;
}

.bupolo-search-results-header span {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.82rem;
}

.bupolo-search-results-list {
    display: grid;
    gap: 10px;
}

.bupolo-search-result {
    display: grid;
    grid-template-columns: 68px minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;

    width: 100%;
    padding: 10px;

    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 17px;

    color: #fff;
    background: rgba(255, 255, 255, 0.06);

    font: inherit;
    text-align: left;
    cursor: pointer;
}

.bupolo-search-result-image {
    width: 68px;
    height: 68px;

    object-fit: cover;
    border-radius: 13px;
}

.bupolo-search-result-content {
    min-width: 0;
}

.bupolo-search-result-title {
    display: block;
    overflow: hidden;

    font-size: 0.95rem;
    font-weight: 700;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.bupolo-search-result-location {
    display: block;
    margin-top: 5px;

    color: rgba(255, 255, 255, 0.5);
    font-size: 0.78rem;
}

.bupolo-search-result-price {
    color: #ffd24a;
    font-size: 0.9rem;
    font-weight: 800;
    white-space: nowrap;
}

.bupolo-search-empty {
    padding: 42px 20px;

    color: rgba(255, 255, 255, 0.55);
    text-align: center;
}

@media (hover: hover) {
    .bupolo-search-suggestions button:hover,
    .bupolo-search-result:hover {
        border-color: rgba(255, 210, 74, 0.35);
        background: rgba(255, 255, 255, 0.11);
    }
}

@media (min-width: 768px) {
    .bupolo-search-modal {
        padding: 24px;
    }

    .bupolo-search-surface {
        width: min(720px, 100%);
        height: min(760px, calc(100dvh - 48px));

        padding: 24px;

        border: 1px solid rgba(255, 255, 255, 0.14);
        border-radius: 28px;

        box-shadow: 0 25px 80px rgba(0, 0, 0, 0.55);

        transform: translateY(30px) scale(0.97);
    }

    .bupolo-search-modal.is-open .bupolo-search-surface {
        transform: translateY(0) scale(1);
    }
}



/* location */

/* =========================================================
   LOCATION MODAL
   ========================================================= */

.bupolo-location-modal[hidden] {
    display: none;
}

.bupolo-location-modal {
    position: fixed;
    inset: 0;
    z-index: 3000;

    display: flex;
    align-items: flex-end;
    justify-content: center;

    padding-top: 24px;

    color: #fff;
    background: rgba(5, 8, 7, 0.72);

    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);

    opacity: 0;
    visibility: hidden;

    transition:
        opacity 350ms ease,
        visibility 350ms;
}

.bupolo-location-modal.is-open {
    opacity: 1;
    visibility: visible;
}

.bupolo-location-surface {
    display: flex;
    flex-direction: column;

    width: 100%;
    max-height: calc(100dvh - 24px);
    overflow: hidden;

    padding:
        18px
        16px
        max(20px, env(safe-area-inset-bottom));

    background:
        linear-gradient(
            180deg,
            rgba(29, 34, 30, 0.98),
            rgba(11, 14, 13, 0.99)
        );

    border: 1px solid rgba(255, 255, 255, 0.14);
    border-bottom: 0;
    border-radius: 28px 28px 0 0;

    box-shadow: 0 -20px 60px rgba(0, 0, 0, 0.45);

    transform: translateY(100%);

    transition:
        transform 500ms cubic-bezier(0.76, 0, 0.24, 1);
}

.bupolo-location-modal.is-open .bupolo-location-surface {
    transform: translateY(0);
}

.bupolo-location-header {
    display: flex;
    align-items: center;
    gap: 15px;
}

.bupolo-location-header h2 {
    margin: 0 0 3px;

    font-size: 1.3rem;
    font-weight: 800;
    letter-spacing: -0.025em;
}

.bupolo-location-header p {
    margin: 0;

    color: rgba(255, 255, 255, 0.55);
    font-size: 0.8rem;
    line-height: 1.4;
}

.bupolo-location-close {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;

    width: 46px;
    height: 46px;
    padding: 0;

    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 15px;

    color: #fff;
    background: rgba(255, 255, 255, 0.07);

    font-size: 1.25rem;
    cursor: pointer;
}

.bupolo-location-content {
    flex: 1;
    min-height: 0;
    overflow-y: auto;

    margin-top: 28px;
    padding-bottom: 18px;
}

.bupolo-current-location-button {
    display: grid;
    grid-template-columns: 46px minmax(0, 1fr) auto;
    align-items: center;
    gap: 13px;

    width: 100%;
    padding: 13px;

    border: 1px solid rgba(255, 210, 74, 0.28);
    border-radius: 18px;

    color: #fff;
    background: rgba(255, 210, 74, 0.08);

    font: inherit;
    text-align: left;

    cursor: pointer;
}

.bupolo-location-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 46px;
    height: 46px;

    border-radius: 14px;
    color: #181a17;
    background: #ffd24a;

    font-size: 1.2rem;
}

.bupolo-current-location-button strong,
.bupolo-current-location-button small {
    display: block;
}

.bupolo-current-location-button strong {
    font-size: 0.96rem;
}

.bupolo-current-location-button small {
    margin-top: 3px;

    color: rgba(255, 255, 255, 0.52);
    font-size: 0.76rem;
}

.bupolo-current-location-button > .bi-chevron-right {
    color: rgba(255, 255, 255, 0.45);
}

.bupolo-location-status {
    margin-top: 10px;
    padding: 11px 13px;

    border-radius: 13px;

    color: rgba(255, 255, 255, 0.75);
    background: rgba(255, 255, 255, 0.06);

    font-size: 0.82rem;
}

.bupolo-location-status[hidden] {
    display: none;
}

.bupolo-location-status.is-success {
    color: #a9e5b4;
    background: rgba(78, 180, 96, 0.12);
}

.bupolo-location-status.is-error {
    color: #ffb5b5;
    background: rgba(220, 65, 65, 0.12);
}

.bupolo-location-separator {
    display: flex;
    align-items: center;
    gap: 12px;

    margin: 24px 0;

    color: rgba(255, 255, 255, 0.38);
    font-size: 0.78rem;
}

.bupolo-location-separator::before,
.bupolo-location-separator::after {
    content: "";
    flex: 1;
    height: 1px;
    background: rgba(255, 255, 255, 0.11);
}

.bupolo-location-field label,
.bupolo-radius-fieldset legend {
    margin-bottom: 9px;

    color: rgba(255, 255, 255, 0.67);
    font-size: 0.82rem;
    font-weight: 650;
}

.bupolo-location-input-wrapper {
    display: flex;
    align-items: center;
    gap: 11px;

    min-height: 56px;
    padding: 0 15px;

    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 17px;

    background: rgba(255, 255, 255, 0.07);
}

.bupolo-location-input-wrapper:focus-within {
    border-color: #ffd24a;
    box-shadow: 0 0 0 4px rgba(255, 210, 74, 0.1);
}

.bupolo-location-input-wrapper > i {
    color: #ffd24a;
}

.bupolo-location-input-wrapper input {
    flex: 1;
    min-width: 0;
    height: 54px;
    padding: 0;

    border: 0;
    outline: 0;

    color: #fff;
    background: transparent;

    font: inherit;
}

.bupolo-location-input-wrapper input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.bupolo-radius-fieldset {
    margin: 24px 0 0;
    padding: 0;
    border: 0;
}

.bupolo-radius-options {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 9px;
}

.bupolo-radius-options label {
    position: relative;
    margin: 0;
}

.bupolo-radius-options input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.bupolo-radius-options span {
    display: flex;
    align-items: center;
    justify-content: center;

    min-height: 46px;
    padding: 8px;

    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 14px;

    color: rgba(255, 255, 255, 0.72);
    background: rgba(255, 255, 255, 0.06);

    font-size: 0.86rem;
    font-weight: 700;

    cursor: pointer;
}

.bupolo-radius-options input:checked + span {
    color: #171916;
    background: #ffd24a;
    border-color: #ffd24a;
}

.bupolo-radius-options input:focus-visible + span {
    outline: 3px solid rgba(255, 210, 74, 0.28);
    outline-offset: 2px;
}

.bupolo-location-privacy {
    display: flex;
    align-items: flex-start;
    gap: 8px;

    margin: 22px 0 0;

    color: rgba(255, 255, 255, 0.42);
    font-size: 0.75rem;
    line-height: 1.45;
}

.bupolo-location-privacy i {
    margin-top: 1px;
    color: #ffd24a;
}

.bupolo-location-save {
    flex: 0 0 auto;

    width: 100%;
    min-height: 56px;
    padding: 13px 18px;

    border: 0;
    border-radius: 17px;

    color: #171916;
    background: #ffd24a;

    font: inherit;
    font-size: 1rem;
    font-weight: 800;

    cursor: pointer;
}

.bupolo-location-save:disabled {
    color: rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.08);

    cursor: not-allowed;
}

@media (hover: hover) {
    .bupolo-current-location-button:hover {
        background: rgba(255, 210, 74, 0.13);
    }

    .bupolo-radius-options span:hover {
        border-color: rgba(255, 210, 74, 0.35);
    }
}

@media (min-width: 768px) {
    .bupolo-location-modal {
        align-items: center;
        padding: 24px;
    }

    .bupolo-location-surface {
        width: min(560px, 100%);
        max-height: min(760px, calc(100dvh - 48px));

        padding: 22px 24px 24px;

        border-bottom: 1px solid rgba(255, 255, 255, 0.14);
        border-radius: 28px;

        transform: translateY(30px) scale(0.97);
    }

    .bupolo-location-modal.is-open .bupolo-location-surface {
        transform: translateY(0) scale(1);
    }

    .bupolo-radius-options {
        grid-template-columns: repeat(4, 1fr);
    }
}








/* =========================================================
   PAGINA ANUNȚULUI - GALERIE FOTO
   ========================================================= */

.bupolo-detail-gallery {
    width: 100%;
}

.bupolo-detail-carousel {
    position: relative;
    overflow: hidden;

    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 24px;

    background: #101211;

    box-shadow:
        0 24px 60px rgba(0, 0, 0, 0.32);
}

.bupolo-detail-carousel .carousel-inner {
    aspect-ratio: 4 / 5;
}

.bupolo-detail-carousel .carousel-item {
    height: 100%;
}

.bupolo-detail-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.bupolo-detail-photo-count {
    position: absolute;
    z-index: 5;
    top: 16px;
    right: 16px;

    display: inline-flex;
    align-items: center;
    gap: 7px;

    min-height: 34px;
    padding: 0 12px;

    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 999px;

    background: rgba(15, 17, 16, 0.68);
    color: #ffffff;

    font-size: 13px;
    font-weight: 700;

    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);

    pointer-events: none;
}

.bupolo-detail-gallery-control {
    top: 50%;
    bottom: auto;

    width: 44px;
    height: 44px;

    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 50%;

    background: rgba(15, 17, 16, 0.66);

    opacity: 1;
    transform: translateY(-50%);

    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.bupolo-detail-gallery-control.carousel-control-prev {
    left: 12px;
}

.bupolo-detail-gallery-control.carousel-control-next {
    right: 12px;
}

.bupolo-detail-gallery-control:hover {
    background: rgba(15, 17, 16, 0.86);
}

.bupolo-detail-gallery-control
.carousel-control-prev-icon,
.bupolo-detail-gallery-control
.carousel-control-next-icon {
    width: 18px;
    height: 18px;
}

.bupolo-detail-thumbnails {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;

    margin-top: 12px;
}

.bupolo-detail-thumbnail {
    overflow: hidden;

    padding: 2px;

    border: 2px solid transparent;
    border-radius: 15px;

    background: rgba(255, 255, 255, 0.08);

    opacity: 0.62;
    cursor: pointer;

    transition:
        opacity 180ms ease,
        border-color 180ms ease,
        transform 180ms ease;
}

.bupolo-detail-thumbnail:hover {
    opacity: 0.9;
}

.bupolo-detail-thumbnail.is-active {
    border-color: var(--bupolo-accent);
    opacity: 1;
}

.bupolo-detail-thumbnail:active {
    transform: scale(0.97);
}

.bupolo-detail-thumbnail img {
    width: 100%;
    aspect-ratio: 4 / 3;

    border-radius: 11px;

    object-fit: cover;
}

@media (min-width: 992px) {
    .bupolo-detail-gallery {
        position: sticky;
        top: 24px;
    }

    .bupolo-detail-carousel .carousel-inner {
        aspect-ratio: 4 / 3;
    }
}
/* =========================================================
   PAGINA ANUNȚULUI - CONȚINUT
   ========================================================= */

.bupolo-ad-detail-body {
    min-height: 100vh;

    background:
        radial-gradient(
            circle at 10% 0%,
            rgba(255, 196, 31, 0.08),
            transparent 32rem
        ),
        #1d2225;

    color: #ffffff;
}

.bupolo-ad-detail-body > header,
.bupolo-ad-detail-body > main {
    max-width: 1180px;
}

.bupolo-detail-card {
    border-color: rgba(255, 255, 255, 0.2) !important;

    background: rgba(28, 33, 36, 0.86);

    box-shadow:
        0 24px 60px rgba(0, 0, 0, 0.2);

    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

.bupolo-detail-title {
    font-size: clamp(28px, 7vw, 42px);
    line-height: 1.08;
    letter-spacing: -0.035em;
}

.bupolo-detail-price {
    letter-spacing: -0.025em;
}

.bupolo-detail-card hr {
    opacity: 0.45;
}

.bupolo-seller-card {
    min-height: 82px;

    border: 1px solid rgba(255, 255, 255, 0.14);

    background: rgba(255, 255, 255, 0.055);
    color: #ffffff;

    cursor: pointer;

    transition:
        background-color 180ms ease,
        border-color 180ms ease,
        transform 180ms ease;
}

.bupolo-seller-card:hover,
.bupolo-seller-card:focus-visible {
    border-color: rgba(255, 196, 31, 0.5);
    background: rgba(255, 255, 255, 0.09);
    color: #ffffff;
}

.bupolo-seller-card:active {
    transform: scale(0.985);
}

.bupolo-seller-avatar {
    display: inline-grid;
    flex: 0 0 48px;
    place-items: center;

    width: 48px;
    height: 48px;

    border-radius: 50%;

    background: var(--bupolo-accent);
    color: #171717;

    font-size: 14px;
    font-weight: 900;
}

.bupolo-detail-location-card {
    border: 1px solid rgba(255, 196, 31, 0.2);

    background: rgba(255, 196, 31, 0.07);
}

.bupolo-detail-location-icon {
    display: inline-grid;
    flex: 0 0 38px;
    place-items: center;

    width: 38px;
    height: 38px;

    border-radius: 12px;

    background: rgba(255, 196, 31, 0.14);
    color: var(--bupolo-accent);

    font-size: 18px;
}

.bupolo-detail-card .btn {
    min-height: 52px;
    border-radius: 14px;
}

.bupolo-detail-card .btn-warning {
    border-color: var(--bupolo-accent);
    background: var(--bupolo-accent);
    color: #171717;
}

.bupolo-detail-card .btn-warning:hover,
.bupolo-detail-card .btn-warning:focus-visible {
    border-color: #ffd75a;
    background: #ffd75a;
    color: #171717;
}

@media (max-width: 380px) {
    .bupolo-detail-card {
        padding: 20px !important;
    }

    .bupolo-detail-card .btn {
        font-size: 14px;
    }
}

@media (min-width: 992px) {
    .bupolo-ad-detail-body > main {
        padding-top: 18px;
    }

    .bupolo-detail-card {
        padding: 28px !important;
    }
}


/* Evaluările vânzătorului */

.bupolo-reactions-summary {
    display: flex;
    align-items: center;
    gap: 8px;

    margin-top: 10px;
}

.bupolo-reaction-stat {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;

    min-height: 30px;
    padding: 0 10px;

    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 999px;

    background: rgba(255, 255, 255, 0.07);
    color: rgba(255, 255, 255, 0.9);

    font-size: 12px;
    line-height: 1;
}

.bupolo-reaction-stat i {
    font-size: 19px;
    line-height: 1;
}

.bupolo-reaction-like i {
    color: #ffffff;
}

.bupolo-reaction-dislike i {
    color: #ff5b62;
}

.bupolo-reaction-stat strong {
    min-width: 8px;

    font-size: 13px;
    font-weight: 800;
    text-align: center;
}

.bupolo-ad-panel .bupolo-reactions-summary {
    margin-top: 12px;
    margin-bottom: 14px;
}

.bupolo-ad-panel .bupolo-thumbnails {
    margin-top: 0;
}

.bupolo-seller-reactions {
    margin-top: 10px;
}







/* Butoanele interactive pentru evaluarea vânzătorului */

button.bupolo-reaction-stat {
    appearance: none;
    font-family: inherit;
    cursor: pointer;

    transition:
        transform 160ms ease,
        border-color 160ms ease,
        background-color 160ms ease,
        box-shadow 160ms ease;
}

button.bupolo-reaction-stat:hover {
    background: rgba(255, 255, 255, 0.14);
    border-color: rgba(255, 255, 255, 0.32);
}

button.bupolo-reaction-stat:active {
    transform: scale(0.94);
}

button.bupolo-reaction-stat:focus-visible {
    outline: 2px solid var(--bupolo-accent);
    outline-offset: 2px;
}

button.bupolo-reaction-like.is-active {
    background: rgba(255, 255, 255, 0.18);
    border-color: rgba(255, 255, 255, 0.7);
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.12);
}

button.bupolo-reaction-dislike.is-active {
    background: rgba(255, 91, 98, 0.16);
    border-color: rgba(255, 91, 98, 0.7);
    box-shadow: 0 0 0 1px rgba(255, 91, 98, 0.12);
}

button.bupolo-reaction-stat:disabled {
    opacity: 0.55;
    cursor: wait;
}







/* Comentariile anunțului */

.bupolo-comments-card {
    padding: 22px;
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: 22px;

    background: rgba(255, 255, 255, 0.025);
}

.bupolo-comments-count {
    display: inline-grid;
    place-items: center;

    min-width: 30px;
    height: 30px;
    padding: 0 9px;

    border-radius: 999px;

    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.9);

    font-size: 13px;
    font-weight: 800;
}

.bupolo-comment-form .form-control {
    min-height: 96px;
    padding: 13px 15px;

    resize: vertical;

    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 15px;

    background: rgba(0, 0, 0, 0.18);
    color: #ffffff;

    box-shadow: none;
}

.bupolo-comment-form .form-control::placeholder {
    color: rgba(255, 255, 255, 0.42);
}

.bupolo-comment-form .form-control:focus {
    border-color: var(--bupolo-accent);
    background: rgba(0, 0, 0, 0.26);
    color: #ffffff;

    box-shadow: 0 0 0 3px rgba(255, 193, 7, 0.12);
}

.bupolo-comments-list {
    display: grid;
    gap: 18px;
}

.bupolo-comment {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.bupolo-comment + .bupolo-comment {
    padding-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.bupolo-comment-avatar {
    display: grid;
    place-items: center;
    flex: 0 0 38px;

    width: 38px;
    height: 38px;

    border-radius: 50%;

    background: rgba(255, 193, 7, 0.16);
    color: var(--bupolo-accent);

    font-size: 17px;
}

.bupolo-comment-content {
    min-width: 0;
    flex: 1;

    color: rgba(255, 255, 255, 0.82);
}

.bupolo-comment-content strong {
    color: #ffffff;
    font-size: 14px;
}

.bupolo-comment-content p {
    overflow-wrap: anywhere;

    font-size: 14px;
    line-height: 1.55;
}

.bupolo-comment-content small {
    flex-shrink: 0;
    font-size: 11px;
}

.bupolo-comment-replies {
    display: grid;
    gap: 16px;

    margin-top: 18px;
    padding-left: 14px;

    border-left: 2px solid rgba(255, 193, 7, 0.28);
}

.bupolo-comment-reply .bupolo-comment-avatar {
    flex-basis: 32px;

    width: 32px;
    height: 32px;

    font-size: 14px;
}

.bupolo-comments-empty {
    display: grid;
    justify-items: center;
    gap: 7px;

    padding: 24px 12px;

    color: rgba(255, 255, 255, 0.8);
    text-align: center;
}

.bupolo-comments-empty > i {
    color: var(--bupolo-accent);
    font-size: 28px;
}

@media (max-width: 575.98px) {
    .bupolo-comments-card {
        padding: 18px;
        border-radius: 20px;
    }
}





/* Răspunsuri la comentarii */

.bupolo-comment-reply-context {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;

    padding: 10px 12px;

    border-left: 3px solid var(--bupolo-accent);
    border-radius: 10px;

    background: rgba(255, 193, 7, 0.1);
    color: rgba(255, 255, 255, 0.82);

    font-size: 13px;
}

.bupolo-comment-reply-context[hidden] {
    display: none;
}

.bupolo-comment-reply-context strong {
    color: #ffffff;
}

.bupolo-comment-reply-context button {
    display: inline-grid;
    place-items: center;

    width: 28px;
    height: 28px;
    padding: 0;

    border: 0;
    border-radius: 50%;

    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;

    cursor: pointer;
}

.bupolo-comment-reply-button {
    display: inline-flex;
    align-items: center;
    gap: 5px;

    padding: 4px 0;

    border: 0;
    background: transparent;
    color: rgba(255, 255, 255, 0.62);

    font-family: inherit;
    font-size: 13px;
    font-weight: 700;

    cursor: pointer;
}

.bupolo-comment-reply-button:hover {
    color: var(--bupolo-accent);
}




/* Reputația pasivă a vânzătorului din slideshow */

.bupolo-ad-seller-summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;

    min-width: 0;
    margin-top: 11px;
    margin-bottom: 13px;
    padding: 8px 0;

    border-top: 1px solid rgba(255, 255, 255, 0.11);
    border-bottom: 1px solid rgba(255, 255, 255, 0.11);

    cursor: default;
}

.bupolo-ad-seller-identity {
    display: flex;
    align-items: center;
    gap: 5px;

    min-width: 0;

    font-size: 11px;
    line-height: 1;
}

.bupolo-ad-seller-identity > i {
    flex: 0 0 auto;

    color: var(--bupolo-accent);
    font-size: 14px;
}

.bupolo-ad-seller-label {
    flex: 0 0 auto;

    color: rgba(255, 255, 255, 0.58);
}

.bupolo-ad-seller-name {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;

    color: rgba(255, 255, 255, 0.9);
    font-weight: 700;
}

.bupolo-ad-seller-reputation {
    display: inline-flex;
    align-items: center;
    gap: 10px;

    flex: 0 0 auto;

    font-size: 12px;
    line-height: 1;
}

.bupolo-ad-seller-like,
.bupolo-ad-seller-dislike {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.bupolo-ad-seller-like i {
    color: #ffffff;
    font-size: 17px;
}

.bupolo-ad-seller-dislike i {
    color: #ff5b62;
    font-size: 17px;
}

.bupolo-ad-seller-reputation strong {
    color: rgba(255, 255, 255, 0.92);
    font-size: 12px;
    font-weight: 800;
}


/* Modalul pentru numărul vânzătorului */

.bupolo-phone-modal {
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 24px;

    background:
        linear-gradient(
            145deg,
            rgba(38, 42, 44, 0.98),
            rgba(24, 27, 29, 0.99)
        );

    color: #ffffff;

    box-shadow:
        0 24px 70px rgba(0, 0, 0, 0.5);
}

.bupolo-phone-modal .modal-header {
    padding: 22px 22px 16px;
}

.bupolo-phone-modal .modal-body {
    padding: 0 22px 22px;
}

.bupolo-phone-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;

    min-height: 130px;

    color: rgba(255, 255, 255, 0.72);
    text-align: center;
}

.bupolo-phone-number {
    display: flex;
    align-items: center;
    justify-content: center;

    min-height: 62px;
    padding: 10px 16px;

    border: 1px solid rgba(255, 193, 7, 0.45);
    border-radius: 16px;

    background: rgba(255, 193, 7, 0.09);
    color: #ffffff;

    font-size: clamp(24px, 7vw, 32px);
    font-weight: 800;
    letter-spacing: 0.5px;
    text-decoration: none;
}

.bupolo-phone-number:hover {
    border-color: var(--bupolo-accent);
    color: var(--bupolo-accent);
}

@media (max-width: 575px) {
    .bupolo-phone-modal {
        margin: 12px;
        border-radius: 22px;
    }
}





/* Pagini autentificare */

.bupolo-auth-page-body {
    min-height: 100vh;

    background:
        radial-gradient(
            circle at top right,
            rgba(255, 193, 7, 0.14),
            transparent 36%
        ),
        linear-gradient(
            160deg,
            #24292c 0%,
            #181b1d 55%,
            #111315 100%
        );

    color: #ffffff;
}

.bupolo-auth-page {
    min-height: 100vh;
    padding:
        max(16px, env(safe-area-inset-top))
        16px
        max(24px, env(safe-area-inset-bottom));
}

.bupolo-auth-page-container {
    width: min(100%, 460px);
    margin: 0 auto;
}

.bupolo-auth-page-header {
    display: flex;
    align-items: center;
    justify-content: space-between;

    min-height: 54px;
    margin-bottom: 24px;
}

.bupolo-auth-back-button {
    display: inline-grid;
    place-items: center;

    width: 42px;
    height: 42px;

    border: 1px solid rgba(255, 255, 255, 0.45);
    border-radius: 50%;

    color: #ffffff;
    font-size: 19px;
    text-decoration: none;

    transition:
        transform 160ms ease,
        background-color 160ms ease;
}

.bupolo-auth-back-button:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
}

.bupolo-auth-back-button:active {
    transform: scale(0.94);
}

.bupolo-auth-page-card {
    padding: 24px;

    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 26px;

    background: rgba(255, 255, 255, 0.055);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);

    box-shadow:
        0 24px 70px rgba(0, 0, 0, 0.32);
}

.bupolo-auth-page-card h1 {
    font-size: clamp(28px, 8vw, 36px);
    font-weight: 800;
    letter-spacing: -1px;
}

.bupolo-auth-page-icon {
    display: inline-grid;
    place-items: center;

    width: 48px;
    height: 48px;

    border-radius: 15px;

    background: rgba(255, 193, 7, 0.14);
    color: var(--bupolo-accent);

    font-size: 23px;
}

.bupolo-auth-page-card .form-label {
    color: rgba(255, 255, 255, 0.86);
    font-size: 14px;
    font-weight: 700;
}

.bupolo-auth-page-card .form-control {
    min-height: 52px;
    padding: 10px 14px;

    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 14px;

    background: rgba(0, 0, 0, 0.18);
    color: #ffffff;

    box-shadow: none;
}

.bupolo-auth-page-card .form-control:focus {
    border-color: var(--bupolo-accent);
    background: rgba(0, 0, 0, 0.25);
    color: #ffffff;

    box-shadow:
        0 0 0 3px rgba(255, 193, 7, 0.12);
}

.bupolo-auth-page-card .form-control.is-invalid {
    border-color: #ff7076;
    background-image: none;
}

.bupolo-auth-page-card .invalid-feedback {
    color: #ff9095;
}

.bupolo-password-field {
    position: relative;
}

.bupolo-password-field .form-control {
    padding-right: 52px;
}

.bupolo-password-field button {
    position: absolute;
    top: 50%;
    right: 8px;

    display: inline-grid;
    place-items: center;

    width: 38px;
    height: 38px;
    padding: 0;

    border: 0;
    border-radius: 11px;

    background: transparent;
    color: rgba(255, 255, 255, 0.62);

    font-size: 18px;
    cursor: pointer;

    transform: translateY(-50%);
}

.bupolo-password-field button:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
}

.bupolo-auth-page-card .form-check-input {
    border-color: rgba(255, 255, 255, 0.35);
    background-color: rgba(0, 0, 0, 0.2);
}

.bupolo-auth-page-card .form-check-input:checked {
    border-color: var(--bupolo-accent);
    background-color: var(--bupolo-accent);
}

.bupolo-auth-page-card .form-check-label {
    color: rgba(255, 255, 255, 0.7);
    font-size: 13px;
}

.bupolo-auth-page-footer {
    display: flex;
    justify-content: center;
    gap: 6px;

    margin-top: 24px;

    color: rgba(255, 255, 255, 0.62);
    font-size: 14px;
    text-align: center;
}

.bupolo-auth-page-footer a {
    color: var(--bupolo-accent);
    font-weight: 800;
    text-decoration: none;
}

@media (min-width: 768px) {
    .bupolo-auth-page {
        display: grid;
        align-items: center;
        padding: 32px;
    }

    .bupolo-auth-page-card {
        padding: 32px;
    }
}






/* Corectarea câmpurilor completate automat de browser */

.bupolo-auth-page-card {
    color-scheme: dark;
}

.bupolo-auth-page-card input.form-control:-webkit-autofill,
.bupolo-auth-page-card input.form-control:-webkit-autofill:hover,
.bupolo-auth-page-card input.form-control:-webkit-autofill:focus,
.bupolo-auth-page-card input.form-control:-webkit-autofill:active {
    border-color: rgba(255, 255, 255, 0.2) !important;

    -webkit-text-fill-color: #ffffff !important;
    caret-color: #ffffff;

    -webkit-box-shadow:
        0 0 0 1000px #202426 inset !important;

    box-shadow:
        0 0 0 1000px #202426 inset !important;

    transition:
        background-color 9999s ease-out 0s;
}

.bupolo-auth-page-card input.form-control:autofill {
    border-color: rgba(255, 255, 255, 0.2) !important;
    background-color: #202426 !important;
    color: #ffffff !important;

    box-shadow:
        0 0 0 1000px #202426 inset !important;
}

.bupolo-password-field button {
    z-index: 3;
}





/* Poziționarea formularului de logout în meniul principal */

.bupolo-logout-form {
    width: 100%;
    margin-top: auto;
    padding-top: 14px;
}

.bupolo-logout-form .bupolo-login-button {
    margin-top: 0;
}




/* Destinatarul unui răspuns */

.bupolo-comment-reply-target {
    display: inline-flex;
    align-items: center;
    gap: 5px;

    margin-top: 8px;

    color: rgba(255, 255, 255, 0.5);

    font-size: 11px;
    line-height: 1.3;
}

.bupolo-comment-reply-target i {
    color: var(--bupolo-accent);
    font-size: 13px;
}

.bupolo-comment-reply-target strong {
    color: rgba(255, 255, 255, 0.78);
    font-size: inherit;
}
