/* Webinar narration — Meet gate + news modal (form styles from webinar1.css) */

html.is-wbn-modal-open,
body.is-wbn-modal-open {
  overflow: hidden;
}

.lp-wbn-modal[hidden],
.lp-wbn-modal [hidden],
.lp-wb1-alert[hidden] {
  display: none !important;
}

.lp-wbn-modal {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: grid;
  place-items: center;
  padding: 16px;
}

.lp-wbn-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 31, 57, 0.62);
  backdrop-filter: blur(3px);
}

.lp-wbn-modal-dialog {
  position: relative;
  z-index: 1;
  width: min(100%, 560px);
  max-height: min(92vh, 760px);
  overflow: auto;
  border-radius: 24px;
  background: var(--bg-canvas, #fff);
  box-shadow: 0 40px 80px -36px rgba(5, 16, 31, 0.75);
  outline: none;
}

.lp-wbn-modal-x {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  cursor: pointer;
}

.lp-wbn-modal-x:hover {
  background: rgba(255, 255, 255, 0.24);
}

.lp-wbn-modal-head {
  padding: 28px 24px 20px;
  color: #fff;
  text-align: center;
  background:
    radial-gradient(circle at 0% 0%, rgba(192, 139, 59, 0.32), transparent 45%),
    linear-gradient(135deg, var(--primary-900), var(--primary-700) 60%, #1a4f7a);
}

.lp-wbn-modal-head h2 {
  margin: 12px 0 8px;
  color: #fff;
  font-size: clamp(20px, 3.4vw, 26px);
  font-weight: 800;
  line-height: 1.45;
}

.lp-wbn-modal-lead {
  margin: 0 auto;
  max-width: 420px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 14px;
  line-height: 1.9;
}

.lp-wbn-modal-body {
  padding: 8px 0 4px;
}

.lp-wbn-modal-form {
  display: grid;
  gap: 16px;
  padding: 22px 22px 26px;
}

/* Form controls inside modal (news page has no .is-wb1 scope) */
.lp-wbn-modal .lp-wb1-field label {
  display: block;
  margin: 0;
  color: var(--primary-900);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.6;
}

.lp-wbn-modal .lp-wb1-field label span {
  color: var(--error, #d94b4b);
}

.lp-wbn-modal .lp-wb1-input {
  position: relative;
  display: block;
}

.lp-wbn-modal .lp-wb1-input > .ms {
  position: absolute;
  top: 50%;
  right: 14px;
  z-index: 1;
  transform: translateY(-50%);
  color: var(--primary-400, #5193e1);
  font-size: 22px;
  line-height: 1;
  pointer-events: none;
}

.lp-wbn-modal .lp-wb1-input input {
  box-sizing: border-box;
  width: 100%;
  min-height: 54px;
  margin: 0;
  padding: 12px 48px 12px 14px;
  border: 1.5px solid var(--border-default, #e5e4e7);
  border-radius: 14px;
  background: var(--bg-subtle, #fafafa);
  color: var(--text-primary, #19181b);
  font-family: var(--font, inherit);
  font-size: 16px;
  line-height: 1.6;
  box-shadow: none;
  appearance: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.lp-wbn-modal .lp-wb1-input input[dir="ltr"] {
  text-align: right;
  letter-spacing: 0.5px;
}

.lp-wbn-modal .lp-wb1-input input::placeholder {
  color: var(--text-tertiary, #7c7b84);
  opacity: 0.85;
}

.lp-wbn-modal .lp-wb1-input input:hover {
  border-color: var(--border-strong, #cbcace);
}

.lp-wbn-modal .lp-wb1-input input:focus {
  outline: none;
  border-color: var(--primary-500, #226fc9);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(34, 111, 201, 0.14);
}

.lp-wbn-modal .lp-wb1-input:focus-within > .ms {
  color: var(--primary-600, #1b4f8c);
}

.lp-wbn-modal .lp-wb1-field.has-error .lp-wb1-input input {
  border-color: var(--error, #d94b4b);
  background: #fdecec;
}

.lp-wbn-modal .lp-wb1-field.has-error .lp-wb1-input > .ms {
  color: var(--error, #d94b4b);
}

.lp-wbn-modal .lp-wb1-error {
  min-height: 0;
  color: var(--error, #d94b4b);
  font-size: 13px;
  line-height: 1.7;
}

.lp-wbn-modal .lp-wb1-error:empty {
  display: none;
}

.lp-wbn-modal .lp-wb1-alert {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin: 0;
  padding: 12px 14px;
  border-radius: 12px;
  background: #fdecec;
  color: var(--error, #d94b4b);
  font-size: 14px;
  line-height: 1.8;
}

.lp-wbn-modal .lp-wb1-form .lp-wb1-submit,
.lp-wbn-modal .lp-wb1-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  min-height: 58px;
  margin-top: 4px;
  border: 0;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--primary-700, #15437a), var(--primary-600, #1b4f8c));
  color: #fff;
  font-family: var(--font, inherit);
  font-size: 17px;
  font-weight: 800;
  line-height: 1.4;
  cursor: pointer;
  text-decoration: none;
  box-shadow: 0 16px 30px -16px rgba(15, 48, 87, 0.75);
  transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease, background 0.2s ease;
}

.lp-wbn-modal .lp-wb1-submit:hover {
  transform: translateY(-2px);
  background: linear-gradient(135deg, var(--primary-600, #1b4f8c), var(--primary-500, #226fc9));
  color: #fff;
}

.lp-wbn-modal .lp-wb1-submit .ms {
  font-size: 26px;
}

.lp-wbn-modal .lp-wb1-form.is-sending .lp-wb1-submit {
  opacity: 0.75;
  pointer-events: none;
}

.lp-wbn-modal .lp-wb1-privacy {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin: 0;
  color: var(--text-tertiary, #7c7b84);
  font-size: 13px;
  line-height: 1.8;
  text-align: center;
}

.lp-wbn-modal .lp-wb1-privacy .ms {
  font-size: 17px;
  color: var(--gold-500, #c08b3b);
}

.lp-wbn-modal .lp-wb1-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 14px;
  border-radius: 999px;
  background: rgba(226, 196, 152, 0.16);
  border: 1px solid rgba(226, 196, 152, 0.35);
  color: var(--gold-300, #e2c498);
  font-size: 13px;
  font-weight: 700;
}

.lp-wbn-modal .lp-wb1-badge .ms {
  font-size: 18px;
}

.lp-wbn-modal .lp-wbn-meet {
  padding: 8px 16px 20px;
}

.lp-wbn-modal .lp-wbn-meet-card {
  box-shadow: none;
}

.lp-wbn-modal .lp-wbn-meet-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-width: min(100%, 320px);
  min-height: 58px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--primary-700, #15437a), var(--primary-600, #1b4f8c));
  color: #fff;
  font-size: 17px;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 16px 30px -16px rgba(15, 48, 87, 0.75);
}

.lp-wbn-modal .lp-wbn-meet-btn:hover {
  color: #fff;
  background: linear-gradient(135deg, var(--primary-600, #1b4f8c), var(--primary-500, #226fc9));
}

.lp-wbn-modal .lp-wbn-meet-btn .ms {
  font-size: 26px;
}

@media (max-width: 600px) {
  .lp-wbn-modal {
    padding: 10px;
    align-items: end;
  }

  .lp-wbn-modal-dialog {
    width: 100%;
    max-height: 94vh;
    border-radius: 22px 22px 16px 16px;
  }

  .lp-wbn-modal-form {
    padding: 18px 16px 22px;
  }

  .lp-wbn-modal .lp-wb1-row {
    grid-template-columns: 1fr;
  }

  .lp-wbn-modal .lp-wbn-meet-btn {
    width: 100%;
  }
}

.lp-wbn-meet {
  padding: clamp(18px, 3.5vw, 32px) clamp(14px, 3vw, 28px) 0;
}

.lp-wbn-meet-card {
  display: grid;
  gap: 14px;
  justify-items: center;
  padding: clamp(22px, 4vw, 36px) clamp(18px, 3vw, 28px);
  border-radius: 20px;
  text-align: center;
  background:
    radial-gradient(circle at 100% 0%, rgba(192, 139, 59, 0.14), transparent 42%),
    linear-gradient(180deg, var(--primary-50, #f2f7fd), #fff);
  border: 1px solid rgba(15, 48, 87, 0.1);
}

.lp-wbn-meet-ico {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border-radius: 18px;
  background: var(--primary-800);
  color: #fff;
  font-size: 34px;
  box-shadow: 0 14px 28px -16px rgba(15, 48, 87, 0.7);
}

.lp-wbn-meet-copy {
  display: grid;
  gap: 6px;
}

.lp-wbn-meet-copy strong {
  color: var(--primary-900);
  font-size: clamp(18px, 2.6vw, 22px);
  font-weight: 800;
}

.lp-wbn-meet-copy p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.9;
}

.is-wbn .lp-wbn-meet-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-width: min(100%, 320px);
  min-height: 58px;
  border-radius: 16px;
  font-size: 17px;
  font-weight: 800;
  box-shadow: 0 16px 30px -16px rgba(15, 48, 87, 0.75);
}

.is-wbn .lp-wbn-meet-btn .ms {
  font-size: 26px;
}

.lp-wbn-meet-link {
  display: grid;
  gap: 4px;
  margin: 4px 0 0;
  color: var(--text-tertiary);
  font-size: 13px;
  line-height: 1.8;
}

.lp-wbn-meet-link a {
  color: var(--primary-700);
  font-weight: 700;
  word-break: break-all;
  text-decoration: none;
}

.lp-wbn-meet-link a:hover {
  text-decoration: underline;
}

@media (max-width: 600px) {
  .lp-wbn-meet {
    padding-inline: 0;
  }

  .lp-wbn-meet-card {
    border-radius: 0;
    border-inline: 0;
  }

  .is-wbn .lp-wbn-meet-btn {
    width: 100%;
  }
}
