body {
    font-family: Arial, sans-serif;
    background-color: #f4f7fa;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.container {
    max-width: 500px;
    background-color: #fff;
    padding: 30px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    position: relative;
    z-index: 10;
    aspect-ratio: 9/16;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.logo {
    text-align: center;
    font-size: 40px;
    color: #4b93fd;
    margin-bottom: 20px;
}

h2 {
    text-align: center;
    margin-bottom: 20px;
    font-size: 22px;
    color: #333;
}

input, select, button {
    padding: 10px;
    margin: 10px 0;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
}

button {
    background-color: #4b93fd;
    color: white;
    cursor: pointer;
    border: none;
    transition: background-color 0.3s ease;
}

button:hover {
    background-color: #3570d4;
}

.social-buttons {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
}

.social-buttons a {
    padding: 10px 20px;
    border-radius: 5px;
    text-align: center;
    width: 45%;
    background-color: #f0f0f0;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.social-buttons a:hover {
    background-color: #e0e0e0;
}

.forgot-password {
    text-align: right;
    font-size: 14px;
}

.contact-support {
    text-align: center;
    margin-top: 20px;
}

.contact-support a {
    color: #4b93fd;
    text-decoration: none;
}

#sidebar {
    position: absolute;
    left: 0;
    top: 72px;
    width: 250px;
    height: 88vh;
    background-color: #f8f9fa;
    box-shadow: 2px 0 5px rgba(0, 0, 0, 0.1);
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    z-index: 999;
}

#footer {
    position: absolute;
    bottom: 0;
    width: 100%;
}

#sidebar.open {
    transform: translateX(0);
}

.content {
    transition: margin-left 0.3s ease;
}

.content.shift {
    margin-left: 250px;
}

.qr-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0;
    justify-content: center;
}

.qr-card {
    width: 200px;
    text-align: center;
    padding: 10px;
    background: white;
    border-radius: 10px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
    cursor: pointer;
}

.qr-card img {
    width: 150px;
    height: 150px;
}

.card {
    padding: 20px;
    border-radius: 10px;
    min-height: 100% !important;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
}

.qr-container {
    text-align: center;
    margin-top: 20px;
}

.qr-container img {
    width: 200px;
    height: 200px;
}

.top-svg, .bottom-svg {
    position: absolute;
    width: 100%;
    z-index: -1;
    animation: waveAnimation 3s ease-in-out infinite;
}

.top-svg {
    top: 0;
}

.bottom-svg {
    bottom: 0;
    animation-direction: reverse;
}

@keyframes waveAnimation {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(50px);
    }
}

#captchaDisplay {
    font-weight: bold;
    font-size: 33px;
    margin: 10px 0;
    border: 1px solid black;
    border-radius: 10px;
    display: flex;
    align-content: center;
    align-items: center;
    justify-content: center;
    background: #483f3f;
}


.responsive-heading {
    font-size: 15px; /* Default font-size for mobile devices */
    text-align: center;
}

@media (min-width: 992px) {
    .responsive-heading {
        font-size: 40px; /* Font-size for large devices (lg) */
    }
}


/* Default: No margin on mobile */
.custom-margin {
    margin-top: 0 !important;

}

/* Apply margin-top for large screens and up */
@media (min-width: 992px) {
    .custom-margin {
        margin-top: 18px !important;

    }
}


.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.btn:focus {
    outline: none;
    box-shadow: 0 0 0 0.25rem rgba(255, 193, 7, 0.5); /* Bootstrap yellow outline */
}

.custom-btn-till-date {
    background-color: #4e73df;
}

.custom-btn-last-week {
    background-color: #1cc88a;
}

.custom-btn-last-month {
    background-color: #36b9cc;
}

.custom-btn-last-financial-year {
    background-color: #f6c23e;
}


/* General Button Styles */
.btn-custom {
    font-size: 1.1rem;
    font-weight: 500;
    padding: 15px;
    border-radius: 50px;
    transition: all 0.3s ease-in-out;
    border: none;
}

/* Specific button colors */
.custom-btn-generate-sample {
    background-color: #4e73df;
    color: white;
}

.custom-btn-search-sample {
    background-color: #1cc88a;
    color: white;
}

.custom-btn-reprint-sample {
    background-color: #36b9cc;
    color: white;
}

.custom-btn-fetch-report {
    background-color: #f6c23e;
    color: white;
}

.custom-btn-analysis-report {
    background-color: #e74a3b;
    color: white;
}

.custom-btn-view-samples {
    background-color: #9b59b6;
    color: white;
}

/* Hover and focus effects */
.btn-custom:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
}

.btn-custom:focus {
    outline: none;
    box-shadow: 0 0 0 0.25rem rgba(255, 193, 7, 0.5);
}

/* Responsive design for all devices */
@media (max-width: 768px) {
    .btn-custom {
        font-size: 1rem;
        padding: 12px;
    }
}

@media (max-width: 576px) {
    .btn-custom {
        font-size: 0.9rem;
        padding: 10px;
    }
}


.daskboardIcon {
    font-size: 65px !important;

}

.custom-btn-till-date {
    background-color: #795548; /* Custom blue */
    color: white;
    border: none;
}

.custom-btn-till-date:hover {
    background-color: #2980b9; /* Darker blue on hover */
}

.custom-btn-last-week {
    background-color: #795548; /* Custom green */
    color: white;
    border: none;
}

.custom-btn-last-week:hover {
    background-color: #27ae60; /* Darker green on hover */
}

.custom-btn-last-month {
    background-color: #795548; /* Custom orange */
    color: white;
    border: none;
}

.custom-btn-last-month:hover {
    background-color: #795548; /* Darker orange on hover */
}

.custom-btn-last-financial-year {
    background-color: #795548; /* Custom red */
    color: white;
    border: none;
}

.custom-btn-last-financial-year:hover {
    background-color: #c0392b; /* Darker red on hover */
}

/* Base Button Style */
.btn-custom {
    border: none;
    border-radius: 50px; /* Rounded corners */
    padding: 12px 20px;
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
}

/* Generate New Sample Button */
.custom-btn-generate-sample {
    background: linear-gradient(135deg, #3498db, #2980b9); /* Gradient background */
    color: white;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.custom-btn-generate-sample:hover {
    background: linear-gradient(135deg, #2980b9, #3498db); /* Hover effect with reverse gradient */
    transform: translateY(-5px); /* Slight lift on hover */
}

/* Search Sample By QR Button */
.custom-btn-search-sample {
    background: linear-gradient(135deg, #7f8c8d, #95a5a6);
    color: white;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.custom-btn-search-sample:hover {
    background: linear-gradient(135deg, #95a5a6, #7f8c8d);
    transform: translateY(-5px);
}

/* Reprint Sample QR Button */
.custom-btn-reprint-sample {
    background: linear-gradient(135deg, #2ecc71, #27ae60);
    color: white;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.custom-btn-reprint-sample:hover {
    background: linear-gradient(135deg, #27ae60, #2ecc71);
    transform: translateY(-5px);
}

/* Fetch Sample Report Button */
.custom-btn-fetch-report {
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    color: white;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.custom-btn-fetch-report:hover {
    background: linear-gradient(135deg, #c0392b, #e74c3c);
    transform: translateY(-5px);
}

/* Generate Last Month Analysis Report Button */
.custom-btn-analysis-report {
    background: linear-gradient(135deg, #f39c12, #e67e22);
    color: white;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Generate Last Month Analysis Report Button */
.custom-btn-analyst-analysis-report {
    background: linear-gradient(135deg, #2750b6, #193867);
    color: white;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.custom-btn-analysis-report:hover {
    background: linear-gradient(135deg, #e67e22, #f39c12);
    transform: translateY(-5px);
}

/* View All Samples Button */
.custom-btn-view-samples {
    background: linear-gradient(135deg, #9b59b6, #8e44ad);
    color: white;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.custom-btn-view-samples:hover {
    background: linear-gradient(135deg, #8e44ad, #9b59b6);
    transform: translateY(-5px);
}

.card-stats {
    background: rgb(255, 255, 255);
    /*background: linear-gradient(135deg, rgba(222,216,20,0.8441611842105263) 25%,rgba(86,148,5,0.8441611842105263) 75%);*/
}

.white-text-with-border {
    color: #111010;
    font-size: 24px; /* Adjust font size as needed */
    font-weight: bold; /* Optional, for bolder text */
    /*text-shadow: 1px 1px 0 #000,*/
    /*-1px -1px 0 #000,*/
    /*1px -1px 0 #000,*/
    /*-1px 1px 0 #000; !* Creates a black border around each character *!*/
}


/* Pagination container styling */
.dataTables_paginate {
    padding: 10px;
    text-align: center;
}

/* Style for pagination buttons */
.dataTables_paginate .paginate_button {
    background-color: #007bff;
    border: 1px solid #007bff;
    color: white;
    padding: 5px 15px;
    margin: 0 3px;
    cursor: pointer;
    border-radius: 4px;
}

/* Hover effect for pagination buttons */
.dataTables_paginate .paginate_button:hover {
    background-color: #0056b3;
    border: 1px solid #0056b3;
}

/* Active pagination button styling */
.dataTables_paginate .paginate_button.current {
    background-color: #28a745;
    border: 1px solid #28a745;
}


/* Default arrow styling for sorting */
th.sorting::after {
    content: "\f0dc"; /* FontAwesome down arrow by default */
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    margin-left: 5px;
}

/* Sorting asc (up arrow) */
th.sorting_asc::after {
    content: "\f0de"; /* FontAwesome up arrow */
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
}

/* Sorting desc (down arrow) */
th.sorting_desc::after {
    content: "\f0dd"; /* FontAwesome down arrow */
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
}

/* Custom style for "Sample Secure" column header */
th.sortable {
    cursor: pointer;
    text-align: center;
}


/* Customize the container */
.dataTables_filter {
    margin-bottom: 10px;
    text-align: right; /* You can center or left align if preferred */
    font-size: 20px !important;
    font-weight: 700 !important;
    text-transform: capitalize !important;
}

/* Customize the input itself */
.dataTables_filter input {
    border: 2px solid #4CAF50;
    border-radius: 10px;
    padding: 6px 12px;
    width: 250px;
    outline: none;
    transition: 0.3s;
}

/* Add focus effect */
.dataTables_filter input:focus {
    border-color: #2196F3;
    box-shadow: 0 0 5px rgba(33, 150, 243, 0.5);
}


/* Style the container */
.dataTables_length {
    margin-bottom: -63px !important;
    font-size: 14px;
    font-size: 20px;
    font-weight: 700;
    text-transform: capitalize;
}

/* Style the select box */
.dataTables_length select {
    border: 2px solid #4CAF50;
    border-radius: 8px;
    padding: 5px 10px;
    background-color: #fff;
    cursor: pointer;
    transition: 0.3s;
}

/* Add focus and hover effect */
.dataTables_length select:focus,
.dataTables_length select:hover {
    border-color: #2196F3;
    box-shadow: 0 0 5px rgba(33, 150, 243, 0.4);
    outline: none;
}


.fixed-popup-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 9999;
    justify-content: center;
    align-items: center;
}

.fixed-popup-overlay.active {
    display: flex;
}

.fixed-popup-content {
    position: relative;
    background: #fff;
    /*padding: 15px;*/
    border-radius: 10px;
    /*width: 50vw;*/
    height: 50vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.fixed-popup-close {
    position: absolute;
    top: 5px;
    right: 15px;
    font-size: 28px;
    cursor: pointer;
}


/* Common styling for all export buttons */
.dt-button {
    background-color: #4CAF50;
    color: white;
    border: none;
    padding: 6px 15px;
    border-radius: 5px;
    margin: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.dt-button:hover {
    background-color: #45a049;
}

/* Customize individual buttons if needed */
.buttons-copy {
    background-color: #2196F3;
}

.buttons-csv {
    background-color: #00bcd4;
}

.buttons-excel {
    background-color: #4caf50;
}

.buttons-pdf {
    background-color: #f44336;
}

.buttons-print {
    background-color: #9c27b0;
}

.portal-logo {
    width: 50px;
    margin: 0px 5px 0px 5px;
    /* height: 40px; */
    aspect-ratio: 1;
}


.material-icons {
    font-size: 30px;
    transition: opacity 0.3s ease;
}

.filter-box {
    width: 245px;
}


/* For screens smaller than 576px (mobile devices) */
@media (max-width: 575.98px) {
    #sidebar {
        margin-top: 80px !important; /* Apply 30px margin-top */
    }

    .card-body {

    }
}


/* For screens smaller than 576px (mobile devices) */
@media (max-width: 575.98px) {
    .qrImages {
        width: 94% !important;
        height: 100% !important;
    }

    .fixed-popup-content {
        width: 100% !important;
    }

}


/* For screens smaller than 576px (mobile devices) */
@media (min-width: 600px) {
    .qrImages {
        width: 50% !important;

    }

    .fixed-popup-content {
        width: 40% !important;
        height: 72% !important;
    }

}


/*for loader*/

/* Worm Loader Styles */
.ip {
    width: 16em;
    height: 8em;
}

.ip__track {
    stroke: hsl(223, 90%, 90%);
    transition: stroke 0.3s;
}

.ip__worm1,
.ip__worm2 {
    animation: worm1 2s linear infinite;
}

.ip__worm2 {
    animation-name: worm2;
}

@keyframes worm1 {
    from {
        stroke-dashoffset: 0;
    }
    50% {
        animation-timing-function: steps(1);
        stroke-dashoffset: -358;
    }
    50.01% {
        animation-timing-function: linear;
        stroke-dashoffset: 358;
    }
    to {
        stroke-dashoffset: 0;
    }
}

@keyframes worm2 {
    from {
        stroke-dashoffset: 358;
    }
    50% {
        stroke-dashoffset: 0;
    }
    to {
        stroke-dashoffset: -358;
    }
}

