/* INONI HUB - BaseLinker Style Theme */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500;600&display=swap');

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background-color: #f0f2f5;
    color: #212529;
    font-size: 12px;
}

code, pre, .font-mono {
    font-family: "JetBrains Mono", Consolas, monospace;
}

/* Scrollbary */
::-webkit-scrollbar {
    width: 7px;
    height: 7px;
}
::-webkit-scrollbar-track {
    background: #e9ecef;
}
::-webkit-scrollbar-thumb {
    background: #ced4da;
    border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
    background: #adb5bd;
}

/* BaseLinker Table Tweaks */
table {
    border-collapse: separate;
    border-spacing: 0;
}

th {
    letter-spacing: 0.02em;
}

tr:hover td {
    background-color: #f7f9fc !important;
}

/* BaseLinker Badges */
.shadow-xs {
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

/* Product Thumbnail Zoom (BaseLinker style) */
.product-thumb-wrap {
    position: relative;
    cursor: pointer;
    display: inline-block;
}

.product-thumb-zoom {
    display: none;
    position: absolute;
    top: -30px;
    left: calc(100% + 12px);
    width: max-content;
    max-width: 400px;
    height: auto;
    max-height: 400px;
    z-index: 9999;
    box-shadow: 0 14px 36px rgba(0, 0, 0, 0.28), 0 2px 10px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    border: 3px solid #ffffff;
    background: #ffffff;
    pointer-events: none;
    padding: 4px;
}

.product-thumb-wrap:hover .product-thumb-zoom {
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-thumb-zoom img {
    max-width: 360px;
    max-height: 360px;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 6px;
    display: block;
    background: #ffffff;
}

/* POS Radio Pill active styles */
label:has(input[type="radio"]:checked) {
    background-color: #eff6ff !important;
    border-color: #0070ba !important;
    color: #0070ba !important;
    font-weight: 600;
}

/* Status dropdowns pop animation */
#bulkStatusDropdown, #rowStatusDropdown {
    animation: fadeInScale 0.12s ease-out;
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: translateY(-2px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

#inoniToast {
    transition: opacity 0.25s ease-in-out, transform 0.25s ease-in-out;
}


