.content-row {
    display: flex;
    align-items: stretch; 
}

.left-content {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.right-content {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.cell-debugger {
    height: 100%;
}

.cell-debugger .card {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.cell-response {
    margin-top: 10px;
}

.debugger-content {
    padding: 15px;
    height: 100%;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}

.loop-hidden {
    display: none;
}

.loop-show {
    display: block;
}

.loop-inactive {
    opacity: 0.5;
}

.loop-active {
    opacity: 1;
}

.celleditdebug.active {
    background-color: #007bff !important;
    color: white !important;
}

.celleditdebug.active i {
    color: white !important;
}

.debugger-variables {
    border-bottom: 1px solid #dee2e6;
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    min-height: 0;
}

.debugger-variables > div {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.variables-horizontal-container {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 10px;
    overflow-y: auto;
    flex: 1;
    align-content: flex-start;
    min-height: 0;
}

.variable-item {
    cursor: pointer;
    padding: 6px 12px;
    border-radius: 6px;
    transition: all 0.2s;
    font-family: 'Courier New', Monaco, monospace;
    font-size: 14px;
    background-color: #f8f9f2;
    border: 1px solid #dee2e6;
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
    min-width: fit-content;
    height: fit-content;
}

.variable-item:hover {
    background-color: #e9ecef;
    border-color: #007bff;
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.variable-item.selected {
    background-color: #007bff;
    color: white;
    border-color: #007bff;
}

.variable-name {
    font-weight: bold;
    color: #0d6efd;
}

.variable-item.selected .variable-name {
    color: white;
}

.variable-type {
    color: #6c757d;
    font-size: 11px;
}

/* Console section stays at bottom with fixed height */
.debugger-console {
    background-color: #000000 !important;
    border-top: 1px solid #333333 !important;
    color: #ffffff;
    flex-shrink: 0;
}

.console-output {
    white-space: pre-wrap;
    word-wrap: break-word;
    font-family: 'Courier New', 'Monaco', monospace;
    color: #ffffff;
    max-height: 200px;
    overflow-y: auto;
}

.console-line {
    margin: 2px 0;
    font-family: 'Courier New', Monaco, monospace;
    color: #ffffff;
}

.console-input {
    font-family: 'Courier New', Monaco, monospace;
    font-size: 12px;
    background-color: #000000 !important;
    color: #ffffff !important;
    border: 1px solid #333333 !important;
}

.console-input:focus {
    background-color: #000000 !important;
    color: #ffffff !important;
    border-color: #007bff !important;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25) !important;
}

.console-input::placeholder {
    color: #888888 !important;
}

.debugger-console .input-group .btn {
    background-color: #333333 !important;
    border-color: #333333 !important;
    color: #ffffff !important;
}

.debugger-console .input-group .btn:hover {
    background-color: #555555 !important;
    border-color: #555555 !important;
}

.debugger-console .input-group .btn:focus {
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25) !important;
}

.debugger-variables .text-muted,
.debugger-variables .text-danger {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1;
    text-align: center;
}

.notification-variables {
    border-left: 3px solid #007bff;
    padding-left: 10px;
}

.variable-item.notification-variable {
    background-color: #e3f2fd;
    border: 1px solid #2196f3;
    color: #0d47a1;
}

.variable-item.notification-variable:hover {
    background-color: #bbdefb;
    border-color: #1976d2;
}

.variable-item.notification-variable.selected {
    background-color: #2196f3;
    color: white;
    border-color: #1976d2;
}

.notification-variables .text-muted {
    color: #1976d2 !important;
}