.tabs {
    display: flex;
    border-bottom: 1px solid var(--bg-tertiary);
    margin: 0 0 var(--space-lg);

    width: 100%;
    overflow: hidden;
}

.tab-button {
    background: none;
    border: none;
    padding: var(--space-sm) var(--space-md);
    color: var(--text-secondary);
    cursor: pointer;
    transition: all var(--transition-fast);
    position: relative;
    font-size: 18px;

    flex: 1 1 0;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.tab-button:after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    height: 2px;
    background-color: var(--accent-primary);
    transform: scaleX(0);
    transition: transform var(--transition-fast);
}

.tab-button.active {
    color: var(--accent-primary);
}

.tab-button.active:after {
    transform: scaleX(1);
}

.tab-button:hover {
    color: var(--text-primary);
}

.tab-view {
    display: block;
}

.tab-view.hidden {
    display: none;
}

@media (max-width: 480px) {
    .tab-button {
        font-size: 14px;
        padding: 8px;
    }
}
