/* Reset all */
* {
    margin: 0em;
    padding: 0;
    box-sizing: border-box;
}

p,
li,
td {
    font-size: 20px;
}

button {
    margin-left: 10px;
    margin-right: 10px;
}

li {
    margin-left: 30px;
}

.hrule {
    border: 2px dotted black;
    width: 100%;
    margin-top: 10px;
    margin-bottom: 10px;
}

.header {
    background-color: lightgray;
    padding: 10px;
}

.footer {
    background-color: lightgray;
    padding: 10px;
}

/* Container for the entire page */
.page-container {
    display: flex;
    height: auto;
    margin-left: 0;
    /* Full viewport height */
}

/* Fixed left menu styles */
.left-menu {
    width: 200px;
    /* You can adjust this value to your needs */
    height: 100vh;
    padding: 10px;
    overflow-y: auto;
    /* To scroll if content exceeds the viewport height */
}

.left-menu a {
    color: blue;
    text-decoration: none;
    padding: 10px 5px;
    display: block;
}

.left-menu a:hover {
    color: white;
    background-color: green;
}

/* Loading spinner overlay */
.spinner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.8);
    /* Optional: semi-transparent background */
    z-index: 10;
    /* Ensure it's above the content */
}

/* Flexible content area styles */
.content {
    display: flex;
    width: 100%;
    max-width: 1250px;
    min-width: 350px;
    /* Makes this area flexible */
    padding: 10px;
    border-left: 1px solid black;
    overflow-y: auto;
}

.content-top-navigation {
    display: flex;
    width: 100%;
}

.content-top-navigation .wrapper {
    display: flex;
    width: 100%;
    padding-bottom: 10px;
    border-bottom: 2px solid black;
}

.content-top-navigation .left {
    width: 150px;
}

.content-top-navigation .center {
    margin-left: 20px;
    font-size: 30px;
    width: 100%;
    text-align: center;
}

.content-top-navigation .right {}

.money_table td:nth-child(1) {
    width: 200px;
}

.money_table td:nth-child(2) {
    text-align: right;
    white-space: nowrap;
}

.money_table input {
    width: 100px;
    display: inline-block;
}

.currency,
.quantity {
    text-align: right;
}

.infoTable td:nth-child(1) {
    font-weight: bold;
    text-align: right;
}

.infoTable td:nth-child(2) {
    padding-left: 10px;
}

.touchable tr {
    height: 50px;
}

.dataTable th,
.dataTable td {
    padding-left: 10px;
    padding-right: 10px;
}

.dataTable tr:not(:first-child):nth-child(odd) {
    background-color: #f2f2f2;
}

.statusActive {
    background-color: lightgreen !important;
}

#productsBox {
    height: 420px;
    /* Example height. Adjust based on your requirements */
    overflow-y: auto;
    /* Only vertical scroll */
    border: 1px solid #ccc;
    /* Optional border */
}

/* Container for the list, removing list-style to hide default bullets */
#productsBox ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

/* Styling list items as buttons */
#productsBox ul li {
    width: 500px;
    /* Show side by side */
    margin-left: 0px;
    margin-right: 10px;
    /* Spacing between buttons */
    padding: 20px 20px;
    /* Button padding */
    background-color: lightgray;
    /* Button color */
    color: black;
    /* Text color */
    border: none;
    /* Removing border */
    cursor: pointer;
    /* Hand cursor on hover */
    transition: background-color 0.3s ease;
    /* Smooth color transition */
}

/* Button hover effect */
#productsBox ul li:hover {
    background-color: #0056b3;
    color: white;
}

/* Optional: Button active (clicked) effect */
#productsBox ul li:active {
    background-color: #003f80;
}

#productsBox ul li.selectedColor {
    background-color: green !important;
    color: white !important;
    font-weight: bold;
}

.button-box {
    width: 240px;
    height: 140px;
    color: white;
    background-color: gray;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    border: 1px solid #000;
    /* Optional: to visualize each box */
    padding: 10px;
    cursor: pointer;
    font-weight: 400;
    font-size: 30px;
}

.button-box:hover {
    outline: 4px solid black;
    outline-offset: 4px;
}

.red-button-color {
    background-color: red;
    color: white;
}

.green-button-color {
    background-color: green;
    color: white;
}

.blue-button-color {
    background-color: blue;
    color: white;
}

.back-button {
    background-color: orange;
    color: black;
    height: 50px;
    width: 100%;
    font-size: 20px;
}

.nav-button {
    height: 50px;
    font-size: 20px;
}

.productColor1 {
    background-color: green;
    color: white;
}

.productColor2 {
    background-color: orange;
    color: black;
}

.productColor3 {
    background-color: yellow;
    color: black;
}

.productColor4 {
    background-color: blue;
    color: white;
}

.productColor5 {
    background-color: purple;
    color: white;
}

.touchScrollContainer.active {
    cursor: grabbing;
    user-select: none;
}

.touchScrollContainer:active {
    cursor: grabbing;
}


#quantityBox {
    height: 95px;
    /* Example height. Adjust based on your requirements */
    border: 1px solid #ccc;
    /* Optional border */
}

/* Container for the list, removing list-style to hide default bullets */
#quantityBox ul {
    list-style: none;
    padding: 0;
    margin: 0;
    margin-bottom: 5px;
}

/* Styling list items as buttons */
#quantityBox ul li {
    display: inline-block;
    width: 60px;
    /* Show side by side */
    margin-left: 0px;
    margin-right: 10px;
    /* Spacing between buttons */
    padding: 10px 20px;
    /* Button padding */
    background-color: lightblue;
    /* Button color */
    color: black;
    /* Text color */
    border: none;
    /* Removing border */
    border-radius: 5px;
    /* Rounded corners */
    cursor: pointer;
    /* Hand cursor on hover */
    transition: background-color 0.3s ease;
    /* Smooth color transition */
    text-align: center;
}

/* Button hover effect */
#quantityBox ul li:hover {
    background-color: #0056b3;
    color: white;
}

/* Optional: Button active (clicked) effect */
#quantityBox ul li:active {
    background-color: #003f80;
    color: white;
}

#quantityBox ul li.selectedColor {
    background-color: green !important;
    color: white;
    font-weight: bold;
}

.enabledDiv {
    pointer-events: all;
}

.disabledDiv {
    pointer-events: none;
}

#shooterInput {
    width: 200px;
    padding: 5px;
    margin-bottom: 10px;
}

#shooterSelect {
    width: 210px;
    display: none;
    position: absolute;
}

.dds-item {
    padding: 5px;
    cursor: pointer;
}

.dds-item:hover {
    background-color: #ddd;
}