.editor-footer,
.result-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    /* background: #fff; */
    border-radius: 0 0 16px 16px;
    border-top: 1px solid #EBEBEB;
    min-height: 70px;
    /* z-index: 100000; */
}

.editor-footer {
    padding: 15px 16px;
}

.editor.upload-area,
.result {
    display: flex;
    flex-direction: column;
    position: relative;
}

.js-btn-text {
    font-size: 16px;
    line-height: 24px;
    font-weight: 500;
}

#js-result {
    min-height: 250px;
    padding: 20px;
    flex-grow: 1;
    font-size: 18px;
    font-weight: 400;
    line-height: 28px;
    display: block !important;
    background-color: #FDFDFE;
}

#js-result:empty::before {
    content: "O texto reescrito aparecerá aqui...";
    color: #D1D5DC;
    line-height: 24px;
    font-size: 16px;
    font-weight: 400;
    display: block;
    cursor: text;
}

.result-loader:not(.d-none)+#js-result:empty::before {
    content: none;
}

.upload-btn,
.paste-btn {
    border: none;
    background: none;
    margin: 4px 3px;
}

.upload-btn label,
.paste-btn label {
    border: 1px solid #E1E4E8;
    background: none;
    cursor: pointer;
    font-size: 14px;
    color: #262A2E;
    margin: 0;
}

.result {
    border-left: 1px solid #F0F2F5;
}

.js-result b {
    font-size: 18px;
}

#input::placeholder {
    color: #D1D5DC;
    line-height: 24px;
    font-size: 16px;
    font-weight: 400;
    padding-top: 2px;
}

.tool {
    box-shadow: 0px 20px 24px -8px rgba(0, 0, 0, 0.08);
    margin-top: 0;
}

.tool .result {
    background-color: unset;
}

.tool .editor .drag-n-drop div {
    color: #8E97A5;
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
}

.tool :is(.editor, .result, .result-stats) {
    border-bottom: 0;
}

.tool-section {
    background: #F8F9FB;
    padding: 50px 0 80px !important;
}

#input {
    border-bottom: none !important;
    border-radius: 14px 14px 0 0 !important;
    min-height: 250px;
    flex-grow: 1;
    font-size: 16px;
    font-weight: 400;
    line-height: 28px;
}

#main_tool_btn {
    background: #FFBE3C;
    color: #262A2E;
    font-weight: 600;
    padding: 8px 16px;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    gap: 6px;
}

.choice-row {
    gap: 16px;
}

#main_tool_btn:hover {
    background: #ffa810;
}

.word-count {
    font-size: 18px;
    line-height: 20px;
}

.word-count-item {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.word-count-item .js-word-count {
    font-size: 18px;
    font-weight: 700;
    color: #262A2E;
}

.word-count-item .word-count-type {
    font-size: 14px;
    color: #8E97A5;
    display: flex;
    align-items: center;
    gap: 4px;
}

.word-count-circle {
    width: 8px;
    height: 8px;
    background: #FFB83D;
    border-radius: 50%;
    display: inline-block;
}

.submit-button {
    margin: 0 !important;
    width: auto !important;
    position: static !important;
}

.js-before-result-btns {
    display: contents;
}

.text-muted {
    color: #8E97A5;
    font-size: 14px;
    line-height: 20px;
    font-weight: 400;
}

.input-upload-area {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.tool :is(.editor, .result, .result-stats) {
    height: 448px;
}

.premium_mode::before {
    background: linear-gradient(97deg, rgba(255, 255, 255, 0.04) 0.07%, #FFA51B 34.44%, #FFD700 69.04%, rgba(255, 255, 255, 0.07) 100.39%);

}

#reescrever_tool {
    background: white;
    border-radius: 16px;
}

.choice:hover {
    background-color: #54556E;
    color: #ffffff;
}

.js-choice.active {
    background-color: #ffffff !important;
    color: #262A2E !important;
}

.result-loader {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
    text-align: center;
    width: 100%;
    z-index: 10000;
}

.result-loader .spinner {
    width: 32px;
    height: 32px;
    border: 3px solid transparent;
    border-top: 3px solid #FFBE3C;
    border-right: 3px solid #FFBE3C;
    border-radius: 50%;
    animation: rotate 0.8s linear infinite;
    margin-bottom: 12px;
}

.result-loader p {
    color: #A0A4B0;
    font-size: 16px;
    font-weight: 400;
}

.js-after-result-btns {
    padding: 0 10px 4px 10px;
}

.ouput_btn_container {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 16px;
}

.line_seperator {
    height: 24px;
    width: 1px;
    background-color: #EBEBEB;
}
.feedback-thanks, .feedback-form{
    right: unset;
}
@keyframes rotate {
    from {
        transform: rotate(0deg);
    }

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


@media only screen and (max-width: 800px) {
    #input {
        min-height: 350px;
    }

    .editor-footer {
        border-bottom: 1px solid #EBEBEB;
        border-radius: 0;
    }

    .result-footer {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }

    .ouput_btn_container {
        width: 100%;
        display: flex !important;
        justify-content: space-evenly;
        align-items: center;
        border-top: 1px solid #EBEBEB;
    }

    .ouput_btn_container .line_seperator {
        display: block;
    }

    .js-after-result-btns {
        width: 100%;
    }

    .word-counter-flex-inner {
        align-items: center;
        gap: 6px;
        flex-direction: row;
    }

    .editor-footer,
    .result-footer {
        border-top: 0;
    }
}