/*

STYLE FOR INTEGRATION INPUT FIELDS

*/
.tooltip.top .tooltip-arrow {bottom: 1px;}

/* QUERY FIELD */
.gptp_wrap {
    margin-bottom: 5px;
}
.gptp_icon_bg {
	position: absolute;
    background: #1fa987;
    width: 36px;
    height: 36px;
    border-radius: 3px 50% 50% 0;
    z-index: 3;
}
.gptp_icon {
	position: absolute;
	height: 26px;
    width: 26px;
    top: 5px;
    left: 4px;
}
.gptp_icon.spin {
	-webkit-animation: fa-spin 2s infinite linear;
    animation: fa-spin 2s infinite linear;
}
.gptp_btn, .gptp_btn_stop {
    position: absolute;
    bottom: 6px;
    right: 12px;
    height: 24px;
    z-index: 3;
}
.gptp_btn_stop {
    background-color: #fadbdb;
    color: darkred;
}
.gptp_input_group {
    position: relative;
    height: 36px;
}
.gptp_extra_group {
	background: #f6f6f6;
    border-radius: 0 0 3px 3px;
    border: 1px solid #cccccc;
    border-top: 0;
    padding: 3px 0;
	line-height: 26px;
}
.gptp_extra_group [class^="col-"] {
	padding: 0 10px;
}
textarea.gptp_input {
    position: absolute;
	padding: 7px 13px;
    padding-left: 45px;
    padding-right: 70px;
    resize: none;
    overflow: auto;
    min-height: 36px;
    max-height: 150px;
    height: 36px;
    bottom: 0;
    font-size: 13px;
    border-color: #1fa987 !important;
	border-radius: 3px 3px 0 0;
	line-height: 16px;
	z-index: 3;
	background: #f5faff;
	color: #222;
}
textarea.gptp_input:hover {
    border-color: #1fa987 !important;
}
.gptp_collapse {
	max-height: 150px;
	font-size: 1em;
    position: absolute;
    z-index: 3;
    cursor: pointer;
    width: 36px;
    text-align: center;
    left: 0;
    bottom: 0;
}
.gptp_collapse:hover {
	background-color: #ebebeb;
    border: 1px solid #1fa987;
    border-right: none;
    border-radius: 4px 0 18px 0;
    box-shadow: inset 0 1px 1px rgb(0 0 0 / 8%);
}
/* TRANSLATE BLOCK */
.gptp_translate .tr_entry {
	padding: 0 10px;
	padding-left: 0;
    background: none;
    border: none;
    display: table-cell;
}
.gptp_translate select {
	padding: 0 26px 0 10px;
    width: auto !important;
    height: 26px !important;
    border-radius: 13px !important;
    -moz-appearance: none;
    -webkit-appearance: none;
    appearance: none;
    background-color: #fff;
    background-image: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0naHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmcnIHZpZXdCb3g9JzAgMCAyNCAyNCcgZmlsbD0nbm9uZScgc3Ryb2tlPSdjdXJyZW50Q29sb3InIHN0cm9rZS13aWR0aD0nMicgc3Ryb2tlLWxpbmVjYXA9J3JvdW5kJyBzdHJva2UtbGluZWpvaW49J3JvdW5kJz48cG9seWxpbmUgcG9pbnRzPSc2IDkgMTIgMTUgMTggOSc+PC9wb2x5bGluZT48L3N2Zz4=);
    background-repeat: no-repeat;
    background-position: right 5px top 60%;
    background-size: 1.2em;
}
.gptp_translate .tr_arrow {
	padding: 0 10px;
    background: none;
    border: none;
    width: auto;
    float: left;
    line-height: 26px;
}
.gptp_translate .input-group-btn {
	width: auto;
    float: left;
    line-height: 26px;
}
.gptp_btn_translate {
	padding: 0 10px;
    border-color: #ccc;
    height: 26px !important;
    outline: none !important;
    padding-right: 38px;
    border-radius: 3px !important;
}
.gptp_btn_translate:before {
	content: "";
    background: center / contain no-repeat url('../../image/chatgpt_pro/tr_icon.svg');
    width: 25px;
    height: 25px;
    position: absolute;
    top: 0px;
    right: 7px;
    margin: 0px;
}
.gptp_extra_right {
	display: flex;
    justify-content: space-between;
}

.editor_overlay {
    left: 0px;
    top: 0px;
    background-color: #fff;
    z-index: 9999;
    overflow: auto;
    font-size: 13px;
    color: #000;
    padding: 20px;
    line-height: 1.6;
}



/* HEADER BTN */
.gptp_header_block li .fa {
	width: 20px;
}
.gptp_quick_btn {
	background: #1fa987;
    padding: 3px 12px !important;
}
.v3.gptp_quick_btn {
    padding: 0 15px !important;
}
.nav .open > a.gptp_quick_btn img, .gptp_quick_btn:hover img, .gptp_quick_btn:focus img {
	filter: invert(70%);
}
.gptp_quick_icon {
	margin-top: -2px;
}
#gptp_integration_btn {
	cursor: pointer;
}


.gptp_input::-webkit-scrollbar {width: 7px;}
.gptp_input::-webkit-scrollbar-track {background: #f1f1f1;} 
.gptp_input::-webkit-scrollbar-thumb {background: #888;}
.gptp_input::-webkit-scrollbar-thumb:hover {background: #555;}

#massgen {
	display: inline;
    margin-right: 30px;
    height: 35px !important;
}
#massgen .group {
    float: left;
    position: relative;
}
#massgen .heading {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 9;
    padding: 4px 5px;
    font-weight: bold;
    font-size: 12px;
    line-height: 12px;
    pointer-events: none;
}
#massgen select {
    width: auto;
    min-width: 110px;
    max-width: 110px;
    padding: 0;
    padding-top: 13px;
    height: 35px !important;
    float: left;
    border-right: none;
    cursor: pointer;
    border-radius: 0;
}
#massgen_source {
  width: 0;
  transition: width 0.3s ease;
  overflow: hidden;
}
#massgen_source.open {
  width: 110px;
}
#massgen .btn {
	width: auto;
    height: 35px !important;
    border-radius: 0 3px 3px 0;
    float: left;
}
table > tbody > tr.success td {
	background-color: #cbeacb !important;
}
table > tbody > tr.warning td {
	background-color: #fce7c8 !important;
}
table > tbody > tr.danger td {
	background-color: #f5c1bb !important;
}
.tpl-accordion .panel-heading .pull-right {
	margin-left: 10px;
}
.tpl-accordion .checkbox-html {
	font-weight: normal;
	cursor: pointer;
}
.gpt_log_btn {
	border: 2px solid #1fa987 !important;
    border-radius: 20px !important;
    box-shadow: 0 2px 2px 0px grey !important;
    white-space: nowrap;
    position: absolute;
    margin-left: 12px;
    margin-top: -8px;
    z-index: 999;
    background: #fff;
    padding: 5px 5px !important;
    font-weight: bold;
    cursor: pointer !important;
    user-select: none;
    width: 100px !important;
}
.gpt_log_btn:hover {
	margin-top: -7px;
	box-shadow: 0 1px 1px 0px grey !important;
}
.gpt_log_wrap {
	position: absolute;
    display: inline-block;
    background: #f6f6f6;
    color: #222;
    border: 1px solid;
    padding: 8px 40px 8px 15px;
    width: 600px;
    max-width: 100% !important;
    text-align: left;
    font-size: 12px;
    z-index: 1000;
    min-height: 3em;
    white-space: normal;
    left: 0;
    right: 0;
    margin: -10px auto 0;
}
.gpt_log {
	
}
.gpt_log_close {
	font-size: 30px;
    position: absolute;
    right: 0;
    top: 0;
    line-height: 20px;
    padding: 7px 12px;
    cursor: pointer;
    font-style: normal;
    user-select: none;
}


