html, body {
    font-family: 'San Francisco', sans-serif;
}

h1:focus {
    outline: none;
}

a, .btn-link {
    color: #0071c1;
}
.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 {
}

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

/* Animation for highlighted messages when scrolled to */
@keyframes highlight-pulse {
    0% { box-shadow: 0 0 0 0 rgba(0, 123, 255, 0.6); }
    50% { box-shadow: 0 0 0 8px rgba(0, 123, 255, 0.4); }
    100% { box-shadow: 0 0 0 0 rgba(0, 123, 255, 0); }
}

.highlight-message {
    animation: highlight-pulse 2s infinite;
    border-left: 4px solid #007bff !important;
    background-color: rgba(0, 123, 255, 0.1) !important;
    transition: all 0.3s ease-in-out;
    position: relative;
    z-index: 10 !important;
}



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

.sentold {
    padding: 5px;
    margin-left: 5px;
    margin-right: 5px;
    margin-top: 0px;
    background: #075698;
    color: #FFF;
    position: relative;
    border-radius: 10px;
    overflow-wrap: break-word;
    word-wrap: break-word;
    hyphens: auto;
    box-shadow: 0 8px 6px -6px black;
    float: right;
    width: auto;
}

.receivedold {
    padding: 5px;
    margin-left: 5px;
    margin-right: 5px;
    margin-top: 0px;
    background: #075698;
    color: #FFF;
    position: relative;
    border-radius: 10px;
    overflow-wrap: break-word;
    word-wrap: break-word;
    hyphens: auto;
    box-shadow: 0 8px 6px -6px black;
    float: left;
    width: auto;
}


textarea {
    border: 1px dashed #888;
    border-radius: 5px;
    width: auto;
    overflow: auto;
    background: #f7f7f7
}

#scrollbox {
    overflow: scroll;
    overflow-x: hidden; /* Hide horizontal scrollbar */
}

.sent, .recieved {
    margin-top: 0px !important;
    margin-bottom: 0px !important;
}

    .sent p {
        background: #42a5f5;
        color: #fff !important;
        border-radius: 10px 10px 3px 10px;
        display: block;
        max-width: 100%;
        padding: 5px 10px 5px 10px;
    }

.received p {
    background: #f1f1f1;
    color: #000 !important;
    border-radius: 10px 10px 10px 3px;
    display: block;
    max-width: 100%;
    padding: 5px 10px 5px 10px;
}

.logo {
    text-align: center;
    margin-top: 5%;
}

.welcome {
    margin-top: 2%;
    font-style: normal;
    font-size: 32px;
    line-height: 30px;
    background: linear-gradient(90deg, #01569E 0%, #009F99 53.31%, #2590E8 104.53%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-fill-color: transparent;
    text-align: center;
    padding-bottom: 10%;
    font-weight: 700;
}

.discleIcon {
    width: 2.8%;
}


.faqheader {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    padding: 0px;
    gap: 16px;
    margin-top: 20%;
    margin-top: 13%;
    filter: drop-shadow(4px 4px 10px rgba(0, 0, 0, 0.05));
}

.faq {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    padding: 0px;
    gap: 1%;
    width: 25%;
    height: 100%;
    border: inherit;
    padding: 4% 1% 4% 1%;
    text-align: center;
}

.textarea1 {
    width: 100%;
    height: 5%;
    text-align: center;
}

.textarea2 {
    position: fixed;
    bottom: 0;
    width: 85%
}

.chatquestionheader_small .textarea2 {
    position: fixed;
    bottom: 0;
    width: 65%;
}

.chattextarea1 {
    width: 90%;
    height: 5%;
    margin-top: 5%;
    padding: 12px 20px;
    margin: 8px 0;
    display: inline-block;
    border: 1px solid #00579E;
    border-radius: 4px;
    box-sizing: border-box;
    word-wrap: break-word;
    word-break: break-all;
}

chattextarea1_large {
    width: 65%;
    height: 7%;
    margin-top: 5%;
    padding: 12px 20px;
    margin: 8px 0;
    display: inline-block;
    border: 1px solid #00579E;
    border-radius: 4px;
    box-sizing: border-box;
    word-wrap: break-word;
    word-break: break-all;
    height: 80px;
}

.lblheader {
    vertical-align: center !important;
    width: 80%;
}

.chatheader {
    position: absolute;
    width: 25%;
    height: 90%;
    left: 2%;
    top: 3%;
    background: #FAFAFA;
    line-height: 20px;
}

.chatfaqheader {
    min-height: 16%
}

.chatrefresh {
    /*width: 28%;*/
    height: 4%;
    background: #F2F6FA;
    box-sizing: border-box;
    border-radius: 20px;
    border: 1px solid #ccc;
}

.btnfeedback {
    /*width: 28%;*/
    height: 4%;
    background: #2590E8;
    box-sizing: border-box;
    border-radius: 5px;
    border: 1px solid #ccc;
    padding: 6px;
}

.chatfaqpannel1 {
    position: relative;
}

.chatfaqpannel2 {
}

.chatquestionheader {
    float: right;
    width: 90%;
}

.chatarea2 {
    width: 100%;
    min-height: 50px; 
    max-height: 100px; 
    margin: 8px 0;
    padding: 12px 20px;
    display: inline-block;
    border: 1px solid #00579E;
    border-radius: 20px;
    box-sizing: border-box;
    resize: none;
    overflow-y: auto; 
    line-height: 1.5; 
    vertical-align: top;
}

.chatarea2:focus {
    outline: none !important;
    border: 2px solid #00579E;
}

.chatquestionheader_small {
    position: fixed;
    width: 65%;
    height: 90%;
    left: 33%;
    top: 0px;
}

.chatarea2_small {
    width: 75%;
    height: 8%;
}

.align-items-center {
    align-items: center !important;
}

.process_grid {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    grid-gap: 20px;
}

.faqpanel {
    max-height: 100%;
    overflow-y: scroll;
    font-size: 14.5px;
    line-height: 20px;
    font-family: 'San Francisco', sans-serif;
    margin-top: 2%;
}

.chatquestionheader_small .faqpanel {
    width: 100%;
}

.process_container {
    gap: 2px;
    box-shadow: 3px -3px 20px rgba(0, 0, 0, .2);
    padding: 13px;
    border-radius: 3px;
    flex-direction: column;
    border: 1px solid #e0e0e0;
    font-family: 'San Francisco', sans-serif;
    text-align: left;
    font-weight: 540;
}

    .process_container :hover {
        gap: 2px;
        box-shadow: 3px -3px 20px rgba(0, 0, 0, .2);
        padding: 13px;
        border-radius: 3px;
        flex-direction: column;
        border: 1px solid #e0e0e0;
        font-family: 'San Francisco', sans-serif;
        text-align: left;
        font-weight: 540;
    }

.myNavbar {
    display: block;
    background: #FAFAFA;
    cursor: pointer;
}

.myNavbarheader {
    background: #FAFAFA;
    margin-left: 2%;
    width: 3%;
    height: calc( 100vh - 150px );
    float: left;
    margin-top: 0%;
    font-size: 15px;
}

.myNavbarheaderfull {
    background: #FAFAFA;
    margin-left: 2%;
    width: 25%;
    float: left;
    margin-top: 0%;
    font-size: 15px;
}

.flex_prop {
    display: flex;
}

@media screen and (max-width: 568px) {
    .process_grid {
        grid-template-columns: repeat(2,1fr);
    }

    .textarea2 {
        width: 100%;
    }

    .chatquestionheader_small .textarea2 {
        position: fixed;
        bottom: 0;
        width: 100%;
    }
}

@media screen and (max-width: 568px) {
    .process_container {
        flex-direction: column;
        text-align: left;
        gap: 0;
        flex-direction: column;
    }

    .myNavbar {
        display: none;
        background: #FAFAFA;
    }

    .welcome {
        margin-top: 2%
    }

    .chatquestionheader {
        height: 90%;
        float: right;
        width: 100%;
    }

    .myNavbarheaderfull {
        display: none;
    }

    .myNavbarheader {
        display: none;
    }

    .chatquestionheader_small {
        position: absolute;
        height: 90%;
        left: 0px;
        width: 100%;
        top: 0px;
    }

    .discleIcon {
        width: 6.5%;
    }
}

.flex_prop {
    display: flex;
}

.icon-rtl {
    padding-right: 25px;
    background-image: url(/css/send-icon.png);
    background-size: 22px;
    background-repeat: no-repeat;
    background-position: right;
    background-position-y: 50px;
    background-position-x: 99.5%;
}

.icon-rtl1 {
    padding-right: 25px;
    background-image: url(/css/send-icon.png);
    background-size: 22px;
    background-repeat: no-repeat;
    background-position: right center;
}

.select {
    background-color: #F2F6FA;
    color: #00579E;
}

.deselect {
    background-color: #FFFFFF;
    color: black;
}

.sarslogo {
    width: 120px;
    height: 45px;
    margin-left: 37%;
    margin-top: 9px;
}

.maxbtnheader {
    text-align: right;
    margin-right: 9%;
    margin-top: -51px;
}

.maxbtn {
    height: 15px;
    text-align: center;
}

.minbtnheader {
    text-align: right;
    margin-right: 16%;
    margin-top: -21px;
}

.minbtn {
    height: 15px;
    text-align: center;
}

.fake-input {
    position: relative;
}

    .fake-input input {
        display: block;
        width: 100%;
    }

    .fake-input img {
        position: absolute;
        bottom: 15px;
        right: 15px;
        width: 22px;
        cursor:pointer;
    }

.fake-input1 {
    position: relative;
}

    .fake-input1 input {
        display: block;
        width: 100%;
    }

    .fake-input1 img {
        position: absolute;
        bottom: 15px;
        right: 15px;
        width: 22px;
        cursor:pointer;
    }

.newchat {
    padding: 10% 0 10% 0;
}

.menustyle {
    list-style-type: none;
    text-decoration: initial;
    color: black;
    line-height: 1.5;
}

a, .btn-link {
    color: cornflowerblue;
    text-decoration: none;
}

.a:hover {
    cursor: pointer;
}

.process_grid button:focus {
    background-color: #F2F6FA;
    color: #00579E;
}
.process_grid button:hover {
    background-color: #F2F6FA;
    color: #00579E;
}

.review {
    height: 20px;
    margin-right: 12px;
    cursor: pointer;
    box-sizing: border-box;
}

    .review:hover {
        height: 21px;
        margin-right: 12px;
        cursor: pointer;
        box-sizing: border-box;
        border-radius: 25px;
        border: 2.5px solid #D9D9D9;
    }

.postreview {
    height: 25px;
    margin-right: 10px;
    cursor: pointer;
}

.feedbackreview {
    height: 25px;
    cursor: pointer;
}

.padding5 {
    padding-left: .5rem !important;
}

.feedbacktext {
    width: 100%;
}

.feedbackpanel {
    width: 80%;
    background: #f1f1f1;
    padding: 10px;
    padding-bottom: 35px;
    border: 1px solid #ccc;
    border-radius: 7px
}

.feedbackdiv {
    padding: 10px 0 10px 0;
}

.feedbackoption {
    /*width: 28%;*/
    height: 4%;
    background: #F2F6FA;
    box-sizing: border-box;
    border-radius: 5px;
    border: 1px solid #ccc;
    padding: 6px;
    cursor: pointer;
    margin: 2px;
}

.feedbackoptiondeselect {
    /*width: 28%;*/
    height: 4%;
    background: #F2F6FA;
    box-sizing: border-box;
    border-radius: 5px;
    border: 1px solid #ccc;
    padding: 6px;
    cursor: pointer;
    margin: 2px;
}

.feedbackoptionselect {
    /*width: 28%;*/
    height: 4%;
    background: #2590E8;
    box-sizing: border-box;
    border-radius: 5px;
    border: 1px solid #ccc;
    padding: 6px;
    cursor: pointer;
    margin: 2px;
}

.footerimg {
    width: 30px;
}

.footerlink {
    margin-top: 50%
}

.footerlinksmall {
    margin-top: 1600%
}

.botmsg {
    padding-left: 11px;
    font-style: italic;
    margin-top: -1%;
    font-size: 15px;
    padding-bottom: 5px;
}

input:focus {
    outline: none !important;
    border: 2px solid #00579E;
}

.link {
    color: #00579E;
}

.systemmsg {
    color: #00579E;
}

.refresh {
    padding-top: 5px;
    float: right;
}

.systemmsg1 {
    margin-bottom: 0px;
    background: #f1f1f1;
    color: #000 !important;
    border-radius: 10px 10px 10px 3px;
    display: block;
    max-width: 100%;
    padding: 5px 10px 5px 10px;
}

.refreshchat {
    height: 5%;
    background: #F2F6FA;
    box-sizing: border-box;
    border-radius: 20px;
    border: 1px solid #ccc;
    background: #015C95;
    color: white;
    padding-left: 5px;
    padding-right: 10px;
}

.highlight {
    visibility: hidden;
}

.inactivity-warning {
    display: none; /* Hidden by default */
    position: fixed;
    bottom: 7%;
    left: 50%;
    transform: translateX(-50%);
    padding: 5px 10px;
    background-color: #ffc107;
    color: #333;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    z-index: 1001;
    font-size: 16px;
    text-align: center;
}

.footertext {
    position: fixed;
    left: 0;
    bottom: 0;
    width: 100%;
    background-color: red;
    color: #fff;
    z-index: 1000;
    text-align: center;
}
