/* Consimțământ cookie-uri (public/resources/js/cookie-consent.js) */
.pcc {
    position: fixed;
    left: 50%;
    bottom: 16px;
    transform: translateX(-50%);
    z-index: 2147483000;
    box-sizing: border-box;
    width: calc(100% - 32px);
    max-width: 820px;
    max-height: calc(100vh - 32px);
    overflow-y: auto;
    padding: 24px 28px 18px;
    background: #fff;
    color: #1f2937;
    border: 1px solid #d6dbe3;
    border-radius: 14px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, .18);
    font-family: "Onest", Arial, sans-serif;
    font-size: 14px;
    line-height: 1.5;
    text-align: left;
}
.pcc *, .pcc *::before, .pcc *::after { box-sizing: border-box; }
.pcc__title { font-size: 20px; font-weight: 600; margin: 0 0 8px; color: #111827; }
.pcc__text { margin: 0 0 16px; color: #4b5563; }
.pcc a { color: #0046a8; text-decoration: underline; }
.pcc a:hover { color: #00337a; }
.pcc__text a { white-space: nowrap; }

.pcc__subtitle { font-weight: 600; margin: 4px 0 8px; color: #111827; }
.pcc__row { border-top: 1px solid #e5e7eb; padding: 10px 0; }
.pcc__row-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; cursor: pointer; margin: 0; font-weight: normal; }
.pcc__row-text { display: flex; flex-direction: column; }
.pcc__label { font-weight: 600; color: #111827; }
.pcc__tag { display: inline-block; margin-left: 8px; padding: 1px 8px; border-radius: 10px; background: #e8eef9; color: #0046a8; font-size: 12px; font-weight: 500; }
.pcc__desc { color: #4b5563; font-size: 13px; }

.pcc__switch { position: relative; flex: 0 0 44px; width: 44px; height: 24px; margin-top: 2px; }
.pcc__switch input { position: absolute; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; z-index: 1; }
.pcc__switch input:disabled { cursor: not-allowed; }
.pcc__slider { position: absolute; inset: 0; border-radius: 24px; background: #c3c9d3; transition: background .15s; }
.pcc__slider::before { content: ""; position: absolute; left: 3px; top: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; transition: transform .15s; }
.pcc__switch input:checked + .pcc__slider { background: #0046a8; }
.pcc__switch input:checked + .pcc__slider::before { transform: translateX(20px); }
.pcc__switch input:disabled + .pcc__slider { opacity: .6; }
.pcc__switch input:focus-visible + .pcc__slider { outline: 3px solid #f2b705; outline-offset: 2px; }

.pcc__cookies { margin-top: 6px; }
.pcc__cookies summary { cursor: pointer; color: #0046a8; font-size: 13px; }
.pcc__table { width: 100%; margin-top: 6px; border-collapse: collapse; font-size: 12px; }
.pcc__table th, .pcc__table td { padding: 5px 6px; border: 1px solid #e5e7eb; vertical-align: top; text-align: left; }
.pcc__table th { background: #f5f7fa; font-weight: 600; }

.pcc__buttons { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; margin-top: 14px; }
.pcc__allow { display: flex; flex-wrap: wrap; gap: 10px; }
.pcc-btn { min-height: 42px; padding: 9px 22px; border-radius: 8px; font: inherit; font-weight: 600; cursor: pointer; border: 1px solid #0046a8; }
.pcc-btn[hidden] { display: none; }
.pcc-btn--ghost { background: #fff; color: #111827; border: 2px solid #1f2937; }
.pcc-btn--outline { background: #fff; color: #0046a8; }
.pcc-btn--primary { background: #0046a8; color: #fff; }
.pcc-btn:hover { filter: brightness(.95); }
.pcc-btn:focus-visible { outline: 3px solid #f2b705; outline-offset: 2px; }

.pcc__sep { margin: 0 6px; color: #9ca3af; }

@media (max-width: 600px) {
    .pcc { bottom: 0; width: 100%; border-radius: 14px 14px 0 0; padding: 18px 16px 14px; }
    .pcc__buttons, .pcc__allow { flex-direction: column; align-items: stretch; width: 100%; }
    .pcc-btn { width: 100%; }
    .pcc__table { display: block; overflow-x: auto; }
}
