/* RoboThings Premium Notices */
:root{--rtpn-ink:#0f1b2d;--rtpn-mut:#556070;--rtpn-o:#ff6b00}

/* ---------- notice cards ---------- */
.woocommerce-error,.woocommerce-message,.woocommerce-info,
.woocommerce-notices-wrapper .woocommerce-error,.woocommerce-notices-wrapper .woocommerce-message,.woocommerce-notices-wrapper .woocommerce-info{
  --a:#e5484d;--bg:#fff5f5;--ic:"!";
  position:relative!important;list-style:none!important;display:flex!important;align-items:center!important;flex-wrap:wrap!important;gap:10px 14px!important;
  margin:0 auto 22px!important;max-width:1100px!important;padding:16px 52px 16px 70px!important;
  background:var(--bg)!important;color:var(--rtpn-ink)!important;border:1px solid color-mix(in srgb,var(--a) 28%,transparent)!important;border-top:0!important;border-left:0!important;
  border-radius:18px!important;box-shadow:0 18px 40px -26px rgba(15,27,45,.45)!important;
  font-family:'Manrope',system-ui,-apple-system,sans-serif!important;font-size:15.5px!important;line-height:1.55!important;
  animation:rtpnIn .45s cubic-bezier(.2,.9,.3,1.2) both;overflow:hidden
}
.woocommerce-message{--a:#0a9a6a;--bg:#f1fbf6;--ic:"✓"}
.woocommerce-info{--a:#2f7de1;--bg:#f2f7ff;--ic:"i"}
.woocommerce-error::after,.woocommerce-message::after,.woocommerce-info::after{content:"";position:absolute;left:0;top:0;bottom:0;width:5px;background:var(--a)}
.woocommerce-error::before,.woocommerce-message::before,.woocommerce-info::before{
  content:var(--ic)!important;position:absolute!important;left:18px!important;top:50%!important;transform:translateY(-50%)!important;
  width:36px!important;height:36px!important;border-radius:12px!important;background:var(--a)!important;color:#fff!important;
  display:grid!important;place-items:center!important;font:800 18px/1 'Manrope',system-ui,sans-serif!important;box-shadow:0 8px 18px -8px var(--a)
}
.woocommerce-error li,.woocommerce-message li,.woocommerce-info li{list-style:none!important;margin:0!important;padding:0!important;flex:1 1 260px}
.woocommerce-error strong,.woocommerce-message strong,.woocommerce-info strong{font-weight:800!important;color:var(--rtpn-ink)!important}
.woocommerce-error a:not(.button):not(.rtpn-x):not(.rtpn-lost),.woocommerce-message a:not(.button):not(.rtpn-x):not(.rtpn-lost),.woocommerce-info a:not(.button):not(.rtpn-x):not(.rtpn-lost){color:var(--a)!important;font-weight:800!important;text-decoration:underline!important;text-underline-offset:3px}

/* reset-password action inside the notice */
.woocommerce-error a.rtpn-lost,.woocommerce-error a[href*="lost-password"],.woocommerce-error a[href*="lostpassword"]{text-decoration:none!important;
  display:inline-flex!important;align-items:center;gap:6px;margin-left:6px;background:var(--rtpn-ink)!important;color:#fff!important;text-decoration:none!important;
  border-radius:10px;padding:7px 13px!important;font-size:14px!important;font-weight:800!important;white-space:nowrap;transition:background .2s;position:relative;z-index:5;cursor:pointer
}
.woocommerce-error a.rtpn-lost:hover,.woocommerce-error a[href*="lost-password"]:hover{background:var(--rtpn-o)!important}
.woocommerce-error a.rtpn-lost::after,.woocommerce-error a[href*="lost-password"]::after{content:"→"}
.rtpn-help{font-size:13.5px;color:var(--rtpn-mut);width:100%;margin-top:-2px}
.rtpn-help a{color:var(--rtpn-mut)!important;font-weight:700!important}

/* buttons that WooCommerce puts inside notices (e.g. "View cart") */
.woocommerce-message .button,.woocommerce-info .button,.woocommerce-error .button{
  order:2;float:none!important;margin:0!important;background:var(--rtpn-ink)!important;color:#fff!important;border:0!important;border-radius:11px!important;
  padding:9px 16px!important;font:800 14px/1.2 'Manrope',system-ui,sans-serif!important;text-decoration:none!important;box-shadow:none!important
}
.woocommerce-message .button:hover,.woocommerce-info .button:hover{background:var(--rtpn-o)!important}

/* close button */
.rtpn-x{position:absolute!important;right:14px;top:50%;transform:translateY(-50%);width:30px;height:30px;border:0;border-radius:9px;background:transparent;color:var(--rtpn-mut);font-size:20px;line-height:1;cursor:pointer;display:grid;place-items:center;padding:0;transition:background .2s}
.rtpn-x:hover{background:rgba(15,27,45,.07);color:var(--rtpn-ink)}
.rtpn-out{animation:rtpnOut .3s ease forwards}

/* shake the error once so it is noticed */
.woocommerce-error{animation:rtpnIn .45s cubic-bezier(.2,.9,.3,1.2) both,rtpnShake .45s .45s ease}

@keyframes rtpnIn{from{opacity:0;transform:translateY(-10px) scale(.98)}to{opacity:1;transform:none}}
@keyframes rtpnOut{to{opacity:0;transform:translateY(-8px);height:0;margin:0;padding-top:0;padding-bottom:0}}
@keyframes rtpnShake{20%,60%{transform:translateX(-6px)}40%,80%{transform:translateX(6px)}}

/* block-based cart/checkout notices */
.wc-block-components-notice-banner{border-radius:16px!important;box-shadow:0 14px 34px -24px rgba(15,27,45,.45)!important;font-family:'Manrope',system-ui,sans-serif!important;font-size:15px!important}

/* ---------- Lost / Reset password page ---------- */
.woocommerce-account form.lost_reset_password,.woocommerce-account form.woocommerce-ResetPassword{
  max-width:520px!important;margin:10px auto 40px!important;background:#fff;border:1px solid #e7eaef!important;border-radius:24px!important;
  padding:34px clamp(20px,4vw,40px)!important;box-shadow:0 24px 50px -32px rgba(15,27,45,.5);font-family:'Manrope',system-ui,sans-serif!important
}
.woocommerce-account form.lost_reset_password::before{content:"🔐";display:grid;place-items:center;width:56px;height:56px;border-radius:16px;background:#fff3ea;font-size:26px;margin-bottom:16px}
.woocommerce-account form.lost_reset_password>p:first-of-type{font-size:15.5px;color:var(--rtpn-mut);line-height:1.6;margin:0 0 18px!important}
.woocommerce-account form.lost_reset_password .form-row{width:100%!important;float:none!important;padding:0!important;margin:0 0 16px!important}
.woocommerce-account form.lost_reset_password label{display:block;font-weight:800!important;font-size:14px!important;color:var(--rtpn-ink)!important;margin-bottom:7px!important}
.woocommerce-account form.lost_reset_password input.input-text{
  box-sizing:border-box!important;width:100%!important;height:auto!important;border:1.5px solid #dfe3e9!important;border-radius:13px!important;padding:14px 16px!important;font-size:16px!important;background:#fbfcfd!important;box-shadow:none!important;transition:border-color .2s,box-shadow .2s
}
.woocommerce-account form.lost_reset_password input.input-text:focus{border-color:var(--rtpn-o)!important;box-shadow:0 0 0 4px rgba(255,107,0,.14)!important;outline:0!important;background:#fff!important}
.woocommerce-account form.lost_reset_password button[type=submit],.woocommerce-account form.lost_reset_password .button{
  width:100%!important;background:var(--rtpn-o)!important;color:#fff!important;border:0!important;border-radius:13px!important;padding:15px 18px!important;
  font:800 16px/1.2 'Manrope',system-ui,sans-serif!important;cursor:pointer;transition:transform .15s,background .2s
}
.woocommerce-account form.lost_reset_password button[type=submit]:hover{background:#ff7d1f!important;transform:translateY(-1px)}
.rtpn-back{display:block;text-align:center;margin-top:16px;font-size:14px;font-weight:700;color:var(--rtpn-mut)!important;text-decoration:none!important}
.rtpn-back:hover{color:var(--rtpn-o)!important}

@media (max-width:600px){
  .woocommerce-error,.woocommerce-message,.woocommerce-info{padding:14px 44px 14px 62px!important;font-size:14.5px!important;border-radius:16px!important;margin-left:0!important;margin-right:0!important}
  .woocommerce-error::before,.woocommerce-message::before,.woocommerce-info::before{left:14px!important;width:32px!important;height:32px!important;top:22px!important;transform:none!important;font-size:16px!important}
  .rtpn-x{top:12px;transform:none}
  .woocommerce-error a.rtpn-lost,.woocommerce-error a[href*="lost-password"]{margin:6px 0 0!important}
}
