/* =========================================================
   BITKOM AI — public website assistant
   ========================================================= */

.bitkom-ai {
  --ai-bg: rgba(7, 15, 30, 0.98);
  --ai-bg-soft: rgba(255, 255, 255, 0.055);
  --ai-border: rgba(148, 163, 184, 0.18);
  --ai-text: #f8fafc;
  --ai-muted: #94a3b8;
  --ai-accent: #22c55e;
  --ai-accent-dark: #16a34a;
  --ai-user: #1d4ed8;

  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 9999;
  font-family: inherit;
}

.bitkom-ai-launcher {
  width: 60px;
  height: 60px;
  border: 1px solid rgba(34, 197, 94, 0.35);
  border-radius: 999px;
  background:
    radial-gradient(circle at 35% 25%, rgba(34,197,94,.32), transparent 38%),
    linear-gradient(145deg, #0f172a, #07101f);
  color: #fff;
  cursor: pointer;
  display: grid;
  place-items: center;
  box-shadow:
    0 18px 45px rgba(0,0,0,.38),
    0 0 0 1px rgba(255,255,255,.04) inset;
  transition:
    transform .18s ease,
    box-shadow .18s ease,
    border-color .18s ease;
}

.bitkom-ai-launcher:hover {
  transform: translateY(-2px);
  border-color: rgba(34,197,94,.7);
  box-shadow:
    0 22px 52px rgba(0,0,0,.46),
    0 0 28px rgba(34,197,94,.12);
}

.bitkom-ai-launcher:focus-visible,
.bitkom-ai button:focus-visible,
.bitkom-ai textarea:focus-visible {
  outline: 3px solid rgba(34,197,94,.38);
  outline-offset: 3px;
}

.bitkom-ai-launcher svg {
  width: 27px;
  height: 27px;
}

.bitkom-ai-launcher-label {
  position: absolute;
  right: 72px;
  bottom: 10px;
  white-space: nowrap;
  padding: 9px 13px;
  border: 1px solid var(--ai-border);
  border-radius: 12px;
  background: rgba(7,15,30,.94);
  color: #e2e8f0;
  font-size: 13px;
  font-weight: 650;
  box-shadow: 0 12px 30px rgba(0,0,0,.25);
}

.bitkom-ai-panel {
  position: absolute;
  right: 0;
  bottom: 76px;
  width: min(390px, calc(100vw - 32px));
  height: min(620px, calc(100vh - 120px));
  border: 1px solid var(--ai-border);
  border-radius: 22px;
  overflow: hidden;
  background: var(--ai-bg);
  color: var(--ai-text);
  box-shadow:
    0 30px 80px rgba(0,0,0,.5),
    0 0 0 1px rgba(255,255,255,.025) inset;
  display: flex;
  flex-direction: column;
  transform-origin: bottom right;
  animation: bitkom-ai-in .18s ease-out;
}

.bitkom-ai-panel[hidden] {
  display: none;
}

@keyframes bitkom-ai-in {
  from {
    opacity: 0;
    transform: translateY(8px) scale(.985);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.bitkom-ai-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 17px 18px;
  border-bottom: 1px solid var(--ai-border);
  background:
    radial-gradient(circle at 15% 0%, rgba(34,197,94,.12), transparent 45%);
}

.bitkom-ai-avatar {
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  border: 1px solid rgba(34,197,94,.28);
  background: rgba(34,197,94,.09);
  color: var(--ai-accent);
}

.bitkom-ai-avatar svg {
  width: 22px;
  height: 22px;
}

.bitkom-ai-heading {
  min-width: 0;
  flex: 1;
}

.bitkom-ai-heading strong {
  display: block;
  font-size: 15px;
  line-height: 1.2;
}

.bitkom-ai-status {
  margin-top: 4px;
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--ai-muted);
  font-size: 12px;
}

.bitkom-ai-status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--ai-accent);
  box-shadow: 0 0 10px rgba(34,197,94,.5);
}

.bitkom-ai-close {
  width: 36px;
  height: 36px;
  flex: 0 0 auto;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: #94a3b8;
  cursor: pointer;
  font-size: 23px;
  line-height: 1;
}

.bitkom-ai-close:hover {
  background: var(--ai-bg-soft);
  color: #fff;
}

.bitkom-ai-messages {
  flex: 1;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 13px;
  scrollbar-width: thin;
}

.bitkom-ai-message {
  max-width: 87%;
  padding: 11px 13px;
  border-radius: 15px;
  font-size: 14px;
  line-height: 1.55;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.bitkom-ai-message--assistant {
  align-self: flex-start;
  border: 1px solid var(--ai-border);
  border-bottom-left-radius: 5px;
  background: rgba(255,255,255,.055);
  color: #e8eef8;
}

.bitkom-ai-message--user {
  align-self: flex-end;
  border-bottom-right-radius: 5px;
  background: linear-gradient(145deg, #2563eb, #1d4ed8);
  color: #fff;
}

.bitkom-ai-message--error {
  border-color: rgba(248,113,113,.22);
  background: rgba(127,29,29,.22);
  color: #fecaca;
}

.bitkom-ai-suggestions {
  padding: 0 18px 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.bitkom-ai-suggestion {
  border: 1px solid var(--ai-border);
  border-radius: 999px;
  padding: 7px 10px;
  background: transparent;
  color: #cbd5e1;
  font: inherit;
  font-size: 12px;
  cursor: pointer;
}

.bitkom-ai-suggestion:hover {
  border-color: rgba(34,197,94,.38);
  background: rgba(34,197,94,.07);
  color: #f8fafc;
}

.bitkom-ai-composer {
  padding: 13px;
  border-top: 1px solid var(--ai-border);
  background: rgba(3,7,18,.58);
}

.bitkom-ai-input-wrap {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  padding: 8px 8px 8px 12px;
  border: 1px solid var(--ai-border);
  border-radius: 16px;
  background: rgba(255,255,255,.045);
}

.bitkom-ai-input-wrap:focus-within {
  border-color: rgba(34,197,94,.48);
  box-shadow: 0 0 0 3px rgba(34,197,94,.08);
}

.bitkom-ai-input {
  flex: 1;
  min-height: 38px;
  max-height: 110px;
  resize: none;
  border: 0;
  outline: 0;
  padding: 8px 0;
  background: transparent;
  color: #f8fafc;
  font: inherit;
  font-size: 14px;
  line-height: 1.45;
}

.bitkom-ai-input::placeholder {
  color: #64748b;
}

.bitkom-ai-send {
  width: 39px;
  height: 39px;
  flex: 0 0 auto;
  border: 0;
  border-radius: 12px;
  display: grid;
  place-items: center;
  cursor: pointer;
  background: var(--ai-accent);
  color: #03130a;
}

.bitkom-ai-send:hover {
  background: #4ade80;
}

.bitkom-ai-send:disabled {
  cursor: not-allowed;
  opacity: .42;
}

.bitkom-ai-send svg {
  width: 18px;
  height: 18px;
}

.bitkom-ai-note {
  margin: 8px 4px 0;
  color: #64748b;
  font-size: 10.5px;
  line-height: 1.4;
  text-align: center;
}

.bitkom-ai-typing {
  display: inline-flex;
  gap: 4px;
  align-items: center;
  min-height: 18px;
}

.bitkom-ai-typing span {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #94a3b8;
  animation: bitkom-ai-dot 1.1s infinite ease-in-out;
}

.bitkom-ai-typing span:nth-child(2) {
  animation-delay: .14s;
}

.bitkom-ai-typing span:nth-child(3) {
  animation-delay: .28s;
}

@keyframes bitkom-ai-dot {
  0%, 60%, 100% { opacity: .35; transform: translateY(0); }
  30% { opacity: 1; transform: translateY(-3px); }
}


/* LIGHT THEME */

html[data-theme="light"] .bitkom-ai {
  --ai-bg: rgba(255,255,255,.985);
  --ai-bg-soft: rgba(15,23,42,.055);
  --ai-border: rgba(15,23,42,.12);
  --ai-text: #0f172a;
  --ai-muted: #64748b;
}

html[data-theme="light"] .bitkom-ai-panel {
  box-shadow: 0 28px 70px rgba(15,23,42,.18);
}

html[data-theme="light"] .bitkom-ai-launcher-label {
  background: rgba(255,255,255,.98);
  color: #1e293b;
}

html[data-theme="light"] .bitkom-ai-message--assistant {
  background: #f8fafc;
  color: #1e293b;
}

html[data-theme="light"] .bitkom-ai-close:hover {
  color: #0f172a;
}

html[data-theme="light"] .bitkom-ai-suggestion {
  color: #475569;
}

html[data-theme="light"] .bitkom-ai-input {
  color: #0f172a;
}

html[data-theme="light"] .bitkom-ai-composer {
  background: rgba(248,250,252,.8);
}


/* MOBILE */

@media (max-width: 640px) {
  .bitkom-ai {
    right: 14px;
    bottom: 14px;
  }

  .bitkom-ai-launcher {
    width: 56px;
    height: 56px;
  }

  .bitkom-ai-launcher-label {
    display: none;
  }

  .bitkom-ai-panel {
    position: fixed;
    inset: 10px;
    width: auto;
    height: auto;
    max-height: none;
    border-radius: 19px;
  }

  .bitkom-ai-messages {
    padding: 15px;
  }

  .bitkom-ai-suggestions {
    padding-left: 15px;
    padding-right: 15px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .bitkom-ai *,
  .bitkom-ai *::before,
  .bitkom-ai *::after {
    animation: none !important;
    transition: none !important;
  }
}

/* BITKOM AI message formatting */

.bitkom-ai-message p {
  margin: 0;
}

.bitkom-ai-message p + p {
  margin-top: 9px;
}

.bitkom-ai-message ul {
  margin: 4px 0;
  padding-left: 20px;
}

.bitkom-ai-message li + li {
  margin-top: 4px;
}

.bitkom-ai-message strong {
  font-weight: 700;
  color: inherit;
}

/* =========================================================
   BITKOM AI — UI POLISH / LANDING CSS ISOLATION
   ========================================================= */

.bitkom-ai,
.bitkom-ai * {
  box-sizing: border-box;
}

.bitkom-ai form,
.bitkom-ai p,
.bitkom-ai ul,
.bitkom-ai li,
.bitkom-ai button,
.bitkom-ai textarea,
.bitkom-ai section,
.bitkom-ai header,
.bitkom-ai div,
.bitkom-ai span {
  margin: 0;
}

.bitkom-ai form {
  display: block !important;
}

.bitkom-ai-panel {
  position: absolute;
  right: 0;
  bottom: 76px;

  width: min(400px, calc(100vw - 32px));
  height: min(640px, calc(100vh - 120px));

  display: flex;
  flex-direction: column;

  overflow: hidden;

  border:
    1px solid
    rgba(148, 163, 184, 0.14);

  border-radius: 24px;

  background:
    rgba(5, 13, 28, 0.98);

  color: var(--ai-text);

  box-shadow:
    0 30px 80px rgba(0, 0, 0, 0.52),
    0 0 0 1px rgba(255, 255, 255, 0.02) inset;
}

.bitkom-ai-panel[hidden] {
  display: none;
}


/* HEADER */

.bitkom-ai-header {
  display: flex;
  align-items: center;
  gap: 12px;

  padding: 18px 18px 16px;

  border-bottom:
    1px solid
    rgba(148, 163, 184, 0.12);

  background:
    radial-gradient(
      circle at 15% 0%,
      rgba(34, 197, 94, 0.10),
      transparent 45%
    );
}

.bitkom-ai-avatar {
  width: 42px;
  height: 42px;

  flex: 0 0 42px;

  display: grid;
  place-items: center;

  border:
    1px solid
    rgba(34, 197, 94, 0.22);

  border-radius: 13px;

  background:
    rgba(34, 197, 94, 0.07);

  color: var(--ai-accent);
}

.bitkom-ai-heading {
  flex: 1;
  min-width: 0;
}

.bitkom-ai-heading strong {
  display: block;

  font-size: 15px;
  line-height: 1.25;
}

.bitkom-ai-status {
  margin-top: 4px;

  display: flex;
  align-items: center;
  gap: 6px;

  color: var(--ai-muted);

  font-size: 12px;
}

.bitkom-ai-close {
  width: 36px;
  height: 36px;

  flex: 0 0 36px;

  display: grid;
  place-items: center;

  padding: 0;

  border: 0;
  border-radius: 10px;

  background: transparent;

  color: #94a3b8;

  cursor: pointer;
}

.bitkom-ai-close:hover {
  background:
    rgba(255, 255, 255, 0.05);

  color: #ffffff;
}


/* MESSAGES */

.bitkom-ai-messages {
  flex: 1;

  display: flex;
  flex-direction: column;
  gap: 12px;

  overflow-y: auto;
  overscroll-behavior: contain;

  padding: 18px 16px;

  scrollbar-width: thin;
}

.bitkom-ai-message {
  max-width: 86%;

  padding: 12px 14px;

  border-radius: 16px;

  font-size: 14px;
  line-height: 1.55;

  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.bitkom-ai-message--assistant {
  align-self: flex-start;

  border:
    1px solid
    rgba(148, 163, 184, 0.12);

  border-bottom-left-radius: 6px;

  background:
    rgba(255, 255, 255, 0.045);

  color: #e8eef8;
}

.bitkom-ai-message--user {
  align-self: flex-end;

  border-bottom-right-radius: 6px;

  background:
    linear-gradient(
      145deg,
      #1f7a45,
      #16a34a
    );

  color: #ffffff;
}

.bitkom-ai-message p {
  margin: 0;
}

.bitkom-ai-message p + p {
  margin-top: 9px;
}

.bitkom-ai-message ul {
  margin: 5px 0 0;

  padding-left: 19px;
}

.bitkom-ai-message li {
  margin: 0;
}

.bitkom-ai-message li + li {
  margin-top: 4px;
}


/* SUGGESTIONS */

.bitkom-ai-suggestions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;

  padding: 0 16px 14px;
}

.bitkom-ai-suggestion {
  width: auto;

  padding: 9px 13px;

  border:
    1px solid
    rgba(148, 163, 184, 0.15);

  border-radius: 999px;

  background:
    rgba(255, 255, 255, 0.025);

  color: #cbd5e1;

  font: inherit;
  font-size: 12.5px;
  font-weight: 600;
  line-height: 1.2;

  cursor: pointer;

  transition:
    background 0.18s ease,
    border-color 0.18s ease,
    color 0.18s ease,
    transform 0.18s ease;
}

.bitkom-ai-suggestion:hover {
  transform: translateY(-1px);

  border-color:
    rgba(34, 197, 94, 0.30);

  background:
    rgba(34, 197, 94, 0.07);

  color: #ffffff;
}


/* COMPOSER */

.bitkom-ai-composer {
  display: block !important;

  width: 100%;

  padding: 14px 16px 14px;

  border-top:
    1px solid
    rgba(148, 163, 184, 0.12);

  background:
    rgba(3, 7, 18, 0.72) !important;
}

.bitkom-ai-composer > * {
  width: 100%;
}

.bitkom-ai-input-wrap {
  width: 100%;

  display: flex !important;
  align-items: center;
  gap: 8px;

  min-height: 58px;

  padding: 7px 7px 7px 14px;

  border:
    1px solid
    rgba(148, 163, 184, 0.15);

  border-radius: 18px;

  background:
    rgba(255, 255, 255, 0.035);

  box-shadow:
    inset 0 1px 0
    rgba(255, 255, 255, 0.02);

  transition:
    border-color 0.18s ease,
    box-shadow 0.18s ease;
}

.bitkom-ai-input-wrap:focus-within {
  border-color:
    rgba(34, 197, 94, 0.42);

  box-shadow:
    0 0 0 3px
    rgba(34, 197, 94, 0.07);
}

.bitkom-ai-input {
  flex: 1;

  width: auto !important;
  min-width: 0;

  min-height: 40px;
  max-height: 120px;

  resize: none;

  margin: 0 !important;
  padding: 9px 4px !important;

  border: 0 !important;
  outline: 0 !important;

  background:
    transparent !important;

  box-shadow:
    none !important;

  color: #f8fafc;

  font: inherit;
  font-size: 14px;
  line-height: 1.45;
}

.bitkom-ai-input::placeholder {
  color: #64748b;

  opacity: 1;
}

.bitkom-ai-send {
  width: 44px;
  height: 44px;

  flex: 0 0 44px;

  display: grid;
  place-items: center;

  padding: 0;

  border: 0;

  border-radius: 14px;

  background:
    linear-gradient(
      180deg,
      #22c55e,
      #16a34a
    );

  color: #052e16;

  cursor: pointer;

  box-shadow:
    0 7px 18px
    rgba(34, 197, 94, 0.18);

  transition:
    transform 0.18s ease,
    background 0.18s ease,
    box-shadow 0.18s ease;
}

.bitkom-ai-send:hover {
  transform: translateY(-1px);

  background:
    linear-gradient(
      180deg,
      #4ade80,
      #22c55e
    );

  box-shadow:
    0 9px 22px
    rgba(34, 197, 94, 0.24);
}

.bitkom-ai-send:disabled {
  opacity: 0.42;

  cursor: not-allowed;

  transform: none;

  box-shadow: none;
}

.bitkom-ai-send svg {
  width: 18px;
  height: 18px;
}

.bitkom-ai-note {
  display: block !important;

  width: 100% !important;

  margin: 9px 0 0 !important;
  padding: 0 4px !important;

  color: #64748b;

  font-size: 10.5px;
  line-height: 1.4;

  text-align: left !important;
}


/* LIGHT THEME */

html[data-theme="light"]
.bitkom-ai-panel {
  background:
    rgba(255, 255, 255, 0.985);

  border-color:
    rgba(15, 23, 42, 0.10);

  box-shadow:
    0 30px 70px
    rgba(15, 23, 42, 0.16);
}

html[data-theme="light"]
.bitkom-ai-header {
  border-bottom-color:
    rgba(15, 23, 42, 0.08);
}

html[data-theme="light"]
.bitkom-ai-message--assistant {
  border-color:
    rgba(15, 23, 42, 0.08);

  background: #f8fafc;

  color: #1e293b;
}

html[data-theme="light"]
.bitkom-ai-suggestion {
  border-color:
    rgba(15, 23, 42, 0.10);

  background: #ffffff;

  color: #475569;
}

html[data-theme="light"]
.bitkom-ai-suggestion:hover {
  border-color:
    rgba(34, 197, 94, 0.25);

  background:
    rgba(34, 197, 94, 0.05);

  color: #0f172a;
}

html[data-theme="light"]
.bitkom-ai-composer {
  background:
    rgba(248, 250, 252, 0.96)
    !important;

  border-top-color:
    rgba(15, 23, 42, 0.08);
}

html[data-theme="light"]
.bitkom-ai-input-wrap {
  border-color:
    rgba(15, 23, 42, 0.10);

  background: #ffffff;
}

html[data-theme="light"]
.bitkom-ai-input {
  color: #0f172a;
}

html[data-theme="light"]
.bitkom-ai-note {
  color: #64748b;
}


/* MOBILE */

@media (max-width: 640px) {
  .bitkom-ai {
    right: 12px;
    bottom: 12px;
  }

  .bitkom-ai-panel {
    position: fixed;

    inset: 8px;

    width: auto;
    height: auto;
    max-height: none;

    border-radius: 20px;
  }

  .bitkom-ai-header {
    padding:
      15px
      15px
      14px;
  }

  .bitkom-ai-messages {
    padding:
      15px
      14px;
  }

  .bitkom-ai-suggestions {
    padding:
      0
      14px
      12px;
  }

  .bitkom-ai-composer {
    padding:
      12px
      14px
      13px;
  }

  .bitkom-ai-input-wrap {
    min-height: 56px;
  }

  .bitkom-ai-note {
    font-size: 10px;
  }
}


/* =========================================================
   BITKOM AI — SALES HANDOFF
   ========================================================= */

.bitkom-ai-lead-open {
  border-color:
    rgba(34, 197, 94, 0.28);

  background:
    rgba(34, 197, 94, 0.07);

  color: #dcfce7;
}

.bitkom-ai-lead-panel {
  position: absolute;
  inset: 0;
  z-index: 20;

  display: flex;
  flex-direction: column;

  background:
    rgba(5, 13, 28, 0.995);

  color: var(--ai-text);
}

.bitkom-ai-lead-panel[hidden] {
  display: none;
}

.bitkom-ai-lead-header {
  display: flex;
  align-items: center;
  gap: 12px;

  padding: 17px 18px;

  border-bottom:
    1px solid
    rgba(148, 163, 184, 0.12);
}

.bitkom-ai-lead-header > div {
  min-width: 0;
}

.bitkom-ai-lead-header strong {
  display: block;

  font-size: 15px;
  line-height: 1.3;
}

.bitkom-ai-lead-header span {
  display: block;

  margin-top: 3px;

  color: #94a3b8;

  font-size: 11.5px;
}

.bitkom-ai-lead-back {
  width: 36px;
  height: 36px;

  flex: 0 0 36px;

  display: grid;
  place-items: center;

  padding: 0;

  border:
    1px solid
    rgba(148, 163, 184, 0.12);

  border-radius: 11px;

  background:
    rgba(255, 255, 255, 0.035);

  color: #e2e8f0;

  cursor: pointer;
}

.bitkom-ai-lead-back:hover {
  border-color:
    rgba(34, 197, 94, 0.28);

  background:
    rgba(34, 197, 94, 0.07);
}

.bitkom-ai-lead-content {
  flex: 1;

  overflow-y: auto;

  padding: 17px 16px 18px;
}

.bitkom-ai-lead-intro {
  margin-bottom: 17px;

  padding: 14px;

  border:
    1px solid
    rgba(34, 197, 94, 0.15);

  border-radius: 15px;

  background:
    rgba(34, 197, 94, 0.05);
}

.bitkom-ai-lead-intro strong {
  display: block;

  font-size: 13.5px;
  line-height: 1.45;
}

.bitkom-ai-lead-intro p {
  margin-top: 6px;

  color: #94a3b8;

  font-size: 11.5px;
  line-height: 1.5;
}

.bitkom-ai-lead-form {
  display: flex !important;
  flex-direction: column;
  gap: 12px;

  width: 100%;
}

.bitkom-ai-lead-field {
  display: flex;
  flex-direction: column;
  gap: 6px;

  min-width: 0;
}

.bitkom-ai-lead-field > span {
  color: #94a3b8;

  font-size: 10px;
  font-weight: 700;

  letter-spacing: 0.06em;

  text-transform: uppercase;
}

.bitkom-ai-lead-field input,
.bitkom-ai-lead-field select,
.bitkom-ai-lead-field textarea {
  width: 100%;

  margin: 0 !important;

  padding: 11px 12px !important;

  border:
    1px solid
    rgba(148, 163, 184, 0.14)
    !important;

  border-radius: 12px !important;

  outline: 0;

  background:
    rgba(255, 255, 255, 0.035)
    !important;

  box-shadow: none !important;

  color: #f8fafc !important;

  font: inherit;
  font-size: 13px;

  transition:
    border-color 0.18s ease,
    box-shadow 0.18s ease;
}

.bitkom-ai-lead-field input,
.bitkom-ai-lead-field select {
  min-height: 43px;
}

.bitkom-ai-lead-field textarea {
  min-height: 82px;

  resize: vertical;
}

.bitkom-ai-lead-field input:focus,
.bitkom-ai-lead-field select:focus,
.bitkom-ai-lead-field textarea:focus {
  border-color:
    rgba(34, 197, 94, 0.42)
    !important;

  box-shadow:
    0 0 0 3px
    rgba(34, 197, 94, 0.06)
    !important;
}

.bitkom-ai-lead-field select option {
  background: #0b1526;

  color: #f8fafc;
}

.bitkom-ai-lead-row {
  display: grid;

  grid-template-columns:
    minmax(0, 1fr)
    minmax(0, 1fr);

  gap: 10px;
}

.bitkom-ai-lead-status {
  display: none;

  padding: 10px 12px;

  border:
    1px solid
    rgba(248, 113, 113, 0.18);

  border-radius: 12px;

  background:
    rgba(127, 29, 29, 0.16);

  color: #fecaca;

  font-size: 11.5px;
  line-height: 1.45;
}

.bitkom-ai-lead-status:not(:empty) {
  display: block;
}

.bitkom-ai-lead-status.is-success {
  border-color:
    rgba(34, 197, 94, 0.20);

  background:
    rgba(22, 101, 52, 0.14);

  color: #bbf7d0;
}

.bitkom-ai-lead-actions {
  display: flex;
  gap: 9px;

  margin-top: 2px;
}

.bitkom-ai-lead-cancel,
.bitkom-ai-lead-submit {
  min-height: 43px;

  padding: 0 15px;

  border-radius: 12px;

  font: inherit;
  font-size: 12.5px;
  font-weight: 700;

  cursor: pointer;
}

.bitkom-ai-lead-cancel {
  flex: 0 0 auto;

  border:
    1px solid
    rgba(148, 163, 184, 0.15);

  background:
    rgba(255, 255, 255, 0.035);

  color: #cbd5e1;
}

.bitkom-ai-lead-submit {
  flex: 1;

  border: 0;

  background:
    linear-gradient(
      180deg,
      #22c55e,
      #16a34a
    );

  color: #052e16;

  box-shadow:
    0 7px 18px
    rgba(34, 197, 94, 0.16);
}

.bitkom-ai-lead-submit:disabled {
  opacity: 0.55;

  cursor: wait;
}

.bitkom-ai-lead-privacy {
  color: #64748b;

  font-size: 10px;
  line-height: 1.5;
}

.bitkom-ai-lead-privacy button {
  padding: 0;

  border: 0;

  background: transparent;

  color: #94a3b8;

  font: inherit;

  text-decoration: underline;

  cursor: pointer;
}


/* LIGHT */

html[data-theme="light"]
.bitkom-ai-lead-panel {
  background:
    rgba(255, 255, 255, 0.995);

  color: #0f172a;
}

html[data-theme="light"]
.bitkom-ai-lead-header {
  border-bottom-color:
    rgba(15, 23, 42, 0.08);
}

html[data-theme="light"]
.bitkom-ai-lead-back {
  border-color:
    rgba(15, 23, 42, 0.10);

  background: #f8fafc;

  color: #334155;
}

html[data-theme="light"]
.bitkom-ai-lead-intro {
  background:
    rgba(34, 197, 94, 0.045);
}

html[data-theme="light"]
.bitkom-ai-lead-field input,
html[data-theme="light"]
.bitkom-ai-lead-field select,
html[data-theme="light"]
.bitkom-ai-lead-field textarea {
  border-color:
    rgba(15, 23, 42, 0.10)
    !important;

  background: #ffffff !important;

  color: #0f172a !important;
}

html[data-theme="light"]
.bitkom-ai-lead-field select option {
  background: #ffffff;

  color: #0f172a;
}


@media (max-width: 640px) {
  .bitkom-ai-lead-content {
    padding:
      15px
      14px
      18px;
  }

  .bitkom-ai-lead-row {
    grid-template-columns: 1fr;
  }
}
