.full-name {
    font-size: 12px;
}

.uploaded_tool {
    margin: 32px 0 16px 0;
}

.uploaded_tool_title {
    font-size: 16px;
    font-weight: 500;
    line-height: 24px;
    color: #1e223f;
    text-align: center;
}

.uploaded_tool_title_span {
    color: #4899ff;
    font-size: 16px;
}

.uploaded_tool_title_span:hover {
    color: #4fabf1;
    transition: 0.2s;
}

.browse-btn-second {
    color: #1e223f;
    text-align: left;
    font-size: 18px;
    font-style: normal;
    gap: 8px;
    font-weight: 500;
    line-height: normal;
    cursor: pointer;
}

.tool-upload-btns {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.uploaded_tool .tool-inner {
    box-shadow: 0px 2px 6px 0px #0000000a;
    border: 2px dashed #4899ff91;
    background-color: #f6f7fb80;
    border-radius: 12px;
    padding: 24px;
    min-height: 72px;
    max-height: 72px;
    transition: all 0.15s ease-in-out;
}

.upload-area:hover {
    background: #f5f7fb;
    border-color: #4899ffcc;
}

.button-group {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
}

.open-camera-btn,
.choose-file-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    border: 1px solid #e4e8f1;
    padding: 8px 16px;
    border-radius: 8px;
    min-width: 160px;
    background: transparent;
    cursor: pointer;
}

.open-camera-btn span,
.choose-file-btn span {
    font-size: 16px;
    line-height: 24px;
    font-weight: 400;
    color: #1e223f;
}

.restart_btn {
    background: #1e223f !important;
    color: #ffffff !important;
}

.btn {
    background: #e7ebf3;
    color: #1e223f;
}

.restart_btn,
.btn {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px 16px;
    gap: 8px;
    border-radius: 8px;
    border: none;
    font-size: 16px;
    line-height: 24px;
    white-space: nowrap;
    font-weight: 400;
    transition: all 0.2s ease-in-out;
}

.restart_btn:hover {
    background: #3f3e54 !important;
}

.btn:hover {
    background: #f2f4f9;
    cursor: pointer;
}

.restart_btn:active,
.btn:active {
    background: #e7ebf3;
}

.btn-grey {
    border-radius: 6px;
    padding: 6px 8px;
    background-color: #f2f4f9;
    border: none;
    cursor: pointer;
    font-size: 14px;
    line-height: 20px;
    color: #1e223f;
    max-height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease-in-out;
}

.btn-grey:hover {
    background-color: #dee6f4;
}

.btn-blue.active, .restart_btn.active {
    opacity: 0.5;
    cursor: not-allowed;
}

.selected-result {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 1px solid #e4e8f1;
    background: #fbfbfb;
    border-radius: 16px;
    max-width: 100%;
    width: 100%;
}

.selected-result-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 16px;
    padding-bottom: 8px;
}

.selected-result-head .heading {
    font-weight: 700;
    font-size: 16px;
    line-height: 22px;
    color: #1e223f;
}

.count-uploaded-files {
    font-family: "Roboto", sans-serif;
    color: #85878e;
    font-size: 14px;
    line-height: 20px;
    font-weight: 400;
}

.multiple-img-preview {
    display: flex;
    flex-direction: column;
    position: relative;
    gap: 8px;
    width: 100%;
    padding: 4px 16px;
    max-height: 644px;
    overflow-y: scroll;
}

.multiple-img-preview::-webkit-scrollbar {
    width: 4px;
}

.multiple-img-preview::-webkit-scrollbar-thumb {
    background: #c6cad3 !important;
    border-radius: 16px;
}

.multiple-img-preview::-webkit-scrollbar-track {
    background: transparent !important;
}

.js-single-img-preview {
    border-radius: 12px;
    background: #ffffff;
    display: flex;
    flex-direction: column;
}

.js-preview-head {
    min-height: 90px;
    border-radius: 12px;
    background: #ffffff;
    box-shadow: inset 0px 0px 0px 1px #e4e8f1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 8px 16px;
}

.js-preview-head.editing-mode {
    min-height: 48px;
    border-bottom-left-radius: 0px;
    border-bottom-right-radius: 0px;
}

.js-preview-head.editing-mode .left-preview {
    max-height: 32px;
}

.left-preview {
    max-height: 74px;
}

.left-preview img {
    max-width: 74px;
    max-height: 74px;
    object-fit: cover;
    border-radius: 8px;
}

.js-preview-head.editing-mode .left-preview img {
    max-width: 32px;
    max-height: 32px;
    object-fit: cover;
    border-radius: 8px;
}

.js-preview-head .center-preview {
    justify-content: space-between;
    text-align: center;
    width: 100%;
    display: flex;
    gap: 16px;
}

.js-preview-head .center-preview .center-preview-inner {
    display: flex;
    flex-direction: column;
    width: 100%;
    justify-content: center;
    gap: 0.324rem;
    transition: max-height 0.2s ease;
}

.center-preview-file {
    text-align: left;
    display: flex;
    gap: 0.324rem;
    align-items: center;
}

.center-preview-file-uploadIcon {
    color: #02c24f;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    text-align: left;
    line-height: 16px;
}

.img-preview-name {
    color: #1e223f;
    font-size: 14px;
    font-style: normal;
    font-weight: 500;
    line-height: 20px;
}

.img-preview-size {
    color: #7a7b8e;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    display: none;
}

.right-preview {
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
}

.no-response-title {
    color: #de1a1a;
    font-size: 14px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
}

.no-response-des {
    color: #252a3e;
    font-size: 12px;
    font-style: normal;
    font-weight: 400;
    line-height: 24px;
    letter-spacing: 0.18px;
}

.result-action-btn {
    display: flex;
    align-items: center;
    gap: 4px;
    font-weight: 400;
    font-size: 12px;
    line-height: 18px;
    letter-spacing: 0%;
    color: #1e223f;
}

.result-action-btn img {
    max-width: unset;
}

.processing_text {
    font-size: 12px;
    line-height: 18px;
    color: #1e223f;
}

.processing-icon {
    animation: rotateIcon 1s linear infinite;
}

@keyframes rotateIcon {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

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

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

.percentage,
.percentage span {
    color: #7a7b8e;
    font-size: 14px;
    margin-top: 10px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    text-align: right;
}

#editor {
    border: 1px solid #e4e8f1;
    border-radius: 10px;
}

#editor h1 {
    text-align: unset;
}

.resulted-editor-wrapper #editor {
    border: 1px solid #e4e8f1;
    border-top: 0px;
    border-bottom-left-radius: 12px;
    border-bottom-right-radius: 12px;
    overflow: hidden;
}

.resulted-editor-wrapper #editor .toolbar {
    border-top-left-radius: 0px;
    border-top-right-radius: 0px;
}

.delete-text {
    position: absolute;
    top: 80px;
    right: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.button-action-area .text-to-word-delete {
    top: 50% !important;
    transform: translateY(-50%) !important;
    right: 0px !important;
    height: 32px;
    width: 32px;
}

.word-count {
    font-size: 14px;
    line-height: 20px;
    color: #85878e;
}

.choose-plan-desc {
    font-size: 14px;
    font-weight: 500;
    line-height: 24px;
    color: #0d0c22;
}

.choose-plan-desc span {
    line-height: 24px;
}

.prem_feedback_main {
    position: static;
    display: none;
}

.below-tool {
    display: flex;
    justify-content: space-between;
    position: relative;
    bottom: 0;
    align-items: center;
    width: 100%;
    padding: 8px 16px 16px 16px;
}

#captcha {
    position: absolute;
    bottom: 0;
    z-index: 99999;
    left: 0;
    right: 0;
    text-align: right;
}

.mobile-layout {
    display: none;
}

@media (max-width: 768px) {
    .tool,
    .selected-result {
        border-radius: 0px;
    }

    .tool-container {
        padding: 0px !important;
    }

    .tool-upload-btns {
        display: none;
    }

    .uploaded_tool {
        margin-left: 16px;
        margin-right: 16px;
    }

    .uploaded_tool .tool-inner {
        box-shadow: 0px 2px 16px 0px #0000000a;
        border: 2px solid #e4e8f1;
        border-style: dashed;
        height: 72px;
        padding: 16px;
        min-height: 72px;
    }

    .mobile-layout {
        display: flex;
    }

    .content-section {
        display: block;
        padding: 0;
    }

    .selected-result-head {
        flex-direction: row;
        gap: 10px;
    }

    .js-preview-head {
        min-height: 48px;
        padding: 8px;
    }

    .js-preview-head .center-preview {
        flex: 5;
    }

    .center-preview-file {
        flex-direction: column;
        align-items: baseline;
    }

    .center-preview-file-uploadIcon {
        font-size: 11px;
    }

    .left-preview {
        max-height: 32px;
    }

    .left-preview img {
        width: 32px;
        height: 32px;
        object-fit: cover;
    }

    .img-preview-name {
        font-weight: 400;
        font-size: 12px;
        line-height: 16px;
    }

    .right-preview .delete-action,
    .deleteIt {
        margin: 0;
    }

    .delete-text {
        top: 75px;
        right: 25px;
    }

    .text-to-word-delete {
        display: none;
    }

    .button-action-area {
        display: flex;
        justify-content: center;
        align-items: center;
        width: fit-content;
        left: unset;
        transform: unset;
        right: 0px;
        position: absolute;
        gap: 16px;

        * {
            position: static !important;
        }

        .text-to-word-delete:not(.d-none) {
            position: static !important;
            transform: unset !important;
            display: flex !important;
            justify-content: center;
            align-items: center;
            height: 32px;
            width: 32px;
            cursor: pointer;

            svg {
                height: 28px !important;
                width: 28px !important;
            }
        }
    }

    .button-action-area:has(.text-to-word-delete.d-none) {
        right: unset;
        left: 50%;
        transform: translateX(-50%);
    }

    .prem_feedback_main {
        justify-content: center;
        margin-top: 30px;
    }

    .feedback-prem {
        flex-direction: column !important;
        gap: 12px;
    }
}

@media only screen and (max-width: 450px) {
    #captcha {
        right: 10% !important;
    }

    .processing_text {
        display: none;
    }
}

@media (max-width: 375px) {
    .below-tool {
        gap: 5px;
    }

    #jsShadowRoot {
        width: 100%;
        display: flex;
        justify-content: center;
    }
}

.text-to-word {
    .editor-skeleton {
        width: 100%;
        margin: 0 auto;
    }

    .editor-skeleton {
        overflow: hidden;
    }

    .editor-skeleton .es-toolbar {
        display: flex;
        align-items: center;
        background: #fff;
        height: 48px;
        padding-left: 8px;
        padding-right: 8px;
        border-top-left-radius: 10px;
        border-top-right-radius: 10px;
        border-bottom: 1px solid #eaeaeb;
        vertical-align: middle;
        overflow: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: thin;
    }

    .editor-skeleton .es-toolbar::-webkit-scrollbar {
        height: 6px;
    }

    .editor-skeleton .es-toolbar::-webkit-scrollbar-thumb {
        background: #ccc;
        border-radius: 3px;
    }

    .editor-skeleton .es-content {
        background: #fff;
        padding: 8px 46px 40px;
        min-height: 350px;
        border-bottom-left-radius: 10px;
        border-bottom-right-radius: 10px;
    }

    .editor-skeleton .es-chip {
        display: inline-block;
        flex-shrink: 0;
        width: 20px;
        height: 20px;
        margin: 0 6px;
        border-radius: 4px;
        background: #eee;
        background-image: linear-gradient(90deg, #ececec 0, #f6f6f6 40px, #ececec 80px);
        background-size: 600px 100%;
        background-repeat: no-repeat;
        animation: es-shimmer 1.3s ease-in-out infinite;
    }

    .editor-skeleton .es-fmt {
        margin: 0 11px;
    }

    .editor-skeleton .es-color {
        width: 40px;
        margin: 0 11px;
    }

    .editor-skeleton .es-input {
        width: 32px;
        margin: 0;
    }

    .editor-skeleton .es-dd,
    .editor-skeleton .es-insert,
    .editor-skeleton .es-align {
        width: 94px;
    }

    .editor-skeleton .es-sep {
        flex-shrink: 0;
        width: 1px;
        height: 32px;
        margin: 0 2px;
        background: #eaeaeb;
    }

    .js-single-img-preview {
        background: #fff;
        box-shadow: 0px 0px 0px 1px #e4e8f1;

        #editor {
            border: 0px !important;
            border-top: 1px solid #e4e8f0 !important;
            border-radius: 0px;
        }

        .js-preview-head {
            box-shadow: none !important;
        }

        .resulted-editor-statusbar {
            padding: 8px 18px;
            display: flex;
            justify-content: start;
            align-items: center;

            span {
                font-weight: 400;
                font-size: 12px;
                line-height: 16px;
                color: #85878e;
            }
        }
    }

    .ContentEditable__root {

        h1,
        h2,
        h3,
        h4,
        h5,
        h6 {
            span {
                font-size: revert;
                font-weight: revert;
                line-height: normal !important;
            }
        }
    }

    @keyframes es-shimmer {
        0% {
            background-position: -120px 0;
        }

        100% {
            background-position: 480px 0;
        }
    }

    @media (prefers-reduced-motion: reduce) {
        .editor-skeleton .es-chip {
            animation: none;
        }
    }

    @media screen and (max-width: 1025px) {
        .editor-skeleton .es-content {
            padding-left: 8px;
            padding-right: 8px;
        }
    }

    @media screen and (max-width: 768px) {
        .editor-skeleton .es-sep {
            display: none;
        }
    }
}
