/* Custom CSS for ProtocoloPro Premium App */

/* Custom Scrollbar */
.custom-scrollbar::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}
.custom-scrollbar::-webkit-scrollbar-track {
    background: transparent;
}
.custom-scrollbar::-webkit-scrollbar-thumb {
    background: rgba(51, 65, 85, 0.5);
    border-radius: 10px;
}
.custom-scrollbar::-webkit-scrollbar-thumb:hover {
    background: rgba(71, 85, 105, 0.8);
}

/* Base Styles */
body {
    background-color: #f8fafc;
}
.dark body {
    background-color: #020617;
}

/* Glassmorphism Utilities */
.glass-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.5);
}
.dark .glass-card {
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid rgba(51, 65, 85, 0.5);
}

/* Form inputs autocomplete style reset for dark mode */
input:-webkit-autofill,
input:-webkit-autofill:hover, 
input:-webkit-autofill:focus, 
input:-webkit-autofill:active{
    -webkit-box-shadow: 0 0 0 30px #020617 inset !important;
    -webkit-text-fill-color: white !important;
    transition: background-color 5000s ease-in-out 0s;
}

/* Signature Pad Canvas */
#signature-pad canvas {
    background-color: transparent !important;
    cursor: crosshair;
}

/* Print Styles */
@media print {
    body {
    background-color: #f8fafc;
}
.dark body {
        background: white !important;
        color: black !important;
    }
    aside, .no-print {
        display: none !important;
    }
    main {
        margin-left: 0 !important;
        padding: 0 !important;
    }
    .glass-card {
        background: white !important;
        border: none !important;
        box-shadow: none !important;
        backdrop-filter: none !important;
    }
}
