.managerContainer {
    display: flex;
    flex-direction: column;
    width: 100%;
    min-height: 300px;
}

.toolbar {
    display: flex;
    padding: 8px;
    border-bottom: 1px solid var(--border-color);
}

.toolbarButton {
    padding: 8px 16px;
    font-size: 1em;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    background-color: var(--panel-background-color);
    color: var(--foreground-color);
    cursor: pointer;
}

.toolbarButton:hover {
    background-color: var(--hover-background-color);
}

.macroList {
    list-style: none;
    padding: 0;
    margin: 0;
    flex: 1;
    overflow-y: auto;
}

.emptyMessage {
    padding: 20px;
    text-align: center;
    color: var(--foreground-muted-color);
}

.macroItem {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px;
    border-bottom: 1px solid var(--border-color);
}

.macroItem:hover {
    background-color: var(--hover-background-color);
}

.macroName {
    font-weight: 500;
    flex: 1;
}

.actions {
    display: flex;
    gap: 8px;
}

.actionButton {
    padding: 4px 12px;
    font-size: 0.9em;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    background-color: var(--panel-background-color);
    color: var(--foreground-color);
    cursor: pointer;
}

.actionButton:hover {
    background-color: var(--hover-background-color);
}

.deleteButton:hover {
    background-color: #dc3545;
    color: white;
    border-color: #dc3545;
}

.editorContainer {
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 600px;
    min-height: 400px;
}

.field {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.inputLabel {
    font-weight: 500;
}

.input {
    padding: 8px;
    font-size: 1em;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    background-color: var(--panel-background-color);
    color: var(--foreground-color);
}

.codeEditor {
    flex: 1;
    min-height: 300px;
    padding: 12px;
    font-family: "Consolas", "Monaco", "Courier New", monospace;
    font-size: 0.9em;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    background-color: var(--panel-background-color);
    color: var(--foreground-color);
    resize: vertical;
}

.runButton {
    padding: 8px 16px;
    font-size: 1em;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    background-color: #28a745;
    color: white;
    cursor: pointer;
}

.runButton:hover {
    background-color: #218838;
}
