:root {
    --aihcc-primary-color: #1e73be;
    --aihcc-accent-color: #b48921;
    --aihcc-header-color: var(--aihcc-primary-color);
    --aihcc-accent-color: var(--aihcc-accent-color);
}

.aihcc-header, .aihcc-fab  {
    background-color: var(--aihcc-header-color);
    color: #fff;
}


.shop-price,.aihcc-message-content a ,.aihcc-message h1, .aihcc-message h2,.aihcc-message h3,.aihcc-message h4{
	 color: var(--aihcc-accent-color)!important;
}

.aihcc-send, .shop-button{
	background:  var(--aihcc-header-color);;
}
.aihcc-agent-button{
	 background: var(--aihcc-accent-color);
}
 #aihcc-admin-chat-root .aihcc-message--user {
 	 background: var(--aihcc-accent-color);
 	}
.aihcc-message--user .aihcc-message-content{
	background: var(--aihcc-accent-color);
}

.aihcc-floating-shell {
	position: fixed;
	right: 24px;
	bottom: 24px;
	z-index: 99999;
	font-family: Arial, sans-serif;
}

.aihcc-fab {
	border: 0;
	border-radius: 999px;
	cursor: pointer;
	color: #fff;
	font-weight: 700;
}

.aihcc-widget {
	width:400px;
	max-width: calc(100vw - 32px);
	margin-bottom: 12px;
	border-radius: 16px;
	overflow: hidden;
	background: #fff;
	border: 1px solid #dcdcde;
	box-shadow: 0 16px 40px rgba(0, 0, 0, 0.18);
}

.aihcc-widget--admin {
	width: 100%;
	max-width: 760px;
	margin-top: 16px;
}

.aihcc-header,
.aihcc-admin-header {
	display: flex;
	align-items: center;
	justify-text: space-between;
	gap: 12px;
}

.aihcc-header {
	padding: 14px 16px;
	color: #fff;
}

.aihcc-title {
	font-size: 16px;
	font-weight: 700;
}

.aihcc-header-actions {
	display: flex;
	align-items: center;
	gap: 8px;
}

.aihcc-icon-button,
.aihcc-link-button {
	border: 0;
	background: transparent;
	cursor: pointer;
}

.aihcc-icon-button {
	color: #fff;
	font-size: 22px;
	line-height: 1;
}

.aihcc-link-button {
	color: #fff;
	text-decoration: underline;
	font-size: 13px;
}

.aihcc-messages {
	height: 360px;
	overflow-y: auto;
	padding: 14px;
	background: #f6f7f7;
}

#aihcc-admin-chat-root .aihcc-messages{
	height: 80vh;
}

.aihcc-message-content {
	max-width: 85%;
	margin-bottom: 10px;
	padding: 10px 12px;
	border-radius: 12px;
	white-space: pre-wrap;
	word-break: break-word;
	line-height: 1.45;
	font-size: 14px;
}


 .aihcc-message--bot .aihcc-message-content{
	background: #fff;
	border: 1px solid var(--aihcc-header-color);
	color: #1d2327;
}

 .aihcc-message--user .aihcc-message-content{
	margin-left: auto;
	/*background: #0f62fe;*/
	color: #fff;
}

.aihcc-composer {
	display: flex;
	gap: 8px;
	padding: 12px;
	border-top: 1px solid #dcdcde;
	background: #fff;
}

.aihcc-input {
	flex: 1;
	padding: 10px 12px;
	border: 1px solid #8c8f94;
	border-radius: 8px;
	resize: vertical;
	font: inherit;
	background: #fff!important;
	min-height: 46px;
	color: #000;
	font-size: 16px !important;
}

.aihcc-send {
	border: 0;
	border-radius: 8px;
	padding: 0 14px;
	color: #fff;
	cursor: pointer;
	font-weight: 700;
}

.aihcc-send:disabled,
.aihcc-fab:disabled {
	opacity: 0.7;
	cursor: not-allowed;
}
.aihcc-fab img{
	/*width: 35px;*/
	    width: 80px;
	    border-radius: 99px; 
}

.aihcc-error {
	padding: 0 12px 12px;
	color: #b32d2e;
	font-size: 13px;
}

.aihcc-admin-console {
	max-width: 960px;
}

.aihcc-admin-header {
	margin: 12px 0;
}
.aihcc-admin-sidebar-panel{
	overflow: auto;
}
.aihcc-admin-chat-box-left-panel{
	height: calc(90% - 80px);
    overflow: auto;
}
.aihcc-admin-chat-box-panel{
	display: flex; height: 90vh; border: 1px solid #ddd;overflow: auto;
}


.shop-container {
	padding: 10px;
}

.shop-reply {
	margin-bottom: 10px;
	font-size: 14px;
}

.shop-grid {
	display: flex;
	gap: 15px;
	flex-wrap: wrap;
}

.shop-card {
	border: 1px solid #eee;
	border-radius: 10px;
	padding: 10px;
	width: 220px;
	box-shadow: 0 2px 6px rgba(0,0,0,0.1);
	text-align: center;
	background: #fff;
}

.shop-image {
	width: 100%;
	height: 140px;
	object-fit: cover;
	border-radius: 8px;
}

.shop-title {
	font-size: 14px;
    margin: 8px 0 !important;
    font-weight: 500
}

.shop-price {
	font-weight: bold;
}

.shop-button {
	display: inline-block;
	margin-top: 8px;
	padding: 6px 12px;
	color: white;
	border-radius: 6px;
	text-decoration: none;
}

.aihcc-agent-container {
	margin-top: 12px;
}

.aihcc-agent-button {
	display: inline-flex;
	align-items: center;
	color: #fff;
	border: none;
	padding: 10px 16px;
	border-radius: 8px;
	cursor: pointer;
	font-size: 14px;
	font-weight: 600;
	transition: opacity 0.2s ease;
	margin-bottom: 10px;
}

.aihcc-agent-button:hover {
	opacity: 0.85;
}

#aihcc-admin-chat-root .aihcc-message{
	max-width: 85%;
	margin-bottom: 10px;
	padding: 10px 12px;
	border-radius: 12px;
	white-space: pre-wrap;
	word-break: break-word;
	line-height: 1.45;
	font-size: 14px;
}


#aihcc-admin-chat-root .aihcc-message--bot {
	background: #fff;
	border: 1px solid #dcdcde;
	color: #1d2327;
}

 #aihcc-admin-chat-root .aihcc-message--user {
	margin-left: auto;
	/*background: #0f62fe;*/
	color: #fff;
}


.aihcc-agent-button {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 10px 16px;
	border: none;
	border-radius: 6px;
	color: #fff;
	cursor: pointer;
	font-size: 14px;
	font-weight: 500;
}

.typing-indicator::before {
	font-family: dashicons;
	content: "\f468";
	font-size: 16px;
	line-height: 1;
}


/*.typing-indicator::before {
	font-family: dashicons;
	content: "\f468";
	font-size: 18px;
}*/

.typing-indicator {
	display: flex;
	gap: 4px;
	padding: 6px 0;
}

.typing-indicator span {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: #999;
	animation: typingBounce 1.4s infinite ease-in-out;
}

.typing-indicator span:nth-child(2) {
	animation-delay: 0.2s;
}

.typing-indicator span:nth-child(3) {
	animation-delay: 0.4s;
}
.postbox{
	padding: 20px;
}

@keyframes typingBounce {

	0%, 80%, 100% {
		transform: scale(0.7);
		opacity: 0.5;
	}

	40% {
		transform: scale(1);
		opacity: 1;
	}
}