/* =========================================================
   Yapay zekâ danışma asistanı — widget
   Tasarım: chatbot.zip'teki orijinal "futuristik mor/pembe" tema (drb-*).
   Orijinal kurallar korunmuştur; bu sitede eklenen parçalar (açık rıza, ilgili sayfalar,
   Ara/WhatsApp kısayolları, sohbeti temizle) aynı temayla en altta.
   Orijinaldeki /ai_logo.png ve /parilti.png yerine: avatar gradyan + simge, parıltı yalnız ışıma katmanları.
   ========================================================= */

:root {
	--drb-p:          #a855f7;
	--drb-p-hover:    #9333ea;
	--drb-p-dark:     #6b21a8;
	--drb-p-mid:      #c084fc;
	--drb-p-light:    #e9d5ff;
	--drb-p-xlight:   rgba(168, 85, 247, 0.12);
	--drb-accent:     #ec4899;
	--drb-magenta:    #d946ef;
	--drb-pink:       #f472b6;
	--drb-surface:    rgba(15, 10, 25, 0.88);
	--drb-surface-2:  rgba(10, 5, 20, 0.6);
	--drb-border:     rgba(168, 85, 247, 0.25);
	--drb-text:       #f3e8ff;
	--drb-text-2:     #c4b5fd;
	--drb-text-3:     #a78bfa;
	--drb-online:     #34d399;
	--drb-shadow-lg:  0 28px 64px rgba(0,0,0,.45), 0 0 40px rgba(168, 85, 247, .15);
	--drb-shadow-fab: 0 10px 30px rgba(168, 85, 247, .5), 0 0 20px rgba(236, 72, 153, .2);
	--drb-glow:       0 0 20px rgba(168, 85, 247, .35);
	--drb-radius:     20px;
	--drb-font:       "Montserrat", "Outfit", sans-serif;
	--drb-z:          9985;
	--drb-ease:       cubic-bezier(.4,0,.2,1);
	--drb-spring:     cubic-bezier(.34,1.56,.64,1);
}

/* ─── Root ─────────────────────────────────────────────── */
.drb-chatbot-root {
	position: fixed;
	inset: 0;
	pointer-events: none;
	z-index: var(--drb-z);
	font-family: var(--drb-font);
}
.drb-chatbot-root *,
.drb-chatbot-root *::before,
.drb-chatbot-root *::after { box-sizing: border-box; margin: 0; padding: 0; }

/* Sitenin eski bootstrap.css genel kuralları (button min-width 130px, label width 33% …) widget'ı bozmasın */
.drb-chatbot-root :where(button) { min-width: 0; box-shadow: none; text-transform: none; letter-spacing: normal; line-height: 1.2; font-family: inherit; -webkit-appearance: none; appearance: none; }
.drb-chatbot-root :where(label) { display: block; width: auto; color: inherit; font-weight: inherit; }
.drb-chatbot-root :where(textarea) { box-shadow: none; height: auto; }
.drb-chatbot-root :where(p, ul, li) { color: inherit; font-size: inherit; line-height: inherit; }
.drb-chatbot-root :where(a) { box-shadow: none; }
.drb-chatbot-root [hidden] { display: none !important; }
.drb-sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* ─── FAB Trigger ──────────────────────────────────────── */
.drb-chatbot-trigger {
	position: fixed;
	left: 20px;
	bottom: 20px;
	height: 50px;
	padding: 0 20px 0 16px;
	border-radius: 999px;
	border: 1px solid rgba(236, 72, 153, 0.35);
	background: linear-gradient(145deg, var(--drb-magenta) 0%, var(--drb-p) 50%, var(--drb-p-dark) 100%);
	color: #fff;
	cursor: pointer;
	pointer-events: auto;
	display: flex;
	align-items: center;
	gap: 9px;
	box-shadow: var(--drb-shadow-fab);
	transition: transform .22s var(--drb-spring), box-shadow .22s var(--drb-ease), padding .22s var(--drb-ease), width .22s var(--drb-ease);
	outline: none;
	white-space: nowrap;
	overflow: visible;
}

.drb-chatbot-trigger-label {
	position: relative;
	z-index: 2;
	font-family: var(--drb-font);
	font-size: 14px;
	font-weight: 600;
	letter-spacing: .01em;
	transition: opacity .18s var(--drb-ease), max-width .22s var(--drb-ease);
	max-width: 110px;
	overflow: hidden;
}

/* Kapalıyken label görünür, açıkken gizlenir ve buton yuvarlak olur */
.drb-chatbot-trigger--open {
	padding: 0 14px;
	width: 50px;
	justify-content: center;
}
.drb-chatbot-trigger--open .drb-chatbot-trigger-label {
	opacity: 0;
	max-width: 0;
}

/* pulse ring */
.drb-chatbot-trigger::before {
	content: '';
	position: absolute;
	inset: -4px;
	border-radius: 50%;
	border: 2px solid rgba(168, 85, 247, .5);
	animation: drb-pulse 2.8s ease-out infinite;
	pointer-events: none;
	z-index: -1;
}
.drb-chatbot-trigger--open::before { animation: none; opacity: 0; }

/* star glow field around FAB */
.drb-chatbot-trigger::after {
	content: '';
	position: absolute;
	inset: -6px;
	border-radius: 999px;
	pointer-events: none;
	background:
		radial-gradient(circle at 5% 20%,  rgba(244, 114, 182, .9) 0, transparent 45%),
		radial-gradient(circle at 85% 30%, rgba(168, 85, 247, .9) 0, transparent 50%),
		radial-gradient(circle at 25% 80%, rgba(236, 72, 153, .85) 0, transparent 50%),
		radial-gradient(circle at 70% 90%, rgba(129, 140, 248, .8) 0, transparent 55%);
	opacity: 1;
	mix-blend-mode: screen;
	filter: blur(0.1px);
	animation: drb-stars 5.5s ease-in-out infinite alternate;
	z-index: 1;
}
.drb-chatbot-trigger--open::after {
	opacity: .7;
}

@keyframes drb-pulse {
	0%   { transform: scale(.9);  opacity: .8; }
	70%  { transform: scale(1.4); opacity: 0;  }
	100% { transform: scale(1.4); opacity: 0;  }
}

@keyframes drb-stars {
	0% {
		transform: translate3d(0, 0, 0) scale(1);
		opacity: .8;
	}
	50% {
		transform: translate3d(1px, -1px, 0) scale(1.04);
		opacity: 1;
	}
	100% {
		transform: translate3d(-1px, 1px, 0) scale(1.02);
		opacity: .75;
	}
}

/* icon wrapper — fixed size, icons stacked via absolute */
.drb-chatbot-trigger-icon-wrap {
	position: relative;
	z-index: 2;
	width: 24px;
	height: 24px;
	flex-shrink: 0;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

/* icon swap */
.drb-chatbot-trigger-icon-wrap svg {
	width: 24px; height: 24px;
	position: absolute;
	top: 0; left: 0;
	transition: transform .24s var(--drb-spring), opacity .2s;
}
.drb-chatbot-trigger:not(.drb-chatbot-trigger--open) svg.drb-icon-chat  { opacity:1; transform:scale(1) rotate(0); }
.drb-chatbot-trigger:not(.drb-chatbot-trigger--open) svg.drb-icon-close { opacity:0; transform:scale(.4) rotate(20deg); }
.drb-chatbot-trigger--open svg.drb-icon-chat  { opacity:0; transform:scale(.4) rotate(-20deg); }
.drb-chatbot-trigger--open svg.drb-icon-close { opacity:1; transform:scale(1) rotate(0); }

.drb-chatbot-trigger:hover {
	transform: translateY(-3px) scale(1.06);
	box-shadow: 0 18px 44px rgba(168, 85, 247, .55), 0 0 28px rgba(236, 72, 153, .25);
}
.drb-chatbot-trigger:active  { transform: scale(.96); }
.drb-chatbot-trigger:focus-visible {
	box-shadow: 0 0 0 3px rgba(15, 10, 25, .9), 0 0 0 6px var(--drb-p), var(--drb-shadow-fab);
}

/* ─── Chat Window ──────────────────────────────────────── */
.drb-chatbot-window {
	position: fixed;
	left: 10px;
	bottom: 86px;
	width: 390px;
	max-width: calc(100vw - 32px);
	min-height: 360px;
	height: 600px;
	max-height: calc(100vh - 110px);
	background: rgba(15, 10, 28, 0.92);
	backdrop-filter: blur(16px);
	-webkit-backdrop-filter: blur(16px);
	border-radius: var(--drb-radius);
	box-shadow: var(--drb-shadow-lg);
	border: 1px solid rgba(168, 85, 247, 0.2);
	display: flex;
	flex-direction: column;
	overflow: hidden;
	pointer-events: auto;
	transform-origin: left bottom;
	transform: scale(.94) translateY(14px);
	opacity: 0;
	visibility: hidden;
	transition: opacity .24s var(--drb-ease), transform .3s var(--drb-spring), visibility .24s;
}
.drb-chatbot-window--open {
	opacity: 1; visibility: visible; transform: scale(1) translateY(0);
}

/* ─── Header ───────────────────────────────────────────── */
.drb-chatbot-header {
	flex-shrink: 0;
	background: linear-gradient(130deg, rgba(107, 33, 168, .95) 0%, rgba(88, 28, 135, .98) 50%, rgba(59, 7, 100, .98) 100%);
	padding: 14px 16px;
	display: flex;
	align-items: center;
	gap: 11px;
	position: relative;
	overflow: hidden;
	border-bottom: 1px solid rgba(168, 85, 247, 0.2);
	box-shadow: 0 4px 20px rgba(0, 0, 0, .2);
}

/* decorative soft circles (glow) */
.drb-chatbot-header::before {
	content: '';
	position: absolute;
	width: 160px; height: 160px;
	border-radius: 50%;
	right: -45px; top: -55px;
	background: radial-gradient(circle, rgba(236, 72, 153, .15) 0%, transparent 70%);
	pointer-events: none;
}
.drb-chatbot-header::after {
	content: '';
	position: absolute;
	width: 90px; height: 90px;
	border-radius: 50%;
	right: 48px; bottom: -38px;
	background: radial-gradient(circle, rgba(168, 85, 247, .12) 0%, transparent 70%);
	pointer-events: none;
}

.drb-chatbot-avatar-wrap { position: relative; flex-shrink: 0; }

.drb-chatbot-avatar {
	width: 44px; height: 44px;
	border-radius: 50%;
	background: linear-gradient(145deg, var(--drb-magenta) 0%, var(--drb-p) 50%, var(--drb-p-dark) 100%);
	border: 2px solid rgba(255,255,255,.30);
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
	color: #fff;
	position: relative; z-index: 1;
	box-shadow: 0 4px 14px rgba(0,0,0,.18);
}
.drb-chatbot-avatar svg { width: 24px; height: 24px; }

.drb-chatbot-online-dot {
	position: absolute;
	bottom: 0; right: 0;
	width: 12px; height: 12px;
	border-radius: 50%;
	background: var(--drb-online);
	border: 2.5px solid rgba(59, 7, 100, .9);
	box-shadow: 0 0 10px rgba(52, 211, 153, .5);
	z-index: 2;
}

.drb-chatbot-header-text { flex: 1; min-width: 0; z-index: 1; }

.drb-chatbot-header-title {
	font-size: 15px; font-weight: 700;
	color: #fff; line-height: 1.2; letter-spacing: -.01em;
}

.drb-chatbot-header-subtitle {
	font-size: 11.5px; font-weight: 400;
	color: rgba(255,255,255,.68);
	margin-top: 2px;
}

.drb-chatbot-close {
	flex-shrink: 0; z-index: 1;
	background: rgba(255,255,255,.1);
	border: 1px solid rgba(255,255,255,.16);
	border-radius: 50%;
	width: 32px; height: 32px;
	display: flex; align-items: center; justify-content: center;
	cursor: pointer;
	color: rgba(255,255,255,.8);
	transition: background .16s, transform .16s var(--drb-spring);
	outline: none;
}
.drb-chatbot-close svg { width: 15px; height: 15px; }
.drb-chatbot-close:hover  { background: rgba(255,255,255,.22); color:#fff; transform: scale(1.08); }
.drb-chatbot-close:active { transform: scale(.94); }
.drb-chatbot-close:focus-visible { box-shadow: 0 0 0 2px rgba(255,255,255,.9); }

/* ─── Messages Body ────────────────────────────────────── */
.drb-chatbot-body {
	flex: 1; overflow: hidden;
	display: flex; flex-direction: column;
	position: relative;
	min-height: 0;
	background: linear-gradient(180deg, rgba(15, 8, 28, .75) 0%, rgba(20, 10, 35, .85) 100%),
		url('/images/chatbot-bg.webp') center center / cover no-repeat;
	background-color: #0a0518;
}
.drb-chatbot-body::before {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(15, 8, 28, .7) 0%, rgba(20, 10, 35, .82) 50%, rgba(15, 8, 28, .88) 100%);
	pointer-events: none;
}
.drb-chatbot-messages {
	position: relative;
	z-index: 1;
	flex: 1;
	overflow-y: auto;
	padding: 18px 16px 10px;
	scroll-behavior: smooth;
	overscroll-behavior: contain;
	display: flex;
	flex-direction: column;
}

.drb-chatbot-messages::-webkit-scrollbar { width: 4px; }
.drb-chatbot-messages::-webkit-scrollbar-track { background: transparent; }
.drb-chatbot-messages::-webkit-scrollbar-thumb {
	background: rgba(168, 85, 247, .35);
	border-radius: 4px;
}

/* sender label */
.drb-chatbot-meta {
	font-size: 10.5px;
	font-weight: 500;
	color: var(--drb-text-3);
	letter-spacing: .01em;
	margin-bottom: 4px;
	margin-top: 14px;
}
.drb-chatbot-meta:first-child { margin-top: 0; }
.drb-chatbot-meta--user { text-align: right; padding-right: 2px; }
.drb-chatbot-meta--bot  { text-align: left;  padding-left: 2px; }

/* row */
.drb-chatbot-message-row {
	display: flex;
	margin-bottom: 2px;
	animation: drb-msg-in .2s var(--drb-ease) both;
}
.drb-chatbot-message-row--user { justify-content: flex-end; }
.drb-chatbot-message-row--bot  { justify-content: flex-start; }

@keyframes drb-msg-in {
	from { opacity:0; transform: translateY(6px); }
	to   { opacity:1; transform: translateY(0); }
}

/* bubble base */
.drb-chatbot-message {
	max-width: 82%;
	padding: 10px 14px;
	font-size: 13.5px;
	line-height: 1.55;
	word-break: break-word;
	white-space: pre-wrap;
}
.drb-chatbot-message p { margin: 0; }
.drb-chatbot-message p + p { margin-top: 5px; }

/* user bubble */
.drb-chatbot-message--user {
	background: linear-gradient(145deg, var(--drb-magenta) 0%, var(--drb-p) 50%, var(--drb-p-dark) 100%);
	color: #fff;
	border-radius: 18px 18px 4px 18px;
	border: 1px solid rgba(236, 72, 153, 0.3);
	box-shadow: 0 4px 20px rgba(168, 85, 247, .35), 0 0 15px rgba(236, 72, 153, .15);
}
.drb-chatbot-message--user a { color: rgba(255,255,255,.9); }

/* bot bubble */
.drb-chatbot-message--bot {
	background: var(--drb-surface);
	color: var(--drb-text);
	border-radius: 18px 18px 18px 4px;
	border: 1px solid var(--drb-border);
	box-shadow: 0 2px 12px rgba(0, 0, 0, .25), var(--drb-glow);
	white-space: normal;
}
.drb-chatbot-message--bot a {
	color: white !important;
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 2px;
}
.drb-chatbot-message--bot strong { color: #fff; }
.drb-chatbot-message ul { margin: 5px 0 0; padding-left: 1.2em; }
.drb-chatbot-message li + li { margin-top: 3px; }

/* ─── Typing dots ──────────────────────────────────────── */
.drb-chatbot-typing {
	display: flex; align-items: center; gap: 5px;
	padding: 3px 2px;
}
.drb-chatbot-typing-dot {
	width: 7px; height: 7px; border-radius: 50%;
	background: var(--drb-pink);
	box-shadow: 0 0 10px rgba(244, 114, 182, .6);
	animation: drb-dot .9s ease-in-out infinite;
}
.drb-chatbot-typing-dot:nth-child(2) { animation-delay: .15s; }
.drb-chatbot-typing-dot:nth-child(3) { animation-delay: .30s; }

@keyframes drb-dot {
	0%,60%,100% { transform: translateY(0);   opacity: .4; }
	30%          { transform: translateY(-6px); opacity: 1;  }
}

/* ─── Footer / Input ───────────────────────────────────── */
.drb-chatbot-footer {
	flex-shrink: 0;
	background: rgba(15, 10, 28, 0.95);
	border-top: 1px solid rgba(168, 85, 247, 0.2);
	padding: 10px 14px 13px;
}

.drb-chatbot-input-row {
	display: flex;
	align-items: flex-end;
	gap: 9px;
}

.drb-chatbot-input-wrapper { flex: 1; }

.drb-chatbot-input {
	display: block;
	width: 100%;
	resize: none;
	overflow: hidden;
	min-height: 42px;
	max-height: 100px;
	border-radius: 21px;
	border: 1.5px solid rgba(168, 85, 247, 0.35);
	background: rgba(30, 20, 50, 0.6);
	font-family: var(--drb-font);
	font-size: 13.5px;
	line-height: 1.45;
	color: var(--drb-text);
	padding: 10px 16px;
	outline: none;
	transition: border-color .18s, background .18s, box-shadow .18s;
}
.drb-chatbot-input::placeholder { color: var(--drb-text-3); opacity: 1; }
.drb-chatbot-input:focus {
	border-color: var(--drb-p);
	background: rgba(40, 25, 65, 0.7);
	box-shadow: 0 0 0 3px rgba(168, 85, 247, .15), 0 0 20px rgba(168, 85, 247, .1);
}

.drb-chatbot-send {
	flex-shrink: 0;
	width: 42px; height: 42px;
	border-radius: 50%;
	border: 1px solid rgba(236, 72, 153, 0.3);
	background: linear-gradient(145deg, var(--drb-magenta), var(--drb-p-dark));
	color: #fff;
	cursor: pointer;
	display: flex; align-items: center; justify-content: center;
	box-shadow: 0 4px 20px rgba(168, 85, 247, .4), 0 0 15px rgba(236, 72, 153, .2);
	transition: transform .2s var(--drb-spring), box-shadow .2s, opacity .16s;
	outline: none;
}
.drb-chatbot-send svg { width: 19px; height: 19px; }
.drb-chatbot-send:not([disabled]):hover {
	transform: translateY(-2px) scale(1.07);
	box-shadow: 0 8px 28px rgba(168, 85, 247, .5), 0 0 22px rgba(236, 72, 153, .25);
}
.drb-chatbot-send:not([disabled]):active {
	transform: scale(.94);
	box-shadow: 0 2px 10px rgba(168, 85, 247, .3);
}
.drb-chatbot-send[disabled] { opacity: .4; cursor: default; box-shadow: none; }
.drb-chatbot-send:focus-visible { box-shadow: 0 0 0 3px rgba(15,10,25,.9), 0 0 0 6px var(--drb-p); }

/* ─── Disclaimer ───────────────────────────────────────── */
.drb-chatbot-disclaimer {
	margin-top: 8px;
	padding: 7px 11px;
	background: rgba(168, 85, 247, 0.12);
	border-left: 3px solid rgba(168, 85, 247, 0.5);
	border-radius: 0 8px 8px 0;
	font-size: 10.5px;
	line-height: 1.5;
	color: var(--drb-text-2);
}
.drb-chatbot-disclaimer strong { color: var(--drb-p-mid); font-weight: 700; }

/* ─── Bu sitede eklenenler (aynı tema) ─────────────────── */

/* Sohbeti temizle: kapat düğmesiyle aynı görünüm */
.drb-chatbot-reset svg { width: 16px; height: 16px; }

/* Yanıtın altındaki "İlgili sayfalar" */
.drb-chatbot-pages {
	align-self: flex-start;
	max-width: 82%;
	margin: 6px 0 2px;
	padding: 8px 12px;
	background: rgba(168, 85, 247, 0.12);
	border: 1px solid var(--drb-border);
	border-radius: 12px;
	font-size: 12.5px;
	animation: drb-msg-in .2s var(--drb-ease) both;
}
.drb-chatbot-pages-title {
	margin-bottom: 4px;
	font-size: 10.5px;
	font-weight: 700;
	letter-spacing: .04em;
	text-transform: uppercase;
	color: var(--drb-p-mid);
}
.drb-chatbot-pages ul { list-style: none; }
.drb-chatbot-pages li + li { margin-top: 3px; }
.drb-chatbot-pages a {
	color: var(--drb-text) !important;
	font-weight: 600;
	text-decoration: underline;
	text-decoration-color: rgba(192, 132, 252, .6);
	text-underline-offset: 2px;
}
.drb-chatbot-pages a:hover { color: #fff !important; text-decoration-color: var(--drb-pink); }

/* Hata yanıtı */
.drb-chatbot-message--error {
	border-color: rgba(244, 114, 182, .55);
	box-shadow: 0 2px 12px rgba(0, 0, 0, .25), 0 0 16px rgba(236, 72, 153, .25);
}

/* Açık rıza (ilk kullanımda mesaj alanının altında) */
.drb-chatbot-consent {
	position: relative;
	z-index: 1;
	flex-shrink: 0;
	max-height: 62%;
	overflow-y: auto;
	margin: 0 12px 12px;
	padding: 13px 14px;
	background: var(--drb-surface);
	border: 1px solid var(--drb-border);
	border-radius: 16px;
	box-shadow: var(--drb-glow);
	color: var(--drb-text);
	font-size: 12.5px;
	line-height: 1.55;
}
.drb-chatbot-consent p + p,
.drb-chatbot-consent p + label { margin-top: 8px; }
.drb-chatbot-consent-title { font-size: 14px; font-weight: 700; color: #fff; }
.drb-chatbot-consent a { color: var(--drb-p-mid) !important; text-decoration: underline; text-underline-offset: 2px; }
.drb-chatbot-consent-check { display: flex !important; gap: 9px; align-items: flex-start; font-weight: 600; color: var(--drb-text-2) !important; cursor: pointer; }
.drb-chatbot-consent-check input { flex-shrink: 0; width: 18px; height: 18px; margin-top: 1px; accent-color: var(--drb-p); cursor: pointer; }
.drb-chatbot-consent-start {
	display: block;
	width: 100%;
	min-height: 42px;
	margin-top: 11px;
	border-radius: 999px;
	border: 1px solid rgba(236, 72, 153, 0.35);
	background: linear-gradient(145deg, var(--drb-magenta) 0%, var(--drb-p) 50%, var(--drb-p-dark) 100%);
	color: #fff;
	font-size: 14px;
	font-weight: 700;
	cursor: pointer;
	box-shadow: var(--drb-shadow-fab);
	transition: transform .2s var(--drb-spring), opacity .16s;
}
.drb-chatbot-consent-start:not([disabled]):hover { transform: translateY(-1px); }
.drb-chatbot-consent-start[disabled] { opacity: .4; cursor: not-allowed; box-shadow: none; }
.drb-chatbot-window--consent .drb-chatbot-quick { display: none; }

/* Ara / WhatsApp / Randevu formu kısayolları */
.drb-chatbot-quick { display: flex; gap: 6px; margin-bottom: 9px; }
.drb-chatbot-quick a {
	flex: 1;
	display: inline-flex; align-items: center; justify-content: center;
	min-height: 32px;
	padding: 4px 8px;
	border: 1px solid rgba(168, 85, 247, 0.35);
	border-radius: 999px;
	background: rgba(168, 85, 247, 0.12);
	color: var(--drb-text) !important;
	font-size: 12px;
	font-weight: 600;
	line-height: 1.15;
	text-align: center;
	text-decoration: none !important;
	transition: background .16s, border-color .16s, transform .16s var(--drb-spring);
}
.drb-chatbot-quick a:hover {
	background: linear-gradient(145deg, var(--drb-magenta), var(--drb-p-dark));
	border-color: rgba(236, 72, 153, 0.5);
	color: #fff !important;
	transform: translateY(-1px);
}

/* ─── Mobile ───────────────────────────────────────────── */
/* Mobilde ekranın altında sabit Ara/WhatsApp/Bilgi Al çubuğu var: düğme onun üstünde */
@media (max-width: 767px) {
	.drb-chatbot-trigger { left: 10px; bottom: calc(var(--mobile-bar-h, 64px) + 11px + env(safe-area-inset-bottom)); }
}
@media (max-width: 600px) {
	.drb-chatbot-window {
		left: 0; right: 0; bottom: 0; top: 0;
		width: 100%; max-width: 100%;
		height: 100%; max-height: 100%;
		border-radius: 0; border: none;
		transform-origin: center bottom;
		z-index: 2;
	}
	.drb-chatbot-header { padding-top: max(20px, env(safe-area-inset-top)); }
	.drb-chatbot-footer {
		padding-bottom: max(16px, env(safe-area-inset-bottom, 16px));
	}
	.drb-chatbot-input { font-size: 16px; } /* iOS'ta odaklanınca sayfa yakınlaşmasın */
	.drb-chatbot-root--open { z-index: 99990; }
	.drb-chatbot-root--open .drb-chatbot-trigger { display: none; }
	html.drb-locked, html.drb-locked body { overflow: hidden; }
}

/* Laptop yüksekliğinde taşmayı engelle (ör. 768px ve altı) */
@media (max-height: 800px) and (min-width: 601px) {
	.drb-chatbot-window {
		bottom: 82px;
		max-height: calc(100vh - 96px);
	}
}

@media (prefers-reduced-motion: reduce) {
	.drb-chatbot-trigger::before, .drb-chatbot-trigger::after, .drb-chatbot-typing-dot, .drb-chatbot-message-row { animation: none; }
	.drb-chatbot-window, .drb-chatbot-trigger { transition: none; }
}
@media print { .drb-chatbot-root { display: none; } }
