/* AIDA AI Chat 7 widget. Everything is scoped under #aida-chat7 and resets theme styles. */
#aida-chat7 {
	--aida-accent: #bf4577;
	--aida-accent-soft: #fbe9f1;
	--aida-ink: #2b2230;
	--aida-muted: #6e6474;
	--aida-line: #eadfe6;
	--aida-bg: #ffffff;
	--aida-bot: #f6f1f4;
	position: fixed;
	left: 20px;
	bottom: 20px;
	z-index: 2147483000;
	font: 15px/1.45 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	color: var(--aida-ink);
	text-align: left;
	letter-spacing: normal;
}
#aida-chat7 *, #aida-chat7 *::before, #aida-chat7 *::after { box-sizing: border-box; }
#aida-chat7 button, #aida-chat7 textarea, #aida-chat7 a {
	font: inherit; letter-spacing: normal; text-transform: none; text-shadow: none; box-shadow: none;
	margin: 0; min-height: 0; min-width: 0; line-height: 1.35; text-decoration: none; border-radius: 0; width: auto; height: auto;
}
#aida-chat7 button { cursor: pointer; background: none; border: 0; padding: 0; color: inherit; }
#aida-chat7 svg { width: 18px; height: 18px; flex: 0 0 auto; display: block; }
#aida-chat7 [hidden] { display: none !important; }
#aida-chat7 .aida-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

#aida-chat7 .aida-launcher {
	display: flex; align-items: center; gap: 8px;
	background: var(--aida-accent); color: #fff; border-radius: 28px; padding: 13px 20px 13px 16px;
	box-shadow: 0 8px 24px rgba(120, 30, 70, .28); font-weight: 600;
	transition: transform .15s ease, box-shadow .15s ease;
}
#aida-chat7 .aida-launcher:hover { transform: translateY(-2px); box-shadow: 0 10px 28px rgba(120, 30, 70, .34); }
#aida-chat7 .aida-launcher svg { width: 22px; height: 22px; }
#aida-chat7.aida-open .aida-launcher { display: none; }

#aida-chat7 .aida-panel {
	width: 390px; height: min(640px, calc(100vh - 40px));
	background: var(--aida-bg); border-radius: 18px; overflow: hidden;
	box-shadow: 0 18px 50px rgba(50, 20, 40, .25); display: flex; flex-direction: column;
	border: 1px solid var(--aida-line);
}
#aida-chat7 .aida-head {
	display: flex; align-items: center; gap: 6px; padding: 12px 10px 12px 16px;
	background: var(--aida-accent); color: #fff;
}
#aida-chat7 .aida-head-text { flex: 1; display: flex; flex-direction: column; min-width: 0; }
#aida-chat7 .aida-title { font-size: 16px; font-weight: 700; color: #fff; }
#aida-chat7 .aida-sub { font-size: 12.5px; opacity: .9; color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
#aida-chat7 .aida-icon { width: 34px; height: 34px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #fff; }
#aida-chat7 .aida-icon:hover, #aida-chat7 .aida-icon:focus-visible { background: rgba(255, 255, 255, .18); outline: none; }

#aida-chat7 .aida-log { flex: 1; overflow-y: auto; padding: 14px 12px 6px; background: #fff; overscroll-behavior: contain; }
#aida-chat7 .aida-row { display: flex; margin: 0 0 10px; }
#aida-chat7 .aida-user { justify-content: flex-end; }
#aida-chat7 .aida-bubble { max-width: 88%; padding: 10px 13px; border-radius: 16px; word-wrap: break-word; overflow-wrap: anywhere; }
#aida-chat7 .aida-bot .aida-bubble { background: var(--aida-bot); border-bottom-left-radius: 5px; }
#aida-chat7 .aida-user .aida-bubble { background: var(--aida-accent); color: #fff; border-bottom-right-radius: 5px; }
#aida-chat7 .aida-p { margin: 0 0 8px; text-align: left; }
#aida-chat7 .aida-p:last-child { margin-bottom: 0; }
#aida-chat7 .aida-bubble a { color: var(--aida-accent); text-decoration: underline; }
#aida-chat7 .aida-user .aida-bubble a { color: #fff; }
#aida-chat7 .aida-bubble > * + * { margin-top: 10px; }

#aida-chat7 .aida-price { background: #fff; border: 1px solid var(--aida-line); border-radius: 12px; padding: 10px 12px; }
#aida-chat7 .aida-price-title { font-weight: 700; margin-bottom: 6px; }
#aida-chat7 .aida-price ul { list-style: none; margin: 0; padding: 0; }
#aida-chat7 .aida-price li { margin: 0; padding: 6px 0; border-top: 1px dashed var(--aida-line); list-style: none; background: none; }
#aida-chat7 .aida-price li:first-child { border-top: 0; }
#aida-chat7 .aida-price li::before { content: none; }
#aida-chat7 .aida-price-val { font-weight: 700; white-space: normal; }
#aida-chat7 .aida-price-note { font-size: 13px; color: var(--aida-accent); margin-top: 2px; }
#aida-chat7 .aida-price-link { display: inline-block; font-size: 13px; margin-top: 3px; }
#aida-chat7 a.aida-price-name { color: var(--aida-ink); text-decoration: underline; text-decoration-color: #d9b3c5; text-underline-offset: 2px; }
#aida-chat7 .aida-sec { border-top: 1px dashed var(--aida-line); }
#aida-chat7 .aida-sec:first-of-type { border-top: 0; }
#aida-chat7 .aida-sec summary { cursor: pointer; list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 8px 0; font-weight: 600; color: var(--aida-ink); }
#aida-chat7 .aida-sec summary::-webkit-details-marker { display: none; }
#aida-chat7 .aida-sec summary::after { content: ""; width: 8px; height: 8px; border-right: 2px solid var(--aida-accent); border-bottom: 2px solid var(--aida-accent); transform: rotate(45deg); margin: 0 4px 4px 0; flex: 0 0 auto; }
#aida-chat7 .aida-sec[open] summary::after { transform: rotate(-135deg); margin: 4px 4px 0 0; }
#aida-chat7 .aida-sec summary span { flex: 1; }
#aida-chat7 .aida-sec summary small { background: var(--aida-accent-soft); color: var(--aida-accent); border-radius: 10px; padding: 1px 8px; font-size: 12px; font-weight: 700; }
#aida-chat7 .aida-sec ul { padding-bottom: 6px; }
#aida-chat7 .aida-more { margin-top: 6px; color: var(--aida-accent); font-weight: 600; font-size: 13.5px; text-decoration: underline; }
#aida-chat7 .aida-price-foot { font-size: 13px; color: var(--aida-muted); margin-top: 6px; }

#aida-chat7 .aida-btns { display: flex; flex-direction: column; gap: 5px; margin-top: 8px; }
#aida-chat7 .aida-btn {
	display: flex; align-items: center; gap: 9px; padding: 7px 11px; border-radius: 10px;
	background: #fff; color: var(--aida-accent) !important; text-decoration: none !important; font-weight: 600; font-size: 13.5px;
	border: 1px solid #e6c7d6;
}
#aida-chat7 .aida-btn:first-child { background: var(--aida-accent); color: #fff !important; border-color: var(--aida-accent); }
#aida-chat7 .aida-btn:hover, #aida-chat7 .aida-btn:focus-visible { background: var(--aida-accent-soft); outline: none; }
#aida-chat7 .aida-btn:first-child:hover, #aida-chat7 .aida-btn:first-child:focus-visible { background: var(--aida-accent); filter: brightness(1.08); }
#aida-chat7 .aida-btn-ghost { border-style: dashed; }
#aida-chat7 .aida-btn svg { width: 16px; height: 16px; }
#aida-chat7 .aida-collapsed .aida-btns { display: none; }
#aida-chat7 .aida-collapsed .aida-p { color: var(--aida-muted); font-size: 13px; }

#aida-chat7 .aida-salons { display: flex; flex-direction: column; gap: 7px; }
#aida-chat7 .aida-salon {
	display: flex; align-items: center; gap: 10px; text-align: left; width: 100%;
	background: #fff; border: 1px solid var(--aida-line); border-radius: 12px; padding: 10px 12px; color: var(--aida-ink);
}
#aida-chat7 .aida-salon:hover, #aida-chat7 .aida-salon:focus-visible { border-color: var(--aida-accent); background: var(--aida-accent-soft); outline: none; }
#aida-chat7 .aida-salon svg { color: var(--aida-accent); width: 20px; height: 20px; }
#aida-chat7 .aida-salon-text { display: flex; flex-direction: column; }
#aida-chat7 .aida-salon strong { font-weight: 700; }
#aida-chat7 .aida-salon small { font-size: 12.5px; color: var(--aida-muted); }

#aida-chat7 .aida-chips { display: flex; flex-wrap: wrap; gap: 6px; }
#aida-chat7 .aida-chip {
	border: 1px solid var(--aida-accent); color: var(--aida-accent); background: #fff; border-radius: 16px; padding: 6px 11px; font-size: 13.5px;
}
#aida-chat7 .aida-chip:hover, #aida-chat7 .aida-chip:focus-visible { background: var(--aida-accent-soft); outline: none; }

#aida-chat7 .aida-typing .aida-bubble { display: flex; gap: 4px; padding: 13px 14px; }
#aida-chat7 .aida-typing span { width: 7px; height: 7px; border-radius: 50%; background: #b9a9b3; animation: aida-dot 1.2s infinite ease-in-out; }
#aida-chat7 .aida-typing span:nth-child(2) { animation-delay: .15s; }
#aida-chat7 .aida-typing span:nth-child(3) { animation-delay: .3s; }
@keyframes aida-dot { 0%, 80%, 100% { opacity: .3; transform: translateY(0); } 40% { opacity: 1; transform: translateY(-3px); } }

#aida-chat7 .aida-form { display: flex; align-items: flex-end; gap: 8px; padding: 10px 12px; border-top: 1px solid var(--aida-line); background: #fff; margin: 0; }
#aida-chat7 textarea {
	flex: 1; resize: none; border: 1px solid var(--aida-line); border-radius: 12px; padding: 10px 12px; max-height: 120px; min-height: 42px;
	background: #fff; color: var(--aida-ink); outline: none; font-size: 15px; display: block; overflow-y: auto;
}
#aida-chat7 textarea:focus { border-color: var(--aida-accent); }
#aida-chat7 .aida-send { width: 42px; height: 42px; border-radius: 50%; background: var(--aida-accent); color: #fff; display: flex; align-items: center; justify-content: center; }
#aida-chat7 .aida-send:disabled { opacity: .5; cursor: default; }
#aida-chat7 .aida-foot { font-size: 11px; color: var(--aida-muted); padding: 0 14px 8px; background: #fff; line-height: 1.3; }

#aida-chat7.aida-right { left: auto; right: 20px; }
@media (max-width: 640px) {
	#aida-chat7 { left: 22px; bottom: 52px; }
	#aida-chat7.aida-right { left: auto; right: 12px; }
	#aida-chat7.aida-open { right: 0; bottom: 0; left: 0; top: 0; }
	#aida-chat7 .aida-panel { width: 100%; height: 100%; border-radius: 0; border: 0; }
	#aida-chat7 .aida-launcher span { display: none; }
	#aida-chat7 .aida-launcher { padding: 20px; border-radius: 50%; }
	#aida-chat7 textarea { font-size: 16px; }
}
@media (prefers-reduced-motion: reduce) {
	#aida-chat7 * { animation: none !important; transition: none !important; }
}
