﻿
.modal {
    position: fixed;
    top: 0;
    left: 0;
    background-color: black;
    z-index: 99;
    opacity: 0.8;
    filter: alpha(opacity=80);
    -moz-opacity: 0.8;
    min-height: 100%;
    width: 100%;
}

.loading {
    font-family: Arial;
    font-size: 10pt;
    border: 5px solid #67CFF5;
    width: 200px;
    height: 100px;
    display: none;
    position: absolute;
    top: 50px;
    background-color: White;
    z-index: 999;
}

@media (min-width: 576px) {
    .bd-example {
        padding: 1.5rem;
        margin-right: 0;
        margin-left: 0;
        border-width: 1px;
        border-top-left-radius: .25rem;
        border-top-right-radius: .25rem;
    }
}

@media (min-width: 576px) {
    .col-sm {
        flex: 1 0 0%;
    }

    .col-sm-8 {
        flex: 0 0 auto;
        width: 66.66666667%;
    }

    .col-sm-4 {
        flex: 0 0 auto;
        width: 33.33333333%;
    }
}

@media (min-width: 768px) {
    .col-md-8 {
        flex: 0 0 auto;
        width: 66.66666667%;
    }

    .col-md-4 {
        flex: 0 0 auto;
        width: 33.33333333%;
    }
}

.btn-primary {
    color: #fff;
    background-color: #007bff;
    border-color: #007bff;
}

.btn-info {
    color: #fff;
    background-color: #17a2b8;
    border-color: #17a2b8;
}

.bd-example {
    --bd-example-padding: 1rem;
    position: relative;
    padding: var(--bd-example-padding);
    margin: 0 -1.5rem 1rem;
    border: solid var(--bs-border-color);
    border-width: 1px 0;
}

.m-0 {
    margin: 0 !important;
}

.border-0 {
    border: 0 !important;
}

*, ::after, ::before {
    box-sizing: border-box;
}

user agent stylesheet
div {
    display: block;
    unicode-bidi: isolate;
}

.bd-gutter {
    --bs-gutter-x: 3rem;
}

.container, .container-fluid, .container-lg, .container-md, .container-sm, .container-xl, .container-xxl {
    --bs-gutter-x: 1.5rem;
    --bs-gutter-y: 0;
    width: 100%;
    padding-right: calc(var(--bs-gutter-x)* .5);
    padding-left: calc(var(--bs-gutter-x)* .5);
    margin-right: auto;
    margin-left: auto;
}

body {
    margin: 0;
    font-family: var(--bs-body-font-family);
    font-size: var(--bs-body-font-size);
    font-weight: var(--bs-body-font-weight);
    line-height: var(--bs-body-line-height);
    color: var(--bs-body-color);
    text-align: var(--bs-body-text-align);
    background-color: var(--bs-body-bg);
    -webkit-text-size-adjust: 100%;
    -webkit-tap-highlight-color: transparent;
}

.g-3, .gx-3 {
    --bs-gutter-x: 1rem;
}

.col-md-6 {
    --bs-gutter-x: 0.7rem;
    --bs-gutter-y: 9px;
}

.row {
    --bs-gutter-x: -2.0rem;
    --bs-gutter-y: 0px;
    display: flex;
    flex-wrap: wrap;
    margin-top: calc(-1* var(--bs-gutter-y));
    margin-right: calc(-.5* var(--bs-gutter-x));
    margin-left: calc(-.5* var(--bs-gutter-x));
}

    .row > * {
        flex-shrink: 0;
        width: 100%;
        max-width: 100%;
        padding-right: calc(var(--bs-gutter-x)* 3.5);
        padding-left: calc(var(--bs-gutter-x)* 3.5);
        margin-top: var(--bs-gutter-y);
    }

.bd-example-row .row > .col, .bd-example-row .row > [class^="col-"] {
    padding-top: .75rem;
    padding-bottom: .75rem;
    background-color: rgba(39, 41, 43, 0.03);
    border: 1px solid rgba(39, 41, 43, 0.1);
}

.col {
    max-width: 100%;
}

.col-1 {
    flex: 0 0 8.3333333333%;
    max-width: 8.3333333333%;
}

.col-2 {
    flex: 0 0 16.6666666667%;
    max-width: 16.6666666667%;
}

.col-3 {
    flex: 0 0 25%;
    max-width: 25%;
}

.col-4 {
    flex: 0 0 33.3333333333%;
    max-width: 33.3333333333%;
}

.col-5 {
    flex: 0 0 41.6666666667%;
    max-width: 41.6666666667%;
}

.col-6 {
    flex: 0 0 50%;
    max-width: 50%;
}

.col-7 {
    flex: 0 0 58.3333333333%;
    max-width: 58.3333333333%;
}

.col-8 {
    flex: 0 0 66.6666666667%;
    max-width: 66.6666666667%;
}

.col-9 {
    flex: 0 0 75%;
    max-width: 75%;
}

.col-10 {
    flex: 0 0 83.3333333333%;
    max-width: 83.3333333333%;
}

.col-11 {
    flex: 0 0 91.6666666667%;
    max-width: 91.6666666667%;
}

.col-12 {
    flex: 0 0 100%;
    max-width: 100%;
}

.col-md-6 {
    flex: 0 0 auto;
    width: 50%;
}

.col-12 {
    flex: 0 0 auto;
    width: 100%;
    --bs-gutter-x: 3rem;
}

.form-control {
    display: block;
    width: 100%;
    padding: .375rem .75rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.2;
    color: var(--bs-body-color);
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-color: var(--bs-body-bg);
    background-clip: padding-box;
    border: var(--bs-border-width) solid var(--bs-border-color);
    border-radius: var(--bs-border-radius);
    transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
}

.form-label {
    margin-bottom: .5rem !important;
    color: #424242 !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    font-style: normal !important;
    float: left !important;
}


:root, [data-bs-theme=light] {
    --bs-gradient: linear-gradient(180deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0));
    --bs-body-font-family: var(--bs-font-sans-serif);
    --bs-body-font-size: 1rem;
    --bs-body-font-weight: 400;
    --bs-body-line-height: 1.5;
    --bs-body-color: #212529;
    --bs-body-color-rgb: 33, 37, 41;
    --bs-body-bg: #fff;
    --bs-body-bg-rgb: 255, 255, 255;
    --bs-heading-color: inherit;
    --bs-link-color: #0d6efd;
    --bs-link-hover-color: #0a58ca;
    --bs-link-hover-color-rgb: 10, 88, 202;
    --bs-code-color: #d63384;
    --bs-highlight-color: #212529;
    --bs-highlight-bg: #fff3cd;
    --bs-border-width: 1px;
    --bs-border-style: solid;
    --bs-border-color: #dee2e6;
    --bs-border-color-translucent: rgba(0, 0, 0, 0.175);
    --bs-border-radius: 0.375rem;
    --bs-box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
    --bs-form-valid-color: #198754;
    --bs-form-valid-border-color: #198754;
    --bs-form-invalid-color: #dc3545;
    --bs-form-invalid-border-color: #dc3545;
}

.form-control:focus {
    border-color: #9CD2FC;
    color: #000000;
    outline: 0;
    background: #eee;
    box-shadow: 0 4px 5px -4px #9CD2FC;
}

.middle {
    text-align: -webkit-center;
}

.btn {
    --bs-btn-padding-x: 0.75rem;
    --bs-btn-padding-y: 0.375rem;
    --bs-btn-border-width: var(--bs-border-width);
    --bs-btn-border-radius: var(--bs-border-radius);
    --bs-btn-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15), 0 1px 1px rgba(0, 0, 0, 0.075);
    padding: var(--bs-btn-padding-y) var(--bs-btn-padding-x);
    color: var(--bs-btn-color);
    text-align: center;
    text-decoration: none;
    vertical-align: middle;
    border: var(--bs-btn-border-width) solid var(--bs-btn-border-color);
    border-radius: var(--bs-btn-border-radius);
    background-color: var(--bs-btn-bg);
    transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out;
}

.btn-delete {
    background-image: linear-gradient(to right, #f85032 0%, #ff07077d 51%, #f85032 100%);
    margin: 0px;
    padding: 10px 35px;
    text-align: center;
    text-transform: uppercase;
    transition: 0.5s;
    background-size: 200% auto;
    color: white;
    box-shadow: 0 0 20px #eee;
    border-radius: 10px;
    display: inline-grid;
    cursor: pointer; /* Ensuring cursor property */
    border-color: #ffffff00;
}

    .btn-delete:hover {
        background-position: right center; /* change the direction of the change here */
        color: #fff;
        text-decoration: none;
        cursor: pointer;
    }

.btn-search {
    background-image: linear-gradient(to right, #00d2ff 0%, #3a7bd5 51%, #00d2ff 100%);
    margin: 0px;
    padding: 10px 35px;
    text-align: center;
    text-transform: uppercase;
    transition: 0.5s;
    background-size: 200% auto;
    color: white;
    box-shadow: 0 0 20px #eee;
    border-radius: 10px;
    display: inline-grid;
    cursor: pointer; /* Ensuring cursor property */
    border-color: #ffffff00;
}

    .btn-search:hover {
        background-position: right center; /* change the direction of the change here */
        color: #fff;
        text-decoration: none;
        cursor: pointer; /* Ensure cursor remains a pointer on hover */
    }

.btn-search-disabled {
    background-image: linear-gradient(to right, #cccccc 0%, #eeeeee 51%, #cccccc 100%);
    color: #888888;
    cursor: not-allowed;
    box-shadow: none;
    border-color: #ccc0;
}

.btn-clear {
    background-image: linear-gradient(to right, #F09819 0%, #EDDE5D 51%, #F09819 100%);
    margin: 0px;
    padding: 10px 35px;
    text-align: center;
    text-transform: uppercase;
    transition: 0.5s;
    background-size: 200% auto;
    color: white;
    box-shadow: 0 0 20px #eee;
    border-radius: 10px;
    display: inline-grid;
    cursor: pointer; /* Ensuring cursor property */
    border-color: #ffffff00;
}

    .btn-clear:hover {
        background-position: right center; /* change the direction of the change here */
        color: #fff;
        text-decoration: none;
        cursor: pointer; /* Ensure cursor remains a pointer on hover */
    }

.btn-create {
    background-image: linear-gradient(to right, #56ab2f 0%, #a8e063 51%, #56ab2f 100%);
    margin: 0px;
    padding: 8px;
    text-align: center;
    text-transform: uppercase;
    transition: 0.5s;
    background-size: 200% auto;
    color: white;
    box-shadow: 0 0 20px #eee;
    border-radius: 10px;
    display: inline;
    cursor: pointer; /* Ensuring cursor property */
    border-color: #ffffff00;
}

    .btn-create:hover {
        background-position: right center; /* change the direction of the change here */
        color: #fff;
        text-decoration: none;
        cursor: pointer; /* Ensure cursor remains a pointer on hover */
    }



.btn-back {
    background-image: linear-gradient(to right, #616161 0%, #9bc5c3 51%, #616161 100%);
    margin: 0px;
    padding: 10px 30px;
    text-align: center;
    text-transform: uppercase;
    transition: 0.5s;
    background-size: 200% auto;
    color: white;
    box-shadow: 0 0 20px #eee;
    border-radius: 10px;
    display: inline-grid;
    border-color: #ccc0;
    cursor: pointer; /* Ensuring cursor property */
    border-color: #ffffff00;
}

    .btn-back:hover {
        background-position: right center; /* change the direction of the change here */
        color: #fff;
        text-decoration: none;
        cursor: pointer; /* Ensure cursor remains a pointer on hover */
    }


.btn-back1 {
    background-image: linear-gradient(to right, #232526 0%, #414345 51%, #232526 100%);
    margin: 0px;
    padding: 10px 35px;
    text-align: center;
    text-transform: uppercase;
    transition: 0.5s;
    background-size: 200% auto;
    color: white;
    box-shadow: 0 0 20px #eee;
    border-radius: 10px;
    display: inline-grid;
    border-color: #ccc0;
}

    .btn-back1:hover {
        background-position: right center; /* change the direction of the change here */
        color: #fff;
        text-decoration: none;
    }

.btn-previous {
    text-align: -webkit-center;
    margin: auto;
}

.btn-next {
    text-align: -webkit-center;
    margin: auto;
}

.previous-button,
.next-button {
    text-decoration: none;
    padding: 10px 20px;
    border: 1px solid #ffffff;
    border-radius: 15px;
    color: #004cff;
    font-weight: bold;
    cursor: pointer;
}

.disabled {
    opacity: 0.5;
    cursor: default; /* Remove pointer for disabled button */
}

.previous-button:hover,
.next-button:hover {
    background-color: #eee;
}

.previous:active,
.next:active {
    background-color: #ccc;
}

.card {
    box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2);
    transition: 0.3s;
    width: 100%;
    border-radius: 10px;
}

    .card:hover {
        box-shadow: 0 10px 20px 0 rgba(0,0,0,0.2);
    }

.zoom {
    padding: 1px;
    background-color: #f1f5f9;
    transition: transform 0.2s; /* Animation */
    width: 100%;
    height: 100%;
    margin: 0 auto;
    border-radius: 10px;
    padding-bottom: 15px;
}

    .zoom:hover {
        transform: scale(1.0001); /* 150% zoom - Note: if the zoom is too large, it will go outside of the viewport */
        box-shadow: 0 20px 28px 5px rgba(0,0,0,0.2);
    }

.justify-content-md-end {
    justify-content: flex-end !important;
}

.tb-img-view {
    width: 100%;
    display: flex;
    justify-content: center;
}

.tb-container {
    width: 100%;
    margin: 4em auto;
    position: relative;
}

    .tb-container img {
        width: 200px;
        height: auto;
        display: none;
        margin-bottom: 30px;
    }

    .tb-container input {
        display: none;
    }

    .tb-container label {
        width: 200px;
        height: 45px;
        background: #2f9c74;
        color: #ffffff;
        font-size: 15px;
        text-transform: capitalize;
        border-radius: 8px;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 0 auto;
    }

mb-3 {
    margin-bottom: 1rem !important;
}

.form-select-lg {
    padding-top: .5rem;
    padding-bottom: .5rem;
    padding-left: 1rem;
    font-size: 1.25rem;
}

.bd-example > :last-child {
    margin-bottom: 0;
}

.form-select-sm {
    padding-top: .25rem;
    padding-bottom: .25rem;
    padding-left: .5rem;
    font-size: .875rem;
}

.form-select {
    display: block;
    width: 100%;
    padding: .375rem 2.25rem .375rem .75rem;
    -moz-padding-start: calc(0.75rem - 3px);
    font-size: 0.9rem;
    font-weight: 400;
    line-height: 1.2;
    color: #212529;
    background-color: #fff;
    background-image: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2016%2016'%3E%3Cpath%20fill='none'%20stroke='%23343a40'%20stroke-linecap='round'%20stroke-linejoin='round'%20stroke-width='2'%20d='M2%205l6%206%206-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right .75rem center;
    background-size: 16px 12px;
    border: 1px solid #ced4da;
    border-radius: .25rem;
    transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

    .form-select:focus {
        border-color: #9CD2FC;
        color: #000000;
        outline: 0;
        background: #eee;
        box-shadow: 0 4px 5px -4px #9CD2FC;
    }

select {
    word-wrap: normal;
}

.form-select[multiple], .form-select[size]:not([size="1"]) {
    padding-right: .75rem;
    background-image: none;
}

.my-5 {
    margin-top: 3rem !important;
    margin-bottom: 3rem !important;
}

hr {
    margin: 1rem 0;
    color: inherit;
    border: 0;
    border-top: var(--mdb-border-width) solid;
    opacity: .25;
}

.mb-4 {
    margin-bottom: 1.5rem !important;
}

.h1, h1 {
    font-size: 2.5rem;
}

.h1, .h2, .h3, .h4, .h5, .h6, h1, h2, h3, h4, h5, h6 {
    margin-bottom: .5rem;
    font-family: inherit;
    font-weight: 500;
    line-height: 1.2;
    color: inherit;
}

.h2, h2 {
    font-size: 2rem;
}

.h3, h3 {
    font-size: 1.75rem;
    margin-top: 0px !important;
    margin-bottom: 0px !important;
}

.h4, h4 {
    font-size: 1.5rem;
}

.h5, h5 {
    font-size: 1.25rem;
}

.h6, h6 {
    font-size: 1rem;
}

p {
    margin-top: 0;
    margin-bottom: 1rem;
}

.list {
    font-size: large;
}

.pager a {
    padding: 5px 5px;
    text-decoration: none;
    color: blue
}

    .pager a.active {
        font-weight: bold;
        color: red;
    }

.grid-container {
    max-height: 400px; /* Set the desired max height */
    overflow-y: scroll; /* Enable vertical scrolling */
    width: 100%;
}

    .grid-container::-webkit-scrollbar {
        width: 12px;
    }

    .grid-container::-webkit-scrollbar-track {
        background: #f1f1f1;
    }

    .grid-container::-webkit-scrollbar-thumb {
        background: #888;
    }

        .grid-container::-webkit-scrollbar-thumb:hover {
            background: #555;
        }


.form-selectdate-lg {
    padding-top: .5rem;
    padding-bottom: .5rem;
    padding-left: 1rem;
    font-size: 1.25rem;
}


.form-selectdate-sm {
    padding-top: .25rem;
    padding-bottom: .25rem;
    padding-left: .5rem;
    font-size: .875rem;
}

.form-selectdate {
    display: block;
    width: 100%;
    padding: .375rem 2.25rem .375rem .75rem;
    -moz-padding-start: calc(0.75rem - 3px);
    font-size: 0.9rem;
    font-weight: 400;
    line-height: 1.2;
    color: #212529;
    background-color: #fff;
    /*Without color*/
    /* background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%23343a40' stroke-width='2' d='M3 4h18v18H3z'/%3E%3Cpath fill='none' stroke='%23343a40' stroke-width='2' d='M3 8h18'/%3E%3Crect x='7' y='12' width='2' height='2' fill='%23343a40'/%3E%3Crect x='11' y='12' width='2' height='2' fill='%23343a40'/%3E%3Crect x='15' y='12' width='2' height='2' fill='%23343a40'/%3E%3Crect x='7' y='16' width='2' height='2' fill='%23343a40'/%3E%3Crect x='11' y='16' width='2' height='2' fill='%23343a40'/%3E%3Crect x='15' y='16' width='2' height='2' fill='%23343a40'/%3E%3Cpath fill='none' stroke='%23343a40' stroke-width='2' d='M8 4v4M16 4v4'/%3E%3C/svg%3E");
*/
    /*WIth color*/
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Crect x='2' y='4' width='20' height='18' rx='2' ry='2' fill='%23ffffff' stroke='%23343a40' stroke-width='2'/%3E%3Cpath d='M2 10h20' stroke='%23343a40' stroke-width='2'/%3E%3Crect x='6' y='2' width='2' height='4' fill='%23ff6347'/%3E%3Crect x='16' y='2' width='2' height='4' fill='%23ff6347'/%3E%3Crect x='6' y='12' width='2' height='2' fill='%23343a40'/%3E%3Crect x='10' y='12' width='2' height='2' fill='%23343a40'/%3E%3Crect x='14' y='12' width='2' height='2' fill='%23343a40'/%3E%3Crect x='6' y='16' width='2' height='2' fill='%23343a40'/%3E%3Crect x='10' y='16' width='2' height='2' fill='%23343a40'/%3E%3Crect x='14' y='16' width='2' height='2' fill='%23343a40'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right center;
    background-size: 16px 16px;
    border: 1px solid #ced4da;
    border-radius: .25rem;
    transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

    .form-selectdate:focus {
        border-color: #9CD2FC;
        color: #000000;
        outline: 0;
        background: #eee;
        box-shadow: 0 4px 5px -4px #9CD2FC;
    }


    .form-selectdate[multiple], .form-selectdate[size]:not([size="1"]) {
        padding-right: .75rem;
        background-image: none;
    }

.mx-auto {
    margin-right: auto !important;
    margin-left: auto !important;
}

.gap-3 {
    gap: 1rem !important;
}

.popup {
    display: none;
    position: fixed;
    z-index: 1;
    /* padding-top: 60px; */
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgb(0,0,0);
    background-color: rgba(0,0,0,0.4);
}

.popup-content {
    background-color: #f4f6f7;
    margin: 3% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 55%;
    position: relative;
    border-radius: 19px;
}

.close {
    color: red;
    float: right;
    font-size: 18px;
    font-weight: bold;
    position: static;
    margin-bottom: 10px;
    border: none;
    background-color: floralwhite;
    right: 10px;
    top: 5px;
}

    .close:hover,
    .close:focus {
        color: black;
        text-decoration: none;
        cursor: pointer;
    }

.export {
    text-align: -webkit-right;
}

.custom-radio-list .form-check {
    display: inline-block;
    margin-right: 20px;
}

.custom-radio-list .form-check-label {
    font-size: 18px;
    color: #333;
    padding-left: 10px;
}

.custom-radio-list input[type="radio"] {
    transform: scale(1.5);
    margin-right: 5px;
}

.custom-radio-list {
    margin-top: 20px;
}

.required-asterisk {
    font-size: 1rem;
    color: red;
    font-weight: bold;
}

.form-label {
    font-size: 1.2rem;
    color: #333;
}

.label-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.validation-msg {
    text-align: right;
    color: orange;
}

.validation-msg-red {
    text-align: right;
    color: red;
}

.table-header {
    background-color: #5DADE2;
    color: white;
    height: 30px;
    text-align: center;
}

.table-header-cell {
    background-color: #5DADE2;
    color: white;
    text-align: center;
}

.table-cell {
    text-align: left;
}

.table-alternating-row {
    background-color: #FADBD8;
}

.table-footer {
    text-align: center;
}

.pager {
    margin: 10px 0;
}

.popup-message {
    padding: 15px;
    position: fixed;
    top: 20px;
    z-index: 1000;
    border-radius: 4px;
    font-size: 16px;
    display: flex;
    align-items: center;
    opacity: 1;
    transition: opacity 1s ease-out; /* Fade-out transition */
}

    .popup-message.success {
        background-color: #dff0d8;
        border: 1px solid #d6e9c6;
        color: #3c763d;
    }

    .popup-message.error {
        background-color: #f2dede;
        border: 1px solid #ebccd1;
        color: #a94442;
    }

    .popup-message span {
        font-size: 20px;
        margin-right: 10px;
    }

.cardtag {
    margin-bottom: 1.875rem;
    background-color: #fff;
    transition: all .5s ease-in-out;
    position: relative;
    border: 0px solid transparent;
    border-radius: 0.25rem;
    box-shadow: 0px 0px 13px 0px rgba(82, 63, 105, 0.05);
    height: calc(100% - 30px);
    width: 99%;
    border-radius: 0.7rem;
}

.card-body {
    flex: 1 1 auto;
    min-height: 1px;
    padding: 0.55rem;
}

.bg-warning {
    background: rgba(101, 192, 75, 0.8) !important;
}

.bg-primary {
    background: rgba(126, 192, 192, 0.8) !important;
}

.bg-secondary {
    background: rgba(126, 75, 192, 0.8) !important;
}

.bg-danger {
    background: rgba(128, 172, 234, 0.7) !important;
}

.bg-success {
    background: rgba(75, 192, 192, 0.8) !important;
}

.media {
    display: flex;
    align-items: flex-start;
}

.mr-2, .mx-2 {
    margin-right: 0.5rem !important;
}

.mr-3, .mx-3 {
    margin-right: 1rem !important;
}

.widget-stat .media {
    padding: 0px 0;
    align-items: center;
}

    .widget-stat .media > span {
        background: #F5F7FB;
        height: 50px;
        width: 50px;
        border-radius: 50px;
        padding: 10px 12px;
        border: 1px solid #E6E8ED;
        font-size: 25px;
        display: flex;
        justify-content: center;
        align-items: center;
        color: #464a53;
    }

.media-body {
    flex: 1;
}

.text-white {
    color: #fff !important;
}

.mb-1, .my-1 {
    margin-bottom: 0.25rem !important;
}

p {
    line-height: 1.8;
}

.widget-stat .media .media-body p {
    text-transform: uppercase;
    font-weight: 500;
    font-size: 14px;
}

.card-header:first-child {
    border-radius: calc(0.25rem - 1px) calc(0.25rem - 1px) 0 0;
}

.card-header {
    border-color: #eaeaea;
    position: relative;
    background: transparent;
    padding: 0.25rem 1.25rem 5px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border: 0px;
    font-weight: 500;
}

    .card-header .card-title {
        margin-bottom: 0px;
    }

.card-title {
    font-size: 16px;
    font-weight: 500;
    color: #454545;
    text-transform: capitalize;
    letter-spacing: 0.05em;
}

/* ADD at 20/01/2025 */


.modal {
    position: fixed;
    top: 0;
    left: 0;
    background-color: black;
    z-index: 99;
    opacity: 0.8;
    filter: alpha(opacity=80);
    -moz-opacity: 0.8;
    min-height: 100%;
    width: 100%;
}

.loading {
    font-family: Arial;
    font-size: 10pt;
    border: 5px solid #67CFF5;
    width: 200px;
    height: 100px;
    display: none;
    position: absolute;
    top: 50px;
    background-color: White;
    z-index: 999;
}

.auto-style1 {
    height: 20px;
}

.auto-style2 {
    height: 440px;
}

.pager {
    text-align: center;
    padding: 10px;
    background-color: #f8f9fa;
    border-top: 2px solid #ddd;
}

    .pager a, .pager span {
        color: #007bff;
        margin: 0 5px;
        padding: 5px 10px;
        border-radius: 4px;
        border: 1px solid transparent;
        text-decoration: none;
        font-family: 'Roboto', sans-serif;
        font-size: 14px;
    }

        .pager a:hover, .pager a:focus {
            background-color: #007bff;
            color: #fff;
            border: 1px solid #007bff;
        }

    .pager .SelectedPage {
        background-color: #007bff;
        color: #fff;
        border: 1px solid #007bff;
        font-weight: bold;
    }

.gridview-container {
    max-height: 400px; /* Set this to the desired height */
    overflow-y: auto;
    position: relative;
}

.material-gridview {
    font-family: 'Roboto', sans-serif;
    border-collapse: separate;
    border-spacing: 0;
    width: 100%;
}

    .material-gridview th, .material-gridview td {
        padding: 12px 15px;
        text-align: left;
        border-bottom: 2px solid rgba(0, 0, 0, 0.12);
    }

    .material-gridview th {
        position: sticky;
        top: 0;
        z-index: 2;
        background: linear-gradient(90deg, #2196F3, #21CBF3);
        color: white;
        text-transform: uppercase;
        font-weight: 500;
        border-bottom: none;
    }

    .material-gridview td {
        background-color: white;
        border-bottom: 1px solid rgba(0, 0, 0, 0.12);
        transition: background-color 0.3s ease;
    }

        .material-gridview td:hover {
            background-color: #f1f1f1;
        }

    .material-gridview .gridtext {
        font-size: 14px;
        color: #333;
    }

    .material-gridview .footer-text {
        font-weight: bold;
        color: #2196F3;
    }

canvas {
    border: 0px solid #e0e0e0;
}

/** button group styles **/

.btn-group {
    border-radius: 1rem;
    box-shadow: -2.3px -2.3px 3.8px rgba(255,255,255, 0.2), -6.3px -6.3px 10.6px rgba(255,255,255, 0.3), -15.1px -15.1px 25.6px rgba(255,255,255, 0.4), -50px -50px 85px rgba(0255,255,255, 0.07), 2.3px 2.3px 3.8px rgba(0, 0, 0, 0.024), 6.3px 6.3px 10.6px rgba(0, 0, 0, 0.035), 15.1px 15.1px 25.6px rgba(0, 0, 0, 0.046), 50px 50px 85px rgba(0, 0, 0, 0.07);
