html,
body {
    overscroll-behavior: none;
}

.bg-light-green {
    /*	background:#b7e4a8!important;*/
    background-color: #092441;
}

.bg-blue {
    background: #6d92d3 !important;
}

.bg-orange {
    background: #ffd966 !important;
}

.bg-dark-blue {
    background: #3867b9 !important;
}

.temperature,
.token {
    /*	color: #fff;*/
    background: yellowgreen;
    /*    padding-top: 6px;*/
    border-radius: 8px;
    /*    padding-right: 20px;*/
    font-weight: 600;
    align-items: center;
    padding: 8px;
}

/*.token{
	background: yellowgreen;
    padding-top: 6px;
    border-radius: 8px;
    padding-right: 20px;
    font-weight: 600;
}*/
.bg-openai {
    /*	background: #10a37f!important;*/
    background-color: #faa41a;
}

.token.operator {
    background: transparent !important;
}

#chatBox .token,
#webSoketChatBox .token {
    background: transparent !important;
    padding: 0 !important;
}

#chatBox li p,
#webSoketChatBox li p {
    margin-bottom: 5px !important;
}

#chatBox li,
#webSoketChatBox li {
    margin-bottom: 10px !important;
}

#chatBox ul,
#chatBox ol,
#webSoketChatBox ul,
#webSoketChatBox ol {
    margin-bottom: 15px !important;
}

#chatBox h1,
#chatBox h2,
#chatBox h3,
#chatBox h4,
#chatBox h5,
#chatBox h6,
#webSoketChatBox h1,
#webSoketChatBox h2,
#webSoketChatBox h3,
#webSoketChatBox h4,
#webSoketChatBox h5,
#webSoketChatBox h6 {
    font-weight: 600 !important;
    margin-top: 25px !important;
}

#inputForm .btn.text-white {
    border-radius: 50%;
    height: 40px !important;
    width: 40px !important;
}

.ai-output table thead {
    background-color: #f7f7f7;
}

.ai-output table th,
.ai-output table td {
    border: 1px solid #dee2e6;
}

/*#imagePreview {
	display: none;
	margin-top: 8px;
    width: 100%;
    height: auto;
    border-radius: 0.375rem;
}*/

.btn_container button {
    float: right;
}

#chatBox .card,
#webSoketChatBox .card {
    width: 50%;
}

.textarea-container#chatBox .card,
.textarea-container#webSoketChatBox .card {
    width: 87%;
}

#chatBox li img,
#webSoketChatBox li img {
    margin-right: 1rem;
}

#chatBoxscroll,
#webSoketBoxScroll {
    max-height: calc(100vh - 268px);
    height: calc(100vh - 268px);
    overflow: auto;
}

.main_section .container.py-5.remove_space {
    padding-top: 90px !important;
}

.main_section .container.py-5 {
    padding-top: 130px !important;
}

@media (max-width: 992px) {
    .main_section {
        background-position: center;
    }

    /*#imagePreview {
		width: 25%;
	}*/

    .btn_container {
        display: flex;
        justify-content: center;
        gap: 10px;
    }

    .col-md-12,
    .col-md-11,
    .col-md-10,
    .col-md-3,
    .col-md-2,
    .col-md-1 {
        width: 100%;
    }

    #chatBox .card,
    #webSoketChatBox .card {
        width: 100%;
    }

    #chatBox li img,
    #webSoketChatBox li img {
        margin-right: 0;
    }

    #chatBox,
    #webSoketChatBox {
        min-height: calc(90vh - 670px);
    }
}

.formsettings {
    display: none;
}

@media (max-width: 767px) {
    .mobileform {
        position: fixed;
        top: 0;
        right: -100%;
        padding: 110px 30px 30px 30px;
        background: rgba(0, 0, 0, 0.5);
        height: 100vh;
        width: 100%;
        transition: 0.3s all ease;
    }

    .mobileform.open {
        right: 0;
    }

    .formsettings {
        position: fixed;
        z-index: 1;
        top: 50px;
        width: 60px;
        height: 60px;
        background: #000;
        right: 0;
        border-radius: 10px 0 0 10px;
        color: #fff;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 24px;
        cursor: pointer;
    }

    .settings_row {
        position: relative;
        top: -51px;
    }

    #imageInput {
        position: relative;
        z-index: 1;
    }
}

/*sidebar*/
.wrapper {
    height: 100%;
    /*  	width: 300px;*/
    position: relative;
}

.wrapper .menu-btn {
    position: absolute;
    left: 15px;
    top: 15px;
    color: #fff;
    height: 30px;
    width: 30px;
    z-index: 999;
    border-radius: 5px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

/* #btn:checked~.menu-btn {
    left: 267px;
} */

.wrapper .menu-btn svg {
    position: absolute;
    font-size: 23px;
    transition: all 0.3s ease;
}

.wrapper .menu-btn svg.fa-angle-left {
    opacity: 0;
}

#btn:checked ~ .menu-btn svg.fa-angle-right {
    opacity: 1;
    transform: rotate(-180deg);
}

#btn:checked ~ .menu-btn svg.fa-angle-left {
    opacity: 0;
    transform: rotate(180deg);
}

#sidebar {
    position: fixed;
    height: 100%;
    width: 270px;
    overflow: hidden;
    left: -270px;
    transition: all 0.3s ease;
    z-index: 9;
}

#btn:checked ~ #sidebar {
    left: 0;
}

/* #sidebar .title {
    line-height: 65px;
    text-align: center;
    background-color: #000000cf;
    font-size: 25px;
    font-weight: 600;
    color: #f2f2f2;
    border-bottom: 1px solid #222;
} */

#sidebar .new_icon_menu {
    line-height: 65px;
    text-align: center;
    background-color: #000000cf;
    font-size: 25px;
    font-weight: 600;
    color: #f2f2f2;
    border-bottom: 1px solid #222;
    margin-top: -5px;
    padding-left: 50px;
    gap: 10px;
    display: flex;
}

.main-box {
    display: flex;
    justify-content: space-between;
    align-items: start;
}

.main-box .img-box {
    margin-right: 15px;
}

.main-box .btn-right button:first-child {
    margin-bottom: 10px;
}

.close-btn {
    position: fixed;
    top: 20px;
    right: 50px;
}

#chatBoxscroll::-webkit-scrollbar-track,
#webSoketBoxScroll::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 4px rgba(0, 0, 0, 0.3);
    background-color: #f5f5f5;
}

#chatBoxscroll::-webkit-scrollbar,
#webSoketBoxScroll::-webkit-scrollbar {
    width: 10px;
    background-color: #f5f5f5;
}

#chatBoxscroll::-webkit-scrollbar-thumb,
#webSoketBoxScroll::-webkit-scrollbar-thumb {
    background-color: #999999;
    border: 2px solid #e5e5e5;
    margin: 0 2px;
}

/* Basic styles for the switch */
.form-check {
    position: relative;
}

.form-check-input {
    display: none;
    /* Hide the default checkbox */
}

.form-check-input + .form-check-label {
    position: relative;
    display: inline-block;
    width: 45px;
    height: 20px;
    background-color: #ccc;
    border-radius: 30px;
    cursor: pointer;
    transition: background-color 0.3s;
    margin-top: 0px !important;
}

/* Circle inside the switch */
.form-check-input + .form-check-label::before {
    content: "";
    position: absolute;
    top: 2px;
    left: 2px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background-color: white;
    transition: transform 0.3s;
}

/* Active state */
.form-check-input:checked + .form-check-label {
    background-color: #4caf50;
    /* Green background */
}

.form-check-input:checked + .form-check-label::before {
    transform: translateX(24px);
}

#chatarea .form-switch {
    padding-left: 20px !important;
}

.row.inner-box {
    /* align-items: center; */
    height: 130px;
}

#inputContainer .textarea {
    flex-direction: column-reverse;
}

#chatBox li .card .card-body p img,
#webSoketChatBox li .card .card-body p img {
    height: 100%;
    width: 100%;
}

.scorll-up-down {
    display: flex;
    flex-direction: column;
    /* margin-left: 10px; */
    justify-content: center;
    gap: 5px;
}

.scorll-up-down .up-down {
    padding: 0 !important;
    margin-bottom: 0 !important;
}

.conversation-list,
.conversation-keyword-list {
    max-height: 200px;
    padding-right: 10px;
    margin-bottom: 10px;
    transition: height 0.3s ease;
    overflow-y: auto;
}

/* .conversation-list.expanded, .conversation-keyword-list.expanded, .conversation-snipper-list.expanded {
    max-height: 10000px; /* Show all items */
/* } */

#togglebtnconversationList,
#togglebtnKeyWordList,
#togglebtnSnipperList {
    display: block;
    margin-top: 10px;
    cursor: pointer;
    text-decoration: none;
}

/* .conversation-snipper-list li {
    border-radius: 5px;
    padding: 0px;
    transition: all 0.3s ease;
    cursor: pointer;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    width: 180px;
}

.conversation-snipper-list li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 10px;
}

.conversation-snipper-list li input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    margin-right: 5px;
}

.conversation-snipper-list li input[type="checkbox"] + .snipper-label::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    cursor: pointer;
    height: 20px;
    border: 2px solid #ccc;
    background-color: #fff;
    border-radius: 4px;
}

.conversation-snipper-list li input[type="checkbox"]:checked + .snipper-label::after {
    content: '\f00c';
    position: absolute;
    font-family: 'fontawesome';
    left: 4px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 14px;
    color: #fff;
} */

/* ================================ */

.snipper-item {
    transition: all 0.3s ease; /* Smooth transition for all items */
    padding: 10px 15px; /* Padding for all items */
    margin-bottom: 5px; /* Add space between items */
    border-radius: 10px; /* Rounded corners for all items */
}

.snipper-item.active {
    background: #f5f5f529;
    color: #ffffff;
    box-shadow: 0px 6px 12px rgba(0, 0, 0, 0.4);
}

.snipper-item.active span {
    font-size: 1.2em; /* Slightly larger font size */
    color: #ffe4e6; /* Light pink for active text */
}

.keyword-item {
    position: relative;
    padding-left: 30px; /* Adjust based on custom checkbox size */
    margin-bottom: 5px;
}

.keyword-item input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    margin-right: 5px;
}

.keyword-item input[type="checkbox"] + .keyword-label::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    cursor: pointer;
    height: 20px;
    border: 2px solid #ccc;
    background-color: #fff;
    border-radius: 4px; /* Rounded corners for checkbox */
}

.keyword-item input[type="checkbox"]:checked + .keyword-label::after {
    content: "\f00c"; /* Unicode for checkmark symbol */
    position: absolute;
    font-family: "fontawesome";
    left: 4px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 14px;
    color: #fff; /* Color of the checkmark */
}

.keyword-item .keyword-label {
    padding-left: 10px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    width: 175px;
}

/* Hide scrollbar for WebKit browsers (Chrome, Safari) */
.conversation-list::-webkit-scrollbar {
    width: 10px; /* Width of the scrollbar */
}

.conversation-list::-webkit-scrollbar-thumb {
    background-color: rgba(0, 0, 0, 0.5); /* Color of the scrollbar thumb */
}

.conversation-list::-webkit-scrollbar-track {
    background-color: #f1f1f1; /* Color of the scrollbar track */
}

/* Hide scrollbar for Firefox */
.conversation-list,
.conversation-keyword-list,
.conversation-snipper-list {
    scrollbar-width: thin; /* Make scrollbar thin but visible */
}

/* Hide scrollbar for Edge and Internet Explorer */
.conversation-list {
    -ms-overflow-style: auto; /* Show scrollbar when needed */
}

/* .conversation-list li {
    padding: 0 5px;
    border: 1px solid #7f7f7f;
    border-radius: 5px;
} */

/* .conversation-list li {
    margin-bottom: 10px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    width: 180px;
} */

.conversation-list li a {
    color: inherit;
    text-decoration: none;
    word-break: break-word;
    width: 100%;
    display: inline-block;
    max-width: 160px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    padding-left: 5px;
}

.conversation-list li.active {
    background: #f5f5f547;
}

.conversation-list li {
    position: relative;
    /* padding-left: 30px; Adjust based on custom checkbox size */
    margin-bottom: 5px;
    width: 100%;
    display: flex;
    gap: 5px;
}

.conversation-list li input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    margin-right: 5px;
}

.conversation-list li input[type="checkbox"] + a::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    cursor: pointer;
    height: 20px;
    border: 2px solid #ccc;
    background-color: #fff;
    border-radius: 4px;
}

.conversation-list li input[type="checkbox"]:checked + a::after {
    content: "\f00c";
    position: absolute;
    font-family: "fontawesome";
    left: 4px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 14px;
    color: #fff;
}

.costMainBox .costCategory {
    padding-top: 10px;
}

.costCategory .lableBox {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.costCategory .lableBox .refresh a {
    padding: 2px 6px 0px;
}

.costCategory .lableBox h3 {
    font-size: 14px;
    margin-bottom: 0;
    font-weight: 700;
}

.costCategory .lableBox h3 svg {
    margin-right: 0;
    width: 24px;
}

.costCategory .lableBox .hiddenCategories h3 {
    font-size: 14px;
    margin-bottom: 0;
    font-weight: 700;
}

.costCategory .lableBox .hiddenCategories h3 svg {
    margin-right: 0;
    width: 24px;
}

.costCategory .detailsBox {
    background-color: #fff;
    border-radius: 5px;
    padding: 8px;
    margin-top: 10px;
}

.costCategory .detailsBox p {
    font-size: 14px;
    /* color: #279e85; */
    margin-bottom: 5px;
}

.costCategory .detailsBox h4 {
    font-size: 14px;
    font-weight: 900;
    margin-bottom: 0;
    /* color: #279e85; */
}

.custom-tooltip {
    background: #000000c9;
    border: 3px solid #000;
    white-space: nowrap;
    margin-bottom: 0;
    padding: 0 10px;
}

.tooltip-text {
    text-align: start;
}

.custom-tooltip .custom-tooltip-li {
    list-style: none;
}

.tooltip-inner.custom-tooltip-inner {
    background: transparent !important;
    padding: 0 !important;
    border-radius: 0 !important;
}

.conversation-list li .filterIconBox {
    display: flex;
    align-items: center;
    gap: 6px;
}

.conversation-list li .filterIconBox a {
    font-size: 15px;
    text-overflow: unset !important;
    border: none;
    padding: 0 !important;
}

.conversation-list li .filterIconBox .delete-conversation {
    color: red;
}

.threadTitle-arrow.tooltip-arrow::before {
    border-right-color: #e4feff !important;
}

.threadTitle-tooltip-inner {
    box-shadow: 2px 1px 5px #b7b7b7;
    background-color: #f3ffff !important;
    color: #000;
    max-width: 350px;
    text-align: start;
}

.threadTitle-tooltip-inner hr {
    margin: 6px 0;
}

.toolTip-custom {
    opacity: 1 !important;
}

.hero-journey-container {
    color: #fff; /* White text */
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2);
}

.hero-journey-title {
    font-size: 16px;
    font-weight: bold;
    text-align: start;
    margin-bottom: 20px;
    display: flex;
    justify-content: space-between;
}

.hero-journey-list {
    list-style: none;
    padding: 0;
    overflow-y: auto;
    max-height: 200px;
    padding-right: 7px;
    scrollbar-width: thin;
    margin-bottom: 0;
}

.hero-journey-item a span {
    margin-left: 5px;
}

.hero-journey-item {
    margin-bottom: 10px;
}

.hero-journey-item a {
    display: flex;
    align-items: center;
    color: #fff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.hero-journey-item i {
    font-size: 20px;
}

.hero-journey-detailsBox {
    background-color: #fff;
    border-radius: 5px;
    padding: 14px;
    margin-top: 10px;
    margin-bottom: 10px;
}

.hero-journey-detailsBox h4 {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 0;
    /* color: #279e85; */
}

.conversation-list li a.active {
    background: #dadada2f;
    border-radius: 5px;
}

#editHeroGen .herogen-body table {
    text-align: center;
    width: 100%;
}

#editHeroGen .modal-dialog {
    max-width: 750px;
}

#editHeroGen .herogen-body table tbody tr td {
    padding-bottom: 15px;
    padding-right: 10px;
}

a.btnX {
    padding: 2px 6px 0px 6px;
    border-radius: 6px;
}
.conversation-list li .delete-checkbox-thread input[type="checkbox"] {
    opacity: 1;
    margin-top: 5px;
    width: 14px;
    height: 14px;
}

/*===============================*/

@media (max-width: 575px) {
    #chatBoxscroll,
    #webSoketBoxScroll {
        height: calc(85vh - 300px);
    }

    .btn-right {
        display: flex;
        align-items: center;
    }

    .main-box .btn-right button:first-child {
        margin-bottom: 0px;
        margin-right: 15px;
    }

    .main-box {
        justify-content: center;
        align-items: center;
    }

    .main-box .img-box {
        text-align: center;
    }

    .upload-img {
        width: 100%;
    }

    .wrapper .menu-btn {
        top: 20px;
    }
}

@media (max-width: 479px) {
    .main_section .container.py-5 {
        padding-top: 170px !important;
    }
}

.mCustomScrollbar .mCustomScrollBox {
    overflow-y: scroll;
}

.mCustomScrollbar ::-webkit-scrollbar {
    width: 0px;
}

.mCustomScrollbar {
    scrollbar-width: none;
}

.prompt-input-btn .img-btn {
    position: relative;
    bottom: 48px;
    float: right;
    right: 110px;
    padding: 4px 12px;
    border-radius: 5px;
    font-size: 20px;
    cursor: pointer;
}

.prompt-img-preview,
.prompt-file-preview {
    position: relative;
    bottom: 49px;
    left: calc(100% - 200px);
    width: fit-content;
}

#imagePreview {
    display: none;
    width: 45px;
    height: 45px;
}

#inputContainer {
    position: relative; /* Container for positioning */
    flex-direction: column-reverse;
}

@keyframes blink {
    50% {
        color: transparent;
    }
}
.blinking__dot {
    animation: 1s blink infinite;
}
.blinking__dot:nth-child(2) {
    animation-delay: 250ms;
}
.blinking__dot:nth-child(3) {
    animation-delay: 500ms;
}

.typing-effect {
    display: inline-block;
    white-space: nowrap;
    overflow: hidden;
}

@media (max-width: 1400px) {
    .textarea-container#chatBox .card,
    .textarea-container#webSoketChatBox .card {
        width: 85% !important;
    }
}

@media (max-width: 1199px) {
    .col-md-11.input-textarea {
        width: 91%;
    }

    .col-md-11 {
        width: 90% !important;
    }

    .textarea-container#chatBox .card,
    .textarea-container#webSoketChatBox .card {
        width: 82% !important;
    }

    .custom_bar_design {
        max-width: 90% !important;
    }

    /* #inputContainer textarea {
        max-width: 96%;
        margin: 0 auto;
    } */
}

@media (max-width: 1024px) {
    .textarea-container#chatBox .card,
    .textarea-container#webSoketChatBox .card {
        width: 82% !important;
    }

    #chatarea .form-switch {
        padding-left: 1em !important;
    }

    .custom_bar_design {
        margin-left: auto !important;
        max-width: 90% !important;
    }

    /* .prompt-input-btn .img-btn {
        right: 180px !important;
    } */
}

@media (max-width: 992px) {
    .textarea-container#chatBox .card,
    .textarea-container#webSoketChatBox .card {
        width: 85.5% !important;
    }
}

@media (max-width: 768px) {
    #chatBoxscroll,
    #webSoketBoxScroll {
        max-height: calc(100vh - 450px);
    }
}
@media (max-width: 575px) {
    #chatBoxscroll,
    #webSoketBoxScroll {
        max-height: calc(100vh - 350px);
        height: calc(100vh - 350px);
    }
}

@media (max-width: 768px) {
    .textarea-container#chatBox .card,
    .textarea-container#webSoketBoxScroll .card {
        width: 80% !important;
    }
}

@media (max-width: 575px) {
    .textarea-container#chatBox .card,
    .textarea-container#webSoketBoxScroll .card {
        width: 75% !important;
    }

    #chatarea .form-switch {
        margin-top: -60px;
    }
}

@media (max-width: 479px) {
    .textarea-container#chatBox .card,
    .textarea-container#webSoketBoxScroll .card {
        width: 70% !important;
    }
}

.homepage .spinner-border-sm {
    height: 10px !important;
    width: 10px !important;
}

/* .fixed-height-textarea {
    resize: none;
    width: 100%;
    overflow: hidden;
    min-height: calc(1.6em + 0.75rem + 2px);
    max-height: calc(1.5em* 6);
} */

/* .fixed-height-textarea {
        padding: 0.1em;
        margin: 0px;
        resize: none;
        position: absolute;
        bottom: 0px;
        max-height: 200px;
        overflow-y: auto;
        border-color: rgb(222, 196, 146);
        height: 49px;

} */

.fixed-height-textarea {
    padding: 0.1em;
    margin: 0;
    resize: none;
    position: absolute;
    bottom: 0;
    max-height: calc(1.2em * 10);
    overflow: hidden;
    border-color: rgb(255, 255, 255);
    height: auto;
    min-height: 49px;
    box-sizing: border-box;
    left: 50%;
    transform: translateX(-50%);
    background-color: #fff;
    border: none !important;
    padding: 6px 12px !important;
    box-shadow: none !important;
    color: #000;
}

/* .fixed-height-textarea:focus {
    background-color: #3b3b3b !important;
    color: #fff !important;
} */

.fixed-height-textarea::placeholder {
    color: #ccc !important;
}

.fixed-height-textarea.expanded {
    overflow-y: auto;
}

.textarea-container#chatBox .card.wide-card,
.textarea-container#webSoketChatBox .card.wide-card {
    width: 84.5% !important;
    margin-right: 26px !important;
    margin-left: 22px !important;
}

.response input {
    width: 100%;
    border-radius: 8px;
    padding: 12px 30px;
    background-color: #fff;
    border: 1px solid #dec492;
}

#inputBox {
    /* margin-bottom: -31px; */
}

/* #inputBox.input-textarea {
    margin-bottom: -81px;
  } */

.response {
    display: none;
}

.response.show {
    display: block !important;
}

.message-pro.show {
    display: none;
}

.stop-btn {
    margin-left: 10px !important;
}

.start-btn {
    margin-right: 10px;
}

.stop-btn {
    display: none !important;
}

.stop-btn.show {
    display: block !important;
    padding: 0 !important;
    margin-right: 10px;
}

.start-btn.show {
    display: none !important;
}

.loader .circle {
    position: absolute;
    left: 50%;
    top: 50%;
    margin: -75px 0 0 -75px;
    border: 5px solid #fff;
    border-bottom-color: transparent;
    border-radius: 50%;
    width: 48px;
    height: 48px;
    box-sizing: border-box;
    animation: rotation 1s linear infinite;
}

.loader {
    display: none;
    position: fixed;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    background: rgba(219, 217, 217, 0.5);
    z-index: 999999;
    overflow: hidden;
    backdrop-filter: blur(0.7px);
}

@keyframes rotation {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

/* .prompt-file-preview {
    position: relative;
    bottom: 51px;
    float: right;
    margin-top: 5px;
    margin-left: 5px;
} */

.prompt-file-preview a img {
    width: 100%;
    max-width: 42px;
}

.prompt-file-preview a.cross-btn {
    position: absolute;
    left: 0px;
    top: -7px;
}

#textPasteModal.modal.fade .modal-dialog {
    transition: transform 1s ease-in, opacity 1s ease-out;
}

/* #textPasteModal.modal.fade.show .modal-dialog {
    transform: translate(0, 0);
} */

#textPasteModal .modal-body {
    padding: 0 !important;
    margin: 15px !important;
}

.sidebar-content-v2 {
    padding: 20px;
    height: calc(100vh - 66px);
    background-color: #000000cf;
    overflow-y: auto;
    scrollbar-width: thin;
}

/* Save Memory Modal Container */

/* Save Memory feature Modal Container */
#save-memory-feature-container,
#save-memory-container {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #ffffff;
    border: 1px solid #ddd;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    width: 250px; /* Adjusted width */
    padding: 12px;
    z-index: 1050;
    display: none; /* Hide by default */
}

/* Content inside modal */
.save-memory-feature-content,
.save-memory-content {
    text-align: center;
}

/* Flex container for dropdown and button */
.agent-selection {
    display: flex;
    align-items: center;
    gap: 10px; /* Space between dropdown and button */
}

/* Dropdown Styling */
#save_memory_feature,
#save_memory_prompt {
    flex: 1;
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 14px;
    background-color: #f9f9f9;
}

/* Button Styling */
.send-save-memory-feature,
.send-save-memory-prompt {
    padding: 8px 16px;
    font-size: 14px;
    font-weight: bold;
    border-radius: 4px;
    background-color: white;
    transition: all 0.3s ease;
    cursor: pointer;
    white-space: nowrap;
}

/* .send-save-memory-feature:hover {
    background-color: #007bff;
    color: white;
} */

audio {
    height: 30px !important;
}

/* .newProgress {
    width: 50%;
    padding-left: 130px;
} */

.newProgress {
    width: 22%;
    margin-left: 110px;
    background-color: #fff;
    padding: 5px 20px;
    border-radius: 5px;
    border: 1px solid #ccc;
}

.newProgress.right {
    padding-right: 130px;
}

.newProgress.full_screen {
    width: 100%;
    padding-left: 100px;
    max-width: 90%;
}

#messageInput {
    min-height: 65px;
}

.custom-dropdown {
    width: fit-content;
    user-select: none;
    height: 100%;
}

.selected-option {
    padding: 8px 10px 10px 10px;
    cursor: pointer;
    background: #666666;
    white-space: nowrap;
    height: 100%;
    display: flex;
    align-items: center;
    width: 48px;
    justify-content: center;
    border-radius: 6px;
}

.selected-option svg {
    vertical-align: middle;
    height: 20px;
    width: 20px;
}

.dropdown-options,
.selected_icon {
    display: none;
    position: absolute;
    width: auto;
    background: #fff;
    border: 1px solid #ccc;
    max-height: 310px;
    overflow-y: auto;
    z-index: 100;
    bottom: 60px;
    border-radius: 5px;
}

.selected_icon {
    bottom: 370px;
    width: 238px;
    padding: 10px;
}

.selected_icon svg {
    margin-right: 5px;
    height: 20px;
    width: 20px;
    vertical-align: middle;
}

.dropdown-item {
    padding: 10px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
}
.dropdown-item:hover {
    background-color: #f0f0f0;
}

.dropdown-options .dropdown-item span,
.selected_icon span {
    visibility: hidden;
    opacity: 0;
    font-size: 0;
}

svg.rotated {
    transform: rotate(180deg);
}

/* ------- new bar design css --------- */

/* ------- default bar design css --------- */

.default_view {
    position: relative;
}

.default_view .items_search {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 0px;
    height: 100%;
    width: 100%;
}

.default_view .custom_bar_design {
    padding: 0;
    border-radius: 30px;
    min-height: 53px;
}

.default_view .custom_bar_design .selected-option {
    position: absolute;
    top: 0;
    height: 100%;
    border-radius: 30px 0px 0px 30px;
    left: 0;
}

.default_view .prompt-input-btn .img-btn svg path {
    fill: #000;
}

.default_view .custom_bar_design #inputContainer {
    height: 100%;
}

.default_view .items_search .right_btn_box {
    position: absolute;
    right: 6px;
    top: 7px;
    z-index: 55;
}

.default_view .prompt-input-btn .img-btn {
    bottom: 44px;
}

.default_view #messageInput {
    min-height: 53px;
    outline: 2px solid #666666;
}

.row.inner-box {
    height: 100% !important;
}

.row.inner-box.center_align {
    align-items: center;
}

.default_view .prompt-input-btn .img-btn svg path {
    fill: #000;
}

/* ------- default bar design css --------- */

.col-md-11 {
    width: 93%;
}

.col-md-11.input-textarea {
    width: 92%;
}

.col-md-11.input-textarea .custom_bar_design {
    max-width: 91%;
}

.col-md-1 {
    width: 7%;
}

.custom_bar_design {
    position: relative;
    background-color: #fff;
    height: fit-content;
    padding: 10px;
    border-radius: 15px;
    width: 100%;
    max-width: 93%;
    margin-left: auto;
}

.custom_bar_design #inputContainer {
    width: 100%;
    min-height: 38px;
}

.items_search {
    display: flex;
    align-items: end;
    justify-content: space-between;
    padding-top: 5px;
}

.items_search .right_btn_box {
    display: flex;
    align-items: center;
    gap: 5px;
}

.image_import_area,
.file_import_area {
    display: flex;
    gap: 10px;
    position: absolute;
    bottom: calc(100% - 13%);
    width: 100%;
    background-color: #fff;
    left: 0;
    padding: 10px 10px 25px;
    border-radius: 15px 15px 0px 0px;
}

.image_import_area .img_import,
.file_import_area .file_import {
    position: relative;
    width: 60px;
}

.image_import_area .img_import img,
.file_import_area .file_import img {
    max-width: 60px;
    border-radius: 12px;
    background-color: #000;
    height: 60px;
    object-fit: cover;
}

.file_import_area .file_import img {
    background-color: transparent !important;
}

.image_import_area .remove_img .btn-close,
.file_import_area .remove_img .btn-close {
    position: absolute;
    top: -5px;
    right: -5px;
    background-color: #ffffff;
    font-size: 10px;
    padding: 5px;
    border-radius: 50%;
    z-index: 99;
    box-shadow: none;
}

@media (max-width: 991px) {
    .newProgress {
        width: 100%;
        padding-left: 70px;
        max-width: 95%;
    }

    .newProgress.right.full_screen {
        padding-right: 70px;
        width: 100%;
        max-width: 95%;
        padding-left: 0;
    }
}

.sidebar_new_design {
    height: 100vh;
    display: flex;
}

.right_content_section {
    width: calc(100% - 49px);
    margin-left: auto;
}

.right_content_section.move_right {
    width: calc(100% - 270px);
}
