

html, body {
    height: 100%;
    margin: 0;
}

body{
  display: flex;
  flex-direction: column;
}

.bg_class{
	flex: 1;
	width: 100%;
}

.main_off{
	padding:30px;
	min-height: 450px;
}

.form{
	display: flex;
	flex-direction: column;
	width: 100%;
	align-items: center;
	justify-content: center;
	height: 100%;
	min-height: 360px;
	max-width: 550px;
}

.form textarea{
	width: 100%;
	font-size: 20px;
	padding: 10px;
	box-sizing: border-box;

}

.form textarea::placeholder{
	font-size: 20px;
	padding-left: 3px;
	color: #c4cede;
}

.menu{
	display: flex;
    flex-direction: row;
    max-width: 550px;
    width: 100%;
    justify-content: space-between;
}

.attach{
	width: 50px;
	height: 50px;
	border-radius: 50px;
	background: #f8f8f8;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	cursor: pointer;
}

.attach img{
	opacity: 0.5;
	transition: opacity 1s ease;
}

.attach:hover.attach img{
	opacity: 1;
	transition: opacity 1s ease;
}

.send{
	width: 52px;
	height: 52px;
	border-radius: 52px;
	background: #126df7;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	opacity: 0.8;
	transition: opacity 1s ease;
}

.send img{
	width: 26px;
	height: 26px;
}

.send:hover{
	opacity: 1;
	transition: opacity 1s ease;
}

.send.is-disabled {
  pointer-events: none;   /* клики не проходят */
  opacity: 0.5;
  cursor: not-allowed;
  user-select: none;
}

.teg_row{
	display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 15px;
}

.teg{
	display: flex;
	flex-direction: column;
	box-sizing: border-box;
	padding: 15px 15px;
	height: 18px;
	font-size: 12px;
	background: #f8f8f8;
	border-radius: 18px;
	align-items: center;
	justify-content: center;
	margin: 8px;
	cursor: pointer;
}

.chat_history{
  max-height: 620px;
  overflow: auto;
  padding: 12px;
  width: 100%;
}


.chat_history::-webkit-scrollbar{
    height: 4px;
    width: 9px;
}

.chat_history::-webkit-scrollbar-track{
background: #f0f0f0;
border-radius: 0px;
}
.chat_history::-webkit-scrollbar-track piece{
    background: #e3e3e3;
}

.chat_history::-webkit-scrollbar-thumb{
    background: #126df7;
    border-radius: 0px;
}

.msg{
  padding: 12px 14px;
  margin: 12px 0;
  border-radius: 12px;
  max-width: 90%;
  white-space: pre-wrap;
  text-align: left;
  line-height: 150%;
}

.msg-user{ margin-left: auto; background: #e9f5ff;width: max-content; }
.msg-ai{ margin-right: auto; background: #f3f3f3;width: max-content; }

.act_form{
    background: #f6f7f8;
    border-radius: 12px;
    margin-bottom: 10px;
}

.popup{
    position: fixed;
    width: 100%;
    height: 100%;
    background-color: rgb(2 1 10 / 86%);
    top: 0;
    left: 0;
    opacity: 0;
    visibility: hidden;
    transition: all 0.8s ease 0s;
    z-index: 9;
}

.popup.active .popup_content{
    opacity: 1;
    transform: translate(0px, 0px);
}


.popup.active {
    opacity: 1;
    visibility: visible;

}

.popup_body {
    min-height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px 10px;
    transition: all 0.8s ease 0s;
    z-index: 9;
}

.popup_content {
    display: flex;
    flex-direction: column;
    background-color: #f6f7f8;
    color: #333;
    width: 100%;
    min-width: 300px;
    max-width: 360px;
    height: auto;
    min-height: 450px;
    padding: 30px;
    box-sizing: border-box;
    border-radius: 20px;
    position: relative;
    transition: all 0.8s ease 0s;
    opacity: 0;
    transform: translate(0px, -100%);
}

.popup_content h2{
	font-size: 26px;
	margin-bottom: 10px;
}

.popup_content h4{
	font-size: 18px;
}

.popup_content svg{
    width: 30px;
    height: 30px;
    stroke: #333;
    top: 20px;
    right: 20px;
    position: absolute;
    cursor: pointer;
}

.popup_content .btn{
	height: 60px;
	font-size: 20px;
	margin-bottom: 30px;
}

.popup_content .btn:disabled {
    color: #fff;
    opacity: 0.7;
    cursor: default;
}

.input_group {
    position: relative;
    margin-bottom: 16px;
    display: flex;
    z-index: 1;
    flex-direction: column;
    margin-top: 10px;
    width: 100%;
}

.input_group_all {
    display: flex;
    flex-direction: row;
    align-content: center;
    align-items: center;
}


.input_request{
    width: 100%;
    height: 65px;
    border-radius: 5px;
    background-color: transparent;
    border: 1px solid rgba(128,139,149,.22);
    font-size: 16px;
    transition: 0.3s;
    padding: 0px 16px;
    padding-top: 6px;
    outline: none;
    box-sizing: border-box;
}

.input_request:focus{
    border-color: #262626;
}

input:-webkit-autofill,
input:-webkit-autofill:hover, 
input:-webkit-autofill:focus {
  -webkit-box-shadow: 0 0 0px 40rem #f6f7f8 inset;
}

.styles_label {
    position: absolute;
    top: 24px;
    left: 16px;
    z-index: -1;
    color: #a6b0bf;
    font-size: 16px;
    transition: 0.3s;
}

.error_input {
    border-color: #fb233d;
}

.mb_10{
    margin-top: 5px;
    display: flex;
    width: 100%;
    flex-direction: row;
    text-align: left;
    margin-bottom: 5px;
}

.mb_10 h5{
    font-size: 12px;
    width: 100%;
    opacity: 0.6;
}

.mb_10 span{
    opacity: 0.5;
}

.checkbox{
    width: 15px;
    height: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #eaedf2;
    border-radius: 3px;
    cursor: pointer;
    margin-right: 5px;
}

.checked{
    width: 9px;
    height: 9px;
    background: #126df7;
    display: none;
    border-radius: 2px;
}

.checkbox.check .checked{
    display: flex;
}



@media (max-width: 990px){

.hbtn_row .btn{
	display: flex;
	min-width: 130px;
	height: 45px;
	font-size: 16px;
}

.lr_text{
	display: none;
}

.head{
    align-items: center;

}

@media (max-width: 550px){



}













































