.mdl-waitlist-backdrop {
  position: fixed;
  inset: 0;
  z-index: 9998;
  display: none;
  background: rgba(10, 18, 32, 0.48);
  backdrop-filter: blur(4px);
}

.mdl-waitlist-backdrop[data-open="true"] {
  display: block;
}

.mdl-waitlist-drawer {
  position: fixed;
  z-index: 9999;
  top: 0;
  right: 0;
  width: min(480px, 100%);
  height: 100vh;
  display: flex;
  flex-direction: column;
  background: #ffffff;
  color: #13213a;
  box-shadow: -24px 0 70px rgba(19, 33, 58, 0.22);
  transform: translateX(105%);
  transition: transform 0.22s ease;
}

.mdl-waitlist-drawer[data-open="true"] {
  transform: translateX(0);
}

.mdl-waitlist-head {
  padding: 24px 24px 16px;
  border-bottom: 1px solid #e1e7f0;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.mdl-waitlist-kicker {
  margin: 0 0 8px;
  color: #214ed3;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.mdl-waitlist-title {
  margin: 0;
  font-size: 26px;
  line-height: 1.1;
  letter-spacing: -0.04em;
}

.mdl-waitlist-close {
  width: 38px;
  height: 38px;
  border: 1px solid #d5deeb;
  border-radius: 999px;
  background: #ffffff;
  color: #13213a;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}

.mdl-waitlist-body {
  padding: 22px 24px 28px;
  overflow: auto;
}

.mdl-waitlist-lead {
  margin: 0 0 20px;
  color: #526173;
  line-height: 1.65;
  font-size: 15px;
}

.mdl-waitlist-form {
  display: grid;
  gap: 14px;
}

.mdl-waitlist-field {
  display: grid;
  gap: 7px;
}

.mdl-waitlist-field label {
  font-size: 13px;
  font-weight: 800;
  color: #24324a;
}

.mdl-waitlist-field input,
.mdl-waitlist-field select {
  width: 100%;
  min-height: 46px;
  border: 1px solid #d6dfeb;
  border-radius: 14px;
  background: #ffffff;
  color: #13213a;
  padding: 11px 13px;
  font: inherit;
  outline: none;
}

.mdl-waitlist-field input:focus,
.mdl-waitlist-field select:focus {
  border-color: #214ed3;
  box-shadow: 0 0 0 4px rgba(33, 78, 211, 0.12);
}

.mdl-waitlist-hidden {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.mdl-waitlist-note {
  margin: 4px 0 0;
  color: #6b778a;
  font-size: 12px;
  line-height: 1.55;
}

.mdl-waitlist-submit {
  margin-top: 8px;
  min-height: 48px;
  border: 0;
  border-radius: 14px;
  background: #214ed3;
  color: #ffffff;
  font-weight: 850;
  font-size: 15px;
  cursor: pointer;
  box-shadow: 0 12px 28px rgba(33, 78, 211, 0.22);
}

.mdl-waitlist-submit:disabled {
  cursor: wait;
  opacity: 0.72;
}

.mdl-waitlist-message {
  margin-top: 14px;
  border-radius: 16px;
  padding: 13px 14px;
  background: #f4f7ff;
  border: 1px solid #dce6ff;
  color: #33415c;
  line-height: 1.55;
  font-size: 14px;
}

.mdl-waitlist-message[data-kind="error"] {
  background: #fff4f3;
  border-color: #ffd8d3;
  color: #943126;
}

@media (max-width: 640px) {
  .mdl-waitlist-drawer {
    width: 100%;
  }

  .mdl-waitlist-head {
    padding: 20px 18px 14px;
  }

  .mdl-waitlist-body {
    padding: 18px;
  }
}
