/* ════════ Tema TirePro (cerere user 2026-11-19): aceeași structură ca tema comună (TRXNovaErp.SharedWeb/app.css), dar pe
   NEGRU-ALBASTRU închis + albastru (culorile logo-ului), în loc de indigo / mov. Doar culori — nicio regulă de layout aici.
   Se aplică prin <body class="tema-tirepro"> (App.razor), deci bate și stilurile din pagina de login. ════════ */
body.tema-tirepro {
    --fc-indigo: #0b111d;
    --fc-side: #0d1524;
    --fc-flyout: #111b2e;
    --fc-accent: #2f7df6;
    --fc-indigo-in: #1d5fd6;
    --fc-grad: linear-gradient(135deg, #1657d0 0%, #3b8cff 100%);
    --fc-grad-col: linear-gradient(180deg, #1657d0 0%, #4aa3ff 100%);
    --fc-lav: #eaf2ff;
    --fc-line: #e3e8f1;
    --fc-umbra: 0 10px 30px rgba(10, 25, 60, .08);
    --fc-umbra-sm: 0 2px 8px rgba(10, 25, 60, .07);
}

/* Bara de sus + meniul lateral + submeniul */
body.tema-tirepro .fc-topbar { background: #0b111d; }
body.tema-tirepro .fc-sidebar { background: linear-gradient(180deg, #0b111d 0%, #0e1727 60%, #111d33 100%); }
body.tema-tirepro .fc-flyout { background: #111b2e; }
body.tema-tirepro .fc-rail-sect { color: #9fb0cc; }
body.tema-tirepro .fc-rail-item.active { background: linear-gradient(135deg, #1657d0 0%, #3b8cff 100%); box-shadow: 0 8px 18px rgba(0, 20, 70, .45); }
body.tema-tirepro .fc-rail-sub.active { border-left-color: #5aa2ff; }
body.tema-tirepro .fc-rail-sub.active .fc-rail-sub-dot { background: #7ab6ff; box-shadow: 0 0 0 3px rgba(122, 182, 255, .25); }
body.tema-tirepro .fc-side-val path:first-child { fill: rgba(47, 125, 246, .14); }
body.tema-tirepro .fc-side-val path:last-child  { fill: rgba(255, 122, 26, .10); }
body.tema-tirepro .fc-brand-ver { color: #9fb0cc; }
body.tema-tirepro .fc-avatar { background: linear-gradient(135deg, #1657d0, #3b8cff); }
body.tema-tirepro .fc-kpi.accent-purple .fc-kpi-ic { background: linear-gradient(135deg, #1657d0, #3b8cff); }
body.tema-tirepro .bo-btn.orange { box-shadow: 0 4px 12px rgba(22, 87, 208, .28); }

/* Login */
body.tema-tirepro .bol-bg { background: linear-gradient(160deg, #eef2f8 0%, #e3e9f3 45%, #f2f5fa 100%); color: #101826; }
body.tema-tirepro .bol-fundal path:nth-child(1) { fill: rgba(47, 125, 246, .10); }
body.tema-tirepro .bol-fundal path:nth-child(2) { fill: rgba(13, 21, 36, .07); }
body.tema-tirepro .bol-card { background: #f7f9fc; box-shadow: 0 30px 70px rgba(10, 20, 45, .22), 0 2px 6px rgba(10, 20, 45, .08); }
body.tema-tirepro .bol-brand {
    background:
        radial-gradient(circle at 75% 0%, rgba(47, 125, 246, .45) 0%, transparent 55%),
        radial-gradient(circle at 100% 100%, rgba(255, 110, 20, .22) 0%, transparent 45%),
        linear-gradient(165deg, #0b111d 0%, #0f1a2e 55%, #070b13 100%);
}
body.tema-tirepro .bol-bara { background: linear-gradient(90deg, #3b8cff, #ff7a1a); }
body.tema-tirepro .bol-slogan { color: #e8eefa; }
body.tema-tirepro .bol-brand-val path:nth-child(1) { fill: rgba(47, 125, 246, .16); }
body.tema-tirepro .bol-brand-val path:nth-child(2) { fill: rgba(90, 160, 255, .12); }
body.tema-tirepro .bol-brand-ic { stroke: #5aa2ff; }
body.tema-tirepro .bol-form h1, body.tema-tirepro .bol-label, body.tema-tirepro .bol-input { color: #101826; }
body.tema-tirepro .bol-label .fc-ic, body.tema-tirepro .bol-ic-st, body.tema-tirepro .bol-ic-dr, body.tema-tirepro .bol-ochi { color: #1b2740; }
body.tema-tirepro .bol-input { border-color: #d5dcea; }
body.tema-tirepro .bol-input:focus { border-color: #2f7df6; box-shadow: 0 0 0 4px rgba(47, 125, 246, .16); }
body.tema-tirepro .bol-btn { background: linear-gradient(90deg, #2f7df6 0%, #1657d0 55%, #0f3f9e 100%); }
body.tema-tirepro .bol-btn-out { border-color: #b9cdf0; color: #1657d0; }
body.tema-tirepro .bol-btn-out .fc-ic { color: #2f7df6; }
body.tema-tirepro .bol-subsol { color: #4a566e; }

/* ── Pagini TirePro (autovehicule, servicii, lucrători) ── */
.tp-nr { font-family: Consolas, "Courier New", monospace; font-weight: 700; letter-spacing: .04em; white-space: nowrap; }
.bo-form-row input.tp-nr-input { text-transform: uppercase; font-family: Consolas, "Courier New", monospace; font-size: 1.25rem; letter-spacing: .06em; }
.tp-doua { flex: 1; display: flex; gap: 8px; min-width: 0; }
.tp-doua > input { flex: 1; min-width: 0; }
.tp-anv { flex: 1; display: flex; align-items: center; gap: 6px; }
.tp-anv input { width: 84px; flex: none; }
.tp-anv select { width: 84px; flex: none; }
.tp-anv span { color: var(--fc-muted); font-weight: 700; }
.tp-client-nou { flex: 1; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; min-width: 0; }
.tp-client-nou > input:first-child { grid-column: 1 / -1; }
.tp-client-nou > button { grid-column: 1 / -1; justify-self: start; }
.tp-nota { color: var(--fc-muted); font-size: .82rem; }
.tp-sect { margin: 16px 0 8px; font-weight: 700; color: var(--fc-ink); }
.tp-diam-grila { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }
.tp-diam { display: flex; flex-direction: column; gap: 3px; font-size: .8rem; font-weight: 700; color: var(--fc-muted); }
.tp-diam input { width: 100%; min-width: 0; }
.tp-comp { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; }
.tp-comp-den { flex: 1; min-width: 0; font-weight: 600; color: var(--fc-ink); }
.tp-comp input { width: 84px; flex: none; }
.tp-total { margin-top: 12px; padding: 12px 14px; border-radius: var(--fc-raza-sm); background: var(--fc-lav); color: var(--fc-ink); }
.tp-total select { width: auto; margin: 0 4px; }
.tp-pastila { display: inline-block; margin-left: 8px; padding: 2px 9px; border-radius: 999px; background: var(--fc-lav); color: var(--fc-indigo-in);
    font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; vertical-align: middle; }
.tp-tarife { color: var(--fc-muted); font-size: .88rem; }
.tp-din-existenti { max-width: 260px; }
@media (max-width: 768px) {
    .tp-doua { flex-direction: column; }
    .tp-diam-grila { grid-template-columns: repeat(3, 1fr); }
    .tp-anv input, .tp-anv select { width: auto; flex: 1; min-width: 0; min-height: 44px; }
    .tp-comp input { min-height: 44px; }
    .tp-client-nou { grid-template-columns: 1fr; }
    .tp-din-existenti { max-width: none; width: 100%; min-height: 44px; }
}
.tp-diam input, .tp-comp input, .tp-anv input { padding-left: 10px; padding-right: 6px; }

/* ── Devize: lista + ecranul devizului ── */
.dv-filtre { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.dv-filtru { border: 1px solid var(--fc-line); background: #fff; color: var(--fc-muted); border-radius: 999px; padding: 7px 14px; font-weight: 600;
    font-size: .88rem; cursor: pointer; white-space: nowrap; }
.dv-filtru b { margin-left: 4px; color: var(--fc-ink); }
.dv-filtru.activ { background: var(--fc-indigo-in); border-color: var(--fc-indigo-in); color: #fff; }
.dv-filtru.activ b { color: #fff; }
.dv-stare { display: inline-block; padding: 3px 11px; border-radius: 999px; font-size: .78rem; font-weight: 700; white-space: nowrap;
    background: #eef1f6; color: #3d4860; }
.dv-stare.dv-aprobat   { background: #e6f0ff; color: #1d5fd6; }
.dv-stare.dv-lucru     { background: #fff1dc; color: #b45309; }
.dv-stare.dv-asteptare { background: #f3e8ff; color: #7e22ce; }
.dv-stare.dv-finalizat { background: #dcfce7; color: #15803d; }
.dv-stare.dv-incasat   { background: #15803d; color: #fff; }
.dv-stare.dv-anulat    { background: #fde8e8; color: #b42318; }

.dv-pagina { display: flex; flex-direction: column; min-height: 0; }
.dv-cap { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.dv-cap h1 { margin: 0; }
.dv-cap > .bo-msg-eroare, .dv-cap > .bo-msg-ok { flex: 0 0 100%; margin: 0; }
.dv-corp { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 16px; align-items: start; padding-bottom: 24px; }
.dv-doc { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.dv-card { background: var(--fc-card); border: 1px solid var(--fc-line); border-radius: var(--fc-raza); padding: 14px 16px; box-shadow: var(--fc-umbra-sm); }
.dv-eticheta { font-size: .78rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--fc-muted); margin: 4px 0 8px; }

.dv-masina { display: flex; align-items: center; gap: 14px; }
.dv-placa { font-family: Consolas, "Courier New", monospace; font-weight: 800; font-size: 1.35rem; letter-spacing: .06em; padding: 6px 14px;
    border: 2px solid var(--fc-ink); border-radius: 8px; background: #fff; color: var(--fc-ink); white-space: nowrap; }
.dv-masina-txt { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; color: var(--fc-muted); }
.dv-masina-txt b { color: var(--fc-ink); font-size: 1.02rem; }
.dv-cauta-masina { position: relative; display: flex; flex-direction: column; gap: 8px; }
.dv-cauta-masina input { width: 100%; height: 54px; padding: 0 16px; font-size: 1.3rem; text-transform: uppercase; border: 2px solid var(--fc-line);
    border-radius: var(--fc-raza-sm); outline: none; font-family: Consolas, "Courier New", monospace; letter-spacing: .06em; }
.dv-cauta-masina input:focus { border-color: var(--fc-accent); }
.dv-potriviri { display: flex; flex-direction: column; gap: 4px; }
.dv-potriviri button { display: flex; align-items: center; gap: 12px; text-align: left; border: 1px solid var(--fc-line); background: #fff; border-radius: var(--fc-raza-sm);
    padding: 11px 14px; cursor: pointer; color: var(--fc-muted); font-size: .95rem; }
.dv-potriviri button .tp-nr { color: var(--fc-ink); font-size: 1.05rem; }
.dv-potriviri button:first-child { border-color: var(--fc-accent); background: var(--fc-lav); }
.dv-rand { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 12px; }
.dv-rand label { display: flex; flex-direction: column; gap: 4px; font-size: .78rem; font-weight: 700; color: var(--fc-muted); }
.dv-rand select, .dv-rand input { height: 42px; padding: 0 10px; border: 1px solid var(--fc-line); border-radius: var(--fc-raza-sm); font-size: 1rem; background: #fff; color: var(--fc-ink); }
.dv-rand select { width: 92px; } .dv-rand input[type=number] { width: 120px; }
.dv-rand .dv-obs { flex: 1 1 100%; min-width: 180px; } .dv-rand .dv-obs input { width: 100%; }
.dv-anv { display: inline-flex; align-items: center; gap: 5px; }
.dv-rand .dv-anv input[type=number] { width: 76px; text-align: center; }
.dv-rand .dv-anv select { width: 72px; }
.dv-anv i { font-style: normal; font-weight: 700; color: var(--fc-muted); font-size: 1rem; }
.bo-btn.dv-spate-btn { min-height: 42px; white-space: nowrap; }
.dv-sezon { display: flex; flex-direction: column; gap: 4px; font-size: .78rem; font-weight: 700; color: var(--fc-muted); }
.tp-sezon { flex: 1; display: flex; flex-wrap: wrap; gap: 6px; }
.dv-sezon > div { display: flex; gap: 6px; align-items: center; min-height: 42px; }
@media (max-width: 768px) {
    .dv-rand .dv-anv input[type=number], .dv-rand .dv-anv select { width: auto; flex: 1; min-width: 0; height: 44px; }
    .dv-anv { display: flex; }
    .dv-rand label { flex: 1 1 100%; }
}

.dv-echipa { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.dv-echipa .dv-eticheta { margin: 0 4px 0 0; }
.dv-lucr { border: 1px solid var(--fc-line); background: #fff; color: var(--fc-muted); border-radius: 999px; padding: 8px 16px; font-weight: 700;
    font-size: .92rem; cursor: pointer; white-space: nowrap; }
.dv-lucr.mic { padding: 5px 12px; font-size: .82rem; }
.dv-lucr.activ { background: var(--fc-indigo-in); border-color: var(--fc-indigo-in); color: #fff; }
.dv-lucr:disabled { cursor: default; }

.dv-linii { padding: 6px 16px 14px; }
.dv-gol { margin: 0; padding: 22px 4px; text-align: center; color: var(--fc-faint); }
.dv-linie { padding: 12px 0; border-bottom: 1px solid var(--fc-line); }
.dv-linie-sus { display: flex; align-items: center; gap: 10px; }
.dv-den { flex: 1; min-width: 0; font-weight: 700; color: var(--fc-ink); }
.dv-val { font-weight: 800; color: var(--fc-ink); white-space: nowrap; font-variant-numeric: tabular-nums; }
.dv-x { border: 0; background: none; color: var(--fc-faint); font-size: 1rem; width: 34px; height: 34px; border-radius: 8px; cursor: pointer; }
.dv-linie-jos { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 8px; }
.dv-cant { display: inline-flex; align-items: stretch; border: 1px solid var(--fc-line); border-radius: var(--fc-raza-sm); overflow: hidden; background: #fff; }
.dv-cant button { width: 40px; border: 0; background: var(--fc-lav); color: var(--fc-indigo-in); font-size: 1.25rem; font-weight: 700; cursor: pointer; }
.dv-cant input { width: 52px; height: 40px; border: 0; text-align: center; font-size: 1.02rem; font-weight: 700; color: var(--fc-ink); -moz-appearance: textfield; }
.dv-cant input::-webkit-outer-spin-button, .dv-cant input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.dv-mic { display: inline-flex; align-items: center; gap: 5px; color: var(--fc-muted); font-weight: 600; }
.dv-mic input { width: 84px; height: 40px; padding: 0 8px; border: 1px solid var(--fc-line); border-radius: var(--fc-raza-sm); text-align: right; font-size: .98rem; color: var(--fc-ink); }
.dv-mic input[max="100"] { width: 60px; }
.dv-linie-lucr { display: flex; flex-wrap: wrap; gap: 6px; margin-left: auto; }
.dv-total { display: flex; justify-content: space-between; align-items: baseline; padding-top: 14px; color: var(--fc-muted); font-weight: 600; }
.dv-total b { font-size: 1.6rem; color: var(--fc-ink); font-variant-numeric: tabular-nums; }
.dv-actiuni { display: flex; flex-wrap: wrap; gap: 8px; }
.dv-actiuni .bo-btn { min-height: 48px; }
.bo-btn.dv-sterge { color: #b42318; margin-left: auto; }

.dv-servicii { background: var(--fc-card); border: 1px solid var(--fc-line); border-radius: var(--fc-raza); padding: 14px 16px; box-shadow: var(--fc-umbra-sm);
    position: sticky; top: 12px; max-height: calc(100vh - var(--fc-top) - 40px); overflow-y: auto; overscroll-behavior: contain; }
.dv-cauta-serv { width: 100%; height: 42px; padding: 0 12px; border: 1px solid var(--fc-line); border-radius: var(--fc-raza-sm); font-size: .98rem; margin-bottom: 8px; }
.dv-grila { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; margin-bottom: 12px; }
.dv-tigla { display: flex; flex-direction: column; justify-content: space-between; gap: 8px; min-height: 76px; padding: 10px 12px; text-align: left;
    border: 1px solid var(--fc-line); border-radius: var(--fc-raza-sm); background: #fff; color: var(--fc-ink); font-weight: 600; font-size: .93rem; cursor: pointer; }
.dv-tigla b { color: var(--fc-indigo-in); font-size: 1.02rem; font-variant-numeric: tabular-nums; }
.dv-tigla.pachet { background: var(--fc-grad); border-color: transparent; color: #fff; }
.dv-tigla.pachet b { color: #fff; }
.dv-tigla.pus { border-color: var(--fc-accent); background: var(--fc-lav); }
.dv-tigla:active { transform: scale(.98); }
@media (hover: hover) and (pointer: fine) {
    .dv-tigla:hover { border-color: var(--fc-accent); }
    .dv-x:hover { background: #fde8e8; color: #b42318; }
    .dv-potriviri button:hover { border-color: var(--fc-accent); }
}
@media (max-width: 1000px) {
    .dv-corp { grid-template-columns: 1fr; }
    .dv-servicii { position: static; max-height: none; }
}
@media (max-width: 768px) {
    .dv-masina { flex-wrap: wrap; }
    .dv-linie-lucr { margin-left: 0; width: 100%; }
    .dv-lucr.mic { padding: 9px 14px; font-size: .88rem; }
    .dv-x { width: 44px; height: 44px; }
    .dv-cant button { width: 46px; } .dv-cant input { height: 44px; } .dv-mic input { height: 44px; }
    .dv-actiuni .bo-btn { flex: 1 1 46%; }
    .bo-btn.dv-sterge { margin-left: 0; }
    .dv-grila { grid-template-columns: repeat(2, 1fr); }
}
.tp-bifa { flex: 0 0 auto !important; display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--fc-ink); white-space: nowrap; }

/* ── Panou ── */
.pn-actiuni { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.pn-actiuni .bo-btn { min-height: 46px; display: inline-flex; align-items: center; text-decoration: none; }
.pn-doua { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 16px; align-items: start; }
.pn-gol { margin: 0; padding: 14px 4px; color: var(--fc-faint); }
.pn-rand { display: flex; align-items: center; gap: 12px; width: 100%; padding: 11px 6px; border: 0; border-bottom: 1px solid var(--fc-line); background: none;
    text-align: left; cursor: pointer; color: var(--fc-ink); font: inherit; }
.pn-rand .tp-nr { flex: none; min-width: 104px; }
.pn-rand-txt { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.pn-rand-txt b, .pn-rand-txt small { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pn-rand-txt small { color: var(--fc-muted); font-size: .82rem; }
.pn-suma { flex: none; font-variant-numeric: tabular-nums; }
.pn-om { display: flex; align-items: center; gap: 12px; padding: 9px 6px; }
.pn-om-nume { flex: 0 0 130px; font-weight: 700; color: var(--fc-ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pn-bara { flex: 1; height: 10px; border-radius: 999px; background: var(--fc-lav); overflow: hidden; }
.pn-bara i { display: block; height: 100%; border-radius: 999px; background: var(--fc-grad); }
.pn-om-val { flex: none; display: flex; flex-direction: column; align-items: flex-end; font-variant-numeric: tabular-nums; }
.pn-om-val small { color: var(--fc-muted); font-size: .8rem; }
a.fc-kpi { text-decoration: none; }
@media (hover: hover) and (pointer: fine) { .pn-rand:hover { background: var(--fc-lav); } }
@media (max-width: 1000px) { .pn-doua { grid-template-columns: 1fr; } }
@media (max-width: 768px) {
    .pn-rand { flex-wrap: wrap; min-height: 56px; }
    .pn-rand .tp-nr { min-width: 0; }
    .pn-actiuni .bo-btn { flex: 1 1 46%; justify-content: center; }
    .pn-om-nume { flex-basis: 96px; }
}

/* Deviz: rampa + scanarea cardului lucrătorului */
.dv-tag { margin-left: auto; width: 210px; height: 40px; padding: 0 12px; border: 1px dashed var(--fc-accent); border-radius: 999px; font-size: .9rem;
    background: var(--fc-lav); color: var(--fc-ink); outline: none; }
.dv-tag:focus { border-style: solid; background: #fff; }
.dv-tag-msg { flex: 0 0 100%; font-size: .88rem; font-weight: 600; color: #b42318; }
.dv-tag-msg.ok { color: #15803d; }
@media (max-width: 768px) { .dv-tag { margin-left: 0; width: 100%; height: 44px; } }
.pn-rand-txt small.pn-cine { color: var(--fc-ink); font-weight: 600; }
.dv-lucr.ocupata { background: #f1f3f7; color: var(--fc-faint); border-style: dashed; cursor: not-allowed; }
.dv-lucr.mic:disabled.activ { opacity: 1; }
.dv-lucr.dv-lucr-edit { border-style: dashed; background: none; color: var(--fc-muted); }

/* ── Hotel anvelope: fereastra setului, harta, depozite ── */
.ht-masina { margin-bottom: 14px; }
.ht-rand { flex: 1; display: flex; flex-wrap: wrap; align-items: center; gap: 10px; min-width: 0; }
.ht-miscare { display: flex; flex-wrap: wrap; gap: 12px; padding: 6px 0; border-bottom: 1px solid var(--fc-line); font-size: .9rem; }
.ht-miscare b { min-width: 64px; }
.ht-elibereaza { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 16px; }
.ht-legenda { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; margin-bottom: 16px; color: var(--fc-muted); font-size: .9rem; }
.ht-legenda span { display: inline-flex; align-items: center; gap: 6px; }
.ht-legenda .ht-loc { width: 18px; height: 18px; min-width: 0; padding: 0; cursor: default; }
.ht-legenda b { margin-left: auto; color: var(--fc-ink); }
.ht-rafturi { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 16px; }
.ht-raft { background: var(--fc-card); border: 1px solid var(--fc-line); border-radius: var(--fc-raza); padding: 12px 14px; box-shadow: var(--fc-umbra-sm); }
.ht-raft-nume { font-weight: 800; color: var(--fc-ink); margin-bottom: 8px; }
.ht-nivel { display: flex; align-items: center; gap: 5px; margin-bottom: 5px; }
.ht-nivel-nr { flex: 0 0 18px; font-size: .78rem; font-weight: 700; color: var(--fc-faint); text-align: center; }
.ht-loc { flex: 1 1 0; min-width: 26px; height: 38px; padding: 0; border: 0; border-radius: 7px; background: #e3e7ee; color: #6b7388;
    font-size: .78rem; font-weight: 700; cursor: pointer; font-variant-numeric: tabular-nums; }
.ht-loc.ocupat  { background: #2f8f5b; color: #fff; }
.ht-loc.curand  { background: #e0a534; color: #fff; }
.ht-loc.expirat { background: #c9432f; color: #fff; }
.ht-depozit { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.ht-depozit.inactiv { opacity: .55; }
.ht-depozit-cap { flex: 1; min-width: 200px; display: flex; flex-direction: column; gap: 2px; }
.ht-depozit-cap b { font-size: 1.1rem; color: var(--fc-ink); }
.ht-depozit-act { display: flex; flex-wrap: wrap; gap: 8px; }
a.dv-filtru { text-decoration: none; display: inline-flex; align-items: center; }
@media (hover: hover) and (pointer: fine) { .ht-loc:hover { outline: 2px solid var(--fc-accent); outline-offset: 1px; } }
@media (max-width: 768px) {
    .ht-rafturi { grid-template-columns: 1fr; }
    .ht-loc { height: 44px; }
    .ht-legenda b { margin-left: 0; flex: 0 0 100%; }
    .ht-depozit-act .bo-btn { flex: 1 1 100%; min-height: 44px; }
}

/* Fereastra setului: butoanele de tipărire (etichete + contract). */
.ht-tipar { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.ht-tipar .bo-btn { text-decoration: none; }

/* Deviz: cardul hotelului (seturile mașinii din hotel + primirea celor demontate). */
.dv-hotel { align-items: center; }
.dv-hotel-set { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; flex: 1 1 100%; }
.dv-hotel-info { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; flex: 1 1 240px; min-height: 44px; padding: 8px 12px; text-align: left;
                 background: var(--fc-lav, rgba(127,127,127,.08)); border: 1px solid var(--fc-line); border-radius: 10px; color: var(--fc-ink); cursor: pointer; font: inherit; }
.dv-hotel-info small { color: var(--fc-muted); flex: 1 1 100%; }
.ht-devize { display: flex; flex-wrap: wrap; gap: 4px 16px; }

/* Fereastra setului: fotografiile (miniaturi + cea mărită, pe loc). */
.ht-foto { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.ht-foto-mini { width: 84px; height: 84px; padding: 0; border: 2px solid var(--fc-line); border-radius: 10px; overflow: hidden; background: none; cursor: pointer; }
.ht-foto-mini.activ { border-color: var(--fc-indigo-in, #3b82f6); }
.ht-foto-mini img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ht-foto-adauga { width: 84px; height: 84px; display: flex; align-items: center; justify-content: center; text-align: center; border: 2px dashed var(--fc-line);
                  border-radius: 10px; color: var(--fc-ink); font-size: .85rem; font-weight: 600; cursor: pointer; }
.ht-foto-adauga.ocupat { opacity: .6; cursor: progress; }
.ht-foto-adauga input[type=file] { display: none; }
.ht-foto-mare { margin-bottom: 10px; }
.ht-foto-mare img { display: block; max-width: 100%; max-height: 62vh; margin: 0 auto 8px; border-radius: 10px; }
