/* Custom Styles */
body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    /* Removed the previous gradient as it is now handled by tailwind classes and custom elements in HTML */
}

/* Slow rotation for abstract hero element */
.animate-spin-slow {
    animation: spin 20s linear infinite;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* Custom Scrollbar for dark theme */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
}

::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.3);
}

/* Print styles for the nutritional table */
@media print {
    body {
        background: none !important;
        animation: none !important;
        color: #000 !important;
    }

    body * {
        visibility: hidden;
    }

    #nutritional-table-print-area,
    #nutritional-table-print-area * {
        visibility: visible;
        color: #000 !important;
    }

    #nutritional-table-print-area {
        position: absolute;
        left: 0;
        top: 0;
        width: 100%;
        margin: 0;
        padding: 0;
        box-shadow: none;
        max-width: none;
        border: none;
    }

    /* Hide buttons in print */
    .no-print {
        display: none !important;
    }
}
