/* 공개 사이트 — 스케줄/안내 커스텀 알림 (alert 대체) */
.envex-alert {
  position: fixed;
  inset: 0;
  z-index: 12000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  box-sizing: border-box;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s ease;
}

.envex-alert.is-open {
  opacity: 1;
  pointer-events: auto;
}

.envex-alert[hidden] {
  display: none !important;
}

.envex-alert__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(1, 29, 32, 0.48);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.envex-alert__dialog {
  position: relative;
  width: min(420px, calc(100vw - 32px));
  margin: 0;
  padding: 28px 28px 24px;
  border: 0;
  border-radius: 16px;
  background: #fff;
  box-shadow:
    0 12px 40px rgba(1, 29, 32, 0.18),
    0 2px 8px rgba(1, 29, 32, 0.08);
  color: #011d20;
  transform: translateY(12px) scale(0.98);
  transition: transform 0.24s cubic-bezier(0.22, 1, 0.36, 1);
}

.envex-alert.is-open .envex-alert__dialog {
  transform: translateY(0) scale(1);
}

.envex-alert__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: linear-gradient(145deg, rgba(63, 143, 140, 0.16), rgba(63, 143, 140, 0.06));
  color: #3f8f8c;
}

.envex-alert__icon svg {
  width: 26px;
  height: 26px;
  display: block;
}

.envex-alert__title {
  margin: 0 0 10px;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.35;
  text-align: center;
  letter-spacing: -0.02em;
  color: #011d20;
}

.envex-alert__message {
  margin: 0 0 22px;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.65;
  text-align: center;
  color: rgba(1, 29, 32, 0.72);
  white-space: pre-line;
  word-break: keep-all;
}

.envex-alert__actions {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

.envex-alert--confirm .envex-alert__actions {
  justify-content: center;
}

.envex-alert__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 120px;
  height: 44px;
  padding: 0 28px;
  border: 0;
  border-radius: 999px;
  background: #011d20;
  color: #fff;
  font: inherit;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.01em;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.15s ease, color 0.2s ease, border-color 0.2s ease;
}

.envex-alert__btn[hidden] {
  display: none !important;
}

.envex-alert__btn--ghost {
  min-width: 100px;
  background: #f2f5f5;
  color: #011d20;
}

.envex-alert__btn:hover {
  background: #3f8f8c;
}

.envex-alert__btn.envex-alert__btn--ghost:hover {
  background: #e4ebea;
  color: #011d20;
}

.envex-alert__btn:active {
  transform: scale(0.98);
}

.envex-alert__btn:focus-visible {
  outline: 2px solid #3f8f8c;
  outline-offset: 3px;
}

body.envex-alert-open {
  overflow: hidden;
}

@media (max-width: 480px) {
  .envex-alert {
    padding: 16px;
    align-items: flex-end;
  }

  .envex-alert__dialog {
    width: 100%;
    border-radius: 16px 16px 12px 12px;
    padding: 24px 20px 20px;
  }
}
