/* EUROGUARD cookie consent box (gdpr-20261124; compact computer-only version 24 Nov 2026). A small box at the bottom right, shown only on
   computers (see DESKTOP_QUERY in cookie-consent.js); never on phones or tablets. Both choices share one identical button style. */
.eg-consent { position: fixed; z-index: 1000; right: 20px; bottom: 20px; left: auto; width: 340px; max-width: calc(100vw - 40px); font: inherit; color: #edf3f8; }
.eg-consent.eg-consent-raised { bottom: 56px; }
.eg-consent-inner { padding: 16px 18px 18px; background: rgba(9, 18, 28, .97); border: 1px solid #2b4150; border-top: 2px solid #4fdfff; box-shadow: 0 14px 40px rgba(0, 0, 0, .55); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.eg-consent-body { display: block; }
.eg-consent h2.eg-consent-title { margin: 0 0 6px; color: #edf3f8; font-size: 15px; font-weight: 600; line-height: 1.3; letter-spacing: 0; text-transform: none; text-wrap: wrap; }
.eg-consent p.eg-consent-text, .eg-consent p.eg-consent-current, .eg-consent p.eg-consent-thanks { margin: 0; color: #c9d6e1; font-size: 13px; line-height: 1.5; letter-spacing: 0; }
.eg-consent p.eg-consent-current { margin-top: 8px; color: #edf3f8; }
.eg-consent-thanks strong { color: #edf3f8; }
.eg-consent .eg-consent-text a { color: #4fdfff; text-decoration: underline; text-underline-offset: 3px; }
.eg-consent .eg-consent-text a:hover { color: #96ecff; }
.eg-consent-actions { display: grid; grid-template-columns: 1fr; gap: 8px; margin-top: 14px; }
.eg-consent-actions .eg-consent-close { justify-self: center; }
.eg-consent-button { display: flex; align-items: center; justify-content: center; width: 100%; min-height: 38px; margin: 0; padding: 8px 14px; color: #edf3f8; background: #10202c; border: 1px solid #4fdfff; border-radius: 0; font: inherit; font-size: 13px; font-weight: 600; line-height: 1.3; text-align: center; cursor: pointer; transition: background 160ms ease, color 160ms ease; }
.eg-consent-button:hover { color: #080e17; background: #4fdfff; }
.eg-consent-button:focus-visible, .eg-consent-close:focus-visible, .eg-consent a:focus-visible, .cookie-choice button:focus-visible { outline: 2px solid #ffffff; outline-offset: 3px; }
.eg-consent-button[aria-pressed="true"]::before, .cookie-choice-actions button[aria-pressed="true"]::before { content: "✓"; margin-right: 8px; }
.eg-consent-hide { margin-top: 12px; }
.eg-consent-close { min-height: 30px; padding: 4px 8px; color: #9baebf; background: transparent; border: 0; font: inherit; font-size: 13px; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.eg-consent-close:hover { color: #edf3f8; }
@media not all and (hover: hover) and (pointer: fine) and (min-width: 900px) { .eg-consent { display: none !important; } }
@media (prefers-reduced-motion: reduce) { .eg-consent-button { transition: none; } }
@media print { .eg-consent { display: none; } }

/* Cookie policy page: per-item tables and the on-page choice. */
.cookie-summary { padding: 16px 18px; border-left: 2px solid #4fdfff; background: rgba(79, 223, 255, .06); }
.cookie-table-wrap { margin: 14px 0 22px; overflow-x: auto; }
.cookie-table { width: 100%; table-layout: fixed; border-collapse: collapse; font-size: 14px; line-height: 1.5; }
.cookie-table th:nth-child(1) { width: 27%; } .cookie-table th:nth-child(2) { width: 16%; } .cookie-table th:nth-child(3) { width: 33%; } .cookie-table th:nth-child(4) { width: 24%; }
.cookie-table td:nth-child(2) { overflow-wrap: normal; }
.cookie-table caption { padding: 0 0 8px; color: #9baebf; font-size: 13px; text-align: left; }
.cookie-table th, .cookie-table td { padding: 10px 12px; border: 1px solid #233340; text-align: left; vertical-align: top; }
.cookie-table th { color: #edf3f8; background: #0c1622; font-weight: 600; }
.cookie-table td code { font-size: 12.5px; overflow-wrap: anywhere; }
.cookie-choice { margin: 14px 0 22px; padding: 18px; border: 1px solid #2b4150; background: #0c1622; }
.cookie-choice [data-cookie-status] { margin: 0 0 14px; }
.cookie-choice-actions { display: inline-grid; grid-template-columns: repeat(2, minmax(236px, 1fr)); gap: 12px; }
.cookie-choice-actions button { min-width: 236px; min-height: 48px; padding: 12px 20px; color: #edf3f8; background: #10202c; border: 1px solid #4fdfff; border-radius: 0; font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; }
.cookie-choice-actions button:hover { color: #080e17; background: #4fdfff; }
.policy-content #clear-bookmarks { min-height: 44px; padding: 11px 18px; color: #edf3f8; background: transparent; border: 1px solid #425969; border-radius: 0; font: inherit; font-size: 14px; font-weight: 600; letter-spacing: 0; text-transform: none; cursor: pointer; }
.policy-content #clear-bookmarks:hover { border-color: #4fdfff; background: #101e2c; }
@media (max-width: 640px) {
  .cookie-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .cookie-table { table-layout: auto; }
  .cookie-table caption { display: block; width: auto; }
  .cookie-table, .cookie-table tbody, .cookie-table tr, .cookie-table td { display: block; width: 100%; }
  .cookie-table tr { margin-bottom: 12px; border: 1px solid #233340; }
  .cookie-table td { border: 0; border-bottom: 1px solid #172633; }
  .cookie-table td::before { content: attr(data-label); display: block; margin-bottom: 2px; color: #9baebf; font-size: 12px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; }
  .cookie-choice-actions { display: grid; grid-template-columns: 1fr; }
  .cookie-choice-actions button { width: 100%; min-width: 0; }
}
