body {
    background-color: #202123;
}

.prompt-textarea {
    width: 100%;
    border: 1px solid hsl(0, 0%, 80%);
    border-radius: 5px;
}

.input-prompt {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    /*background-color: rgb(52 53 65/1);*/

    background: rgb(52, 53, 65);
    background: linear-gradient(0deg, rgba(52, 53, 65, 1) 70%, rgba(0, 212, 255, 0) 100%);
}

.input-prompt {
    --tw-gradient-stops: 1, #343541, #343541;
    --tw-gradient-from: transparent;
}

#root {
    max-height: 1080px;
}

.history {
    max-height: 100%;
    /*overflow-y: auto;*/
    /*overflow-x: hidden;*/
}

/*@media screen and (min-width: 500px) {*/
/*    .input-prompt {*/
/*        min-height: 100%;*/
/*    }*/
/*}*/

/*@media screen and (max-width: 992px) {*/
/*    .input-prompt {*/
/*        min-height: 50vh;*/
/*    }*/
/*}*/

.right-0 {
    right: .0rem;
}

.top-0 {
    top: .0rem;
}

.right-1 {
    right: .25rem;
}

.top-1 {
    top: .25rem;
}

.right-2 {
    right: .5rem;
}

.top-2 {
    top: .5rem;
}

.top-3 {
    top: 1rem;
}

.right-3 {
    right: 1rem;
}

.max-w-2 {
    max-width: 32rem;
}

.max-w-3 {
    max-width: 48rem;
}

.max-w-4 {
    max-width: 64rem;
}

.send-prompt-btn {
    outline: none !important;
    box-shadow: none !important;
}

.message.role-user {
    background-color: rgb(52 53 65/1);
}

.message.role-assistant, .message.statistic {
    background: rgb(68 70 84/1);
}

.bg-dark-custom {
    background-color: #202123;
}

.bg-dark-second {
    background-color: #343541;
}

.text-light-custom {
    color: #d1d5db;
}

.text-light-secondary {
    color: hsla(0, 0%, 100%, .5)
}

.left-sidebar {
    position: relative;
    width: 280px;
    height: 100%;
    font-size: 14px;
    color: rgb(255 255 255/1);
}

.left-sidebar.collapse {
    width: 0px;
}

.left-sidebar-mobile-background {
    display: none;
}

.flex-1 {
    flex: 1 1 0%;
}

.left-side-btn {
    color: rgb(255 255 255/1) !important;
    border: 1px hsla(0, 0%, 100%, .2) !important;
}

.right-sidebar {
    width: 280px;
}

.right-sidebar.collapse {
    width: 0px;
}

.sidebar-wrap {
    left: 0;
    top: 0;
    width: 100%;
    padding: 1rem;
    height: 100%;
}

.left-sidebar.collapse .sidebar-wrap, .right-sidebar.collapse .sidebar-wrap {
    display: none;
}

.rooms-list {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.gpt-list-btn {
    padding: 10px;
    border-color: hsla(0, 0%, 100%, .2);
    position: relative;
    border-radius: 4px;
    color: #d1d5db;
    text-decoration: none;
    /*background-color: #343a40;*/
}

.gpt-list-btn.active {
    background-color: #343a40;
    color: rgb(255 255 255/1);
}

.gpt-list-btn:hover {
    color: rgb(255 255 255/1);
    background-color: #343a40;
}

.gpt-list-btn .delete-room-btn {
    display: none;
}

.gpt-list-btn.active .delete-room-btn {
    display: inline-block;
    color: #ececec;
}

.gpt-list-btn.active .delete-room-btn:hover {
    color: white;
}

.gpt-outline-btn {
    border-radius: 4px;
    text-decoration: none;
    color: rgb(255 255 255/1);
    padding: 8px 16px;
    background-color: transparent;
    border: 1px solid hsla(0, 0%, 100%, .2);
}

.gpt-outline-btn:hover {
    color: rgb(255 255 255/1);
    background-color: hsla(220, 9%, 46%, .1);
}

.gpt-btn {
    border-radius: 4px;
    text-decoration: none;
    color: rgb(255 255 255/1);
    padding: 8px 16px;
    background-color: hsla(220, 9%, 46%, .5);
    border: 1px solid hsla(0, 0%, 100%, .2);
}

.gpt-btn:hover {
    color: rgb(255 255 255/1);
    background-color: hsla(220, 9%, 46%, .25);
}

.empty-history-block {
    position: absolute;
    top: 30%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.gpt-border {
    border-radius: 4px;
    border: 1px solid hsla(0, 0%, 100%, .2);
}

.gpt-control-form {
    color: rgb(255 255 255/1) !important;
    background-color: transparent !important;
    width: 100%;
    text-transform: none;
    padding: .5rem;
    border: 1px solid hsla(0, 0%, 100%, .2);
    border-radius: 4px;
}

.gpt-control-form:hover {
    border-color: hsl(0, 0%, 70%);
}

.gpt-select2-select {
    width: fit-content;
}


/*.gpt-select2-select .select__control {*/
/*    color: rgb(255 255 255/1);*/
/*    background-color: transparent;*/
/*    width: 100%;*/
/*    text-transform: none;*/
/*    border: 1px solid hsla(0, 0%, 100%, .2);*/
/*    border-radius: 4px;*/
/*}*/

/*.gpt-select2-select .select__menu {*/
/*    color: rgb(255 255 255/1) !important;*/
/*    background-color: rgb(40, 41, 51) !important;*/
/*}*/

.gpt-select2-select .select__menu {
    top: -100%;
    transform: translateY(-100%);
    bottom: auto;
}

.right-sidebar {
    /*padding: 0.5rem 1rem;*/
    font-size: 14px;
}

.right-sidebar .dropdown-item {
    font-size: 14px;
}

.router-wrap {
    height: 100%;
    width: 100%;
    overflow: auto;
}

.sidebar-collapse-btn {
    color: white;
    z-index: 1;
    position: absolute;
    top: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1rem;
    width: 21px;
    height: 21px;
    background-color: #0ca20c;
    border-radius: 4px;
    border: rgb(8, 114, 8);
    cursor: pointer !important;
}

.sidebar-collapse-btn:hover {
    background-color: rgba(12, 162, 12, 0.5);
}

.collapse-left-bar-btn {
    left: calc(100% + 15px);
}

.collapse-right-bar-btn {
    right: calc(100% + 15px);
}

.messages pre, .messages code {
    overflow: auto;
    max-width: 100%;
    width: 100%;
    display: inline-block;
    white-space: pre-wrap;
}

@media only screen and (max-width: 991px) {
    .left-sidebar, .right-sidebar {
        display: block !important;
        position: absolute !important;
        z-index: 4;
    }

    .left-sidebar, .right-sidebar {
        max-width: 200px;
    }

    .right-sidebar {
        right: 0;
        height: 100%;
    }

    .left-sidebar {
        left: 0;
        height: 100%;
    }

    /*.left-sidebar-mobile-background {*/
    /*    left: 0;*/
    /*    top: 0;*/
    /*    position: absolute;*/
    /*    display: block;*/
    /*    width: 150%;*/
    /*    height: 100%;*/
    /*    background-color: rgba(32, 33, 35, 0.5);*/
    /*}*/

}

.custom-scroll::-webkit-scrollbar {
    width: 6px;
}

.custom-scroll::-webkit-scrollbar-track {
    background-color: rgb(52 53 65/1);
}

.custom-scroll::-webkit-scrollbar-thumb {
    background-color: #d1d5db;
    border-radius: 10px;
}

.history-wrap {
    height: inherit;
    overflow-y: scroll;
}

.copy-button:hover {
    cursor: pointer;
    color: hsl(0, 4%, 68%);
}

.copy-button:active {
    transform: scale(0.95);
}

.pagination li button {
    background-color: #202123 !important;
    color: white !important;
    border: 1px solid hsla(0, 0%, 100%, .2) !important;
}

