.tk-consent {
    position: fixed;
    left: 16px;
    right: 16px;
    bottom: 16px;
    z-index: 2147483000;
    max-width: 720px;
    margin: 0 auto;
    background: var(--events-dark, #0F172A);
    color: rgba(255, 255, 255, 0.9);
    border-top: 3px solid var(--events-primary, #F5A623);
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 14px;
    line-height: 1.5;
    max-height: calc(100vh - 32px);
    overflow-y: auto;
}

.tk-consent[hidden],
.tk-consent [hidden] {
    display: none !important;
}

.tk-consent:focus {
    outline: none;
}

.tk-consent__inner {
    padding: 20px 24px;
}

.tk-consent__title {
    margin: 0 0 8px;
    font-size: 18px;
    font-weight: 700;
    color: #fff;
}

.tk-consent__text {
    margin: 0 0 16px;
}

.tk-consent a {
    color: var(--events-primary, #F5A623);
    font-weight: 600;
    text-decoration: underline;
}

.tk-consent__panel {
    margin: 0 0 16px;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 8px;
}

.tk-consent__option {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    margin: 0 0 10px;
    cursor: pointer;
}

.tk-consent__option input {
    margin-top: 4px;
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    accent-color: var(--events-primary, #F5A623);
}

.tk-consent__option input:disabled {
    cursor: not-allowed;
}

.tk-consent__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tk-consent__btn {
    flex: 1 1 0;
    min-width: 0;
    padding: 10px 16px;
    border: 2px solid var(--events-primary, #F5A623);
    border-radius: 8px;
    background: var(--events-primary, #F5A623);
    color: var(--events-dark, #0F172A);
    font: inherit;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s;
}

.tk-consent__btn:hover {
    background: var(--events-primary-dark, #E8940D);
    border-color: var(--events-primary-dark, #E8940D);
}

.tk-consent__btn:focus-visible {
    outline: 3px solid #fff;
    outline-offset: 2px;
}

.tk-consent__btn--secondary {
    background: transparent;
    color: #fff;
    border-color: rgba(255, 255, 255, 0.4);
}

.tk-consent__btn--secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #fff;
}

.tk-consent__panel .tk-consent__btn {
    flex: none;
    width: 100%;
}

@media (max-width: 560px) {
    .tk-consent__inner {
        padding: 16px;
    }

    .tk-consent__actions {
        flex-direction: column;
    }

    .tk-consent__btn {
        flex: none;
        width: 100%;
    }
}

.tk-footer-links a + a {
    margin-left: 16px;
}

.tk-cookies-page {
    max-width: 860px;
    margin: 0 auto;
    padding: 32px;
    background: #fff;
    border-radius: 12px;
    box-shadow: var(--shadow-card, 0 4px 20px rgba(0, 0, 0, 0.08));
}

.tk-cookies-page h2 {
    margin-top: 32px;
    font-size: 20px;
}

.tk-cookies-page__table-wrap {
    overflow-x: auto;
}

.tk-cookies-page table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.tk-cookies-page th,
.tk-cookies-page td {
    padding: 10px 12px;
    border-bottom: 1px solid #E2E8F0;
    text-align: left;
    vertical-align: top;
}

.tk-cookies-page th {
    background: var(--events-light, #FFF7ED);
}

.tk-cookies-page code {
    white-space: nowrap;
}

@media (max-width: 560px) {
    .tk-cookies-page {
        padding: 16px;
    }
}
