.ctb-ta-wrapper {
    position: relative;
    width: 100%;
    margin: 20px 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

.ctb-ta-header-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding: 0 10px;
}

.ctb-ta-logo-link {
    color: #000;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 12px;
}

.ctb-ta-overall-rating {
    background: #00852f; /* Updated Tripadvisor brand green */
    color: #fff;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.725rem;
    font-weight: 600;
}

.ctb-ta-nav button {
    background: #f1f1f1;
    border: none;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    cursor: pointer;
    margin-left: 5px;
    transition: background 0.2s;
    color: #000;
}

.ctb-ta-nav button:hover {
    background: #e2e2e2;
}

.ctb-ta-nav button:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.ctb-ta-slider-viewport {
    overflow: hidden;
    width: 100%;
    padding: 10px 0;
}

.ctb-ta-track {
    display: flex;
    transition: transform 0.4s ease-in-out;
}

.ctb-ta-slide {
    padding: 0 10px;
    box-sizing: border-box;
    flex-shrink: 0;
}

.ctb-ta-card {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 8px;
    padding: 20px;
    height: 100%;
    box-shadow: 0 4px 12px rgba(0,0,0,0.04);
    display: flex;
    flex-direction: column;
}

/* Bubbles Layout Setup */
.ctb-ta-bubbles-wrapper {
    display: flex;
    gap: 4px;
    margin-bottom: 15px;
}

/* Smaller size applied here */
.ctb-ta-bubble {
    width: 16px;
    height: 16px;
    display: inline-block;
}

/* Fixed color assignments: Only the active scores get filled */
.ctb-ta-bubble.filled {
    fill: #00852f;
    stroke: #00852f;
    stroke-width: 1px;
}

.ctb-ta-bubble.empty {
    fill: transparent;
    stroke: #00852f;
    stroke-width: 2px;
}

.ctb-ta-content {
    font-size: 1rem;
    line-height: 1.5;
    color: #333;
    flex-grow: 1;
    margin-bottom: 20px;
}

/* Layout alignment matching the Trustpilot divider line & spacing */
.ctb-ta-meta {
    border-top: 1px solid #f1f1f1;
    padding-top: 15px;
    display: flex;
    flex-direction: column;
}

.ctb-ta-author {
    font-weight: 700;
    font-size: 0.95rem;
    color: #111;
}

.ctb-ta-date {
    font-size: 0.85rem;
    color: #777;
    margin-top: 4px;
}