/* HTML: <div class="loader"></div> */
.loader-dots {
    width: 35px;
    padding: 8px;
    aspect-ratio: 1;
    border-radius: 50%;
    background: #7064e9;
    --_m: conic-gradient(#0000 10%, #000), linear-gradient(#000 0 0) content-box;
    -webkit-mask: var(--_m);
    mask: var(--_m);
    -webkit-mask-composite: source-out;
    mask-composite: subtract;
    animation: l3 1s infinite linear;
}

@keyframes l3 {
    to {
        transform: rotate(1turn);
    }
}

.img-box {
    text-align: end;
}

.img-box img {
    width: 200px;
}

.img-box button {
    padding: 0 15px !important;
    /* font-size: 12px !important; */
}

.image-preview {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: start;
    padding-left: 20px;
}

.image-preview .img-box {
    margin-bottom: 15px !important;
    max-width: 170px !important;
}

.image-preview .img-box button {
    position: absolute;
    left: 145px;
    top: 10px;
    font-size: 16px !important;
}

.file-box {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.file-box button {
    outline: none;
    background: transparent;
    color: white;
    border: none;
    font-size: 18px;
    text-align: center;
}

.rbt-dashboard-content.homework-dashboard {
    padding-top: 80px !important;
}

.rbt-static-bar.homework-bar {
    width: 100% !important;
    position: static !important;
    /* max-width: 1078px !important; */
}


.search-question {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    padding: 0 8px;
}

.prompt-box {
    flex: 1 1 calc(25% - 10px);
    /* Distribute equally, leaving some space between */
    box-sizing: border-box;
    text-align: center;
    padding: 10px;
    border-radius: 10px;
    cursor: pointer;
    transition: all .2s;
}

.search-prompt {
    display: flex;
    align-items: center;
    justify-content: center;
}

.search-prompt img {
    width: 24px;
    height: 24px;
}

.search-prompt span {
    margin-left: 8px;
    font-size: 14px;
    max-width: 100px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Media query for screens smaller than 968px */
@media (max-width: 968px) {
    .search-prompt span {
        display: none;
        /* Hide the text */
    }

    .prompt-box {
        flex: 0 0 auto;
        /* Minimal space for non-active */
    }

    .prompt-box.active {
        flex: 1 1 50%;
        /* Full width for active */
    }

    .prompt-box.active .search-prompt span {
        display: inline-block;
        /* Show text for active prompt-box */
    }
}

@media (max-width: 1500px) and (min-width: 1200px) {
    .search-prompt span {
        display: none;
    }
}

.search-question .prompt-box.active {
    background: linear-gradient(94deg, #dd00ac 10.66%, #7130c3 53.03%, #410093 96.34%, rgba(255, 0, 238, 0.26) 191.41%, rgba(255, 59, 212, 0) 191.43%);
    background-size: 200% auto;
    color: var(--color-white);
}

.these-content {
    width: 100%;
    padding: 20px;
    display: flex;
    align-items: center;
    cursor: pointer;
    transition: all .2s;
    border-radius: 8px;
    font-size: 14px;
    line-height: 22px;
}

.these-content img {
    width: 34px;
    margin-right: 15px;
}

.chat-box.home-bar {
    padding: 10px 0 !important;
}

body.active-light-mode .logo-active-light-mode,
body.active-light-mode .boxed-logo-dark {
    display: none;
}

body.active-light-mode .logo-dark,
body.active-light-mode .boxed-logo-light {
    display: block;
}

.chat-box.d-q {
    margin-bottom: 15px !important;
}

.content-page.home-question {
    padding-top: 60px !important;
    margin-top: 10px;
}

.content-page.home-question h4 {
    margin-bottom: 10px !important;
}

.rbt-dashboard-content.homework-answer {
    padding-top: 30px !important;
}

.rbt-dashboard-content.homework-answer .content-page {
    padding: 0 30px;
}

@media only screen and (max-width: 767px) {
    .rbt-dashboard-content.homework-answer .content-page {
        padding: 0 20px;
    }
}

.right-side-boxes {
    padding: 15px;
}

.question-box {
    border-radius: 8px;
    margin-top: 12px;
    padding: 15px;
}

.question-box .chat-content a {
    font-size: 14px;
    text-decoration: none;
    cursor: pointer;
}

body.active-light-mode .rbt-right-side-panel.homework {
    background: var(--color-white);
    border: 2px solid #f1f5f9;
}

.sign-up-box .signup-box-bottom .signup-box-content form .right-icon {
    position: absolute;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
}

.remember-me {
    padding-left: 0 !important;
    padding-top: 22px !important;
}

.forget-text a {
    font-size: 15px !important;
}

@media only screen and (max-width: 500px) {
    .remember-box {
        flex-direction: column !important;
        align-items: self-start;
    }

    .remember-box .forget-text {
        align-self: flex-end !important;
        margin-top: 5px !important;
    }
}

.sign-up-box {
    width: 470px !important;
}

.tos-box {
    margin-left: 20px;
}

.tos-box .form-check-input {
    padding: 0 !important;
    opacity: 1 !important;
}

.tos-box .form-check-label {
    padding-left: 0 !important;
}

.tos-box .form-check-label::before,
.tos-box .form-check-label::after {
    content: none !important;
}

.rbt-user-menu-list-wrapper {
    .user-list-wrapper {
        margin: 0 -12px;
        list-style: none;
        padding: 0;

        li {
            margin: 0;

            button {
                width: 100%;
                display: flex;
                padding: 5px 12px;
                align-items: center;
                border-radius: 3px;
                color: var(--color-body);
                border: none;
                background: none;

                &.active {
                    color: var(--color-primary);
                    background: var(--color-dark);
                }

                img,
                i {
                    max-height: 17px;
                    margin-right: 7px;
                }

                i {
                    font-size: 17px;
                }

                span {
                    font-size: 14px;
                }
            }

            &:hover {
                button {
                    color: var(--color-primary);
                    background: var(--color-dark);
                }
            }
        }
    }
}

.submission .left-icons,
.submission .right-icons {
    top: auto !important;
    bottom: 0;
}

.chat-status {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 30px;
}

.chat-status h4 {
    margin-bottom: 0px;
}

.rainbow-badge-card.answered {
    background: #269b24;
}

.rainbow-badge-card.pending {
    background: #c1980f;
}

.rainbow-badge-card.closed {
    background: #cd1111;
}

.chat-box.user-reply {
    margin-left: auto;
}

.chat-box.admin-reply {
    margin-right: auto;
}

.chat-box.admin-reply,
.chat-box.user-reply {
    max-width: 60%;
}

@media only screen and (max-width: 767px) {

    .chat-box.admin-reply,
    .chat-box.user-reply {
        max-width: 90%;
    }
}

.image-preview.alert {
    justify-content: center !important;
}

.image-preview .alert-box {
    width: 100%;
    max-width: 60%;
}

.super-answer-box {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.super-answer-box form {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
}

.super-answer-box form select {
    font-size: 14px;
    size: 20px;
    height: 40px;
    line-height: 15px;
    border-radius: 10px;
}

.password-input input {
    position: relative;
}

.password-input .right-icon {
    position: absolute;
    /* top: 34%; */
    right: 45px;
    transform: translateY(-134%);
}

.submission .img-box button {
    top: 7% !important;
    right: unset !important;
    left: 1% !important;
}

.alert-box {
    max-width: 60% !important;
}

@media only screen and (max-width: 767px) {
    .alert-box {
        margin: auto;
        max-width: 90% !important;
    }
}

.box-chat {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

@media only screen and (max-width: 767px) {
    .chat-status {
        row-gap: 20px;
        align-items: flex-start;
        flex-direction: column-reverse;
    }

    .box-chat {
        align-self: flex-end;
    }
}

.chat-box-list.scroll-none {
    overflow-y: unset !important;
    max-height: max-content !important;
}

.chat-box a {
    color: var(--color-secondary-gradient-start) !important;
}

.last-message {
    margin-bottom: 40px !important;
}

#search-form {
scrollbar-width: none;
-ms-overflow-style: none;
}