.tc-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 99999;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.tc-banner {
    background: #fff;
    width: 100%;
    max-width: 720px;
    margin: 0 auto 24px;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
    padding: 28px 32px;
    font-family: 'Roboto', Arial, sans-serif;
    font-size: 14px;
    color: #333;
    animation: tc-slide-up 0.3s ease-out;
}

@keyframes tc-slide-up {
    from { transform: translateY(40px); opacity: 0; }
    to   { transform: translateY(0);    opacity: 1; }
}

.tc-title {
    margin: 0 0 12px;
    font-size: 20px;
    font-weight: 700;
    color: #222;
}

.tc-text {
    margin: 0 0 20px;
    line-height: 1.55;
    color: #555;
}

.tc-policy-link {
    color: #cc7a00;
    text-decoration: underline;
    font-weight: 600;
}

.tc-policy-link:hover {
    color: #a36200;
}

.tc-categories {
    border-top: 1px solid #e5e5e5;
    margin-bottom: 20px;
}

.tc-category {
    padding: 14px 0;
    border-bottom: 1px solid #f0f0f0;
}

.tc-cat-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    gap: 10px;
}

.tc-cat-name {
    font-weight: 600;
    font-size: 14px;
}

.tc-cat-desc {
    margin: 6px 0 0 28px;
    font-size: 13px;
    color: #777;
    line-height: 1.4;
}

.tc-checkbox {
    width: 18px;
    height: 18px;
    accent-color: #ff9933;
    cursor: pointer;
}

.tc-checkbox:disabled {
    cursor: not-allowed;
    opacity: 0.6;
}

.tc-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.tc-btn {
    padding: 10px 22px;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s, transform 0.1s;
    font-family: inherit;
}

.tc-btn:hover {
    transform: translateY(-1px);
}

.tc-btn:active {
    transform: translateY(0);
}

.tc-btn-accept {
    background: #ff9933;
    color: #000;
}

.tc-btn-accept:hover {
    background: #e88a2a;
}

.tc-btn-refuse {
    background: #f0f0f0;
    color: #333;
}

.tc-btn-refuse:hover {
    background: #e0e0e0;
}

.tc-btn-customize {
    background: transparent;
    color: #555;
    border: 1px solid #ccc;
}

.tc-btn-customize:hover {
    background: #fafafa;
}

.tc-btn-save {
    background: #ff9933;
    color: #000;
}

.tc-btn-save:hover {
    background: #e88a2a;
}

.tc-reopener {
    position: fixed;
    bottom: 16px;
    right: 16px;
    z-index: 99998;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: none;
    background: #ff9933;
    color: #000;
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s, box-shadow 0.2s;
    padding: 0;
}

.tc-reopener:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

.tc-reopener svg {
    width: 22px;
    height: 22px;
}

@media (max-width: 600px) {
    .tc-banner {
        margin: 0 8px 8px;
        padding: 20px;
        border-radius: 10px;
    }

    .tc-buttons {
        flex-direction: column;
    }

    .tc-btn {
        width: 100%;
        text-align: center;
    }
}
