.assistant .created .loadbox,
.assistant .created .chatbox,
.assistant .created .deletebox {
    cursor: pointer;
}

.custom-file-input .uploaded-file-main-span {
    position: relative;
    top: 10px;
    border-radius: 10px;
    margin-right: 7px;
}

.custom-file-input .uploaded-file-main-span .uploaded-file-span-value {
    position: relative;
}

.custom-file-input .uploaded-file-main-span .uploaded-file-span-icon {
    position: relative;
    left: 10px;
    cursor: pointer;
}

.selected-source .form-check-label {
    user-select: none;
    -ms-user-select: none;
    -moz-user-select: none;
    -webkit-user-select: none;
}

@keyframes spinner {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.loading-spinner {
    width: 50px;
    height: 50px;
    border: 10px solid #f3f3f3;
    /* Light grey */
    border-top: 10px solid #383636;
    /* Black */
    border-radius: 50%;
    animation: spinner 1.5s linear infinite;
}

.parentDisable {
    position: fixed;
    top: 0;
    left: 0;
    background: #666;
    opacity: 0.8;
    z-index: 998;
    height: 100%;
    width: 100%;
    z-index: 9999;
}

.overlay-box {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    background: #666666;
    opacity: 0.8;
    z-index: 9999;
}

.document_loading .switch .form-check.form-switch input {
    height: 20px;
    display: block !important;
}

.chat_details .chat-message.user-message.last-message {
    border-bottom: unset !important;
}

.modebar-container {
    display: none !important;
}

.upload-file-list ul li .other_params {
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
    letter-spacing: 0.2px;
    color: #0a0a0a;
}

.custom-file-input .uploaded-file-span {
    position: relative;
    top: 7px;
}

.textarea-container {
    position: relative;
}

.textarea-container button {
    background: unset;
    position: absolute;
    top: 2px;
    right: 12px;
    border: unset;
}

.input-container {
    position: relative;
}

.input-container button {
    background: unset;
    position: absolute;
    top: 7px;
    right: 12px;
    border: unset;
}

.api-key-loading .items input[type="text"] {
    background: #ffffff;
    border: 1px solid #c5c8cf;
    border-radius: 30px;
    padding: 10px 25px;
    width: 100%;
    font-style: normal;
    font-weight: 400;
    font-size: 12px;
    line-height: 20px;
    letter-spacing: 0.2px;
    color: #8b909e;
}

.nav_help .title a {
    margin-bottom: 0;
    font-style: normal;
    font-weight: 500;
    font-size: 14px;
    line-height: 19px;
    letter-spacing: 0.2px;
    color: #0a0a0a;
    text-decoration: none;
    white-space: nowrap;
}

.accountPage {
    padding: 35px;
    border: 1px solid;
    border-radius: 7px;
}

.accountPage #accountUsageProgress {
    width: 100%;
    background-color: #e6f6fc;
    border: 2px solid #009dd9;
    border-radius: 7px;
    height: 45px;
}

.accountPage #accountUsageProgress #accountUsageProgressBar {
    height: 42px;
    background-color: #009dd9;
    text-align: center;
    line-height: 42px;
    color: black;
    border-radius: 4px;
}

.chat-button {
    background: none;
}

#innovatics-chat-container img {
    height: 80px !important;
}

.custom-file-input {
    width: 95%;
}

.accountBtns {
    text-align: right;
}

.accountBtns #upgradeAccount {
    margin-right: 10px;
    cursor: not-allowed;
    pointer-events: none;
}

@media (max-width: 767px) {
    .accountBtns {
        text-align: center !important;
        display: flex;
        gap: 10px;
        flex-direction: column;
    }

    .accountBtns #upgradeAccount {
        margin-right: unset !important;
        width: 100%;
    }

    .accountBtns #customerPortal {
        margin-top: 10px !important;
        width: 100%;
    }
}

@media (min-width: 768px) and (max-width: 987px) {
    .accountBtns {
        display: flex;
        flex-direction: column;
        gap: 10px;
    }

    .accountBtns #upgradeAccount {
        width: 100%;
    }

    .accountBtns #customerPortal {
        width: 100%;
    }
}
