.tm-toast-root{position:fixed;bottom:24px;right:24px;z-index:99999;display:flex;flex-direction:column;gap:10px;pointer-events:none;max-width:380px;}
[dir="ltr"] .tm-toast-root{right:auto;left:24px;}
.tm-toast{display:flex;align-items:center;gap:10px;padding:12px 16px;border-radius:12px;background:rgba(15,17,22,.96);color:#fff;font-family:'Cairo',sans-serif;font-size:.88rem;font-weight:600;box-shadow:0 18px 40px rgba(0,0,0,.35);border:1px solid rgba(255,255,255,.08);backdrop-filter:blur(10px);pointer-events:auto;animation:tmToastIn .3s cubic-bezier(.16,1,.3,1) both;min-width:240px;}
.tm-toast.is-out{animation:tmToastOut .25s ease-out both;}
@keyframes tmToastIn{from{opacity:0;transform:translateX(100%)}to{opacity:1;transform:none}}
@keyframes tmToastOut{to{opacity:0;transform:translateX(100%)}}
[dir="ltr"] @keyframes tmToastIn{from{opacity:0;transform:translateX(-100%)}to{opacity:1;transform:none}}
[dir="ltr"] @keyframes tmToastOut{to{opacity:0;transform:translateX(-100%)}}
.tm-toast i{font-size:1.1rem;flex-shrink:0;}
.tm-toast-success{border-left:3px solid #10b981;}
.tm-toast-success i{color:#10b981;}
.tm-toast-error{border-left:3px solid #ef4444;}
.tm-toast-error i{color:#ef4444;}
.tm-toast-warning{border-left:3px solid #f59e0b;}
.tm-toast-warning i{color:#f59e0b;}
.tm-toast-info{border-left:3px solid var(--brand-primary,#e6101c);}
.tm-toast-info i{color:var(--brand-primary,#e6101c);}
.tm-toast-close{background:none;border:none;color:rgba(255,255,255,.4);font-size:1.4rem;cursor:pointer;padding:0 4px;margin-inline-start:auto;line-height:1;}
.tm-toast-close:hover{color:#fff;}

.tm-skel-row,.tm-skel-line,.tm-skel-img,.tm-skel-td{background:linear-gradient(90deg,rgba(255,255,255,.04) 0%,rgba(255,255,255,.10) 50%,rgba(255,255,255,.04) 100%);background-size:200% 100%;animation:tmSkel 1.4s ease-in-out infinite;border-radius:8px;}
body.light .tm-skel-row,body.light .tm-skel-line,body.light .tm-skel-img,body.light .tm-skel-td{background:linear-gradient(90deg,rgba(15,23,42,.04) 0%,rgba(15,23,42,.10) 50%,rgba(15,23,42,.04) 100%);background-size:200% 100%;}
@keyframes tmSkel{0%{background-position:200% 0}100%{background-position:-200% 0}}
.tm-skel-row{height:52px;margin-bottom:10px;}
.tm-skel-card{padding:16px;background:rgba(255,255,255,.02);border-radius:14px;margin-bottom:12px;}
body.light .tm-skel-card{background:rgba(15,23,42,.02);}
.tm-skel-img{height:160px;margin-bottom:12px;}
.tm-skel-line{height:12px;margin-bottom:8px;border-radius:6px;}
.tm-skel-table{display:flex;flex-direction:column;gap:10px;}
.tm-skel-tr{display:grid;grid-template-columns:repeat(auto-fit,minmax(80px,1fr));gap:10px;}
.tm-skel-td{height:32px;}

.tm-empty{text-align:center;padding:60px 30px;color:rgba(255,255,255,.6);}
body.light .tm-empty{color:rgba(15,23,42,.65);}
.tm-empty-icon{width:80px;height:80px;margin:0 auto 20px;background:rgba(var(--brand-primary-rgb,230,16,28),.1);border-radius:50%;display:grid;place-items:center;font-size:2rem;color:var(--brand-primary,#e6101c);}
.tm-empty-title{font-size:1.15rem;font-weight:700;margin:0 0 8px;color:rgba(255,255,255,.85);}
body.light .tm-empty-title{color:#0f172a;}
.tm-empty-desc{font-size:.88rem;line-height:1.7;max-width:380px;margin:0 auto 20px;}
.tm-empty-action{padding:10px 22px;border-radius:100px;background:linear-gradient(135deg,var(--brand-primary,#e6101c),var(--brand-primary-h,#ff3b47));color:#fff;border:none;font-weight:700;cursor:pointer;font-family:inherit;box-shadow:0 8px 22px rgba(var(--brand-primary-rgb,230,16,28),.4);}

.tm-confirm-overlay{position:fixed;inset:0;background:rgba(0,0,0,.7);backdrop-filter:blur(8px);z-index:99997;display:grid;place-items:center;padding:20px;animation:tmFadeIn .2s ease;}
.tm-confirm-overlay.is-out{animation:tmFadeOut .15s ease forwards;}
@keyframes tmFadeIn{from{opacity:0}to{opacity:1}}
@keyframes tmFadeOut{to{opacity:0}}
.tm-confirm-box{background:#15171c;border:1px solid rgba(255,255,255,.08);border-radius:16px;padding:28px;max-width:440px;width:100%;font-family:'Cairo',sans-serif;}
body.light .tm-confirm-box{background:#fff;border-color:rgba(15,23,42,.1);}
.tm-confirm-box h3{margin:0 0 12px;font-size:1.2rem;color:#fff;}
body.light .tm-confirm-box h3{color:#0f172a;}
.tm-confirm-box p{color:rgba(255,255,255,.7);line-height:1.7;margin:0 0 24px;}
body.light .tm-confirm-box p{color:rgba(15,23,42,.7);}
.tm-confirm-actions{display:flex;gap:10px;justify-content:flex-end;}
.tm-confirm-cancel,.tm-confirm-ok{padding:10px 22px;border-radius:10px;font-weight:700;cursor:pointer;border:none;font-family:inherit;font-size:.9rem;}
.tm-confirm-cancel{background:rgba(255,255,255,.06);color:#fff;border:1px solid rgba(255,255,255,.12);}
body.light .tm-confirm-cancel{background:rgba(15,23,42,.05);color:#0f172a;border-color:rgba(15,23,42,.1);}
.tm-confirm-ok{background:var(--brand-primary,#e6101c);color:#fff;}
.tm-confirm-ok.is-danger{background:#ef4444;}
