﻿.price-list-scroll {
    width: 99vw;
    max-width: 100vw;
    overflow-x: hidden;
    overflow-y: auto;
    margin-left: -20px;
    margin-right: -25px;
    height: 90vh;
    color: white !important;
    /* Custom scrollbar styles */
    scrollbar-width: thin;
    scrollbar-color: #888 #222; /* thumb color, track color */
}

    /* Chrome, Edge, Safari */
    .price-list-scroll::-webkit-scrollbar {
        width: 6px;
        background: #222;
    }

    .price-list-scroll::-webkit-scrollbar-thumb {
        background: #888;
        border-radius: 4px;
    }

    .price-list-scroll::-webkit-scrollbar-track {
        background: #222;
    }

.price-list-table {
    display: flex;
    flex-direction: column;
    min-width: 900px;
    width: 100vw;
}

.price-list-row {
    display: flex;
    flex-direction: row;
    border-bottom: 1px solid #444; /* Softer, subtle dark gray */
}

.price-list-header {
    border: solid 1px solid #444;
    color: #fff;
    font-weight: bold;
    position: sticky;
    top: 0;
    z-index: 2;
}

.price-list-cell {
    flex: 1 1 0;
    padding: 0.75rem;
    min-width: 120px;
    word-break: break-word;
    border: none !important;
    display: flex;
    align-items: center;
    color: #fff;
}

@media (max-width: 576px) {
    .price-list-cell {
        min-width: 80px;
        font-size: 0.95em;
        padding: 0.5rem;
    }

        .price-list-cell:first-child {
            flex: 3 1 0; /* Even wider on mobile */
        }

        .price-list-cell:nth-child(4) {
            flex: 0.5 1 0; /* Even smaller price column */
        }
}

/* Make Product Name column larger and Price column smaller */
.price-list-cell:first-child {
    flex: 2.5 1 0; /* Product Name wider */
}

.price-list-cell:nth-child(4) {
    flex: 0.7 1 0; /* Price narrower */
}

.price-list-row:last-child .price-list-cell {
    border-bottom: none;
}

.price-list-cell:last-child {
    border-right: none;
}

.badge-success {
    background-color: #28a745;
    color: #fff;
    padding: 0.4em 0.6em;
    border-radius: 0.5rem;
    font-size: 0.85rem;
}

.badge-secondary {
    background-color: #6c757d;
    color: #fff;
    padding: 0.4em 0.6em;
    border-radius: 0.5rem;
    font-size: 0.85rem;
}

.badge-blink {
    float: right;
    animation: blinker 1s linear infinite;
    padding: 0.4em 0.6em;
    font-size: 0.85rem;
    border-radius: 0.5rem;
}
