/* Rep5x G-code Corrector Styles */

/* Tool-specific: graph container override */
.graph-container {
    background: #1f2937;
    border-radius: 12px;
    padding: 1rem;
}

/* Tool-specific: visualisation buttons */
.viz-btn {
    font-size: 0.75rem;
    padding: 0.375rem 0.75rem;
    border-radius: 6px;
    background: #374151;
    color: white;
    transition: all 0.15s;
    border: none;
    cursor: pointer;
}

.viz-btn:hover {
    background: #4b5563;
}

.viz-btn.active {
    background: var(--color-primary);
}

/* Tool-specific: gcode output override for textarea styling */
.gcode-output {
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    line-height: 1.5;
    background: #1e1e1e;
    color: #d4d4d4;
    border-radius: 8px;
    resize: none;
}

/* Toggle switch */
.toggle-switch {
    position: relative;
    width: 44px;
    height: 24px;
    background: #d1d5db;
    border-radius: 12px;
    cursor: pointer;
    transition: background 0.2s;
}

.toggle-switch.active {
    background: var(--color-primary);
}

.toggle-switch::after {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    width: 20px;
    height: 20px;
    background: white;
    border-radius: 50%;
    transition: transform 0.2s;
    box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}

.toggle-switch.active::after {
    transform: translateX(20px);
}

/* Checkbox styling */
.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.75rem;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.15s;
}

.checkbox-label:hover {
    background: #f9fafb;
}

.checkbox-label input[type="checkbox"] {
    width: 1.125rem;
    height: 1.125rem;
    margin-top: 0.125rem;
    accent-color: var(--color-primary);
}

/* IK params panel */
.params-panel {
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    border-radius: 8px;
    padding: 1rem;
}

.params-panel.purple {
    background: #faf5ff;
    border-color: #e9d5ff;
}
