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

html, body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    display: flex;
    flex-direction: column;
}

html, body, #app {
    height: 100%;
    overflow: hidden;
}

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

.loading-progress {
    position: relative;
    display: block;
    width: 8rem;
    height: 8rem;
    margin: 20vh auto 1rem auto;
}

    .loading-progress circle {
        fill: none;
        stroke: #e0e0e0;
        stroke-width: 0.6rem;
        transform-origin: 50% 50%;
        transform: rotate(-90deg);
    }

        .loading-progress circle:last-child {
            stroke: #1b6ec2;
            stroke-dasharray: calc(3.141 * var(--blazor-load-percentage, 0%) * 0.8), 500%;
            transition: stroke-dasharray 0.05s ease-in-out;
        }

.loading-progress-text {
    position: absolute;
    text-align: center;
    font-weight: bold;
    inset: calc(20vh + 3.25rem) 0 auto 0.2rem;
}

    .loading-progress-text:after {
        content: var(--blazor-load-percentage-text, "Loading");
    }



/*Devexpress*/

.email-caption {
    display: flex;
    align-items: center;
}

.info-icon-btn {
    padding-left: .25rem;
    padding-right: .25rem;
}

.info-icon {
    display: inline-block;
    background-color: currentColor;
    width: 16px;
    height: 16px;
    -webkit-mask-image: url("images/icons/info-circle.svg");
    mask-image: url("images/icons/info-circle.svg");
}


.dx-form-layout-tabpage {
    background-color: #0B326F;
    color: white;
    padding: 15px;
}

.dxbl-group > .dxbl-group-header {
    background-color: #0B326F !important;
    color: white !important;
}

.disabled-tablink {
    cursor: default;
    pointer-events: none;
}

    .disabled-tablink a {
        text-decoration: none;
        color: grey !important;
    }

.disabled-tab {
    pointer-events: none;
    opacity: 0.5;
}

.pager-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 15px;
    padding-bottom: 30px;
    margin-top: 20px;
    border-top: 1px solid #e9ecef;
}

.button-group {
    display: flex;
    justify-content: space-between;
}

    .button-group .btn {
        margin: 0 5px;
    }

.shadow {
    box-shadow: 0 .15rem 1.75rem 0 rgba(58, 59, 69, .15) !important;
}

.required-caption:after {
    content: '*';
    color: red;
}

.dx-demo-label {
    font-size: inherit;
}

    .dx-demo-label.dx-demo-small {
        font-size: 0.75rem;
    }

    .dx-demo-label.dx-demo-large {
        font-size: 1rem;
    }

.dx-demo-select-all-checkbox {
    margin-bottom: 0.25rem;
}

.dx-demo-price-list-content {
    padding-left: 1rem;
    padding-top: 1rem;
}

.dx-demo-row {
    display: flex;
    justify-content: space-between;
}

    .dx-demo-row + .dx-demo-row {
        margin-top: 0.25rem;
    }

.dx-demo-text-strikethrough {
    text-decoration: line-through;
}



.priority-danger {
    background-color: var(--bs-red); 
}

.priority-info {
    background-color: var(--bs-blue);
}


.priority-danger {
    background-color: var(--bs-red)
}

.status-icon {
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 50%;
    display: inline-block;
    margin-right: 5px; /* Space between the dot and the text */
}

.status-icon-danger {
    background-color: var(--bs-red); /* Red for High Risk */
}

.status-icon-info {
    background-color: var(--bs-blue); /* Blue for Low Risk */
}

.status-icon-fixed {
    background-color: var(--bs-green);
}

.status-icon-rejected {
    background-color: var(--bs-red);
}

.status-icon-postponed {
    background-color: var(--bs-gray-600);
}

.status-icon-new {
    background-color: var(--bs-cyan);
}


.dx-datagrid-header-cell {
    color: white;
    font-weight: bold;
}


/*.custom-btn {
    background-color: #0B326F;
    color: white;
    border: none;
}

    .custom-btn i {
        margin-right: 5px;
    }

    .custom-btn:hover {
        background-color: #204887;
    }*/


/* Custom CSS for buttons */
.custom-btn {
    background-color: #0B326F;
    color: white;
}

.custom-btn-unenroll {
    background-color: #DC3545; /* Background color for Unenroll Patient (Red) */
    color: white; /* Text color */
}

.custom-btn:hover {
    background-color: #0C4A9E;
    color: white;
}

.custom-btn i {
    margin-right: 5px; /* Space between icon and text */
}


.custom-close-btn {
    color: #0B326F;
    border: 1px solid #0B326F;
    background-color: transparent;
    border-radius: 4px;
    padding: 8px 16px;
    font-size: 14px;
    cursor: pointer;
}

    .custom-close-btn:hover {
        background-color: #0B326F;
        color: #fff;
    }

    .custom-close-btn:active {
        transform: scale(0.98);
    }

.custom-submit-btn {
    color: #0B326F;
    border: 1px solid #0B326F;
    background-color: transparent;
    border-radius: 4px;
    padding: 8px 16px;
    font-size: 14px;
    cursor: pointer;
}

    .custom-submit-btn:hover {
        background-color: #198754;
        color: #fff;
    }

    .custom-submit-btn:active {
        transform: scale(0.98);
    }

.custom-drop-zone {
    padding: 0 !important;
    border-style: dashed;
    border-width: 2px !important;
    height: 230px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: rgba(183, 183, 183, 0.1);
}

    .custom-drop-zone.custom-drop-zone-hover {
        border-style: solid;
    }

    .custom-drop-zone svg {
        width: 42px;
        height: 42px;
    }

    .custom-drop-zone > *:not(#overviewDemoSelectButton) {
        pointer-events: none;
    }

.drop-file-icon {
    background-size: contain;
    mask-repeat: no-repeat;
    -webkit-mask-repeat: no-repeat;
    background-position: center center;
    background-color: #0B326F;
    width: 48px;
    height: 48px;
    -webkit-mask-image: url("images/home.svg");
    mask-image: url("images/home.svg");
}

.drop-file-label {
    font-weight: 500;
    font-size: 1rem;
}

.btn-sm {
    padding: 2px 10px;
}

.alert-container {
    padding-top: 5px;
}