
    /* Page Background and General Styling */
    body {
    position: relative;
    overflow-x: hidden;
    font-family: "Saira", sans;
	/* background-image: url("light1.png"); */
	background-repeat: no-repeat;
    background-attachment: fixed; 
    background-size: 100% 100%;
	background-color: black;
	color: white;
    }

    /* Card Styling */
    .card {
        background: #2c2c3e; /* Darker card background */
		color: #f8f8f2;
        border-radius: 12px;
        box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.5);
        border: none;
    }

    .card-header {
        background-color: #44475a; /* Header with a muted dark tone */
        color: #ffffff; /* Light text */
        border-radius: 12px 12px 0 0;
        padding: 15px;
    }

    .card-title {
        font-size: 1.5rem;
        font-weight: bold;
    }

    /* Buttons */
    .btn-primary {
        background-color: #6272a4; /* Soft blue for buttons */
        border: none;
        color: #ffffff;
        font-size: 0.9rem;
        font-weight: bold;
        padding: 8px 16px;
        transition: 0.3s;
    }

    .btn-primary:hover {
        background-color: #50fa7b; /* Highlighted green on hover */
        transform: scale(1.05);
    }

    .btn-default {
        color: #ccc;
        background-color: #3b3b4d;
        border-color: #555;
        transition: 0.3s;
    }

    .btn-default:hover {
        background-color: #555555;
        border-color: #666;
    }

    /* Table Styling */
.table {
    background-color: #282a36; /* Dark table background */
    color: #f8f8f2 ; /* Light text color */
    border-radius: 10px;
    overflow: hidden;
}

.table th {
    background-color: #00d5e1; 
    color:black ; /* Light text */
    font-weight: bold;
    text-align: start;
}

.table td:not(:last-child) {
    text-align: start;
    vertical-align: middle;
    color: #fff !important;
}

.table-striped tbody tr:nth-of-type(odd) {
        background-color: #21515e;  /* Slightly lighter row background */
    color: #f8f8f2 !important; /* Explicitly set text to white */
}

.table-striped tbody tr:nth-of-type(even) {
    background-color: #282a36; /* Original row background */
    color: #f8f8f2 !important; /* Explicitly set text to white */
}


    /* Modal Styling */
    .modal-content {
        background-color: #282a36; /* Modal background */
        border-radius: 10px;
        color: #ffffff; /* Light text */
    }

    .modal-header {
        background-color: #44475a; /* Modal header color */
        color: #ffffff;
        border-radius: 10px 10px 0 0;
        padding: 15px;
    }

    .modal-title {
        font-size: 1.25rem;
        font-weight: bold;
    }

    .modal-footer .btn-primary {
        background-color: #6272a4;
    }

    .modal-footer .btn-primary:hover {
        background-color: #50fa7b;
    }

    /* Alert Styling */
    #alert_action {
        background-color: #3b3b4d;
        color: #ffffff;
        border-color: #6272a4;
    }

    .dropdown-container {
        position: relative;
        display: inline-block;
    }
    .dropdown-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        background: white;
        border: 1px solid #ddd;
        border-radius: 5px;
        box-shadow: 0 2px 5px rgba(0,0,0,0.2);
        padding: 5px;
        z-index: 10;
    }
    .dropdown-container:hover .dropdown-menu {
        display: block;
    }
    .dropdown-menu label {
        display: block;
        padding: 5px;
        cursor: pointer;
    }
    .dropdown-menu label:hover {
        background: #f0f0f0;
    }

    #checkoutButton {
        background-color: #007bff !important; /* Vibrant orange */
        color: white !important;
        border: none !important;
        padding: 8px 15px;
        font-size: 14px;
        font-weight: bold;
        border-radius: 5px;
        transition: background 0.3s, transform 0.2s;
    }
    
    #checkoutButton:hover:enabled {
 background-color: #007bff  !important; /* Slightly brighter orange */
        transform: scale(1.05);
    }
    
    #checkoutButton:disabled {
        background-color: #555 !important; /* Dimmed gray */
        color: #ccc !important;
        cursor: not-allowed;
        transform: none;
    }
    .custom-checkout-btn {
		
        background-color: #007bff !important; /* Ensures vibrant orange */
    }

    /* Styling for the category navigation tabs */
/* Add spacing between charts and the navigation tabs */
/* Styling for the category tabs */
#categoryTabs {
    margin-top: 0px;            /* Space above the nav-bar */
    padding-top: 0px;           /* Increased padding for better spacing */
    border-bottom: 0px solid #ddd;
    display: flex;
    justify-content: center;
    margin-bottom: 10px;         /* Space below the nav */
    padding: 0;
    background: rgba(255, 255, 255, 0); /* Translucent background */
    border-radius: 10px;         /* Optional rounded corners */
}

/* Styling for card-body */
.card-body {
    padding: 20px;
    padding-bottom: 30px;        /* Adds space inside the card */
}

/* Margin for chart */
#inventoryPieChart, #inventoryBarChart {
    margin-bottom: 30px;         /* Space below the charts */
}

/* Styling for nav-item spacing */
#categoryTabs .nav-item {
    margin: 0 15px;              /* Increased spacing for better separation */
}

/* Styling for nav-link (category links) */
#categoryTabs .table_nav-link {
    display: block;
    padding: 2px 5px;          /* Adjusted padding */
    font-size: 16px;
    font-weight: 600;
    color: #47e3e3;
    text-decoration: none;
    background: rgba(248, 249, 250, 0);  /* Translucent background */
    border: 0px solid #ddd;

    transition: all 0.3s ease;
}

/* Hover effect for nav-links */
#categoryTabs .table_nav-link:hover {

	border-bottom: 1px solid #47e3e3;
}

/* Active state for the nav-link */
#categoryTabs .table_nav-link.active {
    background: rgba(0, 123, 255, 0);  /* Translucent active background */
   
    border-color: #007bff;
    position: relative;
    box-shadow: 0px -2px 6px rgba(0, 0, 0, 0.1);
}

/* Smooth underline effect for active tab */
#categoryTabs .table_nav-link.active::after {
    content: "";
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 3px;
    background: #007bff;
}

/* Mobile Responsive (Optional, for better mobile handling) */
@media (max-width: 768px) {
    #categoryTabs {
        flex-direction: column;
        align-items: center;
    }

    #categoryTabs .nav-item {
        margin: 5px 0;  /* Less margin for smaller screens */
    }

    #categoryTabs .table_nav-link {
        font-size: 14px;  /* Smaller font on mobile */
    }
}


/*Guage type dropdown*/
.small-dropdown {
    width: 200px; /* Adjust as needed */
    height: 50px; /* Adjust as needed */
    font-size: 14px; /* Optional: Adjust text size */
}

#downloadDropdown {
    display: none;
    position: absolute;
    background: white;
    border: 1px solid #ddd;
    padding: 5px;
    box-shadow: 0px 2px 5px rgba(0,0,0,0.2);
    z-index: 1000;
    left:1000px;
    top: 40px;
}

.download-option {
    padding: 8px;
    cursor: pointer;
    color: black;
    display: block;
    align-items: center;
}

.download-option:hover {
    background:#bcc3c8;
}     
     /* Ensures dropdown and buttons are aligned */
.col-md-3.text-end {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

/* Add space between buttons */
#downloadProductBtn {
    margin-right: 10px;
}

/* Show dropdown on click */
.dropdown.show #dropdownMenu {
    display: block;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .col-md-3.text-end {
        flex-direction: column;
        align-items: center;
    }
    
    #downloadProductBtn{
        margin-bottom: 10px;
        width: 100%;
    }

    .dropdown-menu {
        width: 100%;
        text-align: center;
    }
}

/* Keep normal width in flex containers */
.col-md-3.text-end {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 10px; /* Ensures proper spacing */
}

@media (max-width: 768px) {
    #dropdownButton,
    .btn-primary {
        width: auto !important; /* Ensures buttons don't go full width */
    }
}
#dropdownButton {
    width: auto !important;
    height: auto !important;
    padding: inherit;
    font-size: inherit;
    white-space: nowrap; /* Prevents text from wrapping */
}
/* Dropdown menu styling */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    border: 1px solid #ddd;
    border-radius: 5px;
    box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.2);
    display: none; /* Hidden by default */
    min-width: 150px;
    width: max-content; /* Ensures it fits content without stretching */
}
/* Full-screen particle background */
#particles-js {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: -1; /* Ensures it stays in the background */
}

/* Login Form Styling */
.col-lg-4 col-md-5 col-sm-10 col-xs-12 {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(255, 255, 255, 0.8);
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2);
    text-align: center;
}
/* Full-screen particle background */
#particles-js {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: -1; /* Ensures it stays in the background */
}

/* Login Form Styling */
.col-lg-4 col-md-5 col-sm-10 col-xs-12 {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(255, 255, 255, 0.8);
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2);
    text-align: center;
    
}
