/* grabioz — shared overlay styles (modal, toast, input states)
   Reused by both landing directions. Brand cyan: #0CC0DF */

.gz-input-error {
  outline: 2px solid #ff5a5a !important;
  outline-offset: 1px;
}

/* ---- toast ---- */
.gz-toast {
  position: fixed;
  left: 50%;
  bottom: 26px;
  transform: translate(-50%, 20px);
  background: #0E3B45;
  color: #fff;
  padding: 14px 22px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.01em;
  box-shadow: 0 12px 40px rgba(12, 192, 223, 0.35);
  opacity: 0;
  z-index: 9999;
  transition: opacity 0.35s ease, transform 0.35s cubic-bezier(0.2, 0.9, 0.3, 1);
  max-width: min(90vw, 460px);
  text-align: center;
}
.gz-toast.is-on {
  opacity: 1;
  transform: translate(-50%, 0);
}

/* ---- modal ---- */
#gz-modal {
  position: fixed;
  inset: 0;
  z-index: 9998;
  display: grid;
  place-items: center;
  padding: 24px;
}
.gz-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(14, 59, 69, 0.5);
  backdrop-filter: blur(4px);
  animation: gzFade 0.25s ease;
}
.gz-modal-card {
  position: relative;
  background: #fff;
  border-radius: 24px;
  padding: 34px 32px 32px;
  max-width: 420px;
  width: 100%;
  box-shadow: 0 30px 80px rgba(8, 60, 70, 0.35);
  animation: gzPop 0.32s cubic-bezier(0.2, 0.9, 0.3, 1);
}
.gz-modal-x {
  position: absolute;
  top: 16px;
  right: 18px;
  border: none;
  background: #F1FBFD;
  color: #0E3B45;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s;
}
.gz-modal-x:hover {
  background: #D4F1F7;
}
.gz-modal-title {
  margin: 0 0 14px;
  font-size: 22px;
  letter-spacing: -0.02em;
  color: #1C1917;
}
.gz-modal-body {
  font-size: 15.5px;
  line-height: 1.65;
  color: #57534E;
}
.gz-modal-body b {
  color: #1C1917;
}
.gz-modal-link {
  display: inline-block;
  background: #0CC0DF;
  color: #fff;
  text-decoration: none;
  padding: 11px 20px;
  border-radius: 999px;
  font-weight: 700;
  transition: background 0.2s, transform 0.2s;
}
.gz-modal-link:hover {
  background: #0897B2;
  transform: translateY(-1px);
}

@keyframes gzFade {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes gzPop {
  from { opacity: 0; transform: translateY(14px) scale(0.96); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
