.buy-premium-rephrase {
    position: relative;
}

.rephrase__suggestions_container {
    max-height: 200px;
    overflow-y: auto;
}

/* .suggestion_paragraphs.active,
.suggestion_paragraphs:hover {
    background-color: #f3f7fb !important;
    cursor: pointer !important;
} */

#result__wrapper {
    position: relative;
}

mark {
    color: #150D34;
    background: transparent;
}

#rephrase__suggestions {
    width: 0%;
    margin: auto !important;
    position: absolute;
    z-index: 1;
    left: 50%;
    transform: translateX(-50%);
    background: #F5F6FF;
    box-shadow: 0px 10px 30px 0px #0000001A;
    display: block;
    border-radius: 10px;
    overflow: hidden;
    padding: 4px;
}

#suggestion__topbar {
    display: flex;
    justify-content: space-between;
    background: #F5F6FF;
    padding-bottom: 4px;
    position: sticky !important;
    top: 0px;
    z-index: 10000;
}

#suggestion__topbar button {
    border: 1px solid transparent;
    outline: none;
    background: transparent;
    transition: 0.3s ease;
    display: flex;
    gap: 5px;
    align-items: center;
    font-size: 14px;
    cursor: pointer;
    padding: 8px;
    color: var(--color-text);
}

#suggestion__topbar button img {
    max-width: 16px;
}

#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%);
}

#switch__orignal {
    border: 1px solid #dbe8fb !important;
    border-radius: 16px;
}

#switch__orignal:hover {
    background: #fff;
    box-shadow: 0 2px 16px 0 #0000000F;
}

#rephrase__suggestions p {
    padding: 0px !important;
}
#rephrase__suggestions .header-text{
    color: #2F1F6A;
    font-size: 12px;
    font-weight: 400;
    line-height: 16px;
    margin: 0px 0px;
    padding: 8px 4px !important;
}
#rephrase__suggestions .rephrase__suggestions_container{
    background: #FFFFFF;
    border-radius: 10px;
}
#rephrase__suggestions .rephrase__suggestions_container div {
    position: relative;
    align-items: center;
    background: #FFFFFF;
}

#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: var(--darkgray);
    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 10px !important;
    position: relative;
    margin-top: 0 !important;
    margin-bottom: 0px !important;
}

/* #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 {
    color: #6A6097;
    border-bottom: 1px solid #E2E0EB;
    cursor: pointer;
    font-size: 16px !important;
    transition: 0.3s ease;
}
.suggestion__para:hover {
    background-color: #F5F6FF;
    color: #2F1F6A;
}

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

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



.suggestion__para:hover mark {
    background: #f6f6f6;
    border-top: 1px solid #e4e6e8;
    padding: 8px;
}

#rephrase__btn {
    background: linear-gradient(270deg, #7049BD 0%, #AC71F8 52.83%, #7049BD 100%);
    color: #fff;
    display: flex;
    align-items: center;
    font-size: 14px;
    position: absolute;
    z-index: 1;
    border-radius: 6px;
    cursor: pointer;
    padding: 6px 10px;
    border: none;
    overflow: hidden;
}

#rephrase__btn::before {
    content: '';
    display: inline-block;
    background-image: url('/web_assets/frontend/img/white-star.svg');
    background-size: contain;
    background-repeat: no-repeat;
    width: 20px;
    height: 20px;
}

#rephrase__btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -1;
    border-radius: 6px;
    padding: 2.2px;
    background: linear-gradient(180deg, #B496F4 0%, #916AD1 100%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
}

/* .suggestion_paragraphs.active,
.suggestion_paragraphs:hover {
    background-color: #f3f7fb !important;
    cursor: pointer !important;
} */

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

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 {
    font-weight: 400 !important;
}

.d-none {
    display: none !important;
}

.rephrase__suggestion__premium {
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: center;
    justify-content: space-between;
    min-height: 200px;
    justify-content: center;
    position: absolute;
    z-index: 1;
    background-color: #ffffff33;
    position: absolute;
    z-index: 1;
    width: 100%;
    padding: 10px;
    top: 0;
    text-align: center;
}

.rephrase__suggestion__premium p strong {
    font-size: 16px;
    font-weight: 700;
    line-height: 24px;
    text-align: center;
    color: #2F1F6A;

}

.rephrase__suggestion__premium small {
    font-size: 12px;
    font-weight: 400;
    line-height: 16px;
    color: #6A6097;
}

.rephrase__suggestion__premium a {
    background: #2F1F6A;
    box-shadow: 0px 1px 3px 0px #0000001F;
    border-radius: 10px;
    color: #FFFFFF;
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
    border: none;
    padding: 6px 10px;
    margin-top: 16px;
    cursor: pointer;
    text-decoration: none;
}

@media screen and (max-width: 768px) {
    .tool-head{
        padding: unset;
    }
    .modes {
        max-height: unset;
        overflow: hidden;
        position: unset;
        border: none;
        display: flex;
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: row;
        z-index: 3;
        background: transparent;
        max-width: 200px;
        width: 100%;
        box-shadow:unset;
        border-radius: 0;
    }
    .tool-head ul{
        flex-direction: row !important;
        padding: unset;
    }
    .modes .btn{
        width: fit-content;
        background-color: transparent;
    border-radius: 0;
    padding: 12px 12px 9px 12px;
    display: flex;
    justify-content: space-around;
    align-items: center;
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
}
.paid_mode{
    margin-left: 10px !important;
}
}