.app-alert {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  z-index: 4000;
  transition: opacity 0.18s ease;
}
.app-alert.show {
  opacity: 1;
  pointer-events: auto;
}
.app-alert-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.28);
  backdrop-filter: blur(10px);
}
.app-alert-card {
  position: relative;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.55), rgba(255, 255, 255, 0.32));
  border: 1px solid rgba(247, 208, 70, 0.95);
  border-radius: 18px;
  box-shadow:
    0 24px 70px rgba(15, 23, 42, 0.30),
    inset 0 1px 0 rgba(255, 255, 255, 0.6);
  width: min(520px, 92vw);
  padding: 22px 24px;
  backdrop-filter: blur(26px) saturate(1.35);
  -webkit-backdrop-filter: blur(26px) saturate(1.35);
}
.app-alert-title {
  font-weight: 800;
  font-size: 18px;
  margin-bottom: 8px;
  color: #0f172a;
}
.app-alert-message {
  font-size: 14px;
  color: #1f2937;
  line-height: 1.45;
  white-space: pre-line;
}
.app-alert-input {
  width: 100%;
  margin-top: 14px;
  border-radius: 12px;
  border: 1px solid rgba(247, 208, 70, 0.95);
  background: rgba(255, 255, 255, 0.72);
  color: #111827;
  font-size: 14px;
  padding: 10px 12px;
  outline: none;
}
.app-alert-input:focus {
  box-shadow: 0 0 0 3px rgba(247, 208, 70, 0.35);
}
.app-alert-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 18px;
}
.app-alert-btn {
  background: rgba(15, 23, 42, 0.92);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 10px;
  padding: 8px 16px;
  font-weight: 700;
  font-size: 13px;
  cursor: pointer;
}
.app-alert-btn:hover {
  background: rgba(2, 6, 23, 0.95);
}
.app-alert-cancel {
  background: rgba(255, 255, 255, 0.72);
  color: #111827;
  border: 1px solid rgba(247, 208, 70, 0.85);
}
.app-alert-cancel:hover {
  background: rgba(255, 255, 255, 0.85);
}
.app-alert-danger {
  background: #b91c1c;
}
.app-alert-danger:hover {
  background: #991b1b;
}

/* Global placeholder tone: lighter to avoid confusion with real input value */
input::placeholder,
textarea::placeholder,
.form-control::placeholder,
.search-input::placeholder,
.api-input::placeholder,
.server-search-input::placeholder {
  color: #a8b2c1 !important;
  opacity: 1;
}

input::-webkit-input-placeholder,
textarea::-webkit-input-placeholder,
.form-control::-webkit-input-placeholder,
.search-input::-webkit-input-placeholder,
.api-input::-webkit-input-placeholder,
.server-search-input::-webkit-input-placeholder {
  color: #a8b2c1 !important;
  opacity: 1;
}

/* Suggest/dropdown lists: keep them wide for readable content */
.search-suggest,
.product-suggest,
.sku-results,
.customer-results {
  right: auto !important;
  width: min(1200px, max(100%, 68vw));
  max-width: calc(100vw - 24px);
}
