/* Toast Notification Styles */
#toast-container {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.toast {
    background-color: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-md);
    padding: var(--sp-3) var(--sp-6);
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 280px;
    animation: slideInRight 0.3s ease;
    border-right: 4px solid var(--primary);
    font-weight: 600;
}

.toast-success { border-right-color: var(--success); }
.toast-danger { border-right-color: var(--danger); }
.toast-warning { border-right-color: var(--warning); }
.toast-info { border-right-color: var(--info); }

.toast i { font-size: 1.25em; }
.toast-success i { color: var(--success); }
.toast-danger i { color: var(--danger); }
.toast-warning i { color: var(--warning); }
.toast-info i { color: var(--info); }

@keyframes slideInRight {
    from { opacity: 0; transform: translateX(50px); }
    to { opacity: 1; transform: translateX(0); }
}

/* Print Styles */
@media print {
    .sidebar, .header, .btn-print, .mobile-toggle, .btn-primary, .btn-outline, .btn-accent, .nav-group-title, .sidebar-overlay, .lot-mapping-alert, .form-actions {
        display: none !important;
    }
    
    body {
        background-color: #fff !important;
        font-size: 12pt;
    }
    
    .main-content {
        margin: 0 !important;
        padding: 0 !important;
    }
    
    .content-area {
        padding: 0 !important;
        max-width: 100% !important;
    }
    
    .card {
        border: none !important;
        box-shadow: none !important;
        margin: 0 !important;
    }
    
    /* Vouchers (A5 Layout) */
    .print-voucher {
        width: 148mm;
        margin: 0 auto;
        padding: 10mm;
        border: 1px solid #000;
        position: relative;
    }
    
    /* Ledgers (A4 Layout) */
    .print-ledger {
        width: 100%;
        padding: 0;
    }
    
    .table th {
        background-color: #eee !important;
        color: #000 !important;
        border: 1px solid #000;
    }
    
    .table td {
        border: 1px solid #000;
    }
    
    .print-header {
        text-align: center;
        margin-bottom: 20px;
        display: block !important;
    }
}

.print-header { display: none; } /* Hidden in browser, shown in print */
