#result__wrapper {
    position: relative;
}

mark {
    background: transparent;
}

#rephrase__suggestions {
    width: 0%;
    margin: auto !important;
    position: absolute;
    z-index: 0;
    max-height: 200px;
    overflow-y: auto;
    left: 50%;
    transform: translateX(-50%);
    background: #fff;
    box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
    box-shadow: 6px 6px 20px 0px #00000026;
    display: block !important;
    z-index: 999;
    border-radius: 10px;
}

#suggestion__topbar {
    display: flex;
    justify-content: space-between;
    padding: 4px;
    position: sticky !important;
    top: 0px;
    background: #fff;
    z-index: 10000;
    border-bottom: 1px solid rgba(229, 229, 229, 1);
}
p:not(:last-child) {
    margin: 0;
}
#suggestion__topbar button {
    font-size: 14px;
    font-weight: 500;
    line-height: 16px;
    /* cursor: pointer; */
    padding: 5px 8px;
    color: rgba(141, 143, 148, 1);
    background: none;
    border: none;
}

#suggestion__topbar button.active {
    background: #3a99d9;
    color: #fff;
    /* border: 1px solid lightgray; */
}

#suggestion__topbar button.active img {
    filter: brightness(0) saturate(100%) invert(100%) sepia(0%) saturate(0%)
        hue-rotate(131deg) brightness(102%) contrast(101%);
}

#rephrase__suggestions p {
    padding: 0px !important;
}

#rephrase__suggestions div {
    position: relative;
}

#rephrase__suggestions div > span {
    position: absolute;
    right: 5px;
    top: 60%;
    transform: translateY(-40%);
    font-size: 16px;
    cursor: pointer;
}

#rephrase__suggestions div > span::before {
    content: "copy";
    position: absolute;
    top: -21px;
    background-color: #fff;
    padding: 3px 5px;
    color: #000;
    border: 1px solid #000;
    font-size: 10px;
    left: -17px;
    display: none;
}

#rephrase__suggestions div > span:hover::before {
    display: block;
}

#rephrase__suggestions div > span.active::before {
    content: "Copied";
    left: -22px;
}

#rephrase__suggestions div span img {
    width: 16px;
}

#rephrase__suggestions .suggestion__para {
    padding: 8px 15px !important;
    padding-right: 42px !important;
    position: relative;
}

/* #rephrase__suggestions .suggestion__para::before {
    content: '📋';
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    transition: 0.3s ease;
}
 */

#rephrase__suggestions .suggestion__para::before:hover {
    transform: scale(1.05);
}

.suggestion__para {
    border-top: 1px solid #e4e6e8;
    cursor: pointer;
    font-size: 16px !important;
    transition: 0.3s ease;
    line-height: 24px !important;
}

#rephrase__suggestions > div > span {
    display: block;
}

#rephrase__suggestions > div:hover > span {
    display: block;
}

.suggestion__para:hover {
    background: #f6f6f6;
}

.suggestion__para:hover mark {
    background: #f6f6f6;
    border-top: 1px solid #e4e6e8;
    padding: 8px;
}
.copy-tooltip:before,
.copy-tooltip:after {
    right: 7% !important;
    transform: translateX(55%);
    left: auto !important;
}
.tooltip:after {
    width: 0 !important;
}
.btn-outline-gradient {
    cursor: pointer;
    position: absolute;
}
#rephrase__btn {
    position: absolute;
    width: 135px;
    height: 40px;
    padding: 3px;
    background: #fff;
    border-radius: 100px;
    display: flex;
    justify-content: space-between;
    box-shadow: rgba(116, 130, 253, 0.45) 2px 4px 8px 0px;
    z-index: 1;
}
.rephrase_btns {
    display: flex;
    width: 100%;
    justify-content: end;
    gap: 1rem;
    margin-right: 10px;

    & img {
        width: 16px;
        cursor: pointer;
    }
}
.btn-outline-gradient .text {
    color: var(--color-dark-gray) !important;
    border-radius: 100px;
    padding: 5px 12px;
    font-size: 16px;
}
#switch__orignal {
    cursor: pointer;
    display: none !important;
}
.suggestion_paragraphs.active,
.suggestion_paragraphs:hover {
    background-color: rgba(219, 235, 255, 1) !important;
    cursor: pointer !important;
}
.suggestion_paragraphs {
    height: fit-content;
    color: #101010 !important;
    font-size: 16px !important;
}

article {
    background: #fff;
    width: 100%;
    position: relative;
    padding: 5px;
    box-sizing: border-box;
    overflow-x: hidden;
    border: 1px solid #e3e3e3;
}

article .line {
    width: 100%;
    height: 10px;
    background: linear-gradient(90deg, #f5f5f5 0%, #f8f8f8 101.26%);
    margin: 10px 0;
    overflow: hidden;
}

article .line-half {
    width: 50% !important;
}

article .shimmer {
    background-image: linear-gradient(
        to right,
        #f1f2f3 0%,
        #edeef1 20%,
        #e7e7e7 40%,
        #f6f7f8 100%
    );
    background-repeat: no-repeat;
    background-size: 800px 104px;
    margin-top: -5px;
    display: inline-block;
    position: relative;
    -webkit-animation-duration: 1s;
    -webkit-animation-fill-mode: forwards;
    height: 18px;
    width: 100%;
    -webkit-animation-iteration-count: infinite;
    -webkit-animation-name: placeholderShimmer;
    -webkit-animation-timing-function: linear;
}

.shimmer-half {
    width: 50%;
}

.suggestion__para b {
    color: #3a99d9 !important;
    font-weight: 400 !important;
}


/* CSS for the Paragraph Rewriter New */
.paraRewriter{

    @media (min-width: 992px) {
        .summorg-input-holder {
            max-width: 250px !important;
            width: 100% !important;
        }

    }

}
