/* PrintWise Fiyat Asistanı v3 — modern SaaS chat, scoped */
.awp-assistant {
  --awp-asst-radius: 6px;
  --awp-asst-radius-sm: 6px;
  --awp-asst-primary: #4f46e5;
  --awp-asst-primary-dk: #4338ca;
  --awp-asst-accent: #059669;
  --awp-asst-warn: #d97706;
  --awp-asst-danger: #dc2626;
  --awp-asst-bg: #ffffff;
  --awp-asst-surface: #f4f6fb;
  --awp-asst-border: #e2e8f0;
  --awp-asst-border-soft: #eef2f7;
  --awp-asst-text: #0f172a;
  --awp-asst-text-muted: #64748b;
  --awp-asst-shadow: 0 18px 48px rgba(15, 23, 42, 0.16), 0 2px 8px rgba(15, 23, 42, 0.06);
  --awp-asst-scrollbar: rgba(148, 163, 184, 0.45);
  --awp-asst-scrollbar-hover: rgba(99, 102, 241, 0.55);
  --awp-asst-user-bg: linear-gradient(145deg, #4f46e5 0%, #6366f1 100%);
  --awp-asst-bot-bg: #ffffff;
  position: fixed;
  right: max(14px, env(safe-area-inset-right));
  /* --awp-vv-offset: JS tarafından (assistant-chat.js) visualViewport ile senkronize
     edilir; sanal klavye açıldığında widget'ı yukarı kaydırıp yazı alanının
     klavyenin altında kalmasını önler. Klavye kapalıyken değeri 0px'tir. */
  bottom: calc(max(14px, env(safe-area-inset-bottom)) + var(--awp-vv-offset, 0px));
  z-index: 99990;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  font-size: 14px;
  line-height: 1.55;
  color: var(--awp-asst-text);
  -webkit-font-smoothing: antialiased;
}

/* ── Scrollbar (mesaj alanı) ───────────────── */
.awp-assistant-messages {
  scrollbar-width: thin;
  scrollbar-color: var(--awp-asst-scrollbar) transparent;
}

.awp-assistant-messages::-webkit-scrollbar {
  width: 6px;
}

.awp-assistant-messages::-webkit-scrollbar-track {
  background: transparent;
  margin: 6px 0;
}

.awp-assistant-messages::-webkit-scrollbar-thumb {
  background-color: var(--awp-asst-scrollbar);
  border-radius: var(--awp-asst-radius);
  border: 2px solid transparent;
  background-clip: padding-box;
}

.awp-assistant-messages::-webkit-scrollbar-thumb:hover {
  background-color: var(--awp-asst-scrollbar-hover);
}

.awp-assistant-messages::-webkit-scrollbar-corner {
  background: transparent;
}

/* ── FAB butonu ─────────────────────────────── */
.awp-assistant-fab {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  padding: 12px 18px;
  background: linear-gradient(145deg, #4f46e5 0%, #6366f1 100%);
  color: #fff;
  box-shadow: 0 8px 24px rgba(79, 70, 229, 0.34);
  cursor: pointer;
  transition: transform 0.22s ease, box-shadow 0.18s ease, background 0.18s ease,
    opacity 0.22s ease, visibility 0.22s ease;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.01em;
  position: relative;
  z-index: 2;
}

.awp-assistant-fab:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(79, 70, 229, 0.38);
  background: linear-gradient(145deg, #4338ca 0%, #4f46e5 100%);
}

.awp-assistant-fab:focus-visible {
  outline: 2px solid #818cf8;
  outline-offset: 2px;
}

.awp-assistant-fab-icon {
  display: inline-flex;
  align-items: center;
}

/* ── Backdrop (modal blur) ─────────────────── */
.awp-assistant-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.42);
  -webkit-backdrop-filter: blur(10px) saturate(120%);
  backdrop-filter: blur(10px) saturate(120%);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.28s ease, visibility 0.28s ease;
  z-index: 0;
}

.awp-assistant.is-panel-open .awp-assistant-backdrop,
.awp-assistant.is-panel-closing .awp-assistant-backdrop {
  visibility: visible;
}

.awp-assistant.is-panel-open .awp-assistant-backdrop {
  opacity: 1;
  pointer-events: auto;
}

.awp-assistant.is-panel-closing .awp-assistant-backdrop {
  opacity: 0;
  pointer-events: none;
}

body.awp-assistant-body-lock {
  overflow: hidden;
}

/* ── Panel ──────────────────────────────────── */
.awp-assistant-panel {
  position: fixed;
  right: max(16px, env(safe-area-inset-right));
  bottom: calc(max(16px, env(safe-area-inset-bottom)) + var(--awp-vv-offset, 0px));
  z-index: 3;
  width: min(480px, calc(100vw - 32px));
  height: min(760px, calc(100dvh - 32px - var(--awp-vv-offset, 0px)));
  max-height: calc(100dvh - 32px - var(--awp-vv-offset, 0px));
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  background: var(--awp-asst-bg);
  border-radius: 6px;
  box-shadow: var(--awp-asst-shadow);
  border: 1px solid var(--awp-asst-border);
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(20px) scale(0.97);
  transform-origin: bottom right;
  transition:
    opacity 0.32s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.32s cubic-bezier(0.22, 1, 0.36, 1),
    visibility 0.32s ease;
}

.awp-assistant.is-panel-open .awp-assistant-panel {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

.awp-assistant.is-panel-closing .awp-assistant-panel {
  opacity: 0;
  visibility: visible;
  pointer-events: none;
  transform: translateY(24px) scale(0.97);
}

/* ── Topbar (logo + kapat) — viewport üstünde her zaman görünür ── */
#awp-assistant-panel > .awp-assistant-topbar,
.awp-assistant-topbar {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  grid-row: 1;
  flex-shrink: 0;
  background: var(--awp-asst-header-bg, #ffffff) !important;
  border-bottom: 1px solid var(--awp-asst-border);
  box-shadow: 0 1px 0 rgba(15, 23, 42, 0.05);
  z-index: 5;
}

.awp-assistant-topbar-inner {
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 52px;
  padding: 10px 12px 10px 14px;
}

.awp-assistant-topbar-brand {
  display: flex;
  align-items: center;
  min-width: 0;
  flex: 0 1 auto;
  max-width: 55%;
}

.awp-assistant-topbar-tagline {
  flex: 1 1 auto;
  min-width: 0;
  margin: 0;
  padding: 0 4px 0 0;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: #64748b;
  text-align: right;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.awp-assistant-topbar-logo {
  display: block;
  max-width: 128px;
  width: auto;
  height: auto;
  max-height: 34px;
  object-fit: contain;
}

.awp-assistant-topbar-fallback {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #0f172a;
}

.awp-assistant-topbar-close {
  flex: 0 0 auto;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  margin: 0;
  padding: 0;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  background: #ffffff;
  color: #64748b;
  box-shadow: 0 1px 4px rgba(15, 23, 42, 0.06);
  cursor: pointer;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}

.awp-assistant-topbar-close:hover {
  background: #f8fafc;
  color: #0f172a;
  border-color: #cbd5e1;
}

.awp-assistant-topbar-close:focus-visible {
  outline: 2px solid #818cf8;
  outline-offset: 2px;
}

/* Eski header sınıfları */
.awp-assistant-header,
.awp-assistant-header-text,
.awp-assistant-header-logo,
.awp-assistant-header-brand,
.awp-assistant-close {
  display: none !important;
}

.awp-assistant-header-actions {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
}

.awp-assistant-icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  padding: 0;
  border: 1px solid transparent;
  border-radius: 8px;
  background: transparent;
  color: #64748b;
  cursor: pointer;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}

.awp-assistant-icon-btn:hover {
  background: #eef2ff;
  color: #4338ca;
  border-color: #e0e7ff;
}

.awp-assistant-icon-btn:focus-visible {
  outline: 2px solid #818cf8;
  outline-offset: 1px;
}

.awp-assistant-avatar {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: linear-gradient(145deg, #4f46e5, #6366f1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(79, 70, 229, 0.28);
}

.awp-assistant-header-text {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.awp-assistant-header-text strong {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.awp-assistant-header-text span {
  font-size: 11px;
  color: var(--awp-asst-text-muted);
}

.awp-assistant-status {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  color: var(--awp-asst-accent);
  font-weight: 500;
}

.awp-assistant-status::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--awp-asst-accent);
  box-shadow: 0 0 0 2px rgba(5, 150, 105, 0.2);
}

/* ── FAB: panel açıkken gizle ───────────────── */
.awp-assistant.is-panel-open .awp-assistant-fab,
.awp-assistant.is-panel-closing .awp-assistant-fab {
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
  transform: scale(0.88) translateY(4px);
}

/* Eski header sınıfları (JS i18n uyumu) — görünmez tutulur */
.awp-assistant-title,
.awp-assistant-status {
  display: none !important;
}

/* ── Mesaj alanı ────────────────────────────── */
.awp-assistant-messages-shell {
  position: relative;
  grid-row: 2;
  min-height: 0;
  display: flex;
  flex-direction: column;
  background: var(--awp-asst-surface);
  overflow: hidden;
}

/* Üst/alt yumuşak fade — kaydırırken keskin kesilme hissini azaltır */
.awp-assistant-messages-shell::before,
.awp-assistant-messages-shell::after {
  content: "";
  position: absolute;
  left: 0;
  right: 6px; /* scrollbar alanı dışarıda kalsın */
  pointer-events: none;
  z-index: 2;
}

.awp-assistant-messages-shell::before {
  top: 0;
  height: 40px;
  background: linear-gradient(
    to bottom,
    var(--awp-asst-surface) 0%,
    color-mix(in srgb, var(--awp-asst-surface) 70%, transparent) 55%,
    transparent 100%
  );
}

.awp-assistant-messages-shell::after {
  bottom: 0;
  height: 28px;
  background: linear-gradient(
    to top,
    var(--awp-asst-surface) 0%,
    color-mix(in srgb, var(--awp-asst-surface) 65%, transparent) 50%,
    transparent 100%
  );
}

.awp-assistant-messages {
  flex: 1 1 auto;
  overflow-y: auto;
  padding: 18px 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  background:
    radial-gradient(120% 80% at 0% 0%, rgba(99, 102, 241, 0.05), transparent 55%),
    var(--awp-asst-surface);
  min-height: 0;
  scroll-behavior: smooth;
}

.awp-assistant-msg {
  max-width: min(92%, 340px);
  padding: 11px 13px;
  border-radius: 16px;
  word-break: break-word;
  font-size: 13.5px;
  line-height: 1.55;
  letter-spacing: -0.01em;
  animation: awpMsgIn 0.22s ease;
}

@keyframes awpMsgIn {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.awp-assistant-msg--user {
  align-self: flex-end;
  background: var(--awp-asst-user-bg);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom-right-radius: 6px;
  box-shadow: 0 4px 14px rgba(79, 70, 229, 0.22);
}

.awp-assistant-msg--bot {
  align-self: flex-start;
  background: var(--awp-asst-bot-bg);
  border: 1px solid var(--awp-asst-border);
  border-bottom-left-radius: 6px;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.05);
  transition: opacity 0.15s ease;
  color: var(--awp-asst-text);
}

.awp-assistant-msg--bot:has(.awp-assistant-quote-card),
.awp-assistant-msg--bot:has(.awp-assistant-store-list) {
  max-width: 100%;
}

.awp-assistant-msg--bot.awp-assistant-msg--pending-lang {
  opacity: 0.7;
}

/* Mesaj içi paragraf */
.awp-assistant-msg .awp-p {
  margin: 0 0 6px;
}

.awp-assistant-msg .awp-p:last-child {
  margin-bottom: 0;
}

.awp-assistant-msg ul {
  margin: 6px 0;
  padding-left: 18px;
}

.awp-assistant-msg li {
  margin: 3px 0;
}

.awp-assistant-msg strong {
  font-weight: 600;
}

/* ── Yazıyor animasyonu ─────────────────────── */
.awp-assistant-typing {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 12px 14px;
  min-width: 64px;
}

.awp-assistant-typing-label {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.awp-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #818cf8;
  display: inline-block;
  animation: awpDotBounce 1.2s ease-in-out infinite;
}

.awp-dot:nth-child(2) {
  animation-delay: 0.2s;
}

.awp-dot:nth-child(3) {
  animation-delay: 0.4s;
}

@keyframes awpDotBounce {
  0%,
  60%,
  100% {
    transform: translateY(0);
    opacity: 0.45;
  }

  30% {
    transform: translateY(-4px);
    opacity: 1;
  }
}

/* ── Fiyat kutusu ───────────────────────────── */
.awp-assistant-price-box {
  margin: 10px 0 6px;
  border-radius: 14px;
  padding: 1px;
  background: linear-gradient(135deg, #6366f1 0%, #10b981 100%);
  box-shadow: 0 8px 24px rgba(79, 70, 229, 0.14);
}

.awp-assistant-price-box-inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
  border-radius: 13px;
  padding: 12px 14px;
}

.awp-assistant-price-label {
  font-size: 10px;
  color: #6366f1;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.awp-assistant-price-value {
  font-size: 24px;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.awp-assistant-price-currency {
  font-size: 13px;
  font-weight: 700;
  color: #64748b;
  letter-spacing: 0;
}

/* ── Yapılandırılmış teklif kartı ───────────── */
.awp-assistant-quote-card {
  margin: 10px 0 6px;
  padding: 0;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 0;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.06);
  overflow: visible;
}

.awp-assistant-quote-card-head {
  padding: 12px 14px 10px;
  background: linear-gradient(135deg, #eef2ff 0%, #f0fdf4 100%);
  border-bottom: 1px solid #e2e8f0;
}

.awp-assistant-quote-card-badge {
  display: inline-flex;
  align-items: center;
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(99, 102, 241, 0.25);
  color: #4338ca;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.awp-assistant-quote-card-title {
  font-size: 15px;
  font-weight: 700;
  color: #0f172a;
  margin: 8px 0 0;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.awp-assistant-quote-card-rows {
  margin: 0;
  display: grid;
  gap: 0;
  padding: 4px 0;
}

.awp-assistant-quote-card-row {
  display: grid;
  grid-template-columns: minmax(72px, 38%) 1fr;
  gap: 10px;
  align-items: baseline;
  font-size: 12px;
  line-height: 1.35;
  padding: 8px 14px;
  border-bottom: 1px solid #f1f5f9;
}

.awp-assistant-quote-card-row:last-child {
  border-bottom: none;
}

.awp-assistant-quote-card-row dt {
  margin: 0;
  color: #64748b;
  font-weight: 600;
}

.awp-assistant-quote-card-row dd {
  margin: 0;
  color: #0f172a;
  font-weight: 700;
  text-align: right;
}

.awp-assistant-quote-card-row.is-assumed dd {
  color: #475569;
}

.awp-assistant-quote-card-assumed {
  display: inline-block;
  margin-left: 4px;
  font-size: 9px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #94a3b8;
}

.awp-assistant-quote-card-price {
  margin: 0;
  padding: 12px 14px 14px;
  background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
  border-top: 1px solid #e2e8f0;
}

.awp-assistant-quote-card-price-main {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.awp-assistant-quote-card-price-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: #6366f1;
}

.awp-assistant-quote-card-price-value {
  font-size: 26px;
  font-weight: 800;
  color: #065f46;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.awp-assistant-quote-card-currency {
  font-size: 14px;
  font-weight: 700;
  color: #64748b;
}

.awp-assistant-quote-card-delivery {
  margin: 0;
  padding: 10px 14px 12px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 8px;
  align-items: center;
  font-size: 12px;
  background: #fafafa;
  border-top: 1px dashed #e2e8f0;
}

.awp-assistant-quote-card-delivery-icon {
  font-size: 14px;
  line-height: 1;
}

.awp-assistant-quote-card-delivery-label {
  color: #64748b;
  font-weight: 600;
}

.awp-assistant-quote-card-delivery-value {
  color: #0f172a;
  font-weight: 700;
  text-align: right;
}

.awp-assistant-quote-card-note {
  margin: 0;
  padding: 10px 14px 12px;
  font-size: 11px;
  color: #64748b;
  line-height: 1.35;
  box-sizing: border-box;
}

.awp-assistant-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
}

.awp-assistant-action-chip {
  appearance: none;
  border: 1px solid #cbd5e1;
  background: #f8fafc;
  color: #0f172a;
  border-radius: 999px;
  padding: 7px 11px;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.2;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
}

.awp-assistant-action-chip:hover {
  background: #eff6ff;
  border-color: #93c5fd;
  color: #1d4ed8;
}

.awp-assistant-action-chip:focus-visible {
  outline: 2px solid #6366f1;
  outline-offset: 2px;
}

/* ── Teklif tamamlanınca belirgin aksiyonlar ── */
.awp-assistant-quote-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px dashed #e2e8f0;
}

.awp-assistant-footer-btn {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border-radius: 12px;
  padding: 10px 12px;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none !important;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.awp-assistant-footer-btn:hover {
  transform: translateY(-1px);
}

.awp-assistant-footer-btn--pdf {
  background: linear-gradient(145deg, #1d4ed8, #3b82f6);
  color: #fff !important;
  box-shadow: 0 4px 14px rgba(29, 78, 216, 0.28);
}

.awp-assistant-footer-btn--wa {
  background: linear-gradient(145deg, #059669, #10b981);
  color: #fff !important;
  box-shadow: 0 4px 14px rgba(5, 150, 105, 0.28);
}

.awp-assistant-footer-btn--form {
  background: #fff;
  color: #4338ca !important;
  border-color: #c7d2fe;
}

.awp-assistant-footer-btn--form:hover {
  background: #eef2ff;
}

/* ── Detay accordion ────────────────────────── */
.awp-assistant-details {
  margin: 8px 0 0;
  font-size: 12px;
}

.awp-assistant-details summary {
  cursor: pointer;
  color: #4f46e5;
  font-weight: 600;
  user-select: none;
  list-style: none;
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 2px 0;
  border-radius: var(--awp-asst-radius);
}

.awp-assistant-details summary::-webkit-details-marker {
  display: none;
}

.awp-assistant-details summary::before {
  content: "▸";
  font-size: 10px;
  transition: transform 0.15s;
}

.awp-assistant-details[open] summary::before {
  transform: rotate(90deg);
}

.awp-assistant-lines {
  margin: 6px 0 2px;
  padding: 8px 10px;
  color: #475569;
  list-style: none;
  background: var(--awp-asst-surface);
  border: 1px solid var(--awp-asst-border-soft);
  border-radius: var(--awp-asst-radius);
}

.awp-assistant-lines li {
  margin-bottom: 4px;
  padding-bottom: 4px;
  border-bottom: 1px solid var(--awp-asst-border-soft);
}

.awp-assistant-lines li:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: 0;
}

.awp-assistant-lines span {
  font-weight: 500;
}

.awp-assistant-lines em {
  color: var(--awp-asst-text-muted);
  font-style: normal;
}

/* ── CTA butonu ─────────────────────────────── */
.awp-assistant-cta {
  display: inline-flex;
  align-items: center;
  margin-top: 10px;
  padding: 9px 14px;
  border-radius: var(--awp-asst-radius);
  background: #059669;
  color: #fff !important;
  text-decoration: none !important;
  font-weight: 600;
  font-size: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 1px 3px rgba(5, 150, 105, 0.25);
  transition: background 0.15s, box-shadow 0.15s, transform 0.15s;
}

.awp-assistant-cta:hover {
  background: #047857;
  box-shadow: 0 2px 8px rgba(5, 150, 105, 0.3);
  transform: translateY(-1px);
}

.awp-assistant-cta:focus-visible {
  outline: 2px solid #34d399;
  outline-offset: 2px;
}

.awp-assistant-cta-pdf {
  background: #1d4ed8;
  box-shadow: 0 1px 3px rgba(29, 78, 216, 0.25);
}

.awp-assistant-cta-pdf:hover {
  background: #1e40af;
  box-shadow: 0 2px 8px rgba(29, 78, 216, 0.3);
}

/* ── Hata / açıklama ────────────────────────── */
.awp-assistant-parsed {
  font-size: 12px;
  color: #475569;
  margin: 0 0 8px;
  padding: 8px 10px;
  background: #f1f5f9;
  border-radius: var(--awp-asst-radius);
  border: 1px solid var(--awp-asst-border);
  border-left: 3px solid #6366f1;
}

.awp-assistant-parsed-label {
  display: block;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--awp-asst-text-muted);
  margin-bottom: 2px;
}

.awp-assistant-error {
  color: var(--awp-asst-danger);
  font-size: 13px;
  margin: 0;
}

.awp-assistant-error-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 10px 12px;
  margin: 0;
  background: #fef2f2;
  border: 1px solid #fecaca;
  border-radius: 12px;
  color: #991b1b;
}

.awp-assistant-error-card .awp-assistant-error {
  color: #991b1b;
}

.awp-assistant-retry-btn {
  align-self: flex-start;
  appearance: none;
  border: 1px solid #fca5a5;
  background: #fff;
  color: #b91c1c;
  border-radius: 999px;
  padding: 5px 11px;
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
}

.awp-assistant-retry-btn:hover {
  background: #fee2e2;
}

.awp-assistant-clarify {
  color: var(--awp-asst-warn);
  font-size: 13px;
  margin: 6px 0 0;
}

.awp-assistant-store-list {
  list-style: none;
  margin: 0.75rem 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.awp-assistant-store-item-wrap {
  margin: 0;
  padding: 0;
}

.awp-assistant-store-item {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.35rem;
  padding: 0.65rem 0.75rem;
  border-radius: 0.75rem;
  background: rgba(99, 102, 241, 0.08);
  border: 1px solid rgba(99, 102, 241, 0.15);
  text-decoration: none;
  color: inherit;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.awp-assistant-store-item:hover {
  background: rgba(99, 102, 241, 0.14);
  border-color: rgba(99, 102, 241, 0.28);
}

.awp-assistant-store-item:focus-visible {
  outline: 2px solid #6366f1;
  outline-offset: 2px;
}

.awp-assistant-store-name {
  color: #4338ca;
  font-weight: 600;
  line-height: 1.35;
  word-break: break-word;
}

.awp-assistant-store-price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: flex-start;
  gap: 0.35rem 0.5rem;
  font-size: 0.82rem;
  line-height: 1.35;
}

.awp-assistant-store-price-old {
  color: #94a3b8;
  font-weight: 500;
  text-decoration: line-through;
  white-space: nowrap;
}

.awp-assistant-store-price-current {
  font-weight: 700;
  color: #059669;
  white-space: nowrap;
}

.awp-assistant-md-link {
  color: #4338ca;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.awp-assistant-md-link:hover {
  color: #3730a3;
}

/* ── Hazır sorular (⋯ menü) ─────────────────── */
.awp-assistant-prompts {
  position: relative;
  flex-shrink: 0;
  display: flex;
  align-items: center;
}

.awp-assistant-prompts-toggle {
  border-color: #e2e8f0;
  background: #f8fafc;
  color: #4338ca;
}

.awp-assistant-prompts-toggle:hover,
.awp-assistant-prompts-toggle[aria-expanded="true"] {
  background: #eef2ff;
  border-color: #a5b4fc;
  color: #3730a3;
}

.awp-assistant-chips {
  position: absolute;
  left: 0;
  bottom: calc(100% + 8px);
  z-index: 5;
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: min(280px, calc(100vw - 48px));
  max-width: min(320px, calc(100vw - 40px));
  max-height: min(240px, 40vh);
  overflow-y: auto;
  padding: 8px;
  background: #fff;
  border: 1px solid var(--awp-asst-border);
  border-radius: var(--awp-asst-radius);
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.14);
  scrollbar-width: thin;
}

.awp-assistant-chips[hidden] {
  display: none !important;
}

.awp-assistant-chip {
  display: block;
  width: 100%;
  text-align: left;
  border: 1px solid #c7d2fe;
  background: #f8fafc;
  color: #4338ca;
  border-radius: var(--awp-asst-radius);
  padding: 8px 10px;
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  white-space: normal;
  overflow: visible;
  text-overflow: unset;
  max-width: none;
  line-height: 1.35;
  transition: background 0.12s, border-color 0.12s, color 0.12s;
}

.awp-assistant-chip:hover {
  background: #eef2ff;
  border-color: #a5b4fc;
}

.awp-assistant-chip:focus-visible {
  outline: 2px solid #818cf8;
  outline-offset: 1px;
}

.awp-assistant-chip-link {
  background: #f0fdf4;
  border-color: #a7f3d0;
  color: #047857;
}

.awp-assistant-chip-link:hover {
  background: #dcfce7;
  border-color: #6ee7b7;
}

/* ── Sticky composer (AI chatboard) ─────────── */
.awp-assistant-form {
  grid-row: 3;
  z-index: 4;
  display: block;
  padding: 8px 10px calc(10px + env(safe-area-inset-bottom, 0px));
  border-top: 1px solid var(--awp-asst-border-soft);
  background: #ffffff;
  flex-shrink: 0;
}

.awp-assistant-composer {
  display: block;
}

.awp-assistant-composer-row {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 4px 4px 4px 6px;
  border: 1px solid var(--awp-asst-border);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 1px 6px rgba(15, 23, 42, 0.04);
  transition: border-color 0.15s, box-shadow 0.15s;
}

.awp-assistant-composer-row:focus-within {
  border-color: #818cf8;
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.12);
}

.awp-assistant-composer-tools {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  flex: 0 0 auto;
}

.awp-assistant-tool-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #64748b;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}

.awp-assistant-tool-btn:hover {
  background: #f1f5f9;
  color: #4338ca;
}

.awp-assistant-tool-btn:focus-visible {
  outline: 2px solid #818cf8;
  outline-offset: 1px;
}

.awp-assistant .screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
  word-wrap: normal !important;
}

.awp-assistant-composer:focus-within {
  border-color: transparent;
  box-shadow: none;
}

.awp-assistant-input {
  flex: 1 1 auto;
  width: 100%;
  min-width: 0;
  border: 0;
  border-radius: 8px;
  padding: 8px 4px;
  font-size: 14px;
  font-family: inherit;
  color: var(--awp-asst-text);
  background: transparent;
  box-shadow: none;
}

.awp-assistant-input:focus {
  outline: none;
  border: 0;
  box-shadow: none;
}

.awp-assistant-input::placeholder {
  color: #94a3b8;
}

.awp-assistant-input:disabled {
  opacity: 0.65;
}

.awp-assistant-send {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  gap: 0;
  border: 0;
  border-radius: 10px;
  padding: 0;
  min-height: 32px;
  min-width: 32px;
  width: 32px;
  height: 32px;
  background: var(--awp-asst-primary);
  color: #fff;
  font-weight: 600;
  font-size: 12px;
  cursor: pointer;
  transition: background 0.15s, opacity 0.15s, transform 0.15s;
}

.awp-assistant-send:hover:not(:disabled) {
  background: var(--awp-asst-primary-dk);
  transform: translateY(-1px);
}

.awp-assistant-send:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  transform: none;
}

.awp-assistant-send:focus-visible {
  outline: 2px solid #818cf8;
  outline-offset: 2px;
}

.awp-assistant-send svg {
  flex-shrink: 0;
}

/* Empty / loading / code */
.awp-assistant-mockup {
  margin: 10px 0 4px;
  padding: 0;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--awp-asst-border);
  background: #0f172a;
}

.awp-assistant-mockup-zoom {
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
  border: none;
  background: transparent;
  cursor: zoom-in;
  line-height: 0;
}

.awp-assistant-mockup-img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 280px;
  object-fit: cover;
  background: #1e293b;
  pointer-events: none;
}

.awp-assistant-mockup-zoom:hover .awp-assistant-mockup-img {
  opacity: 0.95;
}

.awp-assistant-mockup-cap {
  margin: 0;
  padding: 8px 10px;
  font-size: 11px;
  line-height: 1.4;
  color: #94a3b8;
  background: #0f172a;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}

.awp-assistant-mockup-cap-text {
  flex: 1 1 auto;
  min-width: 0;
}

.awp-assistant-mockup-download {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 6px 10px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  color: #fff;
  background: linear-gradient(135deg, #2563eb, #4f46e5);
  border: none;
  cursor: pointer;
  transition: opacity 0.15s ease, transform 0.15s ease;
}

.awp-assistant-mockup-download:hover,
.awp-assistant-mockup-download:focus {
  opacity: 0.92;
  color: #fff;
  transform: translateY(-1px);
}

.awp-assistant-empty[hidden] {
  display: none !important;
}

.awp-assistant-empty-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 12px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #6366f1;
  background: linear-gradient(145deg, #eef2ff, #e0e7ff);
  box-shadow: inset 0 0 0 1px rgba(99, 102, 241, 0.12);
}

.awp-assistant-empty-title {
  margin: 0 0 6px;
  font-size: 15px;
  font-weight: 700;
  color: var(--awp-asst-text);
  letter-spacing: -0.02em;
}

.awp-assistant-empty-text {
  margin: 0;
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--awp-asst-text-muted);
}

.awp-assistant-loading-bar {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  overflow: hidden;
  background: transparent;
  z-index: 3;
}

.awp-assistant-loading-bar[hidden] {
  display: none !important;
}

.awp-assistant-loading-bar::after {
  content: "";
  display: block;
  height: 100%;
  width: 40%;
  background: linear-gradient(90deg, #818cf8, #4f46e5);
  animation: awpLoadSlide 1.1s ease-in-out infinite;
}

@keyframes awpLoadSlide {
  0% {
    transform: translateX(-100%);
  }
  100% {
    transform: translateX(280%);
  }
}

.awp-assistant-code {
  position: relative;
  margin: 8px 0 4px;
  border-radius: 10px;
  background: #0f172a;
  color: #e2e8f0;
  border: 1px solid #1e293b;
  overflow: hidden;
}

.awp-assistant-code pre {
  margin: 0;
  padding: 12px 12px 14px;
  overflow-x: auto;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 12px;
  line-height: 1.5;
  white-space: pre-wrap;
  word-break: break-word;
}

.awp-assistant-code-copy {
  position: absolute;
  top: 6px;
  right: 6px;
  appearance: none;
  border: 1px solid rgba(148, 163, 184, 0.35);
  background: rgba(15, 23, 42, 0.75);
  color: #cbd5e1;
  border-radius: 8px;
  padding: 4px 8px;
  font-size: 10px;
  font-weight: 600;
  cursor: pointer;
}

.awp-assistant-code-copy:hover {
  background: rgba(51, 65, 85, 0.95);
  color: #fff;
}

.awp-assistant-msg--user .awp-assistant-code {
  background: rgba(15, 23, 42, 0.28);
  border-color: rgba(255, 255, 255, 0.12);
}

/* ── Mobil ──────────────────────────────────── */
@media (max-width: 480px) {
  .awp-assistant-fab-label {
    display: none;
  }

  .awp-assistant-fab {
    width: 52px;
    height: 52px;
    padding: 0;
    justify-content: center;
  }

  .awp-assistant-panel {
    right: max(8px, env(safe-area-inset-right));
    bottom: calc(max(8px, env(safe-area-inset-bottom)) + var(--awp-vv-offset, 0px));
    width: calc(100vw - 16px);
    height: calc(100dvh - 16px - var(--awp-vv-offset, 0px));
    max-height: calc(100dvh - 16px - var(--awp-vv-offset, 0px));
    border-radius: 6px;
  }

  .awp-assistant-send-label {
    display: none;
  }

  .awp-assistant-msg {
    max-width: 94%;
    font-size: 13px;
  }

  .awp-assistant-price-value,
  .awp-assistant-quote-card-price-value {
    font-size: 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .awp-assistant-fab,
  .awp-assistant-cta,
  .awp-assistant-msg,
  .awp-assistant-loading-bar::after,
  .awp-assistant-panel,
  .awp-assistant-backdrop,
  .awp-dot {
    transition: none;
    animation: none;
  }
}

/* ── PDF müşteri bilgisi modalı ─────────────── */
.awp-assistant-pdf-modal {
  position: fixed;
  inset: 0;
  z-index: 1000002;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.awp-assistant-pdf-modal[hidden] {
  display: none !important;
}

.awp-assistant-pdf-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(30, 41, 59, 0.42);
  backdrop-filter: blur(3px);
}

.awp-assistant-pdf-modal-dialog {
  position: relative;
  width: min(440px, 100%);
  max-height: min(90dvh, 680px);
  overflow: auto;
  background: linear-gradient(180deg, #fafbff 0%, #ffffff 100%);
  border-radius: 6px;
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.18);
  border: 1px solid #e8edf5;
  padding: 14px 14px 12px;
}

.awp-assistant-pdf-modal-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 4px;
  padding-bottom: 10px;
  border-bottom: 1px solid #eef2f7;
}

.awp-assistant-pdf-modal-title {
  margin: 0;
  font-size: 16px;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.02em;
}

.awp-assistant-pdf-modal-close {
  appearance: none;
  border: 1px solid #e2e8f0;
  background: #f8fafc;
  color: #64748b;
  width: 32px;
  height: 32px;
  border-radius: 6px;
  font-size: 20px;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease, transform 0.12s ease;
}

.awp-assistant-pdf-modal-close:hover {
  background: #eef2ff;
  border-color: #c7d2fe;
  color: #4338ca;
}

.awp-assistant-pdf-modal-close:active {
  transform: scale(0.96);
  background: #e0e7ff;
}

.awp-assistant-pdf-modal-hint {
  margin: 10px 0 12px;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.45;
  color: #64748b;
}

.awp-assistant-pdf-section {
  margin-bottom: 10px;
  padding: 10px;
  border-radius: 6px;
  background: #f8fafc;
  border: 1px solid #edf2f7;
}

.awp-assistant-pdf-section--contact {
  background: #f5f8ff;
  border-color: #e8eeff;
}

.awp-assistant-pdf-section--optional {
  background: #f7faf8;
  border-color: #e8f3ec;
}

.awp-assistant-pdf-section-title {
  margin: 0 0 8px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #6366f1;
}

.awp-assistant-pdf-section--contact .awp-assistant-pdf-section-title {
  color: #2563eb;
}

.awp-assistant-pdf-section--optional .awp-assistant-pdf-section-title {
  color: #059669;
}

.awp-assistant-pdf-modal-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.awp-assistant-pdf-modal-grid--single {
  grid-template-columns: 1fr;
}

.awp-assistant-pdf-field {
  display: flex;
  flex-direction: column;
  gap: 5px;
  min-width: 0;
}

.awp-assistant-pdf-field--full {
  grid-column: 1 / -1;
}

.awp-assistant-pdf-field-label {
  font-size: 11px;
  font-weight: 800;
  color: #475569;
  letter-spacing: 0.01em;
}

.awp-assistant-pdf-input,
.awp-assistant-pdf-modal .awp-proforma-phone-input {
  border: 1px solid #dbe3ee;
  border-radius: 6px;
  padding: 10px 11px;
  font-size: 13px;
  font-weight: 600;
  color: #0f172a;
  background: #fff;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.awp-assistant-pdf-input:hover,
.awp-assistant-pdf-modal .awp-proforma-phone-input:hover {
  border-color: #c7d2fe;
  background: #fcfdff;
}

.awp-assistant-pdf-input:focus,
.awp-assistant-pdf-modal .awp-proforma-phone-input:focus {
  outline: none;
  border-color: #6366f1;
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.14);
  background: #fff;
}

.awp-assistant-pdf-input:active,
.awp-assistant-pdf-modal .awp-proforma-phone-input:active {
  border-color: #4f46e5;
}

.awp-assistant-pdf-modal .awp-proforma-phone-row {
  display: flex;
  gap: 8px;
  align-items: stretch;
  width: 100%;
}

.awp-assistant-pdf-modal .awp-proforma-phone-select {
  position: relative;
  flex-shrink: 0;
  min-width: 92px;
  width: 92px;
}

.awp-assistant-pdf-modal .awp-proforma-phone-selected {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 9px 8px;
  font-size: 12px;
  font-weight: 700;
  border: 1px solid #dbe3ee;
  border-radius: 6px;
  background: #fff;
  cursor: pointer;
  min-height: 40px;
  box-sizing: border-box;
  transition: border-color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}

.awp-assistant-pdf-modal .awp-proforma-phone-selected:hover {
  border-color: #c7d2fe;
  background: #fcfdff;
}

.awp-assistant-pdf-modal .awp-proforma-phone-selected:focus {
  outline: none;
  border-color: #6366f1;
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.14);
}

.awp-assistant-pdf-modal .awp-proforma-phone-select.awp-proforma-phone-open .awp-proforma-phone-selected {
  border-color: #6366f1;
  background: #eef2ff;
}

.awp-assistant-pdf-modal .awp-proforma-phone-arrow {
  margin-left: auto;
  font-size: 0.65rem;
  color: #64748b;
}

.awp-assistant-pdf-modal .awp-proforma-phone-options {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  max-height: 220px;
  overflow-y: auto;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.14);
  z-index: 20;
  display: none;
}

.awp-assistant-pdf-modal .awp-proforma-phone-select.awp-proforma-phone-open .awp-proforma-phone-options {
  display: block;
}

.awp-assistant-pdf-modal .awp-proforma-phone-option {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  padding: 8px 10px;
  font-size: 12px;
  font-weight: 700;
  text-align: left;
  border: none;
  background: transparent;
  cursor: pointer;
  color: #0f172a;
  transition: background 0.12s ease, color 0.12s ease;
}

.awp-assistant-pdf-modal .awp-proforma-phone-option:hover {
  background: #eef2ff;
  color: #3730a3;
}

.awp-assistant-pdf-modal .awp-proforma-phone-option:active {
  background: #e0e7ff;
}

.awp-assistant-pdf-modal .awp-proforma-phone-option-code {
  font-variant-numeric: tabular-nums;
}

.awp-assistant-pdf-modal .awp-flag {
  width: 20px;
  height: 14px;
  flex-shrink: 0;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

.awp-assistant-pdf-modal .awp-flag-mk { background-image: url("../logo/mk.svg"); }
.awp-assistant-pdf-modal .awp-flag-tr { background-image: url("../logo/tr.svg"); }
.awp-assistant-pdf-modal .awp-flag-de { background-image: url("../logo/de.svg"); }
.awp-assistant-pdf-modal .awp-flag-at { background-image: url("../logo/at.svg"); }
.awp-assistant-pdf-modal .awp-flag-ch { background-image: url("../logo/ch.svg"); }
.awp-assistant-pdf-modal .awp-flag-nl { background-image: url("../logo/nl.svg"); }
.awp-assistant-pdf-modal .awp-flag-be { background-image: url("../logo/be.svg"); }
.awp-assistant-pdf-modal .awp-flag-fr { background-image: url("../logo/fr.svg"); }
.awp-assistant-pdf-modal .awp-flag-it { background-image: url("../logo/it.svg"); }
.awp-assistant-pdf-modal .awp-flag-es { background-image: url("../logo/es.svg"); }
.awp-assistant-pdf-modal .awp-flag-gb { background-image: url("../logo/gb.svg"); }

.awp-assistant-pdf-modal .awp-proforma-phone-input {
  flex: 1;
  min-width: 0;
}

.awp-assistant-pdf-modal-error {
  margin: 8px 0 0;
  padding: 8px 10px;
  font-size: 12px;
  font-weight: 700;
  color: #b91c1c;
  background: #fef2f2;
  border: 1px solid #fecaca;
  border-radius: 6px;
}

.awp-assistant-pdf-modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid #eef2f7;
}

.awp-assistant-pdf-btn {
  appearance: none;
  border-radius: 6px;
  padding: 10px 14px;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.12s ease, box-shadow 0.15s ease, background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.awp-assistant-pdf-btn--ghost {
  background: #f8fafc;
  border-color: #dbe3ee;
  color: #475569;
}

.awp-assistant-pdf-btn--ghost:hover {
  background: #f1f5f9;
  border-color: #cbd5e1;
  color: #334155;
}

.awp-assistant-pdf-btn--ghost:active {
  transform: scale(0.98);
  background: #e2e8f0;
}

.awp-assistant-pdf-btn--primary {
  background: linear-gradient(145deg, #4f46e5, #6366f1);
  color: #fff;
  box-shadow: 0 4px 14px rgba(79, 70, 229, 0.24);
}

.awp-assistant-pdf-btn--primary:hover {
  background: linear-gradient(145deg, #4338ca, #4f46e5);
  box-shadow: 0 6px 18px rgba(79, 70, 229, 0.3);
}

.awp-assistant-pdf-btn--primary:active {
  transform: scale(0.98);
  box-shadow: 0 2px 8px rgba(79, 70, 229, 0.22);
}

@media (max-width: 480px) {
  .awp-assistant-pdf-modal-grid {
    grid-template-columns: 1fr;
  }

  .awp-assistant-pdf-field--full {
    grid-column: auto;
  }
}
