/* AXDECO COMMERCE v1.2.4 — elegant status capsules, no layout-breaking full-width bars.
   Shared by CPANEL, store, checkout, account and order confirmation. */
.ax-ui-notice{
  --ax-notice-rgb:164,211,183;
  --ax-notice-ink:#c4e8d0;
  position:relative;
  box-sizing:border-box;
  display:inline-flex;
  width:fit-content;
  max-width:min(100%,1050px);
  min-height:60px;
  align-items:center;
  gap:16px;
  margin:14px 0 26px;
  padding:16px 24px;
  border:1px solid rgba(var(--ax-notice-rgb),.28);
  border-radius:22px;
  background:linear-gradient(120deg,rgba(var(--ax-notice-rgb),.105),rgba(var(--ax-notice-rgb),.025) 78%),#101311;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.025),0 14px 32px rgba(0,0,0,.15);
  color:var(--ax-notice-ink);
  font-size:16px;
  font-weight:550;
  letter-spacing:.005em;
  line-height:1.55;
  text-align:left;
  overflow-wrap:anywhere;
  -webkit-font-smoothing:antialiased;
  animation:ax-notice-rise .36s cubic-bezier(.22,.82,.24,1) both;
}
.ax-ui-notice::before{
  content:"";
  display:inline-block;
  flex:0 0 11px;
  width:11px;
  height:11px;
  border-radius:50%;
  background:var(--ax-notice-ink);
  box-shadow:0 0 0 5px rgba(var(--ax-notice-rgb),.10),0 0 21px rgba(var(--ax-notice-rgb),.28);
}
.ax-ui-notice--success{--ax-notice-rgb:119,193,147;--ax-notice-ink:#c9e9d4}
.ax-ui-notice--error{--ax-notice-rgb:217,126,113;--ax-notice-ink:#f1c0b6;background:linear-gradient(120deg,rgba(var(--ax-notice-rgb),.105),rgba(var(--ax-notice-rgb),.025) 78%),#160e0e}
.ax-ui-notice--info{--ax-notice-rgb:216,179,128;--ax-notice-ink:#dec49f;background:linear-gradient(120deg,rgba(var(--ax-notice-rgb),.095),rgba(var(--ax-notice-rgb),.02) 78%),#13110e}
@keyframes ax-notice-rise{from{opacity:0;transform:translateY(7px)}to{opacity:1;transform:translateY(0)}}

/* Administration: the old broad .flash and .error panels are overridden,
   including the uploader, update manifest and CRUD notices. */
.admin-main p.flash.ax-ui-notice,.admin-main p.error.ax-ui-notice{
  display:inline-flex;
  width:fit-content;
  max-width:min(100%,1050px);
  min-height:60px;
  padding:16px 24px;
  border:1px solid rgba(var(--ax-notice-rgb),.28);
  border-radius:22px;
  background:linear-gradient(120deg,rgba(var(--ax-notice-rgb),.105),rgba(var(--ax-notice-rgb),.025) 78%),#101311;
  color:var(--ax-notice-ink);
  font-size:16px;
  font-weight:550;
  line-height:1.55;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.025),0 14px 32px rgba(0,0,0,.15);
}
.admin-main p.error.ax-ui-notice{background:linear-gradient(120deg,rgba(var(--ax-notice-rgb),.105),rgba(var(--ax-notice-rgb),.025) 78%),#160e0e}

/* Store — cart confirmation toast, retaining the existing show/hide JS. */
body .toast.ax-ui-notice{
  position:fixed;
  left:50%;
  bottom:28px;
  z-index:120;
  display:flex;
  width:max-content;
  max-width:calc(100vw - 32px);
  min-height:58px;
  margin:0;
  padding:14px 22px;
  border-radius:999px;
  background:linear-gradient(120deg,rgba(119,193,147,.14),rgba(119,193,147,.035) 78%),rgba(13,19,15,.975);
  font-size:14px;
  box-shadow:0 20px 56px rgba(0,0,0,.45),inset 0 1px 0 rgba(255,255,255,.04);
  opacity:0;
  transform:translate(-50%,25px);
  pointer-events:none;
  animation:none;
  transition:opacity .24s ease,transform .32s cubic-bezier(.2,.8,.2,1);
  backdrop-filter:blur(18px);
  -webkit-backdrop-filter:blur(18px);
}
body .toast.ax-ui-notice.show{opacity:1;transform:translate(-50%,0)}

/* Customer-facing form feedback (login, registration and checkout). */
.page-wrap .form-error:not(:empty),.page-panel .form-error:not(:empty){
  --ax-notice-rgb:217,126,113;
  --ax-notice-ink:#f1c0b6;
  display:inline-flex!important;
  width:fit-content;
  max-width:100%;
  min-height:50px;
  margin:12px 0 16px;
  padding:12px 17px;
  align-items:center;
  gap:12px;
  border:1px solid rgba(var(--ax-notice-rgb),.28);
  border-radius:17px;
  background:linear-gradient(120deg,rgba(var(--ax-notice-rgb),.12),rgba(var(--ax-notice-rgb),.025)),#160e0e;
  color:var(--ax-notice-ink)!important;
  font-size:13px;
  font-weight:500;
  line-height:1.55;
  overflow-wrap:anywhere;
  box-shadow:0 10px 24px rgba(0,0,0,.16);
}
.page-wrap .form-error:not(:empty)::before,.page-panel .form-error:not(:empty)::before{
  content:"";
  display:inline-block;
  flex:0 0 9px;
  width:9px;
  height:9px;
  border-radius:50%;
  background:var(--ax-notice-ink);
  box-shadow:0 0 0 4px rgba(var(--ax-notice-rgb),.1),0 0 15px rgba(var(--ax-notice-rgb),.3);
}
.page-wrap .form-error:empty,.page-panel .form-error:empty{display:none!important}

/* Order status: same visual grammar inside a page panel. */
.page-panel p.ax-ui-notice{display:inline-flex;color:var(--ax-notice-ink);line-height:1.55;margin:14px 0 20px}

/* Small screens: no clipping, even with long Polish messages. */
@media(max-width:680px){
  .admin-main p.flash.ax-ui-notice,.admin-main p.error.ax-ui-notice,.ax-ui-notice{padding:13px 17px;gap:12px;min-height:56px;font-size:14px;border-radius:18px}
  body .toast.ax-ui-notice{bottom:16px;padding:13px 17px;border-radius:22px;font-size:13px}
  .ax-ui-notice::before{flex-basis:9px;width:9px;height:9px}
}
@media(prefers-reduced-motion:reduce){.ax-ui-notice{animation:none!important}body .toast.ax-ui-notice{transition:none!important}}
