.tc-tabs-wrapper-66c7bb11 {
    display: flex;
    flex-wrap: wrap; /* Replaced with control setting for wrap/nowrap */
    gap: 10px; /* Default gap, can be overridden */
    width: 100%;
}

/* Ensure horizontal scroll works when wrap is disabled */
.tc-tabs-wrapper-66c7bb11::-webkit-scrollbar {
    height: 6px;
}
.tc-tabs-wrapper-66c7bb11::-webkit-scrollbar-thumb {
    background-color: rgba(0,0,0,0.2);
    border-radius: 10px;
}

.tc-tab-btn-66c7bb11 {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative; /* Essential for corner positioning */
    cursor: pointer;
    background: #f0f0f0; /* Default base styles */
    border: 1px solid transparent;
    padding: 25px; /* Increased default padding for corners */
    margin: 0;
    text-decoration: none;
    transition: all 0.3s ease;
    flex: 0 1 auto;
    overflow: hidden;
    white-space: nowrap; /* Prevent text breaking when shrinking */
}

/* Ensure flex-stretch works properly if justified is selected */
.tc-tabs-wrapper-66c7bb11[style*="justify-content: stretch"] .tc-tab-btn-66c7bb11 {
    flex: 1 1 0%;
}

/* Center Text */
.tc-tab-title-66c7bb11 {
    z-index: 2;
    position: relative;
    color: #333;
    font-size: 16px; /* Default, overridden by Typography control */
    font-weight: bold; /* Default, overridden by Typography control */
    transition: color 0.3s ease;
}

/* Corner Text Base */
.tc-corner-text-66c7bb11 {
    position: absolute;
    font-size: 12px; /* Default, overridden by Typography control */
    color: #666;
    z-index: 1;
    transition: color 0.3s ease;
    line-height: 1;
}

/* Default Corner Placements */
.tc-corner-tl-66c7bb11 { top: 10px; left: 10px; }
.tc-corner-tr-66c7bb11 { top: 10px; right: 10px; text-align: right; }
.tc-corner-bl-66c7bb11 { bottom: 10px; left: 10px; }
.tc-corner-br-66c7bb11 { bottom: 10px; right: 10px; text-align: right; }
