/* Remesas Core — access feedback r10 */
.access-feedback-overlay {
  position: fixed;
  inset: 0;
  z-index: 2147483600;
  display: grid;
  padding: 22px;
  place-items: center;
  background: rgba(5, 20, 29, .58);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  animation: access-feedback-fade .18s ease-out both;
}

.access-feedback-dialog {
  width: min(410px, 100%);
  padding: 28px;
  color: #10202b;
  border: 1px solid rgba(10, 78, 86, .12);
  border-radius: 26px;
  background: #fff;
  box-shadow: 0 34px 90px rgba(3, 24, 34, .28);
  animation: access-feedback-rise .22s ease-out both;
}

.access-feedback-icon {
  display: grid;
  width: 48px;
  height: 48px;
  margin-bottom: 20px;
  place-items: center;
  color: #fff;
  border-radius: 16px;
  background: linear-gradient(145deg, #087984, #19a0a4);
  box-shadow: 0 12px 28px rgba(8, 121, 132, .24);
  font: 800 1.25rem/1 Inter, system-ui, sans-serif;
}

.access-feedback-dialog.is-error .access-feedback-icon {
  background: linear-gradient(145deg, #b83b48, #d76362);
  box-shadow: 0 12px 28px rgba(184, 59, 72, .2);
}

.access-feedback-dialog.is-warning .access-feedback-icon {
  color: #4a3300;
  background: linear-gradient(145deg, #f0bd4d, #f5d582);
  box-shadow: 0 12px 28px rgba(218, 164, 46, .2);
}

.access-feedback-eyebrow {
  display: block;
  margin-bottom: 8px;
  color: #9a6918;
  font: 800 .68rem/1.2 Inter, system-ui, sans-serif;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.access-feedback-dialog h2 {
  margin: 0;
  color: #0c1d29;
  font: 800 clamp(1.45rem, 5vw, 1.8rem)/1.08 Inter, system-ui, sans-serif;
  letter-spacing: -.035em;
}

.access-feedback-dialog p {
  margin: 14px 0 0;
  color: #647482;
  font: 500 .95rem/1.55 Inter, system-ui, sans-serif;
}

.access-feedback-progress {
  height: 4px;
  margin-top: 22px;
  overflow: hidden;
  border-radius: 999px;
  background: #e8efef;
}

.access-feedback-progress::after {
  content: "";
  display: block;
  width: 38%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #e7b54c, #14999d);
  animation: access-feedback-progress 1s ease-in-out infinite alternate;
}

.access-feedback-action {
  width: 100%;
  min-height: 46px;
  margin-top: 22px;
  color: #fff;
  border: 0;
  border-radius: 14px;
  background: #0a7f89;
  box-shadow: 0 12px 26px rgba(10, 127, 137, .18);
  font: 800 .92rem/1 Inter, system-ui, sans-serif;
  cursor: pointer;
}

.access-feedback-action:hover,
.access-feedback-action:focus-visible {
  background: #086c75;
  outline: 3px solid rgba(16, 151, 157, .2);
  outline-offset: 2px;
}

@keyframes access-feedback-fade { from { opacity: 0; } }
@keyframes access-feedback-rise { from { opacity: 0; transform: translateY(10px) scale(.985); } }
@keyframes access-feedback-progress { to { transform: translateX(165%); } }

@media (max-width: 480px) {
  .access-feedback-overlay { padding: 16px; }
  .access-feedback-dialog { padding: 24px; border-radius: 22px; }
}

@media (prefers-reduced-motion: reduce) {
  .access-feedback-overlay,
  .access-feedback-dialog,
  .access-feedback-progress::after { animation: none !important; }
  .access-feedback-progress::after { width: 100%; }
}
