/* Premium Toast Stylings */
#toast-container {
    position: fixed;
    top: 1.5rem;
    right: 1.5rem;
    z-index: 9999;
    pointer-events: none;
}

.toast {
    pointer-events: auto;
    min-width: 280px;
    background: white;
    border-radius: 1.25rem;
    padding: 1rem 1.25rem;
    margin-bottom: 0.75rem;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
    border-left: 5px solid;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    transform: translateX(120%);
    transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    opacity: 0;
}

.toast.show {
    transform: translateX(0);
    opacity: 1;
}

.toast-success {
    border-left-color: #10b981;
}

.toast-error {
    border-left-color: #ef4444;
}

.toast-info {
    border-left-color: #3b82f6;
}

.toast-icon {
    width: 1.5rem;
    height: 1.5rem;
    flex-shrink: 0;
}

.toast-success .toast-icon {
    color: #10b981;
}

.toast-error .toast-icon {
    color: #ef4444;
}

.toast-info .toast-icon {
    color: #3b82f6;
}

.toast-msg {
    font-size: 0.8125rem;
    font-weight: 700;
    color: #1e293b;
}

/* Print Styles for PDF Export */
@media print {
    aside, 
    nav, 
    #actionsDropdownContainer, 
    #actionsDropdown,
    .bg-blue-600.text-white, 
    button,
    #searchInput,
    .md\:ml-0,
    .md\:flex {
        display: none !important;
    }

    body, main {
        background: white !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    .flex-1 {
        margin-left: 0 !important;
    }

    table {
        width: 100% !important;
        border-collapse: collapse !important;
    }

    th, td {
        border: 1px solid #e2e8f0 !important;
        padding: 8px !important;
        color: black !important;
    }

    thead tr {
        background: #1e40af !important;
        -webkit-print-color-adjust: exact !important;
        print-color-adjust: exact !important;
    }

    /* Keep table showing even if in a scrollable div */
    .overflow-x-auto {
        overflow: visible !important;
    }
}
