/**
 * Chloe Concierge: Frontend Chatbot CSS
 */

.aow-chloe-bubble {
	position: fixed;
	bottom: 25px;
	right: 25px;
	width: 60px;
	height: 60px;
	border-radius: 50%;
	background: linear-gradient(135deg, #0284c7, #38bdf8);
	box-shadow: 0 10px 25px rgba(2, 132, 199, 0.4);
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	z-index: 99999;
	transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.aow-chloe-bubble:hover {
	transform: scale(1.08);
	box-shadow: 0 12px 30px rgba(2, 132, 199, 0.6);
}

.aow-chloe-icon {
	font-size: 26px;
}

.aow-chloe-badge {
	position: absolute;
	top: -2px;
	right: -2px;
	background: #ef4444;
	color: #fff;
	font-size: 11px;
	font-weight: 700;
	width: 20px;
	height: 20px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	border: 2px solid #fff;
}

/* Chat Window */
.aow-chloe-window {
	position: fixed;
	bottom: 95px;
	right: 25px;
	width: 380px;
	max-width: calc(100vw - 40px);
	height: 520px;
	background: #0f172a;
	border: 1px solid #1e293b;
	border-radius: 16px;
	box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
	display: flex;
	flex-direction: column;
	z-index: 99999;
	overflow: hidden;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.aow-chloe-header {
	background: #090d16;
	padding: 14px 18px;
	display: flex;
	justify-content: space-between;
	align-items: center;
	border-bottom: 1px solid #1e293b;
}

.aow-chloe-header-info {
	display: flex;
	align-items: center;
	gap: 12px;
}

.aow-chloe-avatar {
	font-size: 24px;
	background: rgba(255, 255, 255, 0.08);
	width: 40px;
	height: 40px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
}

.aow-chloe-header strong {
	display: block;
	color: #fff;
	font-size: 15px;
}

.aow-online-pill {
	color: #10b981;
	font-size: 11px;
	font-weight: 600;
}

.aow-chloe-close {
	background: transparent;
	border: none;
	color: #94a3b8;
	font-size: 24px;
	cursor: pointer;
}

.aow-chloe-messages {
	flex: 1;
	padding: 16px;
	overflow-y: auto;
	display: flex;
	flex-direction: column;
	gap: 12px;
	background: #090d16;
}

.aow-msg {
	max-width: 82%;
	padding: 10px 14px;
	border-radius: 14px;
	font-size: 13.5px;
	line-height: 1.45;
}

.aow-msg-bot {
	background: #1e293b;
	color: #f1f5f9;
	align-self: flex-start;
	border-bottom-left-radius: 2px;
}

.aow-msg-user {
	background: #0284c7;
	color: #fff;
	align-self: flex-end;
	border-bottom-right-radius: 2px;
}

.aow-chloe-form {
	display: flex;
	padding: 12px;
	background: #0f172a;
	border-top: 1px solid #1e293b;
	gap: 8px;
}

.aow-chloe-form input {
	flex: 1;
	background: #090d16;
	border: 1px solid #1e293b;
	border-radius: 8px;
	padding: 8px 12px;
	color: #fff;
	font-size: 13.5px;
}

.aow-chloe-form input:focus {
	outline: none;
	border-color: #38bdf8;
}

.aow-chloe-form button {
	background: #0284c7;
	color: #fff;
	border: none;
	border-radius: 8px;
	padding: 8px 16px;
	font-weight: 600;
	font-size: 13px;
	cursor: pointer;
}
