.tbas-5ec12663-wrapper {
    position: relative;
    overflow: hidden;
    width: 100%;
    min-height: 350px;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.10), 0 2px 8px rgba(0,0,0,0.06);
    user-select: none;
    -webkit-user-select: none;
    cursor: col-resize;
}

.tbas-5ec12663-panel {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.tbas-5ec12663-before {
    z-index: 2;
}

.tbas-5ec12663-after {
    z-index: 1;
}

.tbas-5ec12663-panel-inner {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    min-width: 100%;
    height: 100%;
    padding: 40px 35px 35px;
    box-sizing: border-box;
}

.tbas-5ec12663-before .tbas-5ec12663-panel-inner {
    width: 100%;
    min-width: 100%;
}

.tbas-5ec12663-after .tbas-5ec12663-panel-inner {
    width: 100%;
}

/* Make the inner of the before panel match the wrapper width */
.tbas-5ec12663-before .tbas-5ec12663-panel-inner {
    width: var(--tbas-wrapper-width, 100%);
}

.tbas-5ec12663-text {
    font-size: 16px;
    line-height: 1.75;
    letter-spacing: 0.01em;
}

.tbas-5ec12663-before .tbas-5ec12663-text {
    font-family: 'Courier New', Courier, monospace;
}

.tbas-5ec12663-after .tbas-5ec12663-text {
    font-family: Georgia, 'Times New Roman', serif;
}

.tbas-5ec12663-error {
    color: #e74c3c;
    background-color: rgba(231,76,60,0.1);
    text-decoration: wavy underline;
    text-decoration-color: #e74c3c;
    text-underline-offset: 3px;
    padding: 1px 3px;
    border-radius: 3px;
    font-weight: 600;
}

/* Labels */
.tbas-5ec12663-label {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    padding: 5px 14px;
    border-radius: 20px;
    margin-bottom: 18px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.tbas-5ec12663-label-before {
    color: #c0392b;
    background-color: rgba(192,57,43,0.12);
}

.tbas-5ec12663-label-after {
    color: #27ae60;
    background-color: rgba(39,174,96,0.12);
}

/* Divider */
.tbas-5ec12663-divider {
    position: absolute;
    top: 0;
    bottom: 0;
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    pointer-events: none;
    transform: translateX(-50%);
}

.tbas-5ec12663-divider-line {
    width: 3px;
    flex: 1;
    background-color: #6c5ce7;
    border-radius: 3px;
}

.tbas-5ec12663-divider-handle {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: #6c5ce7;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(108,92,231,0.4), 0 0 0 4px rgba(255,255,255,0.9);
    pointer-events: auto;
    cursor: col-resize;
    transition: box-shadow 0.2s ease, transform 0.15s ease;
}

.tbas-5ec12663-divider-handle:hover {
    box-shadow: 0 6px 24px rgba(108,92,231,0.55), 0 0 0 5px rgba(255,255,255,1);
}

.tbas-5ec12663-divider-handle:active {
    transform: translateY(-50%) scale(0.95);
}

.tbas-5ec12663-divider-handle svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

/* Responsive */
@media (max-width: 767px) {
    .tbas-5ec12663-panel-inner {
        padding: 28px 20px 24px;
    }
    .tbas-5ec12663-text {
        font-size: 14px;
        line-height: 1.65;
    }
    .tbas-5ec12663-divider-handle {
        width: 38px;
        height: 38px;
    }
    .tbas-5ec12663-divider-handle svg {
        width: 16px;
        height: 16px;
    }
}
