/* ====================================================
   Root Variables
==================================================== */
:root {
    --bg-color: #f8f9fa;
    --text-color: #212529;
    --card-bg: #ffffff;
    --header-bg: #e9ecef;
    --input-bg: #ffffff;
    --barcode-bg: #ffffff;
    --barcode-color: #000000;
}

/* ====================================================
   General Body Styling
==================================================== */
html, body {
    margin: 0;
    padding: 0;
    min-height: 100vh;
    box-sizing: border-box;
}

body {
    overflow: auto;
    background-color: var(--bg-color);
    background-image: url("images/paper-crunch.png");
    color: var(--text-color);
    background-repeat: repeat;
    background-size: auto;
    font-family: system-ui, sans-serif;
    transition: background-color 0.3s, color 0.3s;
}

/* Universal Box Sizing */
*, *::before, *::after {
    box-sizing: inherit;
}

/* ====================================================
   Utility Classes & Global Elements
==================================================== */
.mobile-break {
    border: none;
    border-top: 1px solid var(--header-bg);
    margin: 10px 0;
    display: none;
}

.top-right-icon {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 50px !important;
    height: auto !important;
    z-index: 10;
}

/* Show .mobile-break on mobile */
@media (max-width: 767px) {
    .mobile-break {
        display: block;
    }
}

/* Custom Scrollbar Styling (Global) */
::-webkit-scrollbar {
    width: 8px;
    background: #e9ecef;
}

::-webkit-scrollbar-thumb {
    background: #b0b0b0;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #888;
}
