.dialog {
  position: relative;
  background-color: rgba(76, 76, 76, 0.1);
  border-radius: 15px;
  border: none;
  box-shadow: 0 4px 6px #00000040;
  backdrop-filter: blur(12.5px) brightness(100%);
  -webkit-backdrop-filter: blur(12.5px) brightness(100%);
  min-height: 260px;
  padding: 1.5rem 1.5rem 1.5rem 1.5rem;
}

.dialog::before {
  content: "";
  position: absolute;
  inset: 0;
  padding: 1px;
  border-radius: 15px;
  background: linear-gradient( 179deg, rgba(255, 255, 255, 0.32) 0%, rgba(255, 255, 255, 0.08) 100% );
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  z-index: 1;
}

.dialog .text-wrapper {
  font-family: "Figtree", Helvetica, Arial, sans-serif;
  font-weight: 500;
  color: #fff;
  font-size: 1.125rem;
  line-height: 1.4;
  position: relative;
  z-index: 2;
}

.dialog-close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  z-index: 2;
  filter: invert(1);
}

.modal-backdrop {
  background-color: transparent !important;
}

.custom-btn {
  border: none;
  border-radius: 30px;
  padding: 0.5rem 2rem;
  font-family: "Figtree", Helvetica, sans-serif;
  font-weight: 700;
  font-size: 16px;
  color: #fff;
  text-align: center;
  letter-spacing: 0;
  line-height: 21px;
  cursor: pointer;
  box-shadow: 0px 4px 4px #0000001a;
  background: linear-gradient( 90deg, rgba(3, 147, 154, 1) 0%, rgba(4, 157, 89, 1) 21%, rgba(52, 110, 130, 1) 50%, rgba(4, 170, 89, 1) 100% );
  position: relative;
  overflow: hidden;
  transition: all 0.2s ease-in-out;
}

.custom-btn::before {
  content: "";
  position: absolute;
  inset: 0;
  padding: 1px;
  border-radius: 30px;
  background: linear-gradient( 178deg, rgba(255, 255, 255, 1) 0%, rgba(7, 166, 93, 1) 6% );
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  z-index: 1;
}

.custom-btn:hover {
  background: linear-gradient( 90deg, rgba(4, 169, 90, 1) 0%, rgba(52, 111, 130, 1) 28%, rgba(52, 110, 130, 1) 72%, rgba(4, 170, 89, 1) 100% );
  color: #fff;
}

.custom-btn:active {
  background: linear-gradient( 90deg, rgba(52, 110, 130, 1) 0%, rgba(48, 115, 127, 1) 28%, rgba(52, 110, 130, 1) 72%, rgba(47, 116, 126, 1) 100% );
  box-shadow: 0px 2px 3px #00000033 inset;
  color: #fff;
}

.custom-btn:focus-visible {
  outline: 2px solid #4a90e2;
  outline-offset: 2px;
}

h4 {
  font-size: 1.3em;
}

.container-flex {
  display: flex;
}

.container-flex {
  width: 100%;
  max-width: 100%;
}

/* desktop breakpoint, same as Bootstrap's sm */
@media (min-width: 576px) {
  .container-flex {
    width: 500px;
  }
}

