/* CalcMaster Pro Custom Styles & Print Optimization */

/* Smooth scrollbar */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}
::-webkit-scrollbar-track {
    background: transparent;
}
::-webkit-scrollbar-thumb {
    background: rgba(148, 163, 184, 0.4);
    border-radius: 9999px;
}
::-webkit-scrollbar-thumb:hover {
    background: rgba(100, 116, 139, 0.7);
}

/* Number inputs without annoying arrows if desired */
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;
}

/* Accent pulse on result update */
@keyframes highlightResult {
    0% { transform: scale(0.98); opacity: 0.8; }
    50% { transform: scale(1.01); }
    100% { transform: scale(1); opacity: 1; }
}
.result-updated {
    animation: highlightResult 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Print View Formatting - Clean PDF generation */
@media print {
    header,
    footer,
    nav[aria-label="Breadcrumb"],
    #theme-toggle,
    #search-modal-trigger,
    #mobile-menu-button,
    .no-print,
    section.mt-16.pt-12 {
        display: none !important;
    }

    body {
        background-color: white !important;
        color: black !important;
        font-size: 12pt;
    }

    .calculator-card {
        border: 1px solid #cbd5e1 !important;
        box-shadow: none !important;
        page-break-inside: avoid;
    }

    .result-card {
        border: 2px solid #2563eb !important;
        background: #f8fafc !important;
        color: black !important;
    }
}
