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

body {
    background-color: #0F172A;
}

/* 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;
}

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

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

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

::-webkit-scrollbar-thumb:hover {
    background: #475569;
}

/* Print specific for PDF export */
@media print {
    body {
        background: white !important;
        color: black !important;
    }

    .grid {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 2rem !important;
    }

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

    .bg-surface,
    .bg-background {
        background: white !important;
        border-color: #e2e8f0 !important;
    }

    #winner-banner {
        border: 2px solid #10B981 !important;
    }

    .bg-primary\/5,
    .bg-accent\/5 {
        background: #f8fafc !important;
    }

    .bg-primary\/20,
    .bg-accent\/20 {
        background: #f1f5f9 !important;
    }

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

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

    /* Preserve crucial colors */
    .text-primary {
        color: #059669 !important;
    }

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

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

    .text-danger {
        color: #dc2626 !important;
    }

    .shadow-lg,
    .shadow-xl {
        box-shadow: none !important;
    }
}