/* پیام‌های بالای صفحه: سبز = موفق، قرمز = خطا؛ پس از چند ثانیه محو می‌شوند */
html body .notice.flash-notice,html[data-user-theme] body .notice.flash-notice{display:flex;align-items:center;gap:10px;position:relative;padding:13px 18px;border-radius:12px;font-weight:600;line-height:1.9;border-width:1px;border-style:solid;box-shadow:0 4px 14px #1a243a14;cursor:pointer;overflow:hidden;transition:opacity .7s ease,transform .7s ease,max-height .7s ease,margin .7s ease,padding .7s ease,border-width .7s ease}
html body .notice.flash-notice::before,html[data-user-theme] body .notice.flash-notice::before{flex:none;width:24px;height:24px;border-radius:50%;display:grid;place-items:center;font-size:14px;font-weight:700;color:#fff}
html body .notice.flash-notice.flash-ok,html[data-user-theme] body .notice.flash-notice.flash-ok{background:#e8f7ee!important;border-color:#8fd0a4!important;color:#0f5c34!important}
html body .notice.flash-notice.flash-ok::before{content:"✓";background:#1f9d57}
html body .notice.flash-notice.flash-err,html[data-user-theme] body .notice.flash-notice.flash-err{background:#fdecec!important;border-color:#f0a3a9!important;color:#9b1c1c!important}
html body .notice.flash-notice.flash-err::before{content:"!";background:#d33a4a}
html body .notice.flash-notice.flash-hide{opacity:0;transform:translateY(-8px);max-height:0!important;margin-top:0!important;margin-bottom:0!important;padding-top:0!important;padding-bottom:0!important;border-width:0!important;pointer-events:none}
html body .notice.flash-notice:not(.flash-hide){max-height:300px}
@media (prefers-reduced-motion:reduce){html body .notice.flash-notice{transition:none}}
