/* Butonul de feedback din colțul paginii (FeedbackWidget + js/feedback.js). */
.fb { font-family: inherit; }
.fb-btn {
    position: fixed; right: 18px; bottom: 18px; z-index: 1030;
    width: 46px; height: 46px; border-radius: 50%; border: 0;
    display: inline-flex; align-items: center; justify-content: center;
    background: #2f80d0; color: #fff; font-size: 1.1rem; cursor: pointer;
    box-shadow: 0 8px 22px -8px rgba(0, 0, 0, .55);
    transition: transform .15s ease, background .15s ease;
}
.fb-btn:hover { background: #2569ad; transform: translateY(-1px); }
.fb-btn:focus-visible { outline: 2px solid var(--bs-body-color); outline-offset: 2px; }
.fb-panel {
    position: fixed; right: 18px; bottom: 74px; z-index: 1041;
    width: min(340px, calc(100vw - 24px)); max-height: calc(100vh - 92px); overflow-y: auto;
    background: var(--bs-body-bg); color: var(--bs-body-color);
    border: 1px solid var(--bs-border-color); border-radius: 12px; padding: 16px 16px 14px;
    box-shadow: 0 14px 36px -14px rgba(0, 0, 0, .5);
}
.fb-panel[hidden] { display: none; }
.fb-x {
    position: absolute; top: 8px; right: 8px; width: 28px; height: 28px; border: 0; border-radius: 6px;
    background: transparent; color: var(--bs-secondary-color); cursor: pointer; font-size: .75rem;
}
.fb-x:hover { background: var(--bs-tertiary-bg); color: var(--bs-body-color); }
.fb-titlu { margin: 0 24px 4px 0; font-size: 1rem; font-weight: 600; line-height: 1.3; }
.fb-sub { margin: 0 0 10px; font-size: .84rem; color: var(--bs-secondary-color); line-height: 1.4; }
.fb-label { display: block; margin: 9px 0 3px; font-size: .8rem; font-weight: 500; }
.fb-input {
    display: block; width: 100%; padding: 7px 9px; font: inherit; font-size: .88rem; resize: vertical;
    background: var(--bs-body-bg); color: var(--bs-body-color);
    border: 1px solid var(--bs-border-color); border-radius: 7px;
}
.fb-input:focus { outline: 2px solid #2f80d0; outline-offset: -1px; border-color: transparent; }
.fb-input::placeholder { color: var(--bs-secondary-color); }
.fb-capcana { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.fb-eroare { margin: 9px 0 0; font-size: .82rem; color: var(--bs-danger-text-emphasis, #dc3545); }
.fb-eroare[hidden] { display: none; }
.fb-trimite {
    display: block; width: 100%; margin-top: 11px; padding: 8px 12px; border: 0; border-radius: 7px;
    background: #2f80d0; color: #fff; font: inherit; font-size: .88rem; font-weight: 600; cursor: pointer;
}
.fb-trimite:hover { background: #2569ad; }
.fb-trimite:disabled { opacity: .6; cursor: default; }
.fb-date { margin: 8px 0 0; font-size: .72rem; color: var(--bs-secondary-color); line-height: 1.35; }
.fb-gata { text-align: center; padding: 16px 8px 8px; }
.fb-gata[hidden] { display: none; }
.fb-gata .bi { font-size: 1.9rem; color: #2e9e6b; }
.fb-gata .fb-titlu { margin: 8px 0 4px; }

/* Se dă la o parte când vine caseta de noutăți sau bannerul de cookie, care stau în același colț. */
body:has(.nlp.on) .fb, body:has(#cc-banner) .fb { display: none; }
/* În programele pe tot ecranul stă deasupra barei de stare, iar în modul focus dispare. */
html.gm-pagina .fb-btn { width: 36px; height: 36px; font-size: .9rem; bottom: 40px; right: 10px; }
html.gm-pagina .fb-panel { bottom: 84px; right: 10px; }
html.gm-focus .fb { display: none; }
@media (max-width: 640px) {
    .fb-btn { width: 40px; height: 40px; font-size: .95rem; right: 12px; bottom: 12px; }
    .fb-panel { right: 12px; bottom: 60px; }
}
@media print { .fb { display: none !important; } }

/* „Anunță-mă când apare” (semnalele, 12.11) și butonul „Lipsește ceva?” de lângă rezultate (LipsesteCeva.razor). */
.fb-anunta { display: flex; gap: 7px; align-items: flex-start; margin: 10px 0 0; font-size: .8rem; line-height: 1.35; cursor: pointer; }
.fb-anunta input { margin-top: 2px; }
.jl-lipseste {
    display: inline-flex; align-items: center; gap: 6px; margin-top: 10px; padding: 4px 10px;
    font: inherit; font-size: var(--fs-body, .8rem); color: var(--bs-secondary-color);
    background: transparent; border: 1px dashed var(--bs-border-color); border-radius: 999px; cursor: pointer;
}
.jl-lipseste:hover { color: var(--bs-body-color); border-style: solid; }

/* „Nou, la cererea voastră” (NouLaCerere.razor): 14 zile pe pagina livrată. */
.jl-nou-cerere {
    display: inline-flex; align-items: center; gap: 6px; margin: 0 0 10px; padding: 3px 12px;
    font-size: var(--fs-body, .8rem); font-weight: 600; border-radius: 999px;
    color: #2e9e6b; background: rgba(46, 158, 107, .12); border: 1px solid rgba(46, 158, 107, .35);
}
