.subcategory-frame {
    /*border: 1px solid #ccc;*/
    margin-bottom: 5px;
    /*padding: 10px;*/
    width: 100%; /* Ensure the frame takes the full width */
    box-sizing: border-box; /* Include padding and border in the total width */
}

.subcategory-header {
    cursor: pointer;
    background-color: rgb(1, 114, 180);
    color: white;
	/*font-weight: bold;*/
    padding: 5px;
	font-size: 16pt
    /*margin-bottom: 10px; /* Add margin to separate header from table */
}

/* Styling to blue on hover */
.subcategory-header {
    background-color: rgb(1, 114, 180); /* Original blue */
    transition: background-color 0.3s ease; /* Smooth transition */
}
.subcategory-header:hover {
    background-color: #0288D1; /* Lighter shade of blue */
}

.product-table {
    width: 100%; /* Ensure the table takes the full width of the frame */
    table-layout: fixed; /* Ensure the table layout is fixed */
    overflow-x: auto; /* Allow horizontal scrolling if needed */
    margin-left: 0; /* Align table to the left of its frame */
}

.first-column {
    width: 200px; /* Set the desired width for the first column */
    padding-left: 10px; /* Add padding to the left */
    text-align: left; /* Ensure text is aligned to the left */
}

.product-table thead {
    background-color: rgb(1, 114, 180);
    color: white;
}

.product-table thead th {
    padding: 10px; /* Increase padding to make the header row taller */
    text-align: center; /* Center the text in all headers */
}

.product-table thead th.first-column-header {
    text-align: left; /* Align text to the left in the first column header */
}

.product-frame {
    width: 100%; /* Ensure the table takes the full width of the frame */
    table-layout: auto; /* Ensure the table layout is fixed */
    overflow-x: auto; /* Allow horizontal scrolling if needed */
    margin-left: 0; /* Align table to the left of its frame */
}

.input-number {
    width: 55px;
    border: none;
	text-align: center;
}

.product-table, .product-table th, .product-table td {
    border: 1px solid #ccc; /* Adds a thin border around the table, headers, and cells */
    border-collapse: collapse; /* Ensures borders are not doubled */
}

.product-table th, .product-table td {
    text-align: center; /* Center the text in all columns */
    padding: 10px; /* Adjust padding as needed */
}

.product-table td.no-padding {
    padding: 0; /* Remove padding from cells with input boxes */
}



/* highlighting the row/column of the cell */
.highlight {
    background-color: #E3F2FD !important;
}
.highlight .input-number {
    background-color: #E3F2FD !important;
}
.highlight-header {
    background-color: #0288D1 !important;
}


/* PopUp display for product information */
/* Add this to your external stylesheet */
.popup {
    display: none; /* Hidden by default */
    position: absolute; /* Position based on coordinates */
    z-index: 1000;
    width: 180px;
    background-color: white;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    border-radius: 0; /* Square corners */
    padding-bottom: 20px;
}

.popup-content {
    text-align: center;
}

.sku {
    background-color: blue;
    color: white;
    text-align: center;
    padding: 10px;
    width: 100%; /* Full width */
    box-sizing: border-box; /* Ensure padding is included in width */
}

.close-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    cursor: pointer;
    font-size: 20px;
}

#product-image {
    width: 100%;
    height: auto;
    margin-bottom: 10px;
}

#view-product-btn {
    background-color: #0288D1;
    color: white;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    border-radius: 5px;
}

#view-product-btn:hover {
    background-color: #026aa7;
}

.product-code {
    text-align: left;
}
.product-code:hover {
    text-decoration: underline;
}
.product-code[data-product-id] {
    color: #026aa7;
}


/* carot */
.caret-arrow {
    /*background-color: rgb(1, 114, 180); /* Same background color as the header */
    color: white;
    /*padding: 1px 2.5px; /* Reduce padding to half */
    border-radius: 3px;
    /*font-size: 15px; /* Reduce font size to half */
}


/* Waiting Symbol */
#loading {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.5);
    color: white;
    padding: 10px;
    border-radius: 5px;
    z-index: 1000;
}