/* App Custom Style for ABRAMAN System */

/* Page transition animation */
.fade-in-slide-up {
    animation: fadeInSlideUp 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes fadeInSlideUp {
    from {
        opacity: 0;
        transform: translateY(12px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}
::-webkit-scrollbar-track {
    background: transparent;
}
.dark ::-webkit-scrollbar-track {
    background: #1c2229;
}
::-webkit-scrollbar-thumb {
    background: #c3c6d1;
    border-radius: 3px;
}
.dark ::-webkit-scrollbar-thumb {
    background: #434750;
}
::-webkit-scrollbar-thumb:hover {
    background: #737781;
}

/* Toast container animations */
.toast-enter {
    animation: toastEnter 0.35s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.toast-exit {
    animation: toastExit 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes toastEnter {
    from {
        opacity: 0;
        transform: translateY(20px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes toastExit {
    from {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
    to {
        opacity: 0;
        transform: translateY(-20px) scale(0.95);
    }
}

/* Glassmorphism details */
.glass-header {
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

/* Media query to print report nicely */
@media print {
    body {
        background-color: #ffffff !important;
        color: #000000 !important;
    }
    header, aside, .action-bar-container, footer, button, .no-print {
        display: none !important;
    }
    main {
        margin-left: 0 !important;
        padding: 0 !important;
        width: 100% !important;
        height: auto !important;
        overflow: visible !important;
    }
    .report-canvas {
        border: none !important;
        box-shadow: none !important;
        margin: 0 !important;
        padding: 0 !important;
        max-width: 100% !important;
        width: 100% !important;
    }
}
