.chtgpt-result{
	border: 1px solid;
	display: block;
	white-space: pre-line;
}

.chtgpt-current{
	position: relative;
}

.chtgpt-current .bb-ajax-loader{
	position: absolute;
	cursor: none;
	width: 100%;
	height: 100%;
	background:rgba(255,255,255,0.85);
	z-index: 1;
	cursor: wait;
	content: "";
	left: 0;
	top: 0;
	text-align: center;
}

.chtgpt-translate-wrap {
    position: sticky;
    top: 40px;
    margin: 10px;
    float: right;
    z-index: 100;
}

.chtgpt-translate {
    background-image: url("https://journey.portuguesewithcarla.com/wp-content/uploads/2024/02/icons8-translate-50.png");
    background-repeat: no-repeat;
    background-size: 43px;
    width: 46px;
    height: 46px;   
}

.chtgpt-translate{
	background-color: var(--bb-primary-button-background-regular);
    color: var(--bb-primary-button-text-regular);
    border: 1px solid var(--bb-primary-button-border-regular);
    font-family: inherit;
    font-size: 15px;
    border-radius: var(--bb-button-radius);
    min-height: 38px;
    line-height: 38px;
    padding: 0 10px;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    display: inline-block;
    border-width: 1px;
    border-style: solid;
    outline: none;
    vertical-align: middle;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    -webkit-transition: 0.3s all;
    transition: 0.3s all;
    margin-bottom: 10px;
    box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
}

.chtgpt-translate:hover{
	outline: none;
    text-decoration: none;
    background-color: var(--bb-primary-button-background-hover);
    color: var(--bb-primary-button-text-hover);
    border-color: var(--bb-primary-button-border-hover);
}

.trans2,
.translate .trans1{
	display: none;
}

.trans1,
.translate .trans2{
	display: inline;
}

i.ai-buttons {
    font-weight: 500;
    font-size: 25px;
    vertical-align: middle;
    margin-left: 7px;
}

i.ai-buttons:hover {
    font-weight: 600;
}

span.ai-tips-hint {
    cursor: default;
    position: relative;
}
.ai-tips-hint::before {
    content: "Tips (beta)";
    display: inline-block;
    position: absolute;
    bottom: 50%;
    margin-bottom: 5px;
    background: rgb(140,140,140);
    color: #FFF;
    padding: 2px 2px 2px 7px;
    border-radius: 5px;
    opacity: 0;
    transition: 0.3s;
    overflow: hidden;
    width: 87px;
    pointer-events: none;
    font-size: 14px;
    font-weight: 600;
    left: -90%;
}
.ai-tips-hint:hover::before { opacity:1; bottom: 100%; }

span.ai-complete-hint {
    cursor: default;
    position: relative;
}
.ai-complete-hint::before {
    content: "Suggestion (beta)";
    display: inline-block;
    position: absolute;
    bottom: 50%;
    margin-bottom: 5px;
    background: rgb(140,140,140);
    color: #FFF;
    padding: 2px 2px 2px 7px;
    border-radius: 5px;
    opacity: 0;
    transition: 0.3s;
    overflow: hidden;
    width: 135px;
    pointer-events: none;
    font-size: 14px;
    font-weight: 600;
    left: -155%;
}
.ai-complete-hint:hover::before { opacity:1; bottom: 100%; }



#chtgpt_content_loader{
    position: fixed;
    top: 0;
    height: 100%;
    left: 0;
    background: rgba(0, 0, 0, 0.8);
    width: 100%;
    color: #fff;
    font-size: 100px;
    z-index: 1000000;
    text-align: center;
    display: flex;
    align-content: center;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    cursor: default;
    display: none;
}

.show#chtgpt_content_loader{
    display: flex;
}

#chtgpt_content_loader span{
    font-size: 3vw;
    line-height: 3vw;
}

body #chtgpt_content_loader span i{
    display: block;
    margin-bottom: 20px;
}

body #chtgpt_content_loader span i:before{
    font-size: 3vw;
    width: 3vw;
    height: 3vw;
    border-width: 10px;
}

.mfp-content .info{
    font-size: 1vw;
    text-align: center;
    line-height: 1vw;
}

#chtgpt-corrected-wrap .wdl-original, #chtgpt-corrected-wrap .btn.jrn.readmore {
    display: none;
}

#chtgpt-corrected-wrap .conversation_button_div {
    float: left;
    margin-right: 10px;
    margin-bottom: 15px;
}

#chtgpt-corrected-wrap .wdl-feedback-result {
    font-size: 18px;
    font-weight: 500;
    line-height: 2.2;
}

body .mfp-wrap.mfp-wrap {
    z-index: 1000000;
}

.chtgpt-inner{

}

.hidden{
    display: none;
}

#chtgpt-corrected-wrap .wdl-feedback-result p{
    padding-left: 0;
    padding-right: 0;
}

#buddypress .generic-button a.chtgpt_removecor_btn{
    background-color: #000;
}

.trwarn{
    border: 1px solid #ff0000;
    padding: 10px 5px;
    position: relative;
    background: rgba(255, 0, 0, 0.1);
}

.trwarn:before{
    content: "Translation mismatch (Admin notification)";
    position: absolute;
    left: -5px;
    top: -28px;
    color: #ff0000;
    padding: 0 5px;
    font-size: 0.85em;
    font-weight: 500;
}