#tb-consent-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 99999;
    background: #1a1a2e;
    border-top: 3px solid #f04a0a;
    padding: 10px 48px 10px 20px;
    box-sizing: border-box;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

#tb-consent-banner.tb-consent-banner--hidden {
    transform: translateY(100%);
    opacity: 0;
    pointer-events: none;
}

.tb-consent-close {
    position: absolute;
    top: 8px;
    right: 12px;
    background: none;
    border: none;
    color: rgba(255,255,255,0.4);
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
    padding: 4px 6px;
    font-family: sans-serif;
}

.tb-consent-close:hover { color: rgba(255,255,255,0.8); }

.tb-consent-inner {
    display: flex;
    align-items: center;
    gap: 16px;
    max-width: 1200px;
    margin: 0 auto;
}

.tb-consent-text { flex: 1; min-width: 0; }

.tb-consent-title {
    color: #fff;
    font-weight: 600;
    font-family: sans-serif;
}

.tb-consent-desc {
    margin: 0;
    font-size: 12px;
    color: rgba(255,255,255,0.65);
    line-height: 1.5;
    font-family: sans-serif;
}

.tb-consent-desc a, .tb-consent-policy {
    color: rgba(255,255,255,0.45);
    text-decoration: underline;
    text-underline-offset: 2px;
    font-size: 12px;
}

.tb-consent-desc a:hover, .tb-consent-policy:hover { color: rgba(255,255,255,0.75); }

.tb-consent-details-toggle {
    background: none;
    border: none;
    padding: 0;
    font-size: 12px;
    color: #f04a0a;
    cursor: pointer;
    text-decoration: underline;
    text-underline-offset: 2px;
    font-family: sans-serif;
}

.tb-consent-providers {
    margin: 6px 0 0;
    padding: 8px 12px;
    background: rgba(255,255,255,0.06);
    border-left: 2px solid #f04a0a;
    border-radius: 0 3px 3px 0;
    list-style: none;
    font-size: 11px;
    color: rgba(255,255,255,0.55);
    line-height: 1.7;
    font-family: sans-serif;
}

.tb-consent-analytics {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 8px;
    flex-wrap: wrap;
}

.tb-consent-toggle-label {
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    font-size: 12px;
    color: rgba(255,255,255,0.75);
    font-family: sans-serif;
    user-select: none;
}

.tb-consent-toggle {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.tb-consent-toggle-track {
    display: inline-block;
    width: 32px;
    height: 18px;
    background: rgba(255,255,255,0.2);
    border-radius: 9px;
    position: relative;
    transition: background 0.2s;
    flex-shrink: 0;
}

.tb-consent-toggle-track::after {
    content: '';
    position: absolute;
    width: 14px;
    height: 14px;
    background: #fff;
    border-radius: 50%;
    top: 2px;
    left: 2px;
    transition: transform 0.2s;
}

.tb-consent-toggle:checked + .tb-consent-toggle-track {
    background: #f04a0a;
}

.tb-consent-toggle:checked + .tb-consent-toggle-track::after {
    transform: translateX(14px);
}

.tb-consent-analytics-note {
    font-size: 11px;
    color: rgba(255,255,255,0.35);
    font-family: sans-serif;
}

@media (max-width: 768px) {
    .tb-consent-analytics { margin-top: 6px; }
}
.tb-consent-providers strong { color: rgba(255,255,255,0.85); }
.tb-consent-providers a { color: #f04a0a; text-decoration: none; margin-left: 4px; }

.tb-consent-providers__sep {
    color: rgba(255,255,255,0.35);
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-top: 4px;
    padding-top: 4px;
    border-top: 1px solid rgba(255,255,255,0.08);
}

.tb-consent-actions {
    display: flex;
    gap: 8px;
    flex-shrink: 0;
}

.tb-consent-btn {
    padding: 7px 16px;
    font-size: 12px;
    font-weight: 500;
    border-radius: 5px;
    cursor: pointer;
    white-space: nowrap;
    line-height: 1;
    font-family: sans-serif;
    transition: background 0.15s, color 0.15s;
}

.tb-consent-btn--secondary {
    background: transparent;
    color: rgba(255,255,255,0.6);
    border: 1px solid rgba(255,255,255,0.2);
}

.tb-consent-btn--secondary:hover {
    background: rgba(255,255,255,0.07);
    color: #fff;
}

.tb-consent-btn--primary {
    background: #f04a0a;
    color: #fff;
    border: 1px solid #f04a0a;
    font-weight: 600;
}

.tb-consent-btn--primary:hover { background: #d43d08; border-color: #d43d08; }

@media (max-width: 768px) {
    #tb-consent-banner { padding: 10px 44px 10px 16px; }

    .tb-consent-inner { flex-direction: column; align-items: stretch; gap: 10px; }

    .tb-consent-actions {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 8px;
    }

    .tb-consent-btn { padding: 9px 0; text-align: center; }
}

@media (max-width: 480px) {
    #tb-consent-banner {
        border-radius: 14px 14px 0 0;
        padding: 12px 44px 12px 16px;
    }
}
