/* Cookie banner (includes/cookies.php): a card at the bottom left, not a wall; the page stays readable and usable behind it.
   Colours and shapes as the subscribe pop-up (assets/popup.css). Refuz and Accept: same size, same violet (#53416F).
   The quick exit (bottom right) always stays visible: below 700px the banner sits above it, and it stays on top. */
.fpf-cookies[hidden], .fpf-cookies [hidden] { display: none !important; }
.fpf-cookies { position: fixed; left: 20px; bottom: 20px; z-index: 9980; box-sizing: border-box; width: min(440px, calc(100vw - 40px)); max-height: calc(100vh - 40px); max-height: calc(100dvh - 40px); overflow: auto; padding: 20px 22px 18px; background: #F4F2F3; color: #3D3056; border: 1px solid #E4DCEA; border-radius: 18px; box-shadow: 0 16px 44px rgba(61, 48, 86, .22); font-size: 14px; line-height: 1.5; }
.fpf-cookies *, .fpf-cookies *::before, .fpf-cookies *::after { box-sizing: border-box; }
.fpf-cookies-titlu { margin: 0 34px 6px 0; padding: 0; font-family: inherit; font-size: 19px; line-height: 1.25; font-weight: 400; letter-spacing: 0; text-transform: none; color: #53416F; outline: none; }
.fpf-cookies-text { margin: 0 0 14px; font-size: 13.5px; line-height: 1.5; color: #3D3056; }
.fpf-cookies-x { position: absolute; top: 10px; right: 12px; width: 30px; height: 30px; padding: 0; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .8); color: #53416F; font: inherit; font-size: 22px; line-height: 30px; cursor: pointer; }
.fpf-cookies-alegeri fieldset { margin: 0 0 10px; padding: 0; border: 0; min-width: 0; }
.fpf-cookies-alegeri label { display: flex; gap: 12px; align-items: flex-start; margin: 0 0 6px; padding: 8px 12px; background: #fff; border: 1px solid #E4DCEA; border-radius: 12px; cursor: pointer; }
.fpf-cookies-alegeri label:has(input:checked) { border-color: #53416F; background: #EEE8F1; }
.fpf-cookies-alegeri label:has(input:disabled) { cursor: default; }
.fpf-cookies-alegeri input { flex: none; width: 18px; height: 18px; margin: 2px 0 0; padding: 0; accent-color: #53416F; }
.fpf-cookies-alegeri b { display: block; font-size: 13.5px; font-weight: 500; color: #53416F; }
.fpf-cookies-alegeri b i { font-style: normal; font-weight: 400; color: #856B8E; }
.fpf-cookies-alegeri small { display: block; margin-top: 2px; font-size: 12px; line-height: 1.4; color: #6B5A78; }
.fpf-cookies-butoane { display: flex; gap: 8px; }
.fpf-cookies-buton, .fpf-cookies-salvez { flex: 1 1 0; min-width: 0; margin: 0; padding: 10px 8px; border: 1px solid #53416F; border-radius: 999px; background: #53416F; color: #fff; font: inherit; font-size: 14px; line-height: 1.2; text-transform: none; letter-spacing: 0; cursor: pointer; }
.fpf-cookies-buton:hover, .fpf-cookies-salvez:hover { background: #3D3056; border-color: #3D3056; }
/* „Aleg eu”: secondary, same size. */
.fpf-cookies-buton-alege { background: transparent; color: #53416F; }
.fpf-cookies-buton-alege:hover { background: #EEE8F1; border-color: #53416F; }
.fpf-cookies-salvez { display: block; width: 100%; margin: 0 0 10px; }
.fpf-cookies button:focus-visible, .fpf-cookies input:focus-visible, .fpf-cookies-titlu:focus-visible { outline: 2px solid #53416F; outline-offset: 2px; }
.fpf-cookies .screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
html.fpf-cookies-deschis .quick-exit { z-index: 9999; }
@media (max-width: 700px) {
	/* Full width, above the quick exit (20px from the bottom, about 50px tall; below 600px 12px and about 40px). */
	.fpf-cookies { left: 12px; right: 12px; bottom: 80px; width: auto; max-height: calc(100vh - 100px); max-height: calc(100dvh - 100px); padding: 16px 16px 14px; }
	.fpf-cookies-titlu { font-size: 17px; }
	.fpf-cookies-text { margin-bottom: 12px; font-size: 13px; }
	.fpf-cookies-buton { padding: 10px 4px; }
}
@media (max-width: 600px) {
	.fpf-cookies { bottom: 62px; }
}
@media print { .fpf-cookies { display: none !important; } }
