.access-feedback-layer {
  position: fixed;
  inset: 0;
  z-index: 1200;
  pointer-events: none;
}

.access-feedback-toast-stack {
  position: absolute;
  right: 18px;
  bottom: 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: min(100vw - 28px, 420px);
}

.access-feedback-toast {
  pointer-events: auto;
  border-radius: 20px;
  border: 1px solid rgba(23, 76, 60, 0.12);
  background: rgba(255, 252, 247, 0.96);
  color: #1f2a24;
  box-shadow: 0 20px 45px rgba(39, 48, 44, 0.18);
  backdrop-filter: blur(12px);
  overflow: hidden;
}

.access-feedback-toast--error {
  border-color: rgba(132, 44, 35, 0.14);
}

.access-feedback-toast__body {
  padding: 18px 18px 16px;
}

.access-feedback-toast__eyebrow {
  margin: 0 0 8px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #5d6a63;
}

.access-feedback-toast__title {
  margin: 0 0 8px;
  font-size: 1.02rem;
  font-weight: 800;
  line-height: 1.25;
}

.access-feedback-toast__message {
  margin: 0;
  color: #55645d;
  line-height: 1.6;
}

.access-feedback-toast__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.access-feedback-toast__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 15px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.15s ease, background-color 0.15s ease, border-color 0.15s ease;
}

.access-feedback-toast__button:hover {
  transform: translateY(-1px);
}

.access-feedback-toast__button--primary {
  background: #174c3c;
  color: #fff;
}

.access-feedback-toast__button--secondary {
  background: #fff;
  color: #1f2a24;
  border-color: rgba(23, 76, 60, 0.14);
}

.access-feedback-toast__close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 999px;
  background: rgba(23, 76, 60, 0.08);
  color: #174c3c;
  cursor: pointer;
  font-size: 18px;
}

.access-feedback-modal[hidden] {
  display: none;
}

.access-feedback-modal {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 18px;
  pointer-events: auto;
}

.access-feedback-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(22, 28, 25, 0.36);
  backdrop-filter: blur(6px);
}

.access-feedback-modal__dialog {
  position: relative;
  width: min(100%, 640px);
  border-radius: 28px;
  border: 1px solid rgba(23, 76, 60, 0.12);
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.9), transparent 34%),
    linear-gradient(160deg, rgba(255, 252, 247, 0.98), rgba(245, 239, 228, 0.98));
  color: #1f2a24;
  box-shadow: 0 28px 70px rgba(39, 48, 44, 0.22);
  overflow: hidden;
}

.access-feedback-modal__content {
  padding: 28px;
}

.access-feedback-modal__pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(23, 76, 60, 0.08);
  color: #174c3c;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.access-feedback-modal__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: linear-gradient(135deg, #d0a85c, #174c3c);
  box-shadow: 0 0 0 6px rgba(23, 76, 60, 0.08);
}

.access-feedback-modal__title {
  margin: 20px 0 10px;
  font-size: clamp(1.8rem, 4vw, 3rem);
  line-height: 1.02;
  letter-spacing: -0.04em;
}

.access-feedback-modal__message {
  margin: 0;
  color: #55645d;
  line-height: 1.7;
  font-size: 1rem;
}

.access-feedback-modal__steps {
  margin: 18px 0 0;
  padding-left: 20px;
  color: #1f2a24;
  line-height: 1.7;
}

.access-feedback-modal__steps li + li {
  margin-top: 8px;
}

.access-feedback-modal__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.access-feedback-modal__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  font-size: 0.96rem;
  text-decoration: none;
  cursor: pointer;
}

.access-feedback-modal__button--primary {
  background: #174c3c;
  color: #fff;
}

.access-feedback-modal__button--secondary {
  background: #fff;
  color: #1f2a24;
  border-color: rgba(23, 76, 60, 0.14);
}

.access-feedback-modal__dismiss {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 999px;
  background: rgba(23, 76, 60, 0.08);
  color: #174c3c;
  cursor: pointer;
  font-size: 18px;
}

@media (max-width: 640px) {
  .access-feedback-toast-stack {
    left: 14px;
    right: 14px;
    bottom: 14px;
    width: auto;
  }

  .access-feedback-modal__content {
    padding: 22px;
  }

  .access-feedback-modal__actions,
  .access-feedback-toast__actions {
    flex-direction: column;
  }

  .access-feedback-modal__button,
  .access-feedback-toast__button {
    width: 100%;
  }
}
