.email-writer-tool {
    display: flex;
    background-color: #f8f8f8;
    padding: 1rem 1rem 4rem;
    border-radius: 5px;
    gap: 1rem;
}

textarea {
    resize: none;
    border: 1px solid #3acd99 !important;
    box-shadow: 0 5px 15px 0 #3acd9933 !important;
}

.tox-tinymce {
    border: 1px solid #3acd99 !important;
    box-shadow: 0 5px -1px 0 #3acd9933 !important;
    border-bottom: none !important;
    border-bottom-right-radius: 0;
    border-bottom-left-radius: 0;
}

input,
.output-div {
    border-radius: 10px;
    border: 1px solid #e2e2e2;
}

.email-writer-tool > .left__email-writer {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 40%;
    margin: 0 auto;
    padding-right: 1rem;
    border-right: 1px solid #e2e2e2;
}

.left__email-writer,
.right__email-writer {
    flex: 1;
}

#jsShadowRoot {
    padding: 12px 5px;
}

.left__email-writer > div {
    display: flex;
    flex-direction: column;
}

.generate-btn {
    width: 70%;
    border-radius: 10px;
    color: #fff;
    background-color: #3acd99;
    border: unset;
    padding: 10px;
}

.right__email-writer {
    display: flex;
    flex-direction: column;
    gap: 10px;
    position: relative;
}

.output-div {
    background-color: #fff;
    padding: 10px;
    overflow: auto;
    height: 320px;
    border: 1px solid #3acd99;
    box-shadow: 0 5px 15px 0 #3acd9933;
    border-bottom: none;
    border-bottom-right-radius: 0;
    border-bottom-left-radius: 0;
}

.skeleton-box {
    display: inline-block;
    height: 1em;
    position: relative;
    overflow: hidden;
    background-color: #f8f8f8;
    border-radius: 4px/6.7px;
}

.skeleton-box::after {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    -webkit-transform: translateX(-100%);
    -ms-transform: translateX(-100%);
    transform: translateX(-100%);
    background-image: -webkit-gradient(
        linear,
        left top,
        right top,
        color-stop(0, rgba(255, 255, 255, 0)),
        color-stop(20%, rgba(255, 255, 255, 0.2)),
        color-stop(60%, rgba(255, 255, 255, 0.5)),
        to(rgba(255, 255, 255, 0))
    );
    background-image: -o-linear-gradient(
        left,
        rgba(255, 255, 255, 0) 0,
        rgba(255, 255, 255, 0.2) 20%,
        rgba(255, 255, 255, 0.5) 60%,
        rgba(255, 255, 255, 0)
    );
    background-image: linear-gradient(
        90deg,
        rgba(255, 255, 255, 0) 0,
        rgba(255, 255, 255, 0.2) 20%,
        rgba(255, 255, 255, 0.5) 60%,
        rgba(255, 255, 255, 0)
    );
    content: "";
}

.custom-dropdown {
    position: relative;
}

.custom-select {
    border: 1px solid #e2e2e2;
    background-color: #fff;
    display: flex;
    padding: 10px;
    align-items: center;
    border-radius: 5px;
    z-index: 1;
    cursor: pointer;
}

.custom-select div:first-child {
    flex: 3;
}

.custom-select div:last-child {
    padding: 0 0 0 10px;
    border-left: 1px solid #eee;
}

.custom-select > div:last-child img {
    width: 10px;
}

.custom-options {
    position: absolute;
    left: 0;
    right: 0;
    top: 45px;
    background-color: #fff;
    display: flex;
    flex-direction: column;
    border-radius: 10px;
    z-index: 999;
    padding: 5px;
    border: 1px solid #ccc;
    display: none;
}

.custom-options div {
    padding: 5px 10px;
    cursor: pointer;
}

.custom-options div:hover {
    background: #ccc3;
    border-radius: 8px;
}

.custom-options div:last-child {
    border-bottom: unset;
}

.shadowBox {
    overflow: visible;
}

.loading-overlay {
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    top: 0;
    height: 95%;
    margin-top: 22px;
    z-index: 1111;
}

.lds-dual-ring {
    top: 0;
}

@media (max-width: 768px) {
    .generate-btn {
        width: 100%;
        margin-bottom: 20px;
    }
}

#output::-webkit-scrollbar {
    width: 13px;
    cursor: pointer;
}

#output::-webkit-scrollbar-track {
    background-color: #0000;
    cursor: pointer;
}

#output::-webkit-scrollbar-thumb {
    background-color: #00b698;
    border-radius: 30px;
    border: 4px solid transparent;
    background-clip: content-box;
    cursor: pointer;
}

.main-outputdiv {
    /* max-height: 310px; */
    flex: 1;
}

.output-footer {
    background-color: #fff;
    padding: 10px;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    border: 1px solid #3acd99;
    border-top: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 50px;
}

.box-icon {
    width: 30px;
    height: 30px;
    background-color: #efeeee;
    border-radius: 3px;
    color: #3c5057;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-margin-end: 10px;
    margin-inline-end: 10px;
    cursor: pointer;
    font-size: 18px;
    display: flex;
}

.wordsCount {
    font-size: 16px;
    color: #3c5057;
    gap: 5px;
    display: none;
}

.tool-box-icon {
    display: flex;
    gap: 12px;
    display: none;
}

.ad-btn-row {
    margin: 0;
}

.option__row {
    flex-direction: row !important;
}

.option__row .option__row_2,
.option__row .option__row_1 {
    width: 100%;
}

.rollover__div {
    max-width: 35% !important;
}

.rollover__div .option__row {
    flex-direction: column !important;
}

[data-tooltip] {
    position: relative;
    z-index: 10;
}

[data-tooltip]:hover:after,
[data-tooltip]:hover:before {
    visibility: visible;
    opacity: 1;
}

[data-tooltip]:hover:before {
    -webkit-transition-delay: 0.3s;
    -o-transition-delay: 0.3s;
    transition-delay: 0.3s;
    -webkit-transform: translate(-50%, -5px) scale(1);
    -ms-transform: translate(-50%, -5px) scale(1);
    transform: translate(-50%, -5px) scale(1);
}

[data-tooltip]:hover:after {
    -webkit-transition-delay: 0.5s;
    -o-transition-delay: 0.5s;
    transition-delay: 0.5s;
    -webkit-transition-duration: 0.2s;
    -o-transition-duration: 0.2s;
    transition-duration: 0.2s;
    -webkit-transform: translateX(-50%) scaleY(1);
    -ms-transform: translateX(-50%) scaleY(1);
    transform: translateX(-50%) scaleY(1);
}

[data-tooltip]:after,
[data-tooltip]:before {
    position: absolute;
    visibility: hidden;
    opacity: 0;
    left: 50%;
    bottom: calc(100% + 5px);
    pointer-events: none;
    -webkit-transition: 0.2s;
    -o-transition: 0.2s;
    transition: 0.2s;
    will-change: transform;
}

[data-tooltip]:before {
    content: attr(data-tooltip);
    padding: 8px 10px;
    min-width: 50px;
    max-width: 300px;
    width: -webkit-max-content;
    width: max-content;
    width: -moz-max-content;
    border-radius: 6px;
    font-size: 14px;
    background-color: #3b4850e6;
    background-image: -o-linear-gradient(
        60deg,
        #3b485070,
        #3b444b70,
        #3c525870
    );
    background-image: linear-gradient(30deg, #3b485070, #3b444b70, #3c525870);
    -webkit-box-shadow: 0 0 24px rgb(0 0 0/20%);
    box-shadow: 0 0 24px rgb(0 0 0/20%);
    color: #fff;
    text-align: center;
    white-space: pre-wrap;
    -webkit-transform: translate(-50%, -5px) scale(0.5);
    -ms-transform: translate(-50%, -5px) scale(0.5);
    transform: translate(-50%, -5px) scale(0.5);
}

[data-tooltip]:after {
    content: "";
    border-style: solid;
    border-width: 6px 5px 0;
    border-color: #374046e6 #0000 #0000 #0000;
    -webkit-transition-duration: 0s;
    -o-transition-duration: 0s;
    transition-duration: 0s;
    -webkit-transform-origin: top;
    -ms-transform-origin: top;
    transform-origin: top;
    -webkit-transform: translateX(-50%) scaleY(0);
    -ms-transform: translateX(-50%) scaleY(0);
    transform: translateX(-50%) scaleY(0);
}

.main-div-tool {
    border: 1px solid #e2e2e2;
    border-radius: 10px;
    margin-bottom: 10px;
    padding: 1rem 2rem;
    gap: 2rem;
    position: relative;
}

#cloudflare_container {
    position: absolute;
    bottom: 0px;
    margin: auto;
    /* right: 5px; */
    z-index: 9999;
}

.no-essay-topic {
    margin: 0 auto;
    align-items: center;
    display: flex;
    /* flex-direction: column; */
    color: #707070;
}

.no-essay-topic span {
    width: 230px;
    text-align: center;
}

.text-sec {
    background: 0 0;
}

.example-label {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.example-label button {
    background: 0 0;
    border: 1px solid #e2e2e2;
    box-shadow: 0 4px 4px 0 #0000000d;
    border-radius: 6px;
    height: 30px;
    width: 30px;
}

.essay-topic-result {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.email-topic-result {
    flex: 1;
}
@media (width <= 768px) {
    .email-writer-tool {
        flex-direction: column;
    }

    #cloudflare_container {
        position: relative;
    }

    .email-writer-tool > .left__email-writer {
        max-width: unset !important;
        margin: unset !important;
    }

    .option__row {
        flex-direction: column !important;
        flex-wrap: wrap;
    }

    .main-div-tool {
        background: 0 0 !important;
    }

    .right__email-writer {
        margin: unset;
    }
}
