/* DigitalWay AI Chat — styles (v2 fix: αφαιρέθηκε το επικίνδυνο "all: revert") */

/* Root */
#dwc2-root {
	position: fixed !important;
	bottom: 136px !important;
	right: 52px !important;
	left: auto !important;
	top: auto !important;
	width: auto !important;
	height: auto !important;
	max-width: none !important;
	margin: 0 !important;
	padding: 0 !important;
	z-index: 999999 !important;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
	line-height: 1.5 !important;
	isolation: isolate;
}
#dwc2-root, #dwc2-root * {
	box-sizing: border-box !important;
}
#dwc2-root button {
	font-family: inherit !important;
	margin: 0 !important;
	appearance: none !important;
	-webkit-appearance: none !important;
}

/* Bubble */
#dwc2-bubble {
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	width: 60px !important;
	height: 60px !important;
	min-width: 60px !important;
	max-width: 60px !important;
	min-height: 60px !important;
	max-height: 60px !important;
	border-radius: 50% !important;
	border: 1px solid #E3E9EC !important;
	background: #184B63 !important;
	color: #fff !important;
	cursor: pointer !important;
	box-shadow: 0 12px 30px rgba(0,0,0,0.18) !important;
	padding: 0 !important;
	position: relative !important;
	overflow: visible !important;
}
#dwc2-bubble svg {
	display: block !important;
	width: 30px !important;
	height: 30px !important;
	min-width: 30px !important;
	flex-shrink: 0 !important;
	pointer-events: none !important;
}

/* Window */
#dwc2-window {
	display: none;
	position: absolute !important;
	bottom: 78px !important;
	right: 0 !important;
	left: auto !important;
	top: auto !important;
	width: 370px !important;
	max-width: calc(100vw - 32px) !important;
	height: 560px !important;
	max-height: calc(100vh - 160px) !important;
	background: #fff !important;
	border-radius: 16px !important;
	box-shadow: 0 20px 45px rgba(0,0,0,0.18) !important;
	overflow: hidden !important;
	flex-direction: column !important;
	margin: 0 !important;
	padding: 0 !important;
}
#dwc2-root.open #dwc2-window {
	display: flex !important;
}

/* Header */
#dwc2-header {
	display: flex !important;
	align-items: center !important;
	gap: 10px !important;
	background: #184B63 !important;
	color: #fff !important;
	padding: 14px 16px !important;
	flex-shrink: 0 !important;
	width: 100% !important;
	margin: 0 !important;
}
#dwc2-avatar {
	display: block !important;
	width: 34px !important;
	height: 34px !important;
	min-width: 34px !important;
	border-radius: 50% !important;
	background-color: rgba(255,255,255,0.2) !important;
	background-position: center !important;
	background-size: cover !important;
	flex-shrink: 0 !important;
}
#dwc2-title {
	font-weight: 700 !important;
	font-size: 15px !important;
	flex-grow: 1 !important;
	color: #fff !important;
	margin: 0 !important;
}
#dwc2-restart, #dwc2-close {
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	background: rgba(255,255,255,0.15) !important;
	border: none !important;
	color: #fff !important;
	width: 28px !important;
	height: 28px !important;
	min-width: 28px !important;
	border-radius: 50% !important;
	cursor: pointer !important;
	font-size: 14px !important;
	line-height: 1 !important;
	flex-shrink: 0 !important;
	padding: 0 !important;
}

/* Body */
#dwc2-body {
	display: flex !important;
	flex-direction: column !important;
	gap: 10px !important;
	flex: 1 !important;
	overflow-y: auto !important;
	padding: 16px !important;
	background: #F6F8F9 !important;
	width: 100% !important;
	margin: 0 !important;
}

/* Message bubbles */
.dwc2-msg {
	max-width: 85% !important;
	padding: 10px 13px !important;
	border-radius: 12px !important;
	font-size: 14px !important;
	line-height: 1.5 !important;
	margin: 0 !important;
}
.dwc2-msg-bot {
	background: #fff !important;
	border: 1px solid #E3E9EC !important;
	align-self: flex-start !important;
	color: #16232B !important;
}
.dwc2-msg-user {
	background: #184B63 !important;
	color: #fff !important;
	align-self: flex-end !important;
}

/* Option / service buttons */
.dwc2-btn {
	display: block !important;
	width: 100% !important;
	text-align: left !important;
	background: #fff !important;
	border: 1px solid #E3E9EC !important;
	border-radius: 10px !important;
	padding: 10px 13px !important;
	font-size: 13.5px !important;
	font-weight: 600 !important;
	color: #16232B !important;
	cursor: pointer !important;
	text-decoration: none !important;
	margin: 0 0 6px 0 !important;
}
.dwc2-btn:hover {
	border-color: #184B63 !important;
	background: #E7EFF3 !important;
}

/* Footer */
#dwc2-footer {
	padding: 12px 16px !important;
	border-top: 1px solid #E3E9EC !important;
	background: #fff !important;
	flex-shrink: 0 !important;
	width: 100% !important;
	margin: 0 !important;
}
#dwc2-human-cta {
	display: block !important;
	width: 100% !important;
	background: #16232B !important;
	color: #fff !important;
	border: none !important;
	border-radius: 10px !important;
	padding: 11px !important;
	font-size: 13.5px !important;
	font-weight: 700 !important;
	cursor: pointer !important;
}

/* Contact form */
.dwc2-form {
	width: 100% !important;
	margin: 0 !important;
}
.dwc2-form input,
.dwc2-form select,
.dwc2-form textarea {
	display: block !important;
	width: 100% !important;
	border: 1px solid #E3E9EC !important;
	border-radius: 8px !important;
	padding: 9px 10px !important;
	font-size: 13.5px !important;
	margin: 0 0 8px 0 !important;
	font-family: inherit !important;
	color: #16232B !important;
	background: #fff !important;
}
.dwc2-form label {
	display: block !important;
	font-size: 11.5px !important;
	font-weight: 700 !important;
	color: #6B7280 !important;
	margin: 0 0 3px 0 !important;
}
.dwc2-form-submit {
	display: block !important;
	width: 100% !important;
	background: #184B63 !important;
	color: #fff !important;
	border: none !important;
	border-radius: 10px !important;
	padding: 11px !important;
	font-size: 14px !important;
	font-weight: 700 !important;
	cursor: pointer !important;
}

/* Mobile: fullscreen, ΜΟΝΟ κάτω από 480px */
@media (max-width: 480px) {
	#dwc2-root {
		bottom: 86px !important;
		right: 16px !important;
	}
	#dwc2-bubble {
		width: 54px !important;
		height: 54px !important;
		min-width: 54px !important;
		max-width: 54px !important;
		min-height: 54px !important;
		max-height: 54px !important;
	}
	#dwc2-bubble svg {
		width: 26px !important;
		height: 26px !important;
		min-width: 26px !important;
	}
	#dwc2-window {
		position: fixed !important;
		top: 0 !important;
		left: 0 !important;
		right: 0 !important;
		bottom: 0 !important;
		width: 100% !important;
		height: 100% !important;
		max-width: 100% !important;
		max-height: 100% !important;
		border-radius: 0 !important;
	}
}