/* genera_ui.css | Genera Studio - Estilos Unificados do Ecossistema */

/* Configuração Global do Corpo e Fundo */
body {
    background-color: #0f172a; /* Fundo Grafite (Tailwind slate-900) */
    background-image: 
        linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
    background-size: 20px 20px;
    color: #cbd5e1; /* Texto claro (Tailwind slate-300) */
}

/* Customização global da barra de scroll da página */
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: #0f172a; }
::-webkit-scrollbar-thumb { background: #334155; border: 1px solid #0f172a; }
::-webkit-scrollbar-thumb:hover { background: #06b6d4; }

/* Customização dos Sliders (Range) */
.genera-slider {
    -webkit-appearance: none;
    appearance: none;
    height: 2px;
    background: #334155;
    outline: none;
}

.genera-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 10px;
    height: 16px;
    background: #06b6d4;
    cursor: ns-resize;
    transition: background .15s ease-in-out;
}

.genera-slider::-moz-range-thumb {
    width: 10px;
    height: 16px;
    background: #06b6d4;
    border: none;
    border-radius: 0;
    cursor: ns-resize;
    transition: background .15s ease-in-out;
}

.genera-slider:hover::-webkit-slider-thumb {
    background: #22d3ee;
    box-shadow: 0 0 8px rgba(6, 182, 212, 0.5);
}

/* Cartões dos Motores */
.plotter-card {
    background-color: #1e293b; /* Painel (Tailwind slate-800) */
    border: 1px solid #334155; /* Borda (Tailwind slate-700) */
    transition: all 0.2s ease-in-out;
    position: relative;
    overflow: hidden;
    border-radius: 0;
}

.plotter-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, #06b6d4, transparent);
    transform: translateX(-100%);
    transition: transform 0.4s ease;
}

.plotter-card:hover {
    border-color: #06b6d4;
    box-shadow: 0 0 15px rgba(6, 182, 212, 0.1);
}

.plotter-card:hover::before {
    transform: translateX(100%);
}

/* Divisória de Eixos X/Y */
.axis-line {
    position: relative;
    margin: 2rem 0;
    border-bottom: 1px dashed #334155;
}

/* 
 * Correção do Conflito do Tailwind via CSS 
 * Estilo universal para o botão Random (No-Matrix) independentemente do ID 
 */
.btn-sodeleve-random {
    background-color: rgba(74, 4, 78, 0.2) !important; 
    border: 1px solid rgba(74, 4, 78, 0.5) !important;
    color: #e879f9 !important;
    box-shadow: 0 0 10px rgba(217,70,239,0.1) !important;
}

.btn-sodeleve-random:hover {
    background-color: #c026d3 !important; 
    border-color: #c026d3 !important;
    color: #ffffff !important; 
}