/* Custom styling for Thebe integration */

/* Style the Thebe activation button */
.thebe-activate-button {
    background-color: #0066cc;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    margin: 10px 0;
    transition: background-color 0.3s;
}

.thebe-activate-button:hover {
    background-color: #004499;
}

/* Style the Thebe status widget */
.thebe-status {
    padding: 5px 10px;
    border-radius: 3px;
    font-size: 12px;
    margin: 5px 0;
}

.thebe-status.building {
    background-color: #fff3cd;
    border: 1px solid #ffeaa7;
    color: #856404;
}

.thebe-status.ready {
    background-color: #d4edda;
    border: 1px solid #c3e6cb;
    color: #155724;
}

.thebe-status.failed {
    background-color: #f8d7da;
    border: 1px solid #f5c6cb;
    color: #721c24;
}

/* Style code cells with Thebe */
.thebe-cell {
    border: 1px solid #ddd;
    border-radius: 4px;
    margin: 10px 0;
}

.thebe-cell .CodeMirror {
    height: auto;
    min-height: 50px;
}

/* Style the run button */
.thebe-run-button {
    background-color: #28a745;
    color: white;
    border: none;
    padding: 4px 8px;
    border-radius: 3px;
    cursor: pointer;
    font-size: 12px;
    margin: 5px;
}

.thebe-run-button:hover {
    background-color: #218838;
}

/* Style output areas */
.thebe-output {
    border-top: 1px solid #eee;
    padding: 10px;
    background-color: #f8f9fa;
    white-space: pre-wrap;
    font-family: monospace;
    font-size: 13px;
}
