/* Shared BidEthiopia card-style alert. */
.app-alert-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .2s ease, visibility .2s ease;
}

.app-alert-modal.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.app-alert-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .78);
  backdrop-filter: blur(7px);
}

.app-alert-card {
  position: relative;
  width: min(430px, 100%);
  padding: 30px 30px 26px;
  border: 1px solid rgba(233, 185, 73, .42);
  border-radius: 22px;
  background: linear-gradient(145deg, rgba(30, 30, 30, .98), rgba(12, 12, 12, .98));
  box-shadow: 0 24px 80px rgba(0, 0, 0, .62), 0 0 38px rgba(233, 185, 73, .10);
  color: #fff;
  text-align: center;
  transform: translateY(14px) scale(.97);
  transition: transform .22s cubic-bezier(.2, .8, .25, 1.15);
}

.app-alert-modal.is-open .app-alert-card {
  transform: translateY(0) scale(1);
}

.app-alert-icon {
  width: 52px;
  height: 52px;
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(233, 185, 73, .55);
  border-radius: 50%;
  color: #f2c65d;
  font-size: 25px;
  font-weight: 800;
  box-shadow: 0 0 24px rgba(233, 185, 73, .12);
}

.app-alert-eyebrow {
  margin: 0 0 7px;
  color: #e9b949;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .18em;
}

.app-alert-card h2 {
  margin: 0 0 14px;
  color: #fff;
  font-size: 23px;
  line-height: 1.2;
}

.app-alert-message {
  max-height: 42vh;
  overflow: auto;
  white-space: pre-line;
  color: rgba(255, 255, 255, .78);
  font-size: 14px;
  line-height: 1.7;
}

.app-alert-button {
  width: 100%;
  margin-top: 23px;
  padding: 13px 18px;
  border: 1px solid rgba(255, 220, 130, .65);
  border-radius: 12px;
  background: linear-gradient(135deg, #e9b949, #c99020);
  color: #111;
  font: inherit;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 10px 26px rgba(233, 185, 73, .16);
  transition: transform .16s ease, filter .16s ease;
}

.app-alert-button:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
}

.app-alert-button:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}

@media (max-width: 520px) {
  .app-alert-modal { padding: 18px; }
  .app-alert-card { padding: 26px 22px 22px; border-radius: 19px; }
}

.app-alert-actions {
  display: flex;
  gap: 10px;
  margin-top: 23px;
}

.app-alert-actions .app-alert-button,
.app-alert-cancel {
  flex: 1;
  margin-top: 0;
}

.app-alert-cancel {
  padding: 13px 18px;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 12px;
  background: rgba(255, 255, 255, .06);
  color: rgba(255, 255, 255, .78);
  font: inherit;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
  transition: background .16s ease, border-color .16s ease, transform .16s ease;
}

.app-alert-cancel:hover {
  background: rgba(255, 255, 255, .10);
  border-color: rgba(255, 255, 255, .26);
  transform: translateY(-1px);
}

.app-alert-cancel:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}

@media (max-width: 520px) {
  .app-alert-actions { flex-direction: column-reverse; }
}
