/*@import url('open-iconic/font/css/open-iconic-bootstrap.min.css');*/

html, body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    overflow: visible !important;
    padding-right: 0 !important;
}

h1:focus {
    outline: none;
}

.body {
    overflow: scroll !important;
    padding-right: 0 !important
}

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

.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+PC9kZWZzPjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMCkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yMzUgLTUxKSI+PHBhdGggZD0iTTI2My41MDYgNTFDMjY0LjcxNyA1MSAyNjUuODEzIDUxLjQ4MzcgMjY2LjYwNiA1Mi4yNjU4TDI2Ny4wNTIgNTIuNzk4NyAyNjcuNTM5IDUzLjYyODMgMjkwLjE4NSA5Mi4xODMxIDI5MC41NDUgOTIuNzk1IDI5MC42NTYgOTIuOTk2QzI5MC44NzcgOTMuNTEzIDI5MSA5NC4wODE1IDI5MSA5NC42NzgyIDI5MSA5Ny4wNjUxIDI4OS4wMzggOTkgMjg2LjYxNyA5OUwyNDAuMzgzIDk5QzIzNy45NjMgOTkgMjM2IDk3LjA2NTEgMjM2IDk0LjY3ODIgMjM2IDk0LjM3OTkgMjM2LjAzMSA5NC4wODg2IDIzNi4wODkgOTMuODA3MkwyMzYuMzM4IDkzLjAxNjIgMjM2Ljg1OCA5Mi4xMzE0IDI1OS40NzMgNTMuNjI5NCAyNTkuOTYxIDUyLjc5ODUgMjYwLjQwNyA1Mi4yNjU4QzI2MS4yIDUxLjQ4MzcgMjYyLjI5NiA1MSAyNjMuNTA2IDUxWk0yNjMuNTg2IDY2LjAxODNDMjYwLjczNyA2Ni4wMTgzIDI1OS4zMTMgNjcuMTI0NSAyNTkuMzEzIDY5LjMzNyAyNTkuMzEzIDY5LjYxMDIgMjU5LjMzMiA2OS44NjA4IDI1OS4zNzEgNzAuMDg4N0wyNjEuNzk1IDg0LjAxNjEgMjY1LjM4IDg0LjAxNjEgMjY3LjgyMSA2OS43NDc1QzI2Ny44NiA2OS43MzA5IDI2Ny44NzkgNjkuNTg3NyAyNjcuODc5IDY5LjMxNzkgMjY3Ljg3OSA2Ny4xMTgyIDI2Ni40NDggNjYuMDE4MyAyNjMuNTg2IDY2LjAxODNaTTI2My41NzYgODYuMDU0N0MyNjEuMDQ5IDg2LjA1NDcgMjU5Ljc4NiA4Ny4zMDA1IDI1OS43ODYgODkuNzkyMSAyNTkuNzg2IDkyLjI4MzcgMjYxLjA0OSA5My41Mjk1IDI2My41NzYgOTMuNTI5NSAyNjYuMTE2IDkzLjUyOTUgMjY3LjM4NyA5Mi4yODM3IDI2Ny4zODcgODkuNzkyMSAyNjcuMzg3IDg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}

    .blazor-error-boundary::after {
        content: "An error has occurred."
    }

.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");
    }

/* Components custom CSS */


/*Upload client picture*/
.profile-container {
    display: flex;
    align-items: flex-start;
}

.profile-pic-wrapper-new {
    height: auto;
    width: auto;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center; /* Center vertically */
    align-items: center;
}

.profile-pic-wrapper {
    height: auto;
    width: auto;
    position: relative;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    display: inline-block;
    vertical-align: top;
}

.profile-pic-wrapper-detailrow {
    flex: 0 0 auto;
    height: auto;
    width: auto;
    position: relative;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    display: inline-block;
}

.pic-holder-detailrow {
    text-align: center;
    position: relative;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    overflow: hidden;
    display: flex;
    align-items: center; /* Align items vertically */
    justify-content: center;
}

    .pic-holder-detailrow .pic {
        height: 40px;
        width: 40px;
        display: block; /* Set display property to block */
        -o-object-fit: cover;
        object-fit: cover;
        -o-object-position: center;
        object-position: center;
        vertical-align: middle;
    }

.pic-holder {
    text-align: center;
    position: relative; /* Change to relative positioning */
    border-radius: 50%;
    width: 75px;
    height: 75px;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

    .pic-holder .pic {
        height: 75px;
        width: 75px;
        position: absolute;
        -o-object-fit: cover;
        object-fit: cover;
        -o-object-position: center;
        object-position: center;
    }

    .pic-holder .upload-file-block,
    .pic-holder .upload-loader {
        position: absolute;
        top: 0;
        left: 0;
        height: 100%;
        width: 100%;
        background-color: rgba(90, 92, 105, 0.7);
        color: #f8f9fc;
        font-size: 6px;
        font-weight: 600;
        opacity: 0;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: all 0.2s;
    }

    .pic-holder .upload-file-block {
        cursor: pointer;
    }

    .pic-holder:hover .upload-file-block,
    .uploadProfileInput:focus ~ .upload-file-block {
        opacity: 1;
    }

    .pic-holder.uploadInProgress .upload-file-block {
        display: none;
    }

    .pic-holder.uploadInProgress .upload-loader {
        opacity: 1;
    }

.delete-picture {
    font-size: 30px;
    position: absolute;
    color: white;
    border: none;
    background: none;
    right: -7px;
    top: 5px;
    line-height: 1;
    z-index: 0;
    padding: 0;
    margin-top: 0;
}

.snackbar {
    visibility: hidden;
    min-width: 250px;
    background-color: #333;
    color: #fff;
    text-align: center;
    border-radius: 2px;
    padding: 16px;
    position: fixed;
    z-index: 1;
    left: 50%;
    bottom: 30px;
    font-size: 14px;
    transform: translateX(-50%);
}

    .snackbar.show {
        visibility: visible;
        -webkit-animation: fadein 0.5s, fadeout 0.5s 2.5s;
        animation: fadein 0.5s, fadeout 0.5s 2.5s;
    }

@-webkit-keyframes fadein {
    from {
        bottom: 0;
        opacity: 0;
    }

    to {
        bottom: 30px;
        opacity: 1;
    }
}

@keyframes fadein {
    from {
        bottom: 0;
        opacity: 0;
    }

    to {
        bottom: 30px;
        opacity: 1;
    }
}

@-webkit-keyframes fadeout {
    from {
        bottom: 30px;
        opacity: 1;
    }

    to {
        bottom: 0;
        opacity: 0;
    }
}

@keyframes fadeout {
    from {
        bottom: 30px;
        opacity: 1;
    }

    to {
        bottom: 0;
        opacity: 0;
    }
}

.fas fa-trash-alt {
    position: absolute;
    right: 0;
    bottom: 0;
}

/*For Modals- duration, picture delete engagement*/
.modal {
    display: none;
    position: fixed;
    z-index: 1000 !important;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.9);
    justify-content: center;
    align-items: center;
}




.modal-content {
    display: block;
    max-width: 60%;
    max-height: 90%;
    width: auto;
    height: auto;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.modal-content6 {
    display: block;
    max-width: 80%;
    max-height: 90%;
    height: auto;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}


.modal-content3 {
    background-color: white;
    display: block;
    max-width: 100%;
    max-height: 90%;
    height: auto;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 5px;
    overflow-y: auto;
}
.close {
    position: absolute;
    top: 15px;
    right: 35px;
    color: white;
    font-size: 30px;
    cursor: pointer;
}


/*Services Dropdown*/
.dropbtn {
    background-color: #04AA6D;
    color: white;
    padding: 16px;
    font-size: 16px;
    border: none;
    cursor: pointer;
}

    .dropbtn:hover, .dropbtn:focus {
        background-color: #3e8e41;
    }

.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-content {
    position: absolute;
    background-color: #f6f6f6;
    width: 230%;
    overflow: auto;
    border: 1px solid darkgrey;
    z-index: 1;
}

    .dropdown-content a {
        color: black;
        padding: 12px 16px;
        text-decoration: none;
        display: block;
    }

.dropdown a:hover {
    background-color: #ddd;
}

/*.show {
    display: block;
    overflow: scroll !important;
}*/

.dropdown-item {
    padding: 2px;
    border-bottom: 1pt solid darkgrey;
    white-space: initial;
}
input[type=radio] {
    color: #1b6ec2;
}
input[type=radio]#specifyColor {
    accent-color: #1b6ec2;
}
input[type="radio"]#specifyColor:checked {
    --bs-check-indicator-color: #1b6ec2; /* Change the color when checked */
    --bs-check-indicator-accent-color: #1b6ec2; /* Change the accent color when checked */
}

/*For Added Service Quantity:*/


table {
    border-collapse: collapse;
    width: 100%;
    table-layout: fixed; /* Use fixed table layout to enforce column widths */
}

td, th, tr {
    text-align: left;
    padding: 8px;
    border-width: 1px;
    border-style: solid;
    border-color: #dddddd;
}
.minus, .plus {
    width: 30px;
    height: 30px;
}


.no-outline input:focus {
    outline: none; /* Remove outline when the input is focused */
}
.btnX {
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}
.button-container button {
    color: #0D6EFD;
    outline: none;
    -webkit-appearance: none;
    background-color: transparent;
    border: none;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    cursor: pointer;
    margin: 0;
    position: relative;
}

.button-container input[type=number] {
    outline: none;
    border: none;
    width: 1.5rem;
}

.button-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}


.number-input {
    border-right: 1px solid #ddd;
    border-left: 1px solid #ddd;
    display: flex; /* Change to inline-flex */
    align-items: center; /* Align items vertically */
    height: fit-content;
}

    .number-input,
    .number-input * {
        box-sizing: content-box;
    }

        .number-input button {
            outline: none;
            -webkit-appearance: none;
            background-color: transparent;
            border: none;
            align-items: center;
            justify-content: center;
            width: 2rem;
            height: 2rem;
            cursor: pointer;
            margin: 0;
            position: relative;
        }

            .number-input button:after {
                display: inline-block;
                position: absolute;
                font-family: "Font Awesome 5 Free";
                font-weight: 900;
                color: #0d6efd;
                content: '\f068';
                transform: translate(-50%, -50%) rotate(180deg);
            }

            .number-input button.plus:after {
                content: '\f067';
            }

        .number-input input[type=number] {
            font-family: sans-serif;
            width: 1.5rem;
            background-color: transparent;
            -webkit-appearance: none;
            padding-top: .4rem;
            border: none;
            height: 1.5rem;
            font-weight: bold;
            text-align: center;
            padding-right: 0rem;
        }
.service-container {
    display: flex;
    align-items: center;
    border: 1px solid #dee2e6;
    padding: 10px;
}
.service {
    flex-grow: 1; /* Allow the service div to grow to fill available space */
}

.increase-service {
    margin-left: auto;
    display: flex; /* Add flexbox to the parent container */
    align-items: center;
    
}


#confirm {
    padding: 2px;
}

.list-group-item-service {
    display: flex;
    border: 1px solid #dee2e6;
    align-items: center;
    padding-left: 10px;
}



    .list-group-item-service:first-child {
        border-top-left-radius: inherit;
        border-top-right-radius: inherit;
    }

/*Client Detail Row*/
.list-group-itemdetail {
    position: relative;
    display: block;
    padding: var(--bs-list-group-item-padding-y) var(--bs-list-group-item-padding-x);
    padding-left: 9px;
    color: var(--bs-list-group-color);
    text-decoration: none;
    background-color: var(--bs-list-group-bg);
    border: var(--bs-list-group-border-width) solid var(--bs-list-group-border-color);
}

    .list-group-itemdetail:first-child {
        border-top-left-radius: inherit;
        border-top-right-radius: inherit;
      
    }
    .list-group-itemdetail:last-child {
       
        border-bottom-left-radius: inherit;
        border-bottom-right-radius: inherit;
    }

.no-style-clientrow {
    text-decoration: none; /* Remove underline */
    color: inherit; /* Inherit text color from parent */
    display: inline; /* Ensure it behaves like text */
    padding: 0; /* Remove any padding */
    margin: 0; /* Remove any margin */
}

    .no-style-clientrow:first-child {
        border-top-left-radius: inherit;
        border-top-right-radius: inherit;
        border-bottom-left-radius: inherit;
        border-bottom-right-radius: inherit;
    }
    .no-style-clientrow:last-child {
        border-bottom-left-radius: inherit;
        border-bottom-right-radius: inherit;
    }






.modal-backdrop.show {
    opacity: 0;
    z-index: -1;
}


.modal-open {
/*    overflow: scroll !important;
*//*    padding-right: 0 !important;    
*/}


.hidden-input {
    display: none;
}

.label {
    cursor: pointer; /* makes it clear that the text is clickable */
}


/*Other duration input*/
.other-duration {
    margin-top: 10px;
    display: inline-block;
    width: 100%;
    padding: 8px 12px;
    background-color: #6c757d;
    color: #fff;
    border: none;
    cursor: pointer;
    text-decoration: none;
    border-radius: 4px;
    text-align: center;
}

.rounded-bottom {
    border-bottom-left-radius: 4px;
    border-bottom-right-radius: 4px;
}

/*Styling for ORG SELECTION LIST */
.icon-container {
    background-color: white;
    display: flex;
    align-items: center;
    padding: .375rem .75rem;
    border: 1px solid #ced4da;
    border-top-left-radius: 4px;
    border-bottom-left-radius: 0px;
    border-right: 0;
    height: 60px;
}
    .icon-container i {
        color: #212529;
    }

.orgSearch {
    flex-grow: 1;
    display: flex;
    padding: .375rem .75rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 2.5;
    color: black;
    white-space: nowrap;
    background-color: white;
    border: 1px solid #ced4da;
    border-left: 0px;
    border-radius: .25rem;
    border-bottom-left-radius: 0px;
    border-bottom-right-radius: 0px;
    border-top-left-radius: 0px;
}
::placeholder {
    color: black;
}


.programList {
    align-items: center !important;
    width: 100%;
    font-weight: bold;
    list-style-type: none;
    border: .75px solid #C0C0C0;
    background-color: #F5F5F5;
    display: flex;
    padding-left: 10px;
    padding-right: 10px;
    padding-top: 25px;
    padding-bottom: 25px
}

.orgList {
    align-items: center !important;
    height: 65px;
    width: 100%;
    font-weight: bold;
    list-style-type: none;
    border: .75px solid #C0C0C0;
    background-color: #F5F5F5;
    display: flex;
    padding-left: 10px;
    padding-right: 10px;
    padding-top: 25px;
    padding-bottom: 25px
}

    .orgList.selected {
        background-color: #0d6efd;
        color: white;
    }

    .orgList:last-child {
        border-bottom-left-radius: 4px;
        border-bottom-right-radius: 4px;
    }


.input-group-org {
    display: flex;
}




/*Styling for ORG/PROGRAM HEADER*/
.org-area, .program-area {
    background-color: #f7f7f7;
    border-bottom: 1px solid #d6d5d5;
    display: flex;
}


.org-column,
.arrow-column {
    font-size: 13px;
    line-height: 30px;
    padding-top: 7px;
}

.icon-column {
    font-size: 13px;
    line-height: 30px;
    padding-top: 2px;
    color: #0071c1;
}

    .icon-column,
    .arrow-column {
        width: fit-content;
        padding-right: 0px;
    }

.arrow-column {
    padding-left: 10px;
    float:right;
}

.org-column {
    width: fit-content;
    padding-left: 10px;
    color: black;
    display: flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
}

.arrow-icon {
    font-size: 11px;
    padding-right: 7px;
}

.program-arrow-column {
    font-size: 13px;
    line-height: 30px;
    padding-top: 7px;
    width: fit-content;
    padding-right: 0px;
    padding-left: 10px;
}
.program-column {
    width: fit-content;
    border-left: 1px solid #d6d5d5;
    font-size: 13px;
    line-height: 30px;
    padding-top: 7px;
    padding-left: 8px;
}


/**/
.org-select {
    margin-top: 40px;
    line-height: 30px
}
.org-header {
    text-align: center;
    color: #646464;
    font-size: 20px;
}
.org-program-row {
    background-color: #f7f7f7;
    height: 50px;
    display: flex;
    align-items: center;
    margin-top: 15px;
    border-radius: 4px;
}
.org-input {
    width: fit-content;
    padding-left: 7px;
    color: #838383;
}
.org-end-icon {
    font-size: 13px;
    width: fit-content;
    margin-left: auto;
    color: #646464;
    padding-right: 5px;
    line-height: 2.5;
}
.org-end-icon-modal {
    font-size: 13px;
    width: fit-content;
    margin-left: 5px;
    color: #646464;
    padding-right: 5px;
    line-height: 2.5;
    align-content: center;
}
/*

*/
/*.modal-content-org {

    position: relative;
    display: flex;
    flex-direction: column;
    width: 100%;
    pointer-events: auto;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid rgba(0,0,0,.2);
    border-radius: .3rem;
    outline: 0

}*/
.modal2 {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.9);
    justify-content: center;
    align-items: center;
}

.modal-content2 {
    background-color: white;
    display: block;
    max-height: 90%;
    width: 95%;
    height: auto;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 5px;
}

.modal-header-org {
    display: flex;
    border-bottom: 1px solid #dee2e6;
    padding: 15px;
}


.modal-header-org .btn-close {
    padding: .5rem .5rem;
    margin: -.5rem -.5rem -.5rem auto
}

.modal-body-org {
   padding: 10px;
}

.modal-footer-org {
    padding: 5px;
    margin-top: 5px; 
    padding-top: 0%; 
    padding-bottom: 5px;
}

.orgSearch {
    flex-grow: 1;
    display: flex;
    padding: .375rem .75rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 2.5;
    color: black;
    white-space: nowrap;
    
    border: 1px solid #ced4da;
    border-left: 0px;
    border-radius: .25rem;
    border-bottom-left-radius: 0px;
    border-bottom-right-radius: 0px;
    border-top-left-radius: 0px;
}

    .orgSearch:focus {
        outline: none;
        border-color: lightgrey; /* Change this to the desired color */
    }

.row-org {
    display: flex;
    line-height: 2.5;
    margin-top: calc(var(--bs-gutter-y) * -1);
    margin-right: calc(var(--bs-gutter-x) * -.5);
    margin-left: calc(var(--bs-gutter-x) * -.5);
    background-color: #F7F7F7;
    --bs-gutter-x: 1.5rem;
}
.input-group-program {
    display: flex;
}


.programSearch {
    flex-grow: 1;
    display: flex;
    padding: .375rem .75rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 2.5;
    color: black;
    white-space: nowrap;
    
    border: 1px solid #ced4da;
    border-left: 0px;
    border-radius: .25rem;
    border-bottom-left-radius: 0px;
    border-bottom-right-radius: 0px;
    border-top-left-radius: 0px;
}
.programSearch:focus {
    outline: none;
    border-color: lightgrey; /* Change this to the desired color */
}


.orgPage .header-top {
    display: none;
}



.show-alert {
    display: block !important; /* Ensure it's visible when the class is added */
}

.specific-div {
    --bs-gutter-x: 1.5rem;
}

@media only screen and (min-width : 1261px) {
    #toast-container {
        min-width: 8%;
        top: 50%;
        right: 50%;
    }
}


/*.modal-content7 {
    display: block;
    max-width: 100%;
    max-height: 90%;
    height: auto;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: var(--bs-modal-bg);
}*/
.modal-content7 {
    position: fixed;
    display: flex;
    flex-direction: column;
    width: 90%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: var(--bs-modal-bg);
    pointer-events: auto;
    background-clip: padding-box;
    border-radius: var(--bs-modal-inner-border-radius);
    outline: 0;
}

article.content {
    overflow-x: hidden;
}

.list-group-item-casenote {
    position: relative;
    display: block;
    padding: var(--bs-list-group-item-padding-y) var(--bs-list-group-item-padding-x);
    color: var(--bs-list-group-color);
    text-decoration: none;
    background-color: var(--bs-list-group-bg);
    border: var(--bs-list-group-border-width) solid var(--bs-list-group-border-color);
    width: calc(100% + 3.5rem);
    margin-left: -1.6rem;
    margin-right: -1rem;    
    box-sizing: border-box;
}
&:first-child {
    @include border-top-radius(inherit);
}
&:last-child {
    @include border-bottom-radius(inherit);
}



.list-group-item {
    padding-left: 1rem; /* Restore padding within the list item */
    padding-right: 1rem; /* Restore padding within the list item */
    width: calc(100% + 3.5rem); /* Adjust width to account for negative margins */
    margin-left: -1.6rem; /* Adjust to offset the padding of the parent */
    margin-right: -1rem; /* Adjust to offset the padding of the parent */
    /*border: 1px solid #d6d5d5;*/
    box-sizing: border-box; /* Ensure the border is included in the element's width and height */
}

#engagements .list-group-item:nth-child(odd) {
    background-color: #ffffff; /* white background */
}

#engagements .list-group-item:nth-child(even) {
    background-color: #f7f7f7; /* light grey background */
    border: 1px solid #d6d5d5
}

.modal-api-content {
    display: block;
    max-width: 90%;
    max-height: 90%;
    width: 100%;
    height: auto;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #fff;
    border-radius: var(--bs-modal-border-radius);
 pointer-events: auto;
 flex-direction: column;
background-clip: padding-box;
    border: var(--bs-modal-border-width) solid var(--bs-modal-border-color);

}


@media (max-width: 576px) {
    .modal-footer {
        flex-wrap: nowrap;
        justify-content: space-between;
    }
}


.modal-header {
    display: flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: space-between;
    padding: var(--bs-modal-header-padding);
    border-bottom: var(--bs-modal-header-border-width) solid var(--bs-modal-header-border-color);
    border-top-left-radius: var(--bs-modal-inner-border-radius);
    border-top-right-radius: var(--bs-modal-inner-border-radius);
}
/*

.modal:nth-of-type(even) {
    z-index: 1062 !important;
}

.modal-backdrop.show:nth-of-type(even) {
    z-index: 1061 !important;
}*/

/*.custom-btn {
    display: flex;
    align-items: center;*/ /* Center vertically */
    /*justify-content: center;*/ /* Center horizontally */
    /*margin-left: auto;
    border: 1px solid grey;*/ /* Grey border */
    /*transition: outline-color 0.3s;*/ /* Smooth transition for outline color */
/*}

    .custom-btn:active {
        outline-color: #0d6efd;*/ /* Blue outline when clicked */
    /*}

    .custom-btn fa-regular {
        color: #0d6efd;*/ /* Blue icon color */
    /*}*/

.custom-btn {
    display: flex;
    align-items: center; /* Center vertically */
    justify-content: center; /* Center horizontally */
    margin-left: auto;
    border: 1px solid #D3D3D3; 
    background-color: transparent; /* Transparent background */
    transition: border-color 0.3s; /* Smooth transition for border color */
    outline: none; /* Remove default outline */
    box-shadow: none; /* Remove default box shadow */
}

    .custom-btn:focus,
    .custom-btn:active {
        border-color: #0d6efd; /* Blue border when focused or active */
        outline: none; /* Ensure outline is removed */
        box-shadow: none; /* Ensure box shadow is removed */
    }

    .custom-btn:focus-visible {
        outline: none; /* Remove outline if focus-visible is used */
        box-shadow: none; /* Ensure box shadow is removed */
    }

    .custom-btn i {
        color: #0d6efd; /* Blue icon color */
        font-size: 19px;
    }



#confirmModal .modal-content {
    max-width: 90% !important; /* Specific to this modal */
    width: 90% !important; /* Specific to this modal */
}


/*Remove rounded borders input first child
*/
#confirmModal .list-group-itemdetail:first-child {
    border-top-right-radius: 0;
    border-top-left-radius: 0;
}

 .custom-modal-content {
    max-width: 90% !important; /* Specific to this modal */
    width: 90% !important; /* Specific to this modal */
}

#newWarningModal .modal {
    z-index: 1050 !important;
}


#viewClientListModal .modal-content {
    max-width: 90% !important; /* Specific to this modal */
    width: 90% !important; /* Specific to this modal */
}



.content-container {
    flex-direction: column;
    height: 100vh; /* Full height of the viewport */
    max-height: 90%;
    align-items: center;
}

#newClientFind {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
    width: 60px; 
    height: 60px; 
    border-radius: 50%; /* Makes it circular */
    display: flex;
    justify-content: center;
    align-items: center; /* Centers the icon inside the circle */
    padding: 0; /* Ensures no extra padding */
}
.custom-spinner {
    width: 1rem;
    height: 1rem;
}




.blazored-toast-container  {
    z-index:3000 !important;
}

input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
input[type="number"] {
    -moz-appearance: textfield; /* For Firefox */
}


.toast-with-loader {
    display: flex;
    align-items: center;
}

    .toast-with-loader::after {
        content: '';
        border: 4px solid #f3f3f3;
        border-radius: 50%;
        border-top: 4px solid #3498db;
        width: 16px;
        height: 16px;
        animation: spin 2s linear infinite;
        margin-left: 10px;
    }

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}


.lds-roller,
.lds-roller div,
.lds-roller div:after {
    box-sizing: border-box;
}

.lds-roller {
    display: inline-block;
    position: relative;
    width: 80px;
    height: 80px;
}

    .lds-roller div {
        animation: lds-roller 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
        transform-origin: 40px 40px;
    }

        .lds-roller div:after {
            content: " ";
            display: block;
            position: absolute;
            width: 7.2px;
            height: 7.2px;
            border-radius: 50%;
            background: currentColor;
            margin: -3.6px 0 0 -3.6px;
        }

        .lds-roller div:nth-child(1) {
            animation-delay: -0.036s;
        }

            .lds-roller div:nth-child(1):after {
                top: 62.62742px;
                left: 62.62742px;
            }

        .lds-roller div:nth-child(2) {
            animation-delay: -0.072s;
        }

            .lds-roller div:nth-child(2):after {
                top: 67.71281px;
                left: 56px;
            }

        .lds-roller div:nth-child(3) {
            animation-delay: -0.108s;
        }

            .lds-roller div:nth-child(3):after {
                top: 70.90963px;
                left: 48.28221px;
            }

        .lds-roller div:nth-child(4) {
            animation-delay: -0.144s;
        }

            .lds-roller div:nth-child(4):after {
                top: 72px;
                left: 40px;
            }

        .lds-roller div:nth-child(5) {
            animation-delay: -0.18s;
        }

            .lds-roller div:nth-child(5):after {
                top: 70.90963px;
                left: 31.71779px;
            }

        .lds-roller div:nth-child(6) {
            animation-delay: -0.216s;
        }

            .lds-roller div:nth-child(6):after {
                top: 67.71281px;
                left: 24px;
            }

        .lds-roller div:nth-child(7) {
            animation-delay: -0.252s;
        }

            .lds-roller div:nth-child(7):after {
                top: 62.62742px;
                left: 17.37258px;
            }

        .lds-roller div:nth-child(8) {
            animation-delay: -0.288s;
        }

            .lds-roller div:nth-child(8):after {
                top: 56px;
                left: 12.28719px;
            }

@keyframes lds-roller {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}
.no-border {
    border-bottom: none;
}



.custom-date-input::-webkit-calendar-picker-indicator {
    display: none;
}

.custom-date-input {
    padding-right: 40px; 
    border-top-right-radius: 0.375rem !important;
    border-bottom-right-radius: 0.375rem !important;
}



.input-group-text-CLS {
    display: flex;
    align-items: center;
    padding: .375rem .75rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: var(--bs-body-color);
    text-align: left;
    white-space: nowrap;
    background-color: var(--bs-tertiary-bg);
    border: var(--bs-border-width) solid var(--bs-border-color);
    white-space: normal;
    word-wrap: break-word;
    max-width: 100%;
    border-radius: var(--bs-border-radius);
}

.form-control-CLS {
    display: block;
    width: 100%;
    padding: .375rem .75rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    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;
}

.heading-box {
    background-color: #D32F2F;
    color: white; /* White text */
    padding: 10px 15px;
    font-size: 18px;
    font-weight: bold;
    border-top-left-radius: 5px; /* Rounded corners on top */
    border-top-right-radius: 5px;
}
.offline-client {
    background-color: rgba(255, 0, 0, 0.2);
    border-radius: 0 !important;
}

.custom-match-btn {
    display: flex;
    align-items: center; /* Center vertically */
    justify-content: center; /* Center horizontally */
    margin-left: auto;
    border: 1px solid #0d6efd;
    background-color: transparent; /* Transparent background */
    transition: border-color 0.3s; /* Smooth transition for border color */
    outline: none; /* Remove default outline */
    box-shadow: none; /* Remove default box shadow */
}



.dev-environment-banner {
    background-color: yellow;
    color: black;
    text-align: center;
    font-weight: bold;
    padding: 10px;
    top: 0;
    left: 0;
    width: 100%;
    height: 40px;
    z-index: 1000;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
}

.word-wrap {
    word-wrap: break-word;
    overflow-wrap: break-word;
    word-break: break-word;
}

.modal-newCaseNote-content {
    display: block;
    max-width: 90%;
    max-height: 90%;
    width: 100%;
    height: auto;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #fff;
    border-radius: var(--bs-modal-border-radius);
    pointer-events: auto;
    flex-direction: column;
    background-clip: padding-box;
    border: var(--bs-modal-border-width) solid var(--bs-modal-border-color);
}


.custom-outline-btn {
    background-color: white;
    transition: background-color 0.3s ease;
}

    .custom-outline-btn:hover,
    .custom-outline-btn:focus,
    .custom-outline-btn:active {
        background-color: #0d6efd; /* Bootstrap primary blue */
        color: white;
        border-color: #0d6efd;
    }

.full-width-tabs {
    border-bottom: 1px solid #dee2e6;
    width: 100%;
    display: flex;
}

/*.nav-tabs .nav-link.active {
    color: #fff;
    background-color: #0d6efd;
    border-color: #0d6efd #0d6efd #fff;
}*/

.nav-tabs .nav-link {
    color: #495057; /* normal grey for non-active tabs */
}
.nav-tabs .nav-link.active {
    color: #0d6efd; /* blue for active tab */
}


.list-group-item-casenotes {
    padding-left: 1rem; /* Restore padding within the list item */
    padding-right: 1rem; /* Restore padding within the list item */
    width: calc(100% + 3.5rem); /* Adjust width to account for negative margins */
    margin-left: -1.6rem; /* Adjust to offset the padding of the parent */
    margin-right: -1rem; /* Adjust to offset the padding of the parent */
    border: 1px solid #d6d5d5;
    box-sizing: border-box; /* Ensure the border is included in the element's width and height */
}


#casenotes .list-group-item:first-child {
    border-top-left-radius: 0;
    border-top-right-radius: 0;
}

#casenotes .list-group-item:last-child {
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}

.text-break {
    word-break: break-word;
    overflow-wrap: break-word;
    white-space: pre-wrap;
}


.missing-roi-banner {
    background-color: #F76F68;
    color: black;
    padding: 6px 10px;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-left: -2rem; 
    margin-right: -2rem; 
    margin-top: -17.5px;
    width: auto;
    box-sizing: border-box;
}

    .missing-roi-banner i {
        padding-left: 10px;
        padding-right: 5px;
        font-size: 30px;
    }

    .missing-roi-banner .banner-text p {
        margin: 2px 0;
        line-height: 1.2;
        font-size:15px;
    }

        .missing-roi-banner .banner-text p:first-child {
            font-weight: bold;
        }

.client-row {
    display: flex; /* keep row flexible */
    align-items: stretch; /* full height row */
}

.checkbox-cell {
    flex: 0 0 50px; /* fixed width column */
    display: flex;
    align-items: center; /* center checkbox vertically */
    justify-content: center; /* center horizontally */
    border: 1px solid #ddd;
    background: #f9f9f9; /* optional: give it a "column" look */
}


.client-row.selected {
    background-color: #e0f0ff; /* light blue */
}
    .client-row.selected .list-group-itemdetail {
        background-color: #F6F0FF !important;
    }


#locationModal .modal-content {
    max-width: 900px; 
    width: 90%; /* keeps it responsive on smaller screens */
}



.client-row.engagement-today .list-group-itemdetail {
    box-shadow: inset 5px 0 0 0 #28a745;
}

.outline-icon {
    color: black; 
    -webkit-text-stroke: 1px black; 
    text-stroke: 1px black; 
}


.modal-list-custom-width {
    max-width: 700px; 
}


.list-switch-modal .modal-dialog {
    max-width: 800px; 
}

.list-switch-modal .modal-content {
    border-radius: 12px;
    width:1000px;
    max-width:90%;
}


/*list selected color*/
.list-switch-modal .list-group-item.active {
    background-color: #9EC5FE;
    border-color: #0A58CA;
    color: #000; 
}

.highlight-selected-value {
 /*   background-color: #e0e0e0;*/
    color: #1b6ec2; 
    font-weight:bold
}

    /* Optional: keep dropdown list default styling */
    .highlight-selected-value option {
        color: initial;
        background: white;
        border: 1px solid grey;
    }

.modal-list-btn {
    width: 100%;
    margin-left: 0;
    margin-right: 0;
}

#bedNightModal .modal-content {
    max-width: 900px;
    width: 90%;
}

#addToList .modal-content {
    max-width: 250px;
    width: 90%;
}

.removable-item {
    padding: 0.5rem 0.75rem;
    border: 1px solid #ddd;
    border-radius: 0.375rem; /* nice rounded corners */
    background-color: #f8f9fa;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

    .removable-item:hover {
        background-color: #e9ecef;
    }

.btn-remove {
    padding: 0 0.5rem;
    line-height: 1;
    font-weight: bold;
}

.clickable-item {
    padding: 0.5rem 0.75rem;
    border: 1px solid #ddd;
    background-color: #f8f9fa;
    cursor: pointer; 
    transition: background-color 0.2s, transform 0.1s;
}

    .clickable-item:hover {
        background-color: #e2e6ea;
        transform: translateY(-1px); /* slight lift on hover */
    }

    .clickable-item:active {
        background-color: #d6d8db;
        transform: translateY(0);
    }


.capacity-bar-container {
    margin-bottom: 1rem;
}

.capacity-bar-outer {
    width: 100%;
    height: 26px;
    background-color: #d9d9d9;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
}

.capacity-bar-inner {
    height: 100%;
    background-color: #2ca34f; 
    transition: width 0.3s ease;
}

    .capacity-bar-inner.at-capacity {
        background-color: #c62828;
    }

.capacity-bar-label {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-weight: 600;
    color: white;
    pointer-events: none;
    white-space: nowrap;
    z-index: 1;
    font-size: 16px;
}

.over-capacity-progress {
    height: 100%;
    border-radius: 8px;
}

    .over-capacity-progress .progress-bar {
        line-height: 26px; 
        text-align: center;
    }


.spinner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: rgba(255, 255, 255, 0.7);
    z-index: 10;
}

@media (max-width: 767.98px) {
    .input-group:has(.input-group-text-CLS) {
        flex-wrap: wrap;
    }

    .input-group > .input-group-text-CLS {
        width: 100%;
        border-bottom-right-radius: 0 !important;
        border-bottom-left-radius: 0 !important;
        border-top-right-radius: var(--bs-border-radius) !important;
        border-top-left-radius: var(--bs-border-radius) !important;
    }

        .input-group > .input-group-text-CLS + .form-control,
        .input-group > .input-group-text-CLS + .form-select {
            width: 100%;
            border-top-left-radius: 0 !important;
            border-top-right-radius: 0 !important;
            border-bottom-left-radius: var(--bs-border-radius) !important;
            border-bottom-right-radius: var(--bs-border-radius) !important;
            margin-left: 0 !important;
            border-top: 0;
        }
}