[data-tc-cookie-settings][hidden],
[data-tc-translate][hidden] { display: none !important; }

.tc-cookie-dialog {
    box-sizing: border-box;
    border: 1px solid #cbdbe6;
    border-radius: 8px;
    background: #fff;
    color: #19364a;
    box-shadow: 0 10px 30px #112d4840;
    font: 1rem/1.5 Arial, sans-serif;
}
.tc-cookie-dialog h2 { margin: 0 0 4px; padding: 0; color: #102b46; font: 700 1.125rem/1.3 Arial, sans-serif; }
.tc-cookie-dialog p { margin: 0; color: #304f63; font-size: .92rem; }
.tc-privacy-page a { color: #175e87; text-decoration: underline; }
.tc-cookie-actions { display: flex; flex-wrap: wrap; gap: 8px; }

.tc-cookie-actions button,
.tc-privacy-page > main button {
    min-height: 40px;
    padding: 7px 11px;
    border: 1px solid #244b63;
    border-radius: 4px;
    background: #fff;
    color: #19364a;
    font: 700 .875rem Arial, sans-serif;
    cursor: pointer;
}
.tc-cookie-actions button[data-tc-cookie-accept] { background: #244b63; color: #fff; }
.tc-cookie-actions button:focus-visible,
.tc-cookie-dialog input:focus-visible,
.tc-cookie-footer-links button:focus-visible { outline: 2px solid #176a99; outline-offset: 2px; }
.tc-cookie-dialog { width: min(480px, calc(100% - 24px)); padding: 20px; }
.tc-cookie-dialog::backdrop { background: #102b4680; }
.tc-cookie-dialog form { margin: 0; }
.tc-cookie-option {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: .75rem;
    margin: .65rem 0;
    padding: .55rem 0;
    border-top: 1px solid #dce6ed;
    font-size: .9rem;
}
.tc-cookie-option input { width: 18px; height: 18px; accent-color: #244b63; }
.tc-cookie-footer-links { display: inline-flex; flex-wrap: wrap; gap: 6px 12px; margin-inline-start: 12px; }
.tc-cookie-footer-links a, .tc-cookie-footer-links button {
    border: 0;
    padding: 0;
    background: transparent;
    color: #244b63;
    font: inherit;
    text-transform: none;
    text-decoration: underline;
    cursor: pointer;
}
.tc-privacy-page { margin: 0; background: #eef4f7; color: #19364a; font: 1rem/1.6 Arial, sans-serif; }
.tc-privacy-page > main { max-width: 46rem; margin: 24px auto; padding: 20px clamp(16px, 5vw, 48px); background: #fff; }
.tc-privacy-page h1, .tc-privacy-page h2 { color: #102b46; line-height: 1.25; }
.tc-cookie-dialog:not([open]) { display: none; }
.tc-cookie-dialog-fallback[open] {
    position: fixed;
    z-index: 9001;
    inset: 50% auto auto 50%;
    margin: 0;
    transform: translate(-50%, -50%);
}
.tc-cookie-dialog { max-height: calc(100vh - 24px); overflow: auto; }
@media (max-width: 480px) {

    .tc-cookie-dialog .tc-cookie-actions button { flex: 1; min-height: 44px; }

}

.tc-language-trigger {
    display: inline-flex;
    align-items: center;
    box-sizing: border-box;
    text-decoration: none;
    min-height: 32px;
    padding: 4px 8px;
    border: 1px solid #aabecb;
    border-radius: 4px;
    background: #fff;
    color: #10263c;
    font: 700 .8rem Arial, sans-serif;
    white-space: nowrap;
    cursor: pointer;
}
.tc-language-trigger:focus-visible { outline: 2px solid #176a99; outline-offset: 2px; }
