@import url('open-iconic/font/css/open-iconic-bootstrap.min.css');
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600&display=swap');

html, body {
    font-family: 'Poppins', Helvetica, Arial, sans-serif;
    font-size: 0.85rem; /* Increase size for better readability */
    font-weight: 500; /* Medium weight for clarity */
    color: #333333; /* Dark gray for better contrast */
}

.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,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9IjIzNSIgeT0iNTEiIHdpZHRoPSI1NiIgaGVpZ2h0PSI0OSI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LjA1NDcgMjU5Ljc4NiA4Ny4zMDA1IDI1OS43ODYgODkuNzkyMSAyNTkuNzg2IDkyLjI4MzcgMjYxLjA0OSA5My41Mjk1IDI2My41NzYgOTMuNTI5NSAyNjYuMTE2IDkzLjUyOTUgMjY3LjM4NyA5Mi4yODM3IDI2Ny4zODcgODkuNzkyMSAyNjcuMzg3IDg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) 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: #1b6ec2;
    color: white;
}

    .btn-date:hover {
        background-color: darkgreen;
        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;
}


/* Background blur and overlay */
.upload-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent overlay */
    backdrop-filter: blur(5px); /* Blurs the background */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    pointer-events: none; /* Disable clicks on the background */
}

/* Container for status */
.upload-status-container {
    padding: 20px;
    width: 90%;
    max-width: 400px;
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    text-align: center;
    z-index: 1010;
    pointer-events: all; /* Enable clicks within the modal */
}

/* Progress bar container */
.progress-bar-container {
    position: relative;
    width: 100%;
    height: 20px;
    background-color: #e0e0e0;
    border-radius: 10px;
    overflow: hidden;
    margin: 10px 0;
}

/* Progress bar fill */
.progress-bar {
    height: 100%;
    background-color: #4caf50;
    width: 0%;
    transition: width 0.3s ease-in-out;
}

/* Text and Count */
.upload-text {
    font-size: 1.2rem;
    color: #555;
    margin: 10px 0;
}

.upload-count {
    font-size: 1.3rem;
    font-weight: bold;
    color: #333;
}

/* Loading spinner */
.loading-image {
    width: 50px;
    height: 50px;
    margin-bottom: 10px;
}

/* Disable pointer events and clicks outside the overlay */
body {
    overflow: hidden; /* Prevent scrolling when overlay is active */
}

/* Abort Button */
.abort-button {
    margin-top: 15px;
    padding: 10px 20px;
    background-color: #f44336; /* Red color */
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

    .abort-button:hover {
        background-color: #d32f2f;
    }

/* Abort Message */
.abort-message {
    margin-top: 20px;
    font-size: 1.1rem;
    color: #333;
    background-color: #ffebee; /* Light red background */
    padding: 10px;
    border: 1px solid #f44336;
    border-radius: 5px;
}


.suggestion-list {
    position: relative;
    z-index: 1;
    background-color: #fff;
    border: 1px solid #ddd;
    max-height: 100px; /* Set a max height for the suggestion list */
    overflow-y: auto; /* Enable vertical scrolling if needed */
}

    .suggestion-list li:hover {
        background-color: #f0f0f0;
        cursor: pointer;
    }

.selected {
    background-color: #b3d4fc;
}

.resultRecordHoverBg:hover {
    background: #f2eeef !important;
}

.deltaBgColor {
    background: radial-gradient(666px at 0.4% 48%, rgb(202, 204, 227) 0%, rgb(89, 89, 99) 97.5%);
}

.blazorModalCss {
    width: 700px;
    background-color: wheat;
    position: relative;
    left: 350px;
}

.blazorModalTableValueUpsertCss {
    width: 1200px;
    background-color: navajowhite;
    position: relative;
    left: 25px;
}


.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;
}

/*----------------------SyncFusion Rich Text Editor Custome Styling -------------------------------------------------------*/

.custom-table {
    border: 2px solid red; /* Increase border width as needed */
}


.e-richtexteditor .e-rte-content .e-content li, .e-richtexteditor .e-rte-content .e-content ul {
    margin-bottom: 1px;
}


.e-code-mirror::before {
    content: '\e345';
}

.e-html-preview::before {
    content: '\e350';
}

.e-richtexteditor.e-rte-full-screen {
    top: 48px;
}

.CodeMirror-linenumber,
.CodeMirror-gutters {
    display: none;
}

.sb-header {
    z-index: 100;
}

.fabric-dark .cm-s-default .cm-tag,
.bootstrap5-dark .cm-s-default .cm-tag,
.material-dark .cm-s-default .cm-tag,
.tailwind-dark .cm-s-default .cm-tag,
.highcontrast .cm-s-default .cm-tag {
    color: #00ff00;
}

.fabric-dark .cm-s-default .cm-string,
.bootstrap5-dark .cm-s-default .cm-string,
.material-dark .cm-s-default .cm-string,
.tailwind-dark .cm-s-default .cm-string {
    color: blue;
}

.highcontrast .cm-s-default .cm-string {
    color: #ffd939;
}

.fabric-dark .cm-s-default .cm-attribute,
.bootstrap5-dark .cm-s-default .cm-attribute,
.material-dark .cm-s-default .cm-attribute,
.tailwind-dark .cm-s-default .cm-attribute,
.highcontrast .cm-s-default .cm-attribute {
    color: #f00;
}

.fabric-dark .CodeMirror,
.bootstrap5-dark .CodeMirror,
.material-dark .CodeMirror,
.tailwind-dark .CodeMirror {
    background: #303030;
}

.highcontrast .CodeMirror {
    background: black;
}

.e-richtexteditor .e-rte-content .e-content pre {
    padding: 10px;
    background: #F4F5F7;
}

.fabric-dark .e-richtexteditor .e-rte-content .e-content pre,
.bootstrap5-dark .e-richtexteditor .e-rte-content .e-content pre,
.material-dark .e-richtexteditor .e-rte-content .e-content pre,
.tailwind-dark .e-richtexteditor .e-rte-content .e-content pre,
.highcontrast .e-richtexteditor .e-rte-content .e-content pre,
.fluent-dark .e-richtexteditor .e-rte-content .e-content pre,
.material3-dark .e-richtexteditor .e-rte-content .e-content pre,
{
    padding: 10px;
    background: #303030;
}

@@media print {
    a, a:visited {
        color: blue !important;
        text-decoration: underline;
    }

        a[href^="javascript:"]:after, a[href^="#"]:after {
            content: "";
        }

        a[href]:after {
            content: "";
        }
}

.e-rte-dropdown-popup ul {
    min-width: 82px;
    min-width: 82px;
    max-height: 200px;
    overflow-y: auto;
    overflow-x: hidden;
    border: 1px solid #ccc;
    padding: 5px;
}



.blazored-toast-container {
    z-index: 2000 !important;
    position: fixed !important;
    top: 50px !important; /* adjust the value as needed */
}


/*----------------------------- Patient header Component Page Css ---------------------------------------------------*/

/* site.css */
.patient-header {
    background: linear-gradient(90deg, #8e44ad, #3498db, #16a085);
    background-size: 300% 300%;
    animation: headerGradientShift 8s ease infinite;
    color: white;
    padding: 10px 20px;
    /*border-radius: 10px;*/
}

.patient-info {
    white-space: nowrap;
    color: #fff;
    font-weight: 500;
}

    .patient-info strong {
        color: #ffd54f;
    }

/*@keyframes headerGradientShift {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}*/

@media (max-width: 768px) {
    .patient-info {
        display: block;
        margin-bottom: 8px;
    }
}
