body {
    font-family: 'Inter', sans-serif;
}

/* Hide all scrollbars */
/* For Webkit browsers (Chrome, Safari) */
::-webkit-scrollbar {
    display: none;
}

/* For Firefox */
* {
    scrollbar-width: none;
}

/* For IE, Edge */
* {
    -ms-overflow-style: none;
}

/* Style for the active sidebar link */
.sidebar-link.active {
    background-color: #2563eb;
    /* bg-blue-600 */
    color: #ffffff;
    /* text-white */
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.sidebar-link.active svg {
    color: #ffffff;
}

/* Styles for collapsed sidebar */
.sidebar-collapsed #sidebar {
    width: 5rem;
    /* 80px */
}

.sidebar-collapsed .logo-text,
.sidebar-collapsed .link-text {
    display: none;
}

.sidebar-collapsed .sidebar-link,
.sidebar-collapsed .sidebar-footer-link {
    justify-content: center;
}

/* Toast Notification Styles */
#toast-notification {
    transition: opacity 0.5s, transform 0.5s;
}

/* Styles for Sticky Top Bar */
#top-bar {
    position: -webkit-sticky;
    /* For Safari */
    position: sticky;
    top: 0;
    z-index: 10;
    /* Ensure it stays on top of other content */
}

/* --- Status-based Table Row Formatting --- */

/* Using a subtle background color is better for readability */
.inward-table tr.status-pending {
    background-color: #fef0c3;
    /* A soft yellow */
}

.inward-table tr.status-valid {
    background-color: #dcfce7;
    /* A soft green */
}

.inward-table tr.status-in-valid {
    background-color: #fee2e2;
    /* A soft red */
}

/* Make the hover effect consistent */
.inward-table tr[class^="status-"]:hover {
    background-color: #e5e7eb;
    /* A neutral gray on hover */
}

/* --- NEW QC MODAL SIZE & SCROLL STYLES --- */
.fixed-qc-modal {
    width: 811px;
    height: 641px;
    max-width: 811px !important;
    overflow: hidden;
    /* Prevent the entire modal from scrolling */
}

#qc-workflow-content {
    overflow-y: auto;
    /* Enable vertical scrolling only for the content */
}

/* --- NEW: Toast Notification Styles --- */
#notification-container {
    position: fixed;
    bottom: 1.25rem;
    /* 20px */
    right: 1.25rem;
    /* 20px */
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.75rem;
    /* 12px */
}

.toast {
    display: flex;
    align-items: center;
    padding: 0.75rem 1.25rem;
    border-radius: 0.5rem;
    /* 8px */
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
    color: white;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.toast.show {
    opacity: 1;
    transform: translateY(0);
}

.toast i {
    margin-right: 0.75rem;
    font-size: 1.25rem;
}

.toast-info {
    background-color: #2563eb;
    /* bg-blue-600 */
}

.toast-success {
    background-color: #16a34a;
    /* bg-green-600 */
}

.toast-error {
    background-color: #dc2626;
    /* bg-red-600 */
}