/* === This is the new rule for the overlay === */
.success-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.6);
  z-index: 200; /* Higher than other modals */
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
}
/* === End of new rule === */


/* CSS from section:success-modal */
.success-modal-container {
  background-color: #ffffff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 16px;
  padding-top: 24px;
  padding-bottom: 24px;
  padding-left: 16px;
  padding-right: 16px;
  border-radius: 12px;
  width: 100%;
  max-width: 424px;
  box-sizing: border-box;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.success-modal-icon {
  width: 152px;
  height: 152px;
}

.success-modal-headline-wrapper {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 8px;
  width: 100%;
}

.success-modal-headline-text {
  color: #000000;
  font-family: 'Roboto', sans-serif;
  font-weight: 600;
  font-size: 24px;
  line-height: 32px;
  letter-spacing: -0.5px;
  text-align: center;
  width: 100%;
  max-width: 300px;
  margin: 0;
}

@media (max-width: 480px) {
  .success-modal-icon {
    width: 120px;
    height: 120px;
  }
  .success-modal-headline-text {
    font-size: 20px;
    line-height: 28px;
  }
  .success-modal-container {
    padding-left: 12px;
    padding-right: 12px;
    gap: 12px;
  }
}