/* Email OTP — chrome в tools-shell.css */

.mg-eotp__tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 20px 0 24px;
}

.mg-eotp__tab {
  appearance: none;
  border: 1px solid var(--mg-border, #ddd);
  background: var(--mg-white, #fff);
  color: var(--mg-black, #000);
  font: inherit;
  font-weight: 700;
  font-size: 15px;
  padding: 10px 16px;
  border-radius: 3px;
  cursor: pointer;
}

.mg-eotp__tab.is-active {
  border-color: var(--mg-blue-link, #0062AD);
  background: var(--mg-blue-link, #0062AD);
  color: #fff;
}

.mg-eotp__agent-lead {
  margin: 0 0 16px;
  max-width: 52ch;
  font-weight: 600;
}

.mg-eotp__ttl {
  margin: 8px 0 16px;
  font-size: 14px;
  font-weight: 600;
  color: var(--mg-muted, #666);
}

.mg-eotp__sent-box {
  margin: 24px 0 0;
  padding: 20px 24px;
  border: 1px solid var(--mg-border);
  border-radius: var(--mg-radius-ui, 3px);
  background: var(--mg-white);
  max-width: 40rem;
}

.mg-eotp__sent {
  margin: 0 0 8px;
  font-weight: 700;
  max-width: 48ch;
}

.mg-eotp__sent-meta {
  margin: 0 0 16px;
  font-size: 15px;
  font-weight: 600;
  color: var(--mg-muted, #666);
  max-width: 52ch;
}

.mg-eotp__vid-label {
  margin: 0 0 4px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--mg-muted, #666);
}

.mg-eotp__vid {
  display: block;
  font-family: var(--mg-tool-mono, ui-monospace, SFMono-Regular, Menlo, monospace);
  font-size: 13px;
  font-weight: 600;
  word-break: break-all;
  color: var(--mg-black, #000);
}

.mg-eotp__how {
  padding-top: 8px;
  padding-bottom: 64px;
}

.mg-eotp__steps {
  margin: 0 0 28px;
  padding-left: 1.25em;
  font-weight: 600;
  max-width: 62ch;
}

.mg-eotp__steps li {
  margin-bottom: 8px;
}

.mg-eotp__code-title {
  margin: 0 0 8px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.mg-eotp__curl {
  margin: 0 0 20px;
  padding: 1rem 1.1rem;
  max-width: 48rem;
  overflow-x: auto;
  font-size: 13px;
  line-height: 1.45;
  color: var(--mg-black, #000);
  background: var(--mg-cream, #f2eeeb);
  border: 1px solid var(--mg-border, #e5e0db);
  border-radius: var(--mg-radius-ui, 3px);
}

.mg-eotp__curl code {
  font-family: var(--mg-tool-mono, ui-monospace, SFMono-Regular, Menlo, Consolas, monospace);
  white-space: pre;
}

.mg-eotp__code-hint {
  margin: -8px 0 24px;
  font-size: 14px;
  font-weight: 600;
  color: var(--mg-muted, #666);
  max-width: 56ch;
}

.mg-eotp__cta {
  margin: 8px 0 0;
  font-weight: 600;
}

.mg-eotp__cross {
  margin: 12px 0 0;
  font-weight: 600;
  max-width: 56ch;
}

body.mg-site--v2b .mg-eotp a.mg2-textlink {
  color: var(--mg-blue-link);
}

body.mg-site--v2b .mg-eotp a.mg2-textlink:hover {
  color: var(--mg-blue-hover);
}

body.mg-site--v2b .mg-eotp a.mg2-btn--fill,
body.mg-site--v2b .mg-eotp button.mg2-btn--fill {
  color: var(--mg-on-accent, #fff);
}

html[data-theme="dark"] .mg-eotp__curl {
  color: var(--mg-text, #e5e7eb);
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.12);
}

html[data-theme="dark"] .mg-eotp__sent-box {
  background: rgba(255, 255, 255, 0.04);
}
