.suggestion_paragraphs.active,
.suggestion_paragraphs:hover {
    text-decoration: underline !important;
    background-color: #f3f7fb !important;
    cursor: pointer !important;
}

#result__wrapper {
    position: relative;
}

mark {
    background: transparent;
}

#rephrase__suggestions {
    width: 0%;
    margin: auto !important;
    position: absolute;
    z-index: 1;
    max-height: 200px;
    overflow-y: auto;
    left: 50%;
    transform: translateX(-50%);
    background: #fff;
    box-shadow: 0 9px 50px 0 #596DB033;
    display: block !important;
    border-radius: 10px;    
}
#suggestion__topbar {
    display: flex;
    justify-content: space-between;
    background: #eef3ff;
    padding: 6px;
    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: 5px 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 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;
    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 {
    border-top: 1px solid #e4e6e8;
    cursor: pointer;
    font-size: 16px !important;
    transition: 0.3s ease;
}

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

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

#rephrase__btn {
    background-color: #0f1840;
    color: #fff;
    border: 1px solid #0f1840;
    display: flex;
    align-items: center;
    font-size: 14px;
    padding: 4px 8px;
    gap: 8px;
    position: absolute;
    z-index: 1000;
    border-radius: 100px;
    cursor: pointer;
}

#rephrase__btn img {
    width: 16px;
}

.suggestion_paragraphs.active,
.suggestion_paragraphs:hover {
    text-decoration: underline !important;
    background-color: #f3f7fb !important;
    cursor: pointer !important;
    color: #0f1840;
}


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;
}
.d-none{
display: none !important;    
}