/* B2Meet Ziyaretçi Kayıt formu — B2Meet resmi form görünümü */
.b2m-root {
  --b2m-accent: #1f5be0;
  --b2m-accent-ink: #fff;
  --b2m-ink: #0f1d3a;
  --b2m-muted: #5b6b86;
  --b2m-line: #d9e1ee;
  --b2m-bg: #fff;
  --b2m-soft: #f3f6fb;
  --b2m-err: #d92d20;
  --b2m-radius: 10px;
  color: var(--b2m-ink);
  font-size: 15px;
  line-height: 1.45;
  max-width: 820px;
  margin: 0 auto;
  text-align: start;
}
.b2m-root *, .b2m-root *::before, .b2m-root *::after { box-sizing: border-box; }
.b2m-loading { padding: 40px; text-align: center; color: var(--b2m-muted); }

.b2m-form { background: var(--b2m-bg); border: 1px solid var(--b2m-line); border-radius: 16px; padding: 28px; }
.b2m-section { padding-bottom: 24px; margin-bottom: 24px; border-bottom: 1px solid var(--b2m-line); }
.b2m-section:last-of-type { border-bottom: 0; margin-bottom: 0; }
.b2m-root .b2m-sec-title { font-size: 22px; font-weight: 500; margin: 0 0 2px; color: var(--b2m-ink); line-height: 1.3; }
.b2m-root .b2m-sec-sub { font-size: 13px; color: var(--b2m-muted); margin: 0 0 18px; }

.b2m-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 16px; }
.b2m-field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.b2m-field.is-full, .b2m-field:has(.b2m-check) { grid-column: 1 / -1; }
.b2m-root .b2m-label { font-weight: 600; font-size: 13px; margin: 0; color: var(--b2m-ink); }
.b2m-star { color: var(--b2m-err); }
.b2m-err { color: var(--b2m-err); font-size: 12.5px; }
.b2m-err:empty { display: none; }

.b2m-root input[type=text], .b2m-root input[type=email], .b2m-root input[type=tel], .b2m-root input[type=url],
.b2m-root textarea {
  width: 100%; min-height: 44px; padding: 10px 14px; border: 1px solid var(--b2m-line); border-radius: var(--b2m-radius);
  background: var(--b2m-bg); color: var(--b2m-ink); font: inherit; font-size: 15px; margin: 0; box-shadow: none; outline: none;
}
.b2m-root textarea { min-height: 96px; resize: vertical; }
.b2m-root input::placeholder, .b2m-root textarea::placeholder { color: #8a97ad; opacity: 1; }
.b2m-root input:focus, .b2m-root textarea:focus, .b2m-ms.is-open .b2m-ms-ctrl {
  border-color: var(--b2m-accent); box-shadow: 0 0 0 3px rgba(31, 91, 224, .15);
}
.b2m-field.has-error input, .b2m-field.has-error textarea, .b2m-field.has-error .b2m-ms-ctrl { border-color: var(--b2m-err); }

/* telefon */
.b2m-phone { display: grid; grid-template-columns: 136px 1fr; gap: 8px; }

/* arama + seçim */
.b2m-ms.is-compact .b2m-ms-ctrl { flex-wrap: nowrap; }
.b2m-root .b2m-ms.is-compact .b2m-ms-ctrl input.b2m-ms-input { min-width: 0; width: 100%; }
.b2m-ms.is-compact .b2m-chip { flex: none; }
.b2m-ms { position: relative; }
.b2m-ms-ctrl { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; min-height: 44px; padding: 4px 30px 4px 8px; border: 1px solid var(--b2m-line); border-radius: var(--b2m-radius); background: var(--b2m-bg); cursor: text; position: relative; }
.b2m-root .b2m-ms-ctrl input.b2m-ms-input { flex: 1; min-width: 60px; border: 0; box-shadow: none; min-height: 34px; padding: 4px 6px; background: transparent; }
.b2m-chips { display: contents; }
.b2m-chip { display: inline-flex; align-items: center; gap: 4px; background: #e8efff; color: #173a8a; border-radius: 8px; padding: 3px 4px 3px 9px; font-size: 13px; font-weight: 600; max-width: 100%; }
.b2m-chip.is-solo { padding-right: 9px; }
.b2m-root .b2m-chip-x, .b2m-root .b2m-ms-clear { border: 0; background: transparent; cursor: pointer; font-size: 16px; line-height: 1; padding: 0 4px; color: inherit; min-height: 0; box-shadow: none; }
.b2m-root .b2m-ms-clear { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); color: var(--b2m-muted); }
.b2m-root .b2m-ms-clear[hidden] { display: none; }
[dir=rtl] .b2m-ms-ctrl { padding: 4px 8px 4px 30px; }
[dir=rtl] .b2m-root .b2m-ms-clear { right: auto; left: 8px; }
.b2m-ms-list { display: none; position: absolute; z-index: 60; left: 0; right: 0; top: calc(100% + 4px); min-width: 260px; max-height: 280px; overflow: auto; margin: 0; padding: 4px; list-style: none; background: var(--b2m-bg); border: 1px solid var(--b2m-line); border-radius: var(--b2m-radius); box-shadow: 0 10px 30px rgba(15, 29, 58, .14); }
.b2m-ms.is-open .b2m-ms-list { display: block; }
.b2m-ms-list li { margin: 0; list-style: none; }
.b2m-ms-opt { padding: 8px 10px; border-radius: 6px; cursor: pointer; font-size: 14px; }
.b2m-ms-opt:hover { background: var(--b2m-soft); }
.b2m-ms-opt.is-sel { background: #e8efff; font-weight: 600; }
.b2m-ms-group { padding: 8px 10px 4px; font-size: 11px; text-transform: uppercase; letter-spacing: .04em; color: var(--b2m-muted); }
.b2m-ms-empty { padding: 8px 10px; color: var(--b2m-muted); }
.b2m-ms.is-disabled .b2m-ms-ctrl { background: var(--b2m-soft); cursor: not-allowed; }

/* onaylar */
.b2m-root .b2m-check { display: flex; gap: 10px; align-items: flex-start; cursor: pointer; font-weight: 400; font-size: 14px; margin: 0; }
.b2m-root .b2m-check input { margin: 3px 0 0; width: 16px; height: 16px; flex: none; accent-color: var(--b2m-accent); }
.b2m-check a { color: var(--b2m-accent); text-decoration: underline; }
.b2m-section .b2m-grid:has(.b2m-check) { gap: 10px; }

.b2m-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--b2m-line); }
.b2m-req-note { font-size: 12.5px; color: var(--b2m-muted); }
.b2m-root .b2m-btn { min-height: 46px; padding: 10px 26px; border-radius: var(--b2m-radius); border: 0; background: var(--b2m-accent); color: var(--b2m-accent-ink); font: inherit; font-weight: 600; cursor: pointer; }
.b2m-root .b2m-btn:hover { filter: brightness(1.07); }
.b2m-root .b2m-btn:disabled { opacity: .6; cursor: progress; }

.b2m-alert { margin-top: 18px; padding: 12px 14px; border-radius: var(--b2m-radius); }
.b2m-alert[hidden] { display: none; }
.b2m-alert.is-error { background: #fdecea; color: #8a1c1c; border: 1px solid #f5c2bd; }
.b2m-done { text-align: center; padding: 48px 16px; background: var(--b2m-bg); border: 1px solid var(--b2m-line); border-radius: 16px; }
.b2m-done h3 { margin: 0 0 8px; }
.b2m-done-ico { width: 64px; height: 64px; margin: 0 auto 16px; border-radius: 50%; background: var(--b2m-accent); color: #fff; display: grid; place-items: center; font-size: 32px; }
.b2m-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }

@media (max-width: 640px) {
  .b2m-form { padding: 18px; }
  .b2m-grid { grid-template-columns: 1fr; }
  .b2m-phone { grid-template-columns: 120px 1fr; }
  .b2m-foot .b2m-btn { width: 100%; }
}
