.fyz-email-dialog {
  position: fixed;
  inset: 0;
  width: calc(100vw - 32px);
  max-width: 420px;
  max-height: calc(100vh - 32px);
  max-height: calc(100dvh - 32px);
  margin: auto;
  padding: 32px 26px 20px;
  overflow-y: auto;
  border: 1px solid #dce5dc;
  border-radius: 14px;
  background: #fff;
  color: #2f5849;
  box-shadow: 0 18px 70px #102b2440;
  font-family: Poppins, Helvetica, Arial, sans-serif;
  font-size: 14px;
  line-height: 1.5;
}

.fyz-email-dialog:not([open]) {
  display: none;
}

.fyz-email-dialog::backdrop {
  background: #102b24a8;
}

.fyz-email-dialog h2 {
  margin: 0 30px 12px 0;
  padding: 0;
  color: #2f5849;
  font-family: inherit;
  font-size: 28px;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -.03em;
}

.fyz-email-dialog p {
  margin: 0 0 18px;
  padding: 0;
}

.fyz-email-dialog .fyz-email-close {
  position: absolute;
  top: 10px;
  right: 12px;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: #2f5849;
  font-family: inherit;
  font-size: 30px;
  cursor: pointer;
}

.fyz-email-label {
  display: block;
  margin-bottom: 5px;
  color: #4f645b;
  font-size: 12px;
}

.fyz-email-dialog .fyz-email-address {
  width: 100%;
  margin: 0 0 20px;
  padding: 12px;
  box-sizing: border-box;
  border: 1px solid #dce5dc;
  border-radius: 7px;
  background: #f2f6f0;
  color: #25483b;
  font: inherit;
  font-size: 16px;
}

.fyz-email-options {
  display: grid;
  gap: 10px;
}

.fyz-email-dialog .fyz-email-option {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 10px 14px;
  box-sizing: border-box;
  border: 1px solid #b7c8b9;
  border-radius: 8px;
  background: #fff;
  color: #25483b;
  font: inherit;
  font-weight: 500;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
}

.fyz-email-dialog .fyz-email-gmail {
  border-color: #e7d91d;
  background: #e7d91d;
  font-weight: 600;
}

.fyz-email-dialog .fyz-email-option:hover {
  background: #f2f6f0;
}

.fyz-email-dialog .fyz-email-gmail:hover {
  background: #f4e642;
}

.fyz-email-dialog .fyz-email-copy {
  border: 0;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.fyz-email-dialog :is(a, button, input):focus-visible {
  outline: 2px solid #2f5849;
  outline-offset: 3px;
}

.fyz-email-dialog p.fyz-email-status {
  min-height: 1.5em;
  margin: 12px 0 0;
  color: #4f645b;
  font-size: 12px;
}
