/* Custom Prescription Theme Enhancements */

body {
    -webkit-tap-highlight-color: transparent;
    user-select: none;
}

input, button, table {
    user-select: auto;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}
::-webkit-scrollbar-track {
    background: #0a0f18;
}
::-webkit-scrollbar-thumb {
    background: #1e293b;
    border-radius: 999px;
}
::-webkit-scrollbar-thumb:hover {
    background: #d9a74a;
}

/* Certificate Card Styling */
.prescription-certificate {
    background-image: 
        radial-gradient(circle at top right, rgba(15, 81, 50, 0.25), transparent 40%),
        radial-gradient(circle at bottom left, rgba(217, 167, 74, 0.15), transparent 40%);
}

/* Entrance Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(12px); }
    to { opacity: 1; transform: translateY(0); }
}

.animate-fade-in {
    animation: fadeIn 0.6s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

/* Printable Document CSS */
@media print {
    body * {
        visibility: hidden;
    }
    #confirmationModal, #confirmationModal * {
        visibility: visible;
    }
    #confirmationModal {
        position: absolute;
        left: 0;
        top: 0;
        width: 100%;
        height: 100%;
        background: white !important;
        color: black !important;
        padding: 0;
        display: flex !important;
        justify-content: center;
        align-items: center;
    }
    #prescriptionTicket {
        border: 2px solid #000 !important;
        background: #fff !important;
        color: #000 !important;
        box-shadow: none !important;
        width: 100% !important;
        max-width: 600px !important;
    }
    #prescriptionTicket * {
        color: #000 !important;
        border-color: #ccc !important;
        background: transparent !important;
    }
    button, header, footer {
        display: none !important;
    }
}