/* SPy Playground Styles */

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f5f5f5;
}

h1 {
    text-align: center;
    margin: 20px 0;
    font-size: 2em;
    color: #333;
}

/* Main container */
#editor {
    background-color: white;
    border: 2px solid #ccc;
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    overflow: hidden;
}

/* Button area */
#editor ~ div {
    background-color: #f8f9fa;
    padding: 15px;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    margin-top: 10px;
    display: flex;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
}

/* Command buttons (for running spy commands) */
button.run-button {
    background-color: #0066cc;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    transition: background-color 0.2s;
}

button.run-button:hover {
    background-color: #0052a3;
}

button.run-button:active {
    background-color: #003d7a;
}

/* Terminal output */
#terminal {
    background-color: #1e1e1e;
    color: #d4d4d4;
    padding: 15px;
    margin-top: 15px;
    border: 2px solid #333;
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    font-family: 'Consolas', 'Monaco', 'Courier New', monospace;
    font-size: 13px;
    min-height: 200px;
    overflow: auto;
}

/* Command prompt - only style the "$ spy" prompt span */
.command-prompt {
    font-family: monospace;
    color: #666;
}
