/* Store announcements: reference layout with OMNEX red accents. */
.alerts-page [hidden] { display: none!important; }
.alerts-status { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.alerts-page .alerts-main { width: 100%; min-height: 0; padding: 32px 16px; margin-inline: auto; font-family: 'Almarai', 'Cairo', sans-serif; line-height: 1.5; }
.alerts-heading { display: flex; align-items: center; gap: 24px; padding: 24px; margin-bottom: 32px; border: 1px solid var(--border-color); border-radius: 16px; background: #1e1e27; backdrop-filter: blur(10px); }
.alerts-heading-icon { display: grid; place-items: center; width: 50px; height: 50px; flex-shrink: 0; border: 1px solid #59303a; border-radius: 12px; background: #342027; color: #ff8692; }
.alerts-heading h1 { margin: 0 0 4px; color: var(--text-main); font-size: 24px; font-weight: 700; line-height: 1.5; }
.alerts-heading p { margin: 0; color: var(--text-muted); font-size: 14.4px; line-height: 1.5; }
.alerts-heading svg, .alert-icon svg, .alerts-state svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.alerts-list { display: flex; flex-direction: column; gap: 16px; list-style: none; padding: 0; margin: 0; }
.alert-item { display: flex; gap: 20px; padding: 24px; border: 1px solid var(--border-color); border-radius: 16px; background: #1e1e27; backdrop-filter: blur(10px); cursor: pointer; transition: background-color .3s cubic-bezier(.4,0,.2,1), border-color .3s cubic-bezier(.4,0,.2,1), transform .3s cubic-bezier(.4,0,.2,1), box-shadow .3s cubic-bezier(.4,0,.2,1); }
.alert-icon { display: grid; place-items: center; width: 44px; height: 44px; flex-shrink: 0; border: 1px solid rgba(255,255,255,.05); border-radius: 50%; background: rgba(255,255,255,.03); color: var(--text-muted); transition: background-color .3s, color .3s, transform .3s; }
.alert-icon svg { width: 20px; height: 20px; }
.alert-body { flex: 1; min-width: 0; }
.alert-header { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; margin-bottom: 12px; }
.alert-title { margin: 0; font-size: 18.4px; font-weight: 600; line-height: 1.4; color: var(--text-main); overflow-wrap: anywhere; }
.alert-time { padding: 4.8px 11.2px; border-radius: 20px; background: rgba(255,255,255,.06); color: var(--text-muted); white-space: nowrap; font-size: 12.8px; line-height: 1.5; }
.alert-message { margin: 0; color: #c8c8d2; font-size: 15.2px; line-height: 1.6; white-space: pre-wrap; overflow-wrap: anywhere; }
.alert-item:hover { background: #24242e; border-color: #51515e; transform: translateY(-2px); box-shadow: 0 10px 30px -10px rgba(0,0,0,.3); }
.alert-item:hover .alert-icon { background: rgba(255,255,255,.08); color: #fff; transform: scale(1.1); }
.alerts-state { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; min-height: 300px; padding: 40px 20px; border: 1px dashed var(--border-color); border-radius: 16px; text-align: center; }
.alerts-state > svg { width: 44px; height: 44px; color: #ff8692; }
.alerts-state h2 { margin: 0; font-size: 20px; color: var(--text-main); }
.alerts-state p { margin: 0; max-width: 46ch; color: var(--text-muted); font-size: 14px; line-height: 1.9; }
.alerts-state button { min-height: 44px; padding: 10px 20px; border: 1px solid #59303a; border-radius: 10px; background: #342027; color: #ff8692; font: 700 13px var(--font-family); cursor: pointer; }
.alerts-state button:hover { background: #472932; }
.alerts-state button:focus-visible { outline: 2px solid #ff8692; outline-offset: 4px; }
.alerts-skeleton { height: 114px; border: 1px solid var(--border-color); border-radius: 16px; background: #1e1e27; animation: omnex-alert-loading 1s ease-in-out infinite alternate; }
.alerts-page .guest-notifications-btn[aria-current="page"] { background: #342027; color: #ff8692; border-color: #59303a; }
@keyframes omnex-alert-loading { to { opacity: .5; } }
@media(max-width:768px) {
  .alerts-page .alerts-main { padding: 16px 10px; }
  .alerts-heading { padding: 20px; gap: 16px; border-radius: 12px; }
  .alerts-heading-icon { width: 44px; height: 44px; }
  .alerts-heading h1 { font-size: 20px; }
  .alerts-heading p { font-size: 13.6px; }
  .alert-item { padding: 20px; gap: 16px; border-radius: 12px; }
  .alert-icon { width: 38px; height: 38px; }
  .alert-header { flex-direction: column; gap: 8px; }
  .alert-time { padding: 0; background: transparent; font-size: 12px; }
  .alert-message { font-size: 14.4px; }
}
@media(prefers-reduced-motion:reduce) {
  /* Keep the brief hover feedback explicitly requested for reference surfaces. */
  .alert-item, .alert-icon { transition-duration: .3s; }
}
