.overlay {
  position: fixed;
  inset: 0;
  z-index: 70;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(0, 0, 0, 0.5);
}

.dialog {
  width: 100%;
  max-width: 420px;
  max-height: calc(100vh - 40px);
  overflow-y: auto;
  border-radius: 32px;
  background: var(--color-page-background, #ffffff);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.16);
  padding: 24px 18px 18px;
}

.header {
  margin-bottom: 18px;
  text-align: left;
}

.title {
  margin: 0 0 8px;
  color: var(--color-text-foreground, #171717);
  font-size: var(--font-size-22, 22px);
  font-weight: 700;
  line-height: 1.2;
}

.content {
  margin: 0;
  color: #393939;
  font-size: var(--font-size-md, 14px);
  line-height: 1.5;
}

.form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.error {
  margin: 0;
  color: #c0392b;
  font-size: var(--font-size-sm, 13px);
  line-height: 1.45;
}

.actions {
  display: flex;
  gap: var(--spacing-md, 12px);
  width: 100%;
}

.button {
  flex: 1 1 auto;
  min-height: var(--pwa-button-height, 44px);
  border: 0;
  border-radius: var(--radius-bottom-sheet, 28px);
  font-size: var(--font-size-lg, 16px);
  font-weight: 600;
  cursor: pointer;
}

.button:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.secondary {
  background: var(--color-text-secondary, #9e9e9e);
  color: var(--color-page-background, #ffffff);
}

.primary {
  background: linear-gradient(
    var(--color-button-gradient-start, #ff67e0),
    var(--color-button-gradient-end, #ff52a2)
  );
  color: var(--color-page-background, #ffffff);
}
