

.badge-admin, .badge-encoder {
    padding: 8px 12px;
    font-size: 10px;
    font-weight: bold;
    border-radius: 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    display: inline-block;
}

.badge-admin {
    background: linear-gradient(45deg, #3498db, #2c3e50);
    color: white;
}

.badge-encoder {
    background: linear-gradient(45deg, #8e44ad, #2c3e50);
    color: white;
}

.badge-admin:hover, .badge-encoder:hover {
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.2);
}


.badge-claimed, .badge-unclaimed2, .badge-unclaimed {
    padding: 8px 12px;
    font-size: 10px;
    font-weight: bold;
    border-radius: 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    display: inline-block;
}

.badge-claimed {
    background: linear-gradient(45deg, #e74c3c, #c0392b); /* Red gradient */
    color: white;
}

.badge-unclaimed2 {
    background: linear-gradient(45deg, #dfea05, #f5d904); /* Red gradient */
    color: white;
}

.badge-unclaimed {
    background: linear-gradient(45deg, #2ecc71, #27ae60); /* Green gradient */
    color: white;
}

.badge-claimed:hover, .badge-unclaimed2, .badge-unclaimed:hover {
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.2);
}


.badge-donated, .badge-purchased {
    padding: 8px 12px;
    font-size: 10px;
    font-weight: bold;
    border-radius: 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    display: inline-block;
}

.badge-donated {
    background: linear-gradient(45deg, #007bff, #0056b3); /* Blue gradient */
    color: white;
}

.badge-purchased {
    background: linear-gradient(45deg, #ffc107, #ff9800); /* Yellow gradient */
    color: white;
}

.badge-donated:hover, .badge-purchased:hover {
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.2);
}



/* END FOR BADGES */



.color-circle {
    width: 24px; /* Diameter of the circle */
    height: 24px; /* Diameter of the circle */
    border-radius: 50%; /* Makes the element circular */
    display: inline-block; /* Keeps the circle inline with text */
    margin-right: 8px; /* Space between the circle and the text */
    vertical-align: middle; /* Aligns the circle with text */
}


.table-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 0 10px 0;
}

.custom-filter-container {
    position: relative;
    display: flex;
    align-items: center;
}

.custom-filter-input {
    padding: 1.8rem 1.5rem;
    border: 1px solid #dee2e6;
    border-radius: 0.25rem 0 0 0.25rem; /* Rounded corners only on the left */
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 1.3rem;
    width: 250px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: border-color 0.3s ease, box-shadow 0.2s ease;
    height: 2.6rem; /* Adjust height to match the button */
}

.custom-filter-select {
    border: 1px solid #dee2e6;
    border-radius: 0.25rem; /* Rounded corners */
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 1.3rem;
    width: 250px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: border-color 0.3s ease, box-shadow 0.2s ease;
    height: 3.8rem; /* Height of the select box */
    padding: 0 1.5rem; /* Horizontal padding only */
    box-sizing: border-box; /* Include padding and border in height calculation */
    background-color: white; /* Background color */
    color: #000; /* Text color */
    line-height: 2.6rem; /* Vertically center text */
    appearance: none; /* Remove default browser styling */
    cursor: pointer; /* Change cursor to pointer for better UX */
}


.custom-filter-select:focus {
    border-color: #007bff;
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.1);
    outline: none;
}

/* This section enhances the dropdown, but note that the option styles are not fully customizable in all browsers */
.custom-filter-select option {
    background-color: white;
    color: #000;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 1.6rem; /* Increased font size */
    padding: 12px; /* Increased padding */
    height: 3.5rem; /* Increased height for options */
}

/* Some basic style for the dropdown arrow on hover */
.custom-filter-select:hover {
    border-color: #007bff;
}

.custom-filter-select option:checked {
    background-color: #f0f0f0; /* Light grey background when selected */
    color: #000;
}

.custom-filter-submit {
    background-color: #2c3e50;
    border: 1px solid #2c3e50;
    border-radius: 0.25rem 0.25rem 0.25rem 0.25rem; /* Rounded corners only on the right */
    padding: 1rem 1rem; /* Horizontal padding */
    color: white;
    font-size: 1.3rem; /* Match font size to input field */
    height: calc(100% - 0.4rem); /* Adjust height to add space (0.4rem total space) */
    line-height: 2.2rem; /* Reduce line-height to create space inside the button */
    cursor: pointer;
    transition: background-color 0.3s ease;
    position: absolute;
    right: 0.2rem;
    top: 0.2rem; /* Add top space */
    border-left: none; /* Remove left border to avoid double border effect */
    display: flex;
    align-items: center;
    justify-content: center;
}

.custom-filter-container input {
    border-radius: 0.25rem 0 0 0.25rem; /* Ensure input has rounded left corners */
}

.custom-filter-container button {
    border-radius: 0 0.25rem 0.25rem 0; /* Ensure button has rounded right corners */
}



.custom-filter-submit i {
    margin: 0;
}

.custom-filter-submit:hover {
    background-color: #1a242f;
}


.custom-filter-input:focus {
    outline: none;
    border-color: #2c3e50;
    box-shadow: 0 0 5px rgba(44, 62, 80, 0.25);
}

.custom-add-button {
    color: #2c3e50; /* Dark Navy text color */
    font-weight: 600; /* Bold text */
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; /* Matching font family */
    text-transform: uppercase; /* Uppercase text */
    letter-spacing: 0.75px; /* Slight spacing between letters */
    text-decoration: none; /* Remove underline */
    transition: color 0.3s ease, transform 0.2s ease; /* Smooth transition for hover effects */
    display: inline-block; /* Align with other elements inline */
}

.custom-add-button i {
    margin-left: 0.5rem; /* Space between the text and icon */
    color: #2c3e50; /* Match icon color with text */
}

.custom-add-button:hover {
    color: #1a242f; /* Slightly darker navy on hover */
    transform: scale(1.05); /* Slightly enlarge on hover */
    text-decoration: underline; /* Underline on hover for emphasis */
}

.custom-add-button:focus {
    outline: none; /* Remove focus outline */
    color: #1a242f; /* Focus color */
}

    .custom-hover-table {
        width: 100%;
        margin-bottom: 1rem;
        color: #212529;
        border-collapse: separate;
        border-spacing: 0;
        background-color: #fff;
        font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
        overflow: hidden;
    }

    .custom-hover-table th,
    .custom-hover-table td {
        padding: 1rem 1.5rem;
        vertical-align: middle;
        border-bottom: 1px solid #dee2e6;
        text-align: center; /* Center text horizontally */
    }

    .custom-hover-table thead th,
    .custom-hover-table tfoot th {
        vertical-align: middle;
        border-bottom: 2px solid #dee2e6;
        background-color: #f4f5f7;
        font-weight: 600;
        color: black;
        letter-spacing: 0.75px;
        text-transform: uppercase;
        font-size: 0.875rem;
        text-align: center; /* Center text horizontally */
  

    }

    .custom-hover-table tbody + tbody {
        border-top: 2px solid #dee2e6;
    }

    .custom-hover-table tbody tr {
        transition: transform 0.2s ease, box-shadow 0.2s ease;
    }

    .custom-hover-table tbody tr:hover {
        background-color: rgba(0, 0, 0, 0.075);
        transform: scale(1.02);
        box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
        z-index: 1;
        position: relative;
    }

    .custom-hover-table tfoot th {
    
        background-color: #e9ecef;
        border-top: 2px solid #dee2e6;
        border-bottom: 0;
        text-align: center; /* Center text horizontally */
        padding: 16px 20px 5px 10px !important;
        font-size: 1.1rem;
    }

    /* Elegant subtle borders on the sides for distinction */
    .custom-hover-table th:first-child,
    .custom-hover-table td:first-child {
        border-left: 1px solid #dee2e6;
    }

    .custom-hover-table th:last-child,
    .custom-hover-table td:last-child {
        border-right: 1px solid #dee2e6;
    }

    table.display thead th { 
    padding: 14px 20px 9px 10px !important;
    font-size: 1.1rem;
}




/* FOR CUSTOMIZING LOGIN AND FORMS*/

/* Custom Styles for Elegant and Sophisticated Login Page */
body.login-body {
    background-color: #f2f2f2;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
}

.container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}

.form-signin {
    background: rgba(255, 255, 255, 9.8);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    text-align: center;
    width: 100%;
    max-width: 400px;
    margin-top: -20vh; /* Move the form higher by adjusting this value */
}

.form-signin-heading {
    font-size: 24px;
    font-weight: 600;
    color: #34495e;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.form-control {
    background-color: #f7f7f7;
    border: 1px solid #ddd;
    border-radius: 4px;
    margin-bottom: 1rem;
    font-size: 16px;
    transition: all 0.3s ease;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.05);
}

.form-control:focus {
    border-color: #34495e;
    box-shadow: 0 0 5px rgba(52, 73, 94, 0.25);
    outline: none;
}

/* Custom Styles for Product Descriptions Repeater */
#descriptionRepeater {
    margin-bottom: 1rem;
}

.description-item {
    padding: 1rem;
    border: 1px solid #ddd;
    border-radius: 8px;
    background-color: #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    margin-bottom: 1rem;
}

.description-item .row {
    align-items: center;
}

.description-item input.form-control,
.description-item textarea.form-control {
    background-color: #f7f7f7;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
    transition: all 0.3s ease;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.05);
}

.description-item input.form-control:focus,
.description-item textarea.form-control:focus {
    border-color: #34495e;
    box-shadow: 0 0 5px rgba(52, 73, 94, 0.25);
    outline: none;
}

.remove-description {
    background-color: #e74c3c;
    color: #fff;
    border: none;
    border-radius: 4px;
    padding: 0.5rem 1rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.remove-description:hover {
    background-color: #c0392b;
}

#addDescription {
    background-color: #27ae60;
    color: #fff;
    border: none;
    border-radius: 4px;
    padding: 0.5rem 1rem;
    font-size: 12px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

#addDescription:hover {
    background-color: #2ecc71;
}

#addDescription:focus {
    outline: none;
    box-shadow: 0 0 5px rgba(46, 204, 113, 0.5);
}

/* END FOR FORMS */


.btn-login {
    background: linear-gradient(45deg, #3498db, #2c3e50);
    color: white;
    border: none;
    padding: 0.75rem;
    font-size: 18px;
    font-weight: 600;
    border-radius: 50px;
    width: 100%;
    transition: all 0.2s ease;
}

.btn-login:hover {
    background: linear-gradient(45deg, #2c3e50, #3498db);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    transform: translateY(-2.5px);
    color:#ffffff;
}

.modal-content {
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.modal-header {
    border-bottom: none;
    background: linear-gradient(45deg, #2c3e50, #34495e);
    color: white;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
}

.modal-title {
    font-size: 20px;
    font-weight: 600;
    -webkit-text-stroke: 1px white; /* Add a 2px white stroke */
  
}


.modal-body {
    padding: 2rem;
}

.modal-footer {
    border-top: none;
    padding: 1rem;
}

.btn-default {
    background: linear-gradient(45deg, #2c3e50, #34495e);
    border: 1px solid #ddd;
    color: #ffffff;
    border-radius: 50px;
    padding: 0.5rem 1.5rem;
    transition: all 0.3s ease;
}

.btn-default:hover {
    background: #e3e3e3;
    color:black;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15);
    transform: translateY(-1px);
}

.btn-success {
    background: linear-gradient(45deg, #27ae60, #2ecc71);
    border: none;
    color: white;
    border-radius: 50px;
    padding: 0.5rem 1.5rem;
    transition: all 0.3s ease;
}

.btn-success:hover {
    background: linear-gradient(45deg, #2ecc71, #27ae60);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15);
    transform: translateY(-1px);
}


/* FOR PAGINATION CUSTOMIZATION */

.active_lg {
    background: #2c3e50 !important;
    color: white !important;
    border-radius: 50%;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    padding: 12px 16px;
}

ul.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    list-style-type: none;
    padding: 0;
    margin: 20px 0;
}

ul.pagination li a,
ul.pagination li span {
    margin: 0 4px;
    border-radius: 50%;
    border: 1px solid #ddd;
    cursor: pointer;
    line-height: normal;
    font-weight: 600;
    text-decoration: none;
    font-size: 12px;
    color: #2c3e50;
    text-align: center;
    background: #fff;

    transition: background-color 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

ul.pagination li a:hover,
ul.pagination li a:focus {
    background: #eaf2f9;
    color: #1d92cf;
    border-color: #1d92cf;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.15);
}

ul.pagination li span {
    cursor: default;
    color: #aaa;
    background: #f5f5f5;
}


/* FOR IMAGES IN POPUPS*/


.image-container {
    position: relative;
    text-align: center;
}

.image-container img {
    width: 100%;
    max-width: 300px;
    height: 200px;
    margin-bottom: 10px;
}

.image-container .label {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    padding: 5px 10px;
    border-radius: 3px;
    font-size: 2.5rem;
}

.image-container .labelproduct {
    position: absolute;
    bottom: 52px;
    left: 50%;
    transform: translateX(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    padding: 5px 10px;
    border-radius: 3px;
    font-size: 2.5rem;
}


/*CUSTOM MULTIPLE SELECT */

  /* Custom multiple select styling */
  .custom-multiple-select {
    position: relative;
    display: inline-block;
    width: 100%;
}
.custom-multiple-select input {
    width: 100%;
    box-sizing: border-box;
}
.custom-multiple-select .dropdown-menu {
    display: none;
    position: absolute;
    width: 100%;
    max-height: 200px;
    overflow-y: auto;
    background-color: white;
    border: 1px solid #ccc;
    z-index: 1;
}
.custom-multiple-select .dropdown-menu.show {
    display: block;
}
.custom-multiple-select .dropdown-item {
    padding: 10px;
    cursor: pointer;
}
.custom-multiple-select .dropdown-item:hover {
    background-color: #f1f1f1;
}
.custom-multiple-select .selected-item {
    display: inline-block;
    background-color: #007bff;
    color: white;
    padding: 5px;
    margin: 5px;
    border-radius: 5px;
}
.custom-multiple-select .selected-item .remove-item {
    margin-left: 5px;
    cursor: pointer;
}


/* ADDED FOR  TURNOVER CUSTOMERS*/

.bio-graph-info .bio-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}

.bio-graph-info .bio-row p {
    margin: 0;
    font-size: 12px;
}

.img-circle {
    border: 2px solid #ddd;
    padding: 5px;
    background-color: #fff;
}

.panel-body {
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.bio-graph-heading {
    background: #D9D9D9 !important;
    color: #000000 !important;
    padding: 15px 130px !important;
}

/* Elegant whitish button styling */
.btn-elegant {
    width: 60%; /* Button width */
    padding: 5px 10px; /* Padding for height and width */
    border-radius: 25px; /* Rounded corners */
    border: 2.5px solid #e0e0e0; /* Light grey border for subtle definition */
    background: #f9f9f9; /* White background */
    color: #333333; /* Dark text color for contrast */
    font-size: 16px; /* Font size */
    font-weight: 600; /* Semi-bold text for elegance */
    text-transform: uppercase; /* Uppercase text */
    letter-spacing: 1px; /* Spacing between letters */
    text-align: center; /* Centered text */
    box-shadow: 0 10px 12px rgba(0, 0, 0, 0.1); /* Subtle shadow for depth */
    transition: background 0.3s ease, box-shadow 0.3s ease, color 0.3s ease; /* Smooth transitions */
}

/* Hover effect */
.btn-elegant:hover {
    background: #D9D9D9; /* Very light grey for hover */
    color: #333333; /* Maintain text color */
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15); /* Enhanced shadow on hover */
}

/* Focus effect */
.btn-elegant:focus {
    outline: none; /* Remove default outline */
    box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.2); /* Focus shadow for accessibility */
}

/* Disabled state */
.btn-elegant:disabled {
    background: #f0f0f0; /* Very light grey background for disabled state */
    color: #b0b0b0; /* Light grey text */
    cursor: not-allowed; /* Not allowed cursor */
    box-shadow: none; /* Remove shadow */
}
