@import url('open-iconic/font/css/open-iconic-bootstrap.min.css');

html, body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-size: 0.9rem;
}

.backgroundImage {
    background-image: url('../images/pageBg.png');
    background-repeat: repeat;
}

.headerBackground {
    background: linear-gradient(-135deg, #364cc0, #c11ab6);
    color: white;
}

.editFormBackground {
    background: linear-gradient(-135deg, #c11ab6, #364cc0);
}

.patientInfoBackground {
    background-color: beige;
}


.footerBackground {
    background: linear-gradient(-135deg,#c11ab6, #364cc0);
    color: white;
}

h1:focus {
    outline: none;
}

a, .btn-link {
    color: #0071c1;
}

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

.content {
    /* padding-top: 1.1rem;*/
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid red;
}

.validation-message {
    color: red;
}

#blazor-error-ui {
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }

.blazor-error-boundary {
    background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9IjIzNSIgeT0iNTEiIHdpZHRoPSI1NiIgaGVpZ2h0PSI0OSIvPjwvY2xpcFBhdGg+PC9kZWZzPjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMCkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yM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DI2My41NzYgOTMuNTI5NSAyNjYuMTE2IDkzLjUyOTUgMjY3LjM4NyA5Mi4yODM3IDI2Ny4zODcgODkuNzkyMSAyNjcuMzg3IDg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}

    .blazor-error-boundary::after {
        content: "An error has occurred."
    }

/*------------------------------------------Alert css------------------*/


.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 9999;
}

.custom-alert {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: white;
    border: 1px solid #ccc;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    border-radius: 4px;
    padding: 20px;
    max-width: 400px;
    text-align: center;
    z-index: 10000;
}

    .custom-alert .message {
        font-size: 18px;
        margin-bottom: 20px;
    }

        .custom-alert .message span {
            color: #ff0000; /* Set the desired color for the formatted part */
            font-weight: bold; /* Apply any additional formatting as needed */
        }

    .custom-alert .button-container {
        display: flex;
        justify-content: center;
    }

    .custom-alert button {
        padding: 8px 16px;
        margin: 0 8px;
        font-size: 14px;
        border-radius: 4px;
        border: none;
        cursor: pointer;
    }

    .custom-alert .btn-yes {
        background-color: #4caf50;
        color: white;
    }

    .custom-alert .btn-no {
        background-color: #f44336;
        color: white;
    }



/*------------------------Create and Update Patient form Css----------------*/

.mandatory {
    border-bottom-color: red;
}

    .mandatory::after {
        content: '*';
        color: red;
        padding-left: 2px;
    }

.btn-date {
    background: blueviolet;
    color: white;
}

    .btn-date:hover {
        background: #470b7e;
        color: white;
    }

.btn-color {
    background: #4B0082;
    color: white;
}

    .btn-color:hover {
        background: green;
        color: white;
    }


.btn-color-close {
    background: #0a7990;
    color: white;
}

    .btn-color-close:hover {
        background: green;
        color: white;
    }

.input-group-sm > .btn, .input-group-sm > .form-control,
.input-group-sm > .form-select,
.input-group-sm > .input-group-text {
    padding: 0.25rem 0.5rem;
    font-size: .9rem;
    border-radius: 0.25rem;
}

.t-table {
    border: 1px solid black;
    height: 100px;
    border-collapse: collapse;
}

    .t-table td {
        border: 1px solid black;
    }

        .t-table td:empty {
            border-left: 0;
            border-right: dashed;
        }



/*------------------------------------- Auto select Input CSS -----------------------------------------------------------*/

.AutoSelectInput {
    width: 300px;
    padding: 4px;
    font-size: 14px;
    border: 1px solid #ccc;
    border-radius: 4px;
}


.norecord {
    color: black;
    font-style: italic;
    background-color: #ffcaca;
    width: 306px;
    padding-left: 1px;
}


/*-----------------------Fiter Panel list CSS ---------------------------------------------*/

.dropdown {
    position: absolute;
    background-color: blueviolet;
    color: white;
    border-radius: 4px;
    list-style-type: none;
    padding-left: 0;
    margin-bottom: 0;
    z-index: 1;
    width: 77%;
    overflow-y: auto;
    margin-top: 30px;
    left: 87px;
}

    .dropdown li {
        padding: 4px 8px;
        cursor: pointer;
    }

        .dropdown li:hover {
            background-color: #478556;
            color: white;
        }

        .dropdown li.selected {
            background-color: #478556;
            color: white;
        }

/*-----------------------Fiter Doctor list CSS ---------------------------------------------*/

.dropdownDoctor {
    position: absolute;
    background-color: blueviolet;
    color: white;
    border-radius: 4px;
    list-style-type: none;
    padding-left: 0;
    margin-bottom: 0;
    z-index: 1;
    width: 69%;
    overflow-y: auto;
    margin-top: 30px;
    left: 112px;
}

    .dropdownDoctor li {
        padding: 4px 8px;
        cursor: pointer;
    }

        .dropdownDoctor li:hover {
            background-color: #478556;
            color: white;
        }

        .dropdownDoctor li.selected {
            background-color: #478556;
            color: white;
        }

/*-----------------------Fiter Collection list CSS ---------------------------------------------*/

.dropdownCollectionBoy {
    position: absolute;
    background-color: blueviolet;
    color: white;
    border-radius: 4px;
    list-style-type: none;
    padding-left: 0;
    margin-bottom: 0;
    z-index: 1;
    width: 72%;
    overflow-y: auto;
    margin-top: 30px;
    left: 101px;
}


    .dropdownCollectionBoy li {
        padding: 4px 8px;
        cursor: pointer;
    }

        .dropdownCollectionBoy li:hover {
            background-color: #478556;
            color: white;
        }

        .dropdownCollectionBoy li.selected {
            background-color: #478556;
            color: white;
        }

/*-----------------------Fiter Test list CSS ---------------------------------------------*/

.dropdownTestList {
    position: absolute;
    background-color: #e3c8c8;
    border-radius: 4px;
    list-style-type: none;
    padding-left: 0;
    margin-bottom: 0;
    z-index: 1;
    overflow-y: auto;
    width: 79%;
    left: -2px;
}


    .dropdownTestList li {
        padding: 4px 8px;
        cursor: pointer;
    }

        .dropdownTestList li:hover {
            background-color: #478556;
            color: white;
        }

        .dropdownTestList li.selected {
            background-color: #478556;
            color: white;
        }

/*------------------------------Test table on patient booking and Paient create---------------- */

.table-container {
    position: relative;
}

.table thead th {
    position: sticky;
    top: 0;
    background-color: white;
    color: black;
    z-index: 1;
}

.tableRecordHover:hover {
    background-color: #34cf9d !important;
}

.pagination-bottom {
    background: linear-gradient(-135deg,#c11ab6, #364cc0);
    margin: 0px;
    padding: 0px;
}

.pagination-button {
    background: #157347;
    border-color: #146c43;
    color: white;
    font-size: 0.8rem;
}

    .pagination-button:hover {
        background: #198754;
        border-color: #198754;
        color: white;
    }

/*----------------Syncfusion Grid Modified CSS -------------------*/
.e-grid .e-headercelldiv {
    font-size: 0.9rem;
    z-index: -1;
}

.e-grid .e-rowcell {
    font-size: 0.9rem;
}

.e-pager {
    color: black;
    font-weight: bold;
    background-color: lightcyan;
}

.e-pagercontainer {
    color: red;
    font-weight: bold;
    background-color: blue;
}

.e-parentmsgbar {
    color: black;
}


.e-pager div.e-icons.e-pager-default {
    background-color: #0d6efd;
    color: white;
}

.e-pager .e-parentmsgbar {
    font-weight: 700;
}

.top-row[b-nrr21spt5l] a, .top-row .btn-link[b-nrr21spt5l] {
    margin-left: 1rem;
    color: white;
    text-decoration: none;
}

.e-grid {
    z-index: 1;
}


.thicker-hr {
    margin-top: 1rem;
    margin-bottom: 1rem;
    border: none;
    height: 0.2rem !important;
    background-color: deeppink;
}
/*hr form receipt and  bill page header*/
.General-hr {
    margin-top: 0rem;
    margin-bottom: 0rem;
    border: none;
    height: 0.2rem !important;
    background-color: deeppink;
}

.modal-open .background-blur {
    filter: blur(1px);
    pointer-events: none;
}

.small-button {
    padding: 3px 6px;
    font-size: 10px;
}

.table td {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.selected {
    background-color: #007bff;
    color: white;
}

.table {
    background-color: white;
}

.custom-toast {
    top: 50%;
    transform: translateY(-50%);
}

.table tr th {
    background-color: blueviolet;
    color: white !important;
}

.btn-sm {
    margin-right: 0.2rem;
}


.bm-header {
    padding: 0px !important;
}

.bm-close {
    padding-right: 50px !important;
    color: red;
}

.bm-title {
    padding-left: 30px;
    font-size: medium;
    padding-top: 5px;
    color: chocolate;
    font-weight: bold;
}

/* ---------------------------------------------Patient page amount section -------------------------------------------------------------------*/

.patientAmountArea {
    background: linear-gradient(-135deg, #364cc0, #c11ab6);
}

.dropup-container {
    position: relative;
}

    .dropup-container select:focus {
        position: relative;
    }

        .dropup-container select:focus option {
            transform: translateY(calc(-100% - 1px));
        }

    .dropup-container .form-select {
        padding-top: 0.25rem;
    }

.fixed-width-mode-select {
    width: 160px;
}

.fixed-width-authority-select {
    width: 200px;
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-size: 24px;
    font-weight: bold;
}