/* SadeSilver Journal3 Form Success Dialog v1.0.0 */
.ssjfd-backdrop {
  position: fixed;
  inset: 0;
  z-index: 2147483000;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  padding: 20px;
  background: rgba(15, 19, 26, .62);
  -webkit-backdrop-filter: blur(5px);
  backdrop-filter: blur(5px);
  animation: ssjfd-fade-in .22s ease both;
}

.ssjfd-backdrop *, .ssjfd-backdrop *::before, .ssjfd-backdrop *::after {
  box-sizing: border-box;
}

.ssjfd-card {
  position: relative;
  width: 100%;
  max-width: 430px;
  padding: 42px 34px 32px;
  overflow: visible;
  border: 1px solid rgba(12, 18, 22, .06);
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 28px 90px rgba(3, 14, 29, .22);
  color: #18202a;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
  text-align: center;
  animation: ssjfd-card-in .36s cubic-bezier(.18, 1.1, .31, 1) both;
}

.ssjfd-close {
  position: absolute;
  top: 13px;
  right: 14px;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: transparent;
  color: #8b949e;
  font: 28px/1 Arial, sans-serif;
  cursor: pointer;
}

.ssjfd-close:hover { background: #f3f4f6; color: #111827; }

.ssjfd-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 82px;
  height: 82px;
  margin: 0 auto 25px;
  border: 8px solid #eaf9ef;
  border-radius: 50%;
  background: #dff6e7;
  color: #1caa57;
}

.ssjfd-icon svg { width: 43px; height: 43px; }

.ssjfd-card h2 {
  margin: 0 0 13px;
  padding: 0;
  border: none;
  color: #111820;
  font: 700 23px/1.3 -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
  letter-spacing: -.35px;
}

.ssjfd-card p {
  margin: 0 auto 29px;
  max-width: 330px;
  color: #606b76;
  font: 400 14px/1.7 -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
  overflow-wrap: anywhere;
}

.ssjfd-action {
  display: block;
  width: 100%;
  min-height: 46px;
  padding: 12px 18px;
  border: 1px solid #111;
  border-radius: 10px;
  background: #111;
  color: #fff;
  font: 600 13px/1.4 -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
  letter-spacing: .4px;
  cursor: pointer;
  transition: background .16s ease, transform .16s ease;
}

.ssjfd-action:hover { background: #333; transform: translateY(-1px); }
.ssjfd-action:active { transform: translateY(0); }
.ssjfd-close:focus-visible, .ssjfd-action:focus-visible {
  outline: 3px solid #22c55e;
  outline-offset: 3px;
}

@keyframes ssjfd-fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes ssjfd-card-in {
  from { opacity: 0; transform: translateY(16px) scale(.96); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@media (max-width: 480px) {
  .ssjfd-card { padding: 38px 23px 25px; border-radius: 18px; }
  .ssjfd-card h2 { font-size: 21px; }
  .ssjfd-icon { width: 76px; height: 76px; margin-bottom: 21px; }
}

@media (prefers-reduced-motion: reduce) {
  .ssjfd-backdrop, .ssjfd-card { animation: none; }
  .ssjfd-action { transition: none; }
}
