#chat-float {
	position:fixed;
	bottom:20px;
	right:20px;
	width:64px;
	height:64px;
	background:#c74d4d;
	color:#fff;
	font-size:28px;
	border-radius:50%;
	display:flex;
	align-items:center;
	justify-content:center;
	cursor:pointer;
	box-shadow:0 12px 35px rgba(0,0,0,.35);
	animation:pulse 2s infinite;
	z-index:9999;
	font-family:"Inter","Segoe UI",Roboto,Arial,sans-serif;
}

@keyframes pulse {
	0%{transform:scale(1);}
	50%{transform:scale(1.12);}
	100%{transform:scale(1);}
}

#chat-box {
	position: fixed;
	top: 55%;
	left: 50%;
	transform: translate(-50%, -50%) scale(0.9);
	max-width: 100%;
	width: 1140px;
	background: #fff;
	border-radius: 18px;
	box-shadow: 0 25px 60px rgba(0,0,0,.28);
	opacity: 0;
	pointer-events: none;
	z-index: 9999;
	font-family: "Inter","Segoe UI",Roboto,Arial,sans-serif;
	min-height: 400px;
}

#chat-box.active {
	animation: popZoom 0.25s forwards;
	opacity:1;
	pointer-events:auto;
}

@keyframes popZoom {
	0% {
		transform: translate(-50%, -50%) scale(0.8);
	}
	
	60% {
		transform: translate(-50%, -50%) scale(1.05);
	}
	
	100% {
		transform: translate(-50%, -50%) scale(1);
	}
}

.chat-header {
	background:#c74d4d;
	color:#fff;
	padding:14px 18px;
	border-radius:18px 18px 0 0;
	font-weight:700;
	font-size:21px;
	line-height:20px;
	display:flex;
	justify-content:space-between;
	align-items:center;
	letter-spacing:.2px;
}

.chat-header span {
	cursor:pointer;
	font-size:18px;
}

.chat-title {
    margin: 0 auto;   
}

.chat-body {
	padding:7px;
	max-height:320px;
	overflow-y:auto;
	font-size:15px;
	line-height:21px;
}

.msg {
	font-weight: bold;
	font-size:21px;
	line-height: 27px;
	text-align: center;
}

@keyframes slideUp {
  from{transform:translateY(20px);opacity:0}
  to{transform:translateY(0);opacity:1}
}

.chat-options{
	padding:7px;
	border-top:1px solid #eee;
	display: flex;
	flex-direction: column;
	gap: 8px;
	align-items: center;
  
}

.chat-options button{
    width: 49%;
    margin-bottom: 10px;
    margin-right: 10px;
    padding: 10px;
    padding: 12px;
    border-radius: 10px;
    background: #c74d4d;
    color: #fff;
    cursor: pointer;
    font-size: 15px;
	line-height: 21px;
    font-weight: 700;
    border: 1px solid;
}

.chat-options button:hover{
	background: #c1c1c1;
}

.chat-options input{
	width:93%;
	padding:10px;
	margin-bottom:10px;
	border-radius:8px;
	border:1px solid #ccc;
	font-size:15px;
	height: 41px;
}

#chat-options button.btn-wide {
	padding: 3px 14px;
	font-size: 16px;
	width: 20%;
	background-color: #007bff;
	color: #fff;
	border: none;
	border-radius: 5px;
	margin-left: 69px;
}

@media (max-width: 768px) { 

	#chat-box {
        width: 92%;
        right: 4%;
        bottom: 85px;
        top: 51%;
        height: 700px;
    }
	.msg { 
		font-size: 13px;
		text-align: center;
	}
	.chat-header { 
		padding: 4px 15px; 
		font-weight: 600;
		font-size: 14px; 
	}
	.chat-options input {
		width: 72%; 
	}
	.chat-options button {
        width: 70%; 
		
    }
	#form-error{text-align: center;}

}

@media (max-width: 414px) {
    #chat-box {
        top: 57%;
    }
}