/* /Pages/Chat.razor.rz.scp.css */


    .icons[b-pfi25hiwkt] {
        font-size: 12px;
        margin: 0px 5px;
    }

    .chat-layout[b-pfi25hiwkt] {
        background: white;
        height: 100%;
    }

.chatHistory-scroll[b-pfi25hiwkt] {
    /* overflow: hidden;
        height: 100%;
        background: var(--base-color);
        overflow-x: hidden;
        display: block;*/

    overflow: hidden;
    height: 100%;
    background: var(--base-color);
    overflow-x: hidden;
    display: block;
    
}

    .nav-menu[b-pfi25hiwkt] {
        height: 87vh;
        width: 40px;
        position: fixed;
        z-index: 1;
        top: 0;
        left: 0;
        background-color: #111;
        overflow-x: hidden;
        margin-top: 7vh;
        margin-bottom: 7vh;
        text-align-last: center;
    }

.top-bar[b-pfi25hiwkt] {
    background: #F2F2F2 !important;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 8px;
}

.sidebar-backdrop[b-pfi25hiwkt] {
    display: none;
}

    .error-msg[b-pfi25hiwkt] {
        position: fixed;
        bottom: 100px;
        width: inherit;
    }

    .btn-collapse[b-pfi25hiwkt] {
        position: fixed;
        border-radius: 50px;
        z-index: 1;
        height: 50px;
        width: 50px;
        top: 50%;
        transform: translate(0%);
        transition: ease-in-out 0.3s;
    }


    .btn-left-add[b-pfi25hiwkt] {
        left: 300px;
    }

    .btn-right-add[b-pfi25hiwkt] {
        left: 10px;
    }

    .btn-disabled[b-pfi25hiwkt] {
        /*background: var(--top-secondary-color) !important;*/
        cursor: default;
    }

        .btn-disabled i[b-pfi25hiwkt] {
            opacity: 0.65;
        }

    .img-container[b-pfi25hiwkt] {
        /*box-shadow: 0px 3px 6px #000;*/

    }


    .mob-side-menu-title[b-pfi25hiwkt] {
        display: none !important;
    }
.msger-input[b-pfi25hiwkt]{
    max-height:300px;
    height:auto;
    min-height: 42px;
    resize: vertical !important;
    overflow: auto;
}
@media screen and (min-width: 768px) {
    .nav-close[b-pfi25hiwkt] {
        /*width:40px;*/
        width: 0px;
        transform: translate(0%);
        transition: ease-in-out 0.3s;
    }


    .nav-open[b-pfi25hiwkt] {
        /*width:40px;*/
        width: 290px;
        transform: translate(0%);
        transition: ease-in-out 0.3s;
    }


    .main-nav-close[b-pfi25hiwkt] {
        position: relative;
        width: 100%;
    }

    .main-nav-open[b-pfi25hiwkt] {
        position: relative;
        width: calc(100% - 290px);
    }

    .btn-new-add[b-pfi25hiwkt] {
        /* position: fixed; */
         /*background: var(--top-color);*/ 
        /* border-radius: 50px; */
        z-index: 1;
        /*     height: 50px;
        width: 50px;*/
        font-size: 19px;
        padding: 0px;
        color: #b6aaaa !important;
    }
        .btn-new-add i[b-pfi25hiwkt] {
            color: var(--top-color-text);
        }

    .btn-new-add-expanded[b-pfi25hiwkt] {
        left: 260px;
    }

    .btn-new-add-collapsed[b-pfi25hiwkt] {
        left: 60px;
    }
}


.btn-side-menu[b-pfi25hiwkt] {
    /* position: fixed; */
    /* background: var(--top-color); */
    /* border-radius: 50px; */
    z-index: 1100;
    /*height: 50px;
    width: 50px;*/
    font-size: 18px;
    padding:0px;
    color: #b6aaaa !important;
}

.btn-side-menu-expanded[b-pfi25hiwkt] {
    left: 230px;
}

.btn-side-menu-collapsed[b-pfi25hiwkt] {
    left: 30px;
}

@media screen and (min-width: 768px) {
    .btn-side-menu.position-fixed[b-pfi25hiwkt] {
        top: 20px;
    }

    .btn-new-add.position-fixed[b-pfi25hiwkt] {
        top: 20px;
        z-index: 1100;
    }
}

    /* Styles for screens with a width between 321 and 575 pixels */
@media screen and (min-width: 280px) and (max-width: 768px) {
    .mob-nav-open[b-pfi25hiwkt] {
        width: 290px;
        transform: translate(0%);
        transition: ease-in-out 0.3s;
        position: fixed;
        z-index: 100;
    }

    .mob-main-nav-open[b-pfi25hiwkt] {
        position: relative;
        width: 100%;
        margin-top: 22px;
    }

    .mob-main-nav-close[b-pfi25hiwkt] {
        position: relative;
        width: 100%;
        margin-top: 22px;
    }

    .mob-nav-close[b-pfi25hiwkt] {
        width: 0px;
        transform: translate(-100%);
        transition: ease-in-out 0.3s;
        z-index: 100;
    }


    /*   .mob-nav-close {
            width: 0px;
            transform: translate(0%);
            transition: ease-in-out 0.3s;
        }*/

    /*.nav-open {*/
    /*width:40px;*/
    /*width: 0px;
        transform: translate(0%);
        transition: ease-in-out 0.3s;
    }*/

    /*.main-nav-open {
        position: relative;
      */


    .mob-collapse-icon[b-pfi25hiwkt] {
        display: none;
    }

    .mob-add-btn[b-pfi25hiwkt] {
        display: none;
    }

    .mob-side-menu-title[b-pfi25hiwkt] {
        display: flex !important;
        /* margin: 0px; */
        /* background: darkgray; */
        background: var(--base-color);
        position: absolute;
        z-index: 120;
        width: 100%;
    }

    .top-bar[b-pfi25hiwkt] {
        display: none;
    }

    .msger-chat.single-message-center[b-pfi25hiwkt] {
        display: flex !important;
        justify-content: center;
        align-items: center;
        flex-direction: column;
        min-height: 80vh;
        text-align: center;
    }

    .msger-chat.single-message-center .single-message-center2[b-pfi25hiwkt] {
        display: flex !important;
        justify-content: center;
        align-items: center;
        width: 100%;
        text-align: center;
    }

    .mob-menu-icon[b-pfi25hiwkt] {
        color: white;
        padding: 16px;
        z-index: 100;
    }

    .sidebar-backdrop[b-pfi25hiwkt] {
        display: block;
        position: fixed;
        top: 0;
        bottom: 0;
        left: 290px;
        right: 0;
        z-index: 90;
        background: transparent;
    }

    .btn-new-add[b-pfi25hiwkt] {
        /*position: fixed !important;*/
        /* background: var(--top-color); */
        border-radius: 50px;
        z-index: 1;
        /* height: 29px; */
        /* width: 30PX; */
        font-size: 16px;
        /* padding: 5px; */
        right: 0;
    }

    .chatHistory-scroll[b-pfi25hiwkt] {
        overflow: hidden;
        height: 100%;
        background: var(--base-color);
        overflow-x: hidden;
        display: block;
    }

    .chatHistory-scroll[b-pfi25hiwkt] {
        transition: ease-in-out 0.3s;
        position: fixed;
    }

    .msger-chat.single-message-center .msger-inputarea[b-pfi25hiwkt] {
        position: static !important;
        width: 92%;
        max-width: 620px;
        margin: 12px auto 0;
    }

    .msger-chat.single-message-center .inputarea-overlay[b-pfi25hiwkt] {
        position: relative !important;
        right: 0;
        top: 0;
    }

    /* Your styles here */
    .document-info[b-pfi25hiwkt] {
        display: inline-block;
        position: relative;
    }

    .document-info-wrapper[b-pfi25hiwkt] {
        box-shadow: none;
        box-sizing: border-box;
        background: transparent;
        left: auto;
        margin: 0;
        min-width: 0;
        position: static;
        top: auto;
        transform: none;
        z-index: auto;
        padding: 0;
    }

        .document-info-wrapper[b-pfi25hiwkt]::before {
            display: none;
        }
}


.single-message-center[b-pfi25hiwkt] {
    display: flex !important;
    justify-content: center; /* center horizontally */
    align-items: center; /* center vertically */
    flex-direction: column;
    height: 100%;
    min-height: 80vh; /* adjust depending on layout */
    text-align: center;
}

.single-message-center2[b-pfi25hiwkt] {
    display: flex !important;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    /* height: 100%; */
    /* min-height: 80vh; */
    text-align: center;
    width: 100%;
}


.chats-mian-div[b-pfi25hiwkt] {
    width: 80%;
    margin-left: auto;
    margin-right: auto;
}

.btn:focus[b-pfi25hiwkt], .btn:active:focus[b-pfi25hiwkt], .btn-link.nav-link:focus[b-pfi25hiwkt], .form-control:focus[b-pfi25hiwkt], .form-check-input:focus[b-pfi25hiwkt] {
    box-shadow:none !important;
}
/* /Pages/ChatHistory.razor.rz.scp.css */

*:focus[b-w23w4y5y74] {
    outline: none;
}

.add-btn[b-w23w4y5y74] {
    width: 80%;
}

.chatTxt[b-w23w4y5y74] {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    cursor: pointer;
    width: 200px;
}

.chatHistory[b-w23w4y5y74] {
    overflow-y: auto;
    height: calc(100% - 150px);
    overflow-x: hidden;
    display: block;
    background-color: var(--base-color);
    margin-right: 0 !important;
}

.action-block[b-w23w4y5y74] {
    position: absolute;
    right: 0;
    top: 5px;
    /*    background: var(--light-gray4);
    box-shadow: 0px 1px 12px var(--light-gray4);*/
    cursor: pointer;
    display: none;
    border-radius: 3px;
}

    .action-block.edit-mode[b-w23w4y5y74] {
        display: block !important
    }

.context-item[b-w23w4y5y74] {
    position: relative;
    padding: 0px 10px;
}

    .context-item.active[b-w23w4y5y74] {
        background: var(--light-gray4);
        border-radius: 5px;
    }

        .context-item.active .action-block[b-w23w4y5y74] {
            background: var(--light-gray4) !important;
            box-shadow: 0px 1px 12px var(--light-gray4);
            display: block !important;
        }

/* Input field styling for chat name editing */
.inputChatTxt[b-w23w4y5y74] {
    width: 180px;
    overflow: hidden;
    background: var(--light-gray4);
    color: #d0d1d2;
    border: 0px;
    padding: 2px 5px;
    border-radius: 4px;
}

/* Container for input field and character counter */
.edit-container[b-w23w4y5y74] {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

/* Character counter display (shows X/100) */
.char-counter[b-w23w4y5y74] {
    font-size: 10px;
    margin-left: 8px;
    margin-top: -5px;
    font-weight: 500;
    color: #ffffff !important;
}

.action-icons-show[b-w23w4y5y74] {
    display: none !important;
}


li:hover[b-w23w4y5y74] {
    background: var(--light-gray4);
    border-radius: 5px;
}

    li:hover .action-block[b-w23w4y5y74] {
        background: var(--light-gray4) !important;
        box-shadow: 0px 1px 12px var(--light-gray4);
        display: block !important;
    }

.icon[b-w23w4y5y74] {
    /*float: inline-end;*/
    font-size: 20px;
    margin-top: 16px;
}

.disabled[b-w23w4y5y74] {
    opacity: 0.5;
    cursor: not-allowed !important;
}

.date-title[b-w23w4y5y74] {
    font-size: 12px;
    color: var(--top-color) !important;
    padding: 0 10px;
}



.lbl-new-chat[b-w23w4y5y74] {
    text-align: center;
    align-self: center;
    color: white;
}

.img-container[b-w23w4y5y74] {
    box-shadow: 0px 3px 6px #000;
}

.mob-close-icon[b-w23w4y5y74] {
    display: none;
}

.acp-logo-size[b-w23w4y5y74] {
    width: 70px;
    height: 70px;
}

/*.mob-chat-button {
display:none;
}*/
/* Mobile responsive styles for tablets and phones */
@media screen and (min-width: 321px) and (max-width: 768px) {
    .mob-close-icon[b-w23w4y5y74] {
        display: block;
        color: #eae7e7;
        font-size: 22px;
        padding: 10px;
    }

    .acp-logo-size[b-w23w4y5y74] {
        width: 40px;
        height: 40px;
    }

    .chatHistory[b-w23w4y5y74] {
        font-size: 14px!important;
        padding-bottom: 140px;
        box-sizing: border-box;
    }

    /* Smaller character counter for mobile screens */
    .char-counter[b-w23w4y5y74] {
        font-size: 9px;
        margin-left: 5px;
    }

    /* Narrower input field for mobile screens */
    .inputChatTxt[b-w23w4y5y74] {
        width: 150px;
    }
    /*
    .mob-chat-button {
        display:block;
        width: 100%;
        font-size: 12px;
        border-radius: 0pc;
        padding: 6px;
        background: #f4023c;
    }*/
}

.footer[b-w23w4y5y74] {
    position: sticky;
    bottom: 0;
    width: 100%;
    z-index: 2;
}

.profile-dropdown-sidenav .dropdown-menu[b-w23w4y5y74] {
    top: auto;
    bottom: 100%;
    margin-bottom: 8px;
    max-width: calc(100vw - 24px);
    max-height: calc(100vh - 160px);
    overflow-y: auto;
    overflow-x: hidden;
    right: 0;
    left: auto;
    word-break: break-word;
}
/* /Pages/Components/ProfileDropdown.razor.rz.scp.css */

.profile-circle[b-21kjik6fyy] {
    box-shadow: 0 2px 6px rgba(0,0,0,0.08);
    user-select: none;
}

.profile-dropdown-main .dropdown-menu[b-21kjik6fyy] {
    border-radius: 0.5rem;
    max-width: calc(100vw - 16px);
    max-height: calc(100vh - 80px);
    overflow-y: auto;
    overflow-x: hidden;
    right: 0;
    left: auto;
    word-break: break-word;
}

.profile-dropdown-main .dropdown-toggle[b-21kjik6fyy] {
    max-width: 280px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.profile-circle-small[b-21kjik6fyy] {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--bs-primary, #ff0000);
    color: #fff;
    font-weight: bold;
}

.profile-circle-large[b-21kjik6fyy] {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--bs-primary, #ff0000);
    color: #fff;
    font-weight: bold;
}
/* /Pages/Message.razor.rz.scp.css */
#delteIcon[b-z4x8bdg2pn] {
    margin: 0px 5px 0px 0px;
}

.bg-dark[b-z4x8bdg2pn] {
    background: #262626;
}

system[b-z4x8bdg2pn] {
    background: #3486c52e !important;
}

.input-resize[b-z4x8bdg2pn] {
    width: 100%; /* Take up full width of its container */
    min-height: 100px; /* Set a minimum height */
    max-height: 500px; /* Set a maximum height */
    resize: vertical !important; /* Allow only vertical resizing */
    padding: 10px; /* Add padding for better readability */
    box-sizing: border-box; /* Include padding in the width */
    border: 1px solid #ccc; /* Add a border for clarity */
    font-size: 14px; /* Set the font size */
    font-family: inherit; /* Use inherited font */
    line-height: 1.6;
    overflow: auto; /* Enable scrolling when needed */
}

pre[b-z4x8bdg2pn] {
    white-space: pre-wrap !important;
    word-wrap: break-word !important;
    overflow: auto !important;
}

.cancelled-prompt[b-z4x8bdg2pn] {
    font-size: 12px;
    font-weight: 500;
    padding: 0px 3px;
    border: 1px solid #f6d470;
    border-radius: 3px;
}

.btn-refresh[b-z4x8bdg2pn] {
    top: 30px;
    font-size: 14px;
    color: var(--base-color);
}

.text-pre-wrap[b-z4x8bdg2pn] {
    white-space: pre-wrap;
}

.message-container[b-z4x8bdg2pn] {
    justify-content: space-around !important;
}

.user-message-container[b-z4x8bdg2pn] {
    /*width: 80% !important;*/
    /*place-self: flex-end !important;*/
    justify-content: end !important;
}

.user-messge-style[b-z4x8bdg2pn] {
    background: #d0d0d030;
    /*padding: 15px;*/
    padding-top:15px;
    padding-bottom:15px;
    padding-right:15px;
    border-radius: 10px;
    width: 70% !important;
}
.p15[b-z4x8bdg2pn] {
padding:15px !important;
}


.message-icons[b-z4x8bdg2pn] {
    opacity: 0;
    transition: opacity 0.2s;
    position: absolute;
    top: 8px;
    right: 8px;
    z-index: 2;
}

.message-hover-container:hover .message-icons[b-z4x8bdg2pn] {
    opacity: 1;
}

/* System message scrollable container - clean and minimal */
.system-message-scrollable[b-z4x8bdg2pn] {
    white-space: pre-wrap;
   
    max-height: 400px;
    overflow: auto;
    padding: 12px 12px 12px 12px;
    line-height: 1.6;
    background: #ff000014;
    border-radius: 6px;
    margin: 4px 4px;
    resize: vertical !important;
}

.system-message-scrollable.single-line[b-z4x8bdg2pn] {
    text-align: center;
}

.system-message-scrollable.multi-line[b-z4x8bdg2pn] {
    text-align: left;
}

/* Subtle scrollbar for system messages */
.system-message-scrollable[b-z4x8bdg2pn]::-webkit-scrollbar {
    width: 6px;
}

.system-message-scrollable[b-z4x8bdg2pn]::-webkit-scrollbar-track {
    background: transparent;
}

.system-message-scrollable[b-z4x8bdg2pn]::-webkit-scrollbar-thumb {
    background: #d0d0d0;
    border-radius: 3px;
}

.system-message-scrollable[b-z4x8bdg2pn]::-webkit-scrollbar-thumb:hover {
    background: #b0b0b0;
}

/* System message edit mode styling */
.system-edit-container[b-z4x8bdg2pn] {
    padding: 4px 0;
    margin: 4px 0;
}

.system-textarea[b-z4x8bdg2pn] {
    min-height: 150px;
    max-height: 400px;
    resize: vertical !important;
    font-family: inherit;
    font-size: 14px;
    line-height: 1.6;
    background: #ffffff;
    border: 1px solid #ced4da;
    border-radius: 4px;
    padding: 10px;
    overflow-y: auto;
}

.system-textarea:focus[b-z4x8bdg2pn] {
    border-color: #86b7fe;
    outline: 0;
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}

/* User message view mode - prevent icon overlap */
.user-message-view[b-z4x8bdg2pn] {
    padding-right: 0 !important;
    margin-bottom: 8px;
}

/* Position icons at bottom of message */
.message-icons-bottom[b-z4x8bdg2pn] {
    display: flex;
    gap: 8px;
    opacity: 0;
    transition: opacity 0.2s ease-in-out;
    justify-content: flex-end;
    margin-top: 4px;
}

.message-hover-container:hover .message-icons-bottom[b-z4x8bdg2pn] {
    opacity: 1;
}

.message-icons-bottom i[b-z4x8bdg2pn] {
    cursor: pointer;
    font-size: 14px;
    color: var(--base-color);
    transition: color 0.2s ease-in-out;
}

.message-icons-bottom i:hover[b-z4x8bdg2pn] {
    color: #007bff;
}

.system-message-icon[b-z4x8bdg2pn] {
    display: flex;
    justify-content: center;
    margin-bottom: 8px;
}

.system-message-icon img[b-z4x8bdg2pn] {
    display: block;
}
/* /Shared/MainLayout.razor.rz.scp.css */
.page[b-yzzliz47kf] {
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100vh;
}

main[b-yzzliz47kf] {
    flex: 1;
}

.sidebar[b-yzzliz47kf] {
    background-image: linear-gradient(180deg, rgb(5, 39, 103) 0%, #3a0647 70%);
}

.top-row[b-yzzliz47kf] {
    background-color: #f7f7f7;
    border-bottom: 1px solid #d6d5d5;
    justify-content: flex-end;
    height: 3.5rem;
    display: flex;
    align-items: center;
}

    .top-row[b-yzzliz47kf]  a, .top-row[b-yzzliz47kf]  .btn-link {
        white-space: nowrap;
        margin-left: 1.5rem;
        text-decoration: none;
    }

        .top-row[b-yzzliz47kf]  a:hover, .top-row[b-yzzliz47kf]  .btn-link:hover {
            text-decoration: underline;
        }

        .top-row[b-yzzliz47kf]  a:first-child {
            overflow: hidden;
            text-overflow: ellipsis;
        }

@media (max-width: 640.98px) {
    .top-row:not(.auth)[b-yzzliz47kf] {
        display: none;
    }

    .top-row.auth[b-yzzliz47kf] {
        justify-content: space-between;
    }

    .top-row[b-yzzliz47kf]  a, .top-row[b-yzzliz47kf]  .btn-link {
        margin-left: 0;
    }
}

@media (min-width: 641px) {
    .page[b-yzzliz47kf] {
        flex-direction: row;
    }

    .sidebar[b-yzzliz47kf] {
        width: 250px;
        height: 100vh;
        position: sticky;
        top: 0;
    }

    .top-row[b-yzzliz47kf] {
        position: sticky;
        top: 0;
        z-index: 1;
    }

        .top-row.auth[b-yzzliz47kf]  a:first-child {
            flex: 1;
            text-align: right;
            width: 0;
        }

    .top-row[b-yzzliz47kf], article[b-yzzliz47kf] {
        /* padding-left: 2rem !important;
        padding-right: 1.5rem !important;*/
    }
}

article[b-yzzliz47kf] {
    height: calc(100% - 0px);
}

.content[b-yzzliz47kf] {
    height: 90vh;
}

.fs-12px[b-yzzliz47kf] {
    font-size: 12px;
}
/* /Shared/NavMenu.razor.rz.scp.css */
.navbar-toggler[b-ifbkb6djes] {
    background-color: rgba(255, 255, 255, 0.1);
}

.top-row[b-ifbkb6djes] {
    height: 3.5rem;
    background-color: rgba(0,0,0,0.4);
}

.navbar-brand[b-ifbkb6djes] {
    font-size: 1.1rem;
}

.oi[b-ifbkb6djes] {
    width: 2rem;
    font-size: 1.1rem;
    vertical-align: text-top;
    top: -2px;
}

.nav-item[b-ifbkb6djes] {
    font-size: 0.9rem;
    padding-bottom: 0.5rem;
}

    .nav-item:first-of-type[b-ifbkb6djes] {
        padding-top: 1rem;
    }

    .nav-item:last-of-type[b-ifbkb6djes] {
        padding-bottom: 1rem;
    }

    .nav-item[b-ifbkb6djes]  a {
        color: #d7d7d7;
        border-radius: 4px;
        height: 3rem;
        display: flex;
        align-items: center;
        line-height: 3rem;
    }

.nav-item[b-ifbkb6djes]  a.active {
    background-color: rgba(255,255,255,0.25);
    color: white;
}

.nav-item[b-ifbkb6djes]  a:hover {
    background-color: rgba(255,255,255,0.1);
    color: white;
}

@media (min-width: 641px) {
    .navbar-toggler[b-ifbkb6djes] {
        display: none;
    }

    .collapse[b-ifbkb6djes] {
        /* Never collapse the sidebar for wide screens */
        display: block;
    }
    
    .nav-scrollable[b-ifbkb6djes] {
        /* Allow sidebar to scroll for tall menus */
        height: calc(100vh - 3.5rem);
        overflow-y: auto;
    }
}
