/* GENERA - APP SHARED STYLES - VersÃ£o Simplificada */

:root {
    --bg-primary: #0B1C26;
    --bg-secondary: #112835;
    --accent-primary: #10B981;
    --text-primary: #F1F5F9;
    --text-secondary: #94A3B8;
    --border-subtle: rgba(52, 211, 153, 0.15);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'JetBrains Mono', 'Fira Code', monospace;
    background-color: #0B1C26;
    color: #F1F5F9;
    line-height: 1.6;
    padding: 20px;
}

header {
    text-align: center;
    margin-bottom: 40px;
    padding-bottom: 25px;
    border-bottom: 1px solid rgba(52, 211, 153, 0.15);
}

header h1 {
    font-size: 2.2em;
    color: #10B981;
    margin-bottom: 8px;
}

.container {
    display: grid;
    grid-template-columns: 340px 1fr;
    gap: 30px;
    max-width: 1400px;
    margin: 0 auto;
}

.control-panel {
    background-color: #112835;
    border: 1px solid rgba(52, 211, 153, 0.15);
    padding: 25px;
    border-radius: 12px;
}

.param-group {
    margin-bottom: 22px;
    padding: 14px;
    background-color: #0B1C26;
    border-left: 3px solid #10B981;
    border-radius: 0 8px 8px 0;
}

.param-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 10px;
    color: #F1F5F9;
}

.param-group input[type="range"] {
    width: 100%;
    height: 6px;
    background: #1A3645;
    border-radius: 3px;
    appearance: none;
    cursor: pointer;
}

.param-group input[type="range"]::-webkit-slider-thumb {
    appearance: none;
    width: 16px;
    height: 16px;
    background: #10B981;
    border-radius: 50%;
    cursor: pointer;
}

.value-display {
    display: inline-block;
    background-color: #1A3645;
    padding: 4px 12px;
    border-radius: 4px;
    font-weight: 600;
    color: #10B981;
    font-size: 0.9em;
    margin-left: 8px;
}

.param-explanation {
    font-size: 0.8em;
    color: #94A3B8;
    margin-top: 8px;
    font-style: italic;
}

button {
    padding: 12px 18px;
    font-family: inherit;
    font-size: 0.9em;
    font-weight: 600;
    border: 1px solid #10B981;
    background-color: transparent;
    color: #10B981;
    cursor: pointer;
    text-transform: uppercase;
    border-radius: 6px;
    margin-top: 10px;
    width: 100%;
}

button:hover {
    background-color: #10B981;
    color: #0B1C26;
}

.canvas-container {
    background-color: #112835;
    border: 1px solid rgba(52, 211, 153, 0.15);
    padding: 25px;
    border-radius: 12px;
    min-height: 600px;
}

canvas {
    display: block;
    background-color: #ffffff;
}

footer {
    text-align: center;
    margin-top: 50px;
    padding-top: 25px;
    border-top: 1px solid rgba(52, 211, 153, 0.15);
    color: #94A3B8;
}
/* --- Console de Log --- */
.console-log {
    margin-top: 25px;
    background-color: rgba(11, 28, 38, 0.6);
    border: 1px solid rgba(52, 211, 153, 0.2);
    padding: 12px;
    border-radius: 8px;
    max-height: 150px; /* Altura m«¡xima fixa */
    overflow-y: auto; /* Scroll vertical autom«¡tico */
    font-size: 0.75em; /* Fonte menor */
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.3);
}

.console-log h3 {
    font-size: 0.9em;
    margin-bottom: 8px;
    color: #22D3EE; /* Ciano para o t«¿tulo */
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
}

.console-log h3::before {
    content: '>';
    color: #10B981;
}

#consoleOutput {
    color: #94A3B8;
    font-family: 'Courier New', monospace;
    line-height: 1.4;
}

#consoleOutput div {
    margin-bottom: 3px;
    padding: 2px 0 2px 6px;
    border-left: 2px solid rgba(52, 211, 153, 0.2);
    font-size: 0.9em;
}

#consoleOutput div:hover {
    background-color: rgba(16, 185, 129, 0.05);
    border-left-color: #10B981;
}

/* Scrollbar do console */
.console-log::-webkit-scrollbar {
    width: 6px;
}

.console-log::-webkit-scrollbar-track {
    background: rgba(11, 28, 38, 0.5);
    border-radius: 3px;
}

.console-log::-webkit-scrollbar-thumb {
    background: rgba(16, 185, 129, 0.3);
    border-radius: 3px;
}

.console-log::-webkit-scrollbar-thumb:hover {
    background: rgba(16, 185, 129, 0.5);
}