﻿/* styles.css (Global Styles) */
body {
    font-family: 'Arial', sans-serif;
    color: #333;
    /* Add other global styles */
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.btn-edit-delete {
    display: inline-block;
    margin-right: 5px; /* Adjust margin as needed */
    padding: 0; /* Remove default padding */
    background: none;
    border: none;
    cursor: pointer;
    color: #000; /* Change color as needed */
}
.loader {
    border: 16px solid #f3f3f3; /* Light grey */
    border-top: 16px solid #3498db; /* Blue */
    border-radius: 50%;
    width: 120px;
    height: 120px;
    animation: spin 2s linear infinite;
    position: fixed;
    top: 50%;
    left: 50%;
    margin-top: -60px; /* Half of the height */
    margin-left: -60px; /* Half of the width */
    z-index: 9999; /* Ensure it's on top of other elements */
    display: none; /* Initially hidden */
}

/* CSS for the loader animation */
@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.error-message {
    color: red;
    font-size: 12px;
}
#datatable-buttons tbody tr.color_0 {
    background-color: greenyellow; /* Set background color for rows with the color_1 class */
}

#datatable-buttons tbody tr.color_1 even {
    background-color: orange !important; /* Set background color for rows with the color_1 class */
}
/* Add more color classes
/* Responsive Styles using Media Queries */
@media (max-width: 767px) {
    .container {
        /* max-width: 100%;*/
        padding: 0 15px; /* Add some padding to the container for smaller screens */
    }

    .card {
        border-radius: 0; /* Optional: Remove card border radius for a cleaner look on small screens */
    }

    #qrCodeModal .modal-dialog {
        max-width: 100%;
    }

    #qrCodeModal .modal-body {
        max-height: calc(100vh - 200px); /* Adjust as needed */
        overflow-y: auto;
        padding: 15px; /* Adjust as needed */
    }

    #qrCodeModal .modal-footer {
        justify-content: center;
    }

    /* Add more styles as needed for specific elements */

    #datatable-buttons .btn {
        display: block;
        margin-bottom: 5px; /* Adjust as needed */
        width: 100%;
    }

    #datatable .btn {
        display: block;
        margin-bottom: 5px; /* Adjust as needed */
        width: 100%;
    }

    /* Custom CSS for table header and data */
    .custom-table th {
        background-color: #007bff; /* Change header background color */
        color: #fff; /* Change header text color */
    }

    .custom-table tbody td {
        background-color: #f0f0f0; /* Change data background color */
        color: #333; /* Change data text color */
    }

    .batch-info-label {
        width: 100%; /* Adjust label width to fit smaller screens */
        float: none; /* Remove float for better layout */
        display: block; /* Change to block for stacking vertically */
        text-align: left; /* Align label text to left */
    }

    .batch-info-value {
        width: 100%; /* Adjust value width to fit smaller screens */
        float: none; /* Remove float for better layout */
        display: block; /* Change to block for stacking vertically */
        margin-left: 0; /* Remove left margin */
        text-align: left; /* Align value text to left */
    }

    .icon-container span {
        display: inline; /* Show text */
    }
}

@media (max-width: 768px) {
    .icon-container span {
        display: none; /* Hide text */
    }
}
    /* Light Purple */
 /*   #progressModal .modal-content {
        height: auto !important;
        max-height: 80vh !important;
        overflow-y: auto !important;
    }*/

}

/* Optional: Adjust styles for specific buttons if needed */
/*.deleteBtn,
.showModalBtn {*/
    /* Add specific styles for deleteBtn and showModalBtn if needed */
    /*background-color: #ff0000;*/ /* Example background color */
    /*color: #ffffff;*/ /* Example text color */
    /* Add more styles as needed */
/*}*/
