/* Base */
html {
    scroll-behavior: smooth;
}

body {
    background-color: #0F0F1A;
}

/* Hide increment arrows on number inputs */
input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

input[type=number] {
    -moz-appearance: textfield;
}

/* Tooltips */
.tooltip-trigger {
    cursor: help;
    border-bottom: 1px dotted rgba(148, 163, 184, 0.5);
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: #2E2E48;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: #3f3f5a;
}

/* Preset Buttons */
.preset-btn {
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.2s;
    background-color: #1A1A2E;
    color: #94A3B8;
    border: 1px solid #2E2E48;
}

.preset-btn:hover {
    border-color: #8B5CF6;
    color: white;
}

.preset-btn.active {
    background-color: rgba(139, 92, 246, 0.1);
    color: #8B5CF6;
    border-color: #8B5CF6;
}

/* Print Layout Optimization */
@media print {
    body {
        background: white !important;
        color: black !important;
    }

    .absolute,
    header,
    button,
    .hidden,
    .md\:hidden {
        display: none !important;
    }

    .bg-surface,
    .bg-background,
    .bg-surfaceLight {
        background: white !important;
        border: 1px solid #e2e8f0 !important;
        box-shadow: none !important;
    }

    input {
        background: transparent !important;
        border: none !important;
        border-bottom: 1px solid #e2e8f0 !important;
        border-radius: 0 !important;
        color: black !important;
    }

    .bg-primary\/5 {
        background: #f8fafc !important;
        border: 1px solid #e2e8f0 !important;
    }

    .text-white,
    .text-textMain {
        color: #0f172a !important;
    }

    .text-textMuted {
        color: #64748b !important;
    }

    .text-primary {
        color: #6366f1 !important;
    }

    .text-secondary {
        color: #059669 !important;
    }

    .text-accent {
        color: #e11d48 !important;
    }

    #runway-bar {
        display: none !important;
    }

    canvas {
        margin: 0 auto;
        max-width: 400px !important;
        max-height: 400px !important;
    }
}