/* Stage26: global icon fix, exact-ish neworder stats/filter, ticket view reference */
:root{--s26-main:#f34213;--s26-bg:#0a0f1b;--s26-card:#11151c;--s26-border:#2a3444;--s26-text:#f9fafb;--s26-muted:#9ca3af}

/* FontAwesome local css from earlier stages was pointing to missing ../webfonts. Force CDN FA6 families to win. */
.fa,.fas,.fa-solid{font-family:"Font Awesome 6 Free"!important;font-weight:900!important;font-style:normal!important}
.far,.fa-regular{font-family:"Font Awesome 6 Free"!important;font-weight:400!important;font-style:normal!important}
.fab,.fa-brands{font-family:"Font Awesome 6 Brands"!important;font-weight:400!important;font-style:normal!important}
.ti,[class^="ti-"],[class*=" ti-"]{font-family:"tabler-icons"!important;font-style:normal!important;font-weight:400!important}
.main-wrapper .nav-menu li>a .nav-icon .icon{background-image:url('/img/files/45nlzlmzhegnb7cl.png')!important;background-repeat:no-repeat!important}
.main-wrapper .nav-menu li>a .nav-icon .icon:before,.main-wrapper .nav-menu li>a .nav-icon .icon:after{content:none!important;display:none!important}

/* New order statistics exactly like the reference block: compact, same size, no giant red balance */
body.smm-auth .new-order .main-boxes{margin:0 0 14px!important;padding:0!important}
body.smm-auth .new-order .stats-grid{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:14px!important;align-items:stretch!important;width:100%!important;margin:0!important}
body.smm-auth .new-order .stat-card{position:relative!important;min-height:112px!important;height:112px!important;border:1px solid var(--border-color)!important;border-radius:14px!important;background:var(--card-bg)!important;box-shadow:none!important;overflow:hidden!important;padding:0!important;color:var(--text-main)!important}
body.smm-auth .new-order .stat-card.balance{background:var(--card-bg)!important;color:var(--text-main)!important}
body.smm-auth .new-order .stat-card .card-content,body.smm-auth .new-order .stat-card .card-content.white{position:relative!important;z-index:2!important;height:100%!important;padding:16px 18px!important;display:flex!important;flex-direction:column!important;justify-content:space-between!important;color:var(--text-main)!important}
body.smm-auth .new-order .stat-card .card-bg{position:absolute!important;left:-12px!important;bottom:-32px!important;width:86px!important;height:86px!important;border-radius:50%!important;background:rgba(59,130,246,.16)!important;opacity:1!important}
body.smm-auth .new-order .stat-card.orange .card-bg{background:rgba(249,115,22,.18)!important}
body.smm-auth .new-order .stat-card.success .card-bg{background:rgba(34,197,94,.17)!important}
body.smm-auth .new-order .stat-card.balance .card-bg,body.smm-auth .new-order .stat-card.balance .card-bg.large{background:rgba(148,163,184,.20)!important;left:auto!important;right:-16px!important;bottom:-32px!important;width:92px!important;height:92px!important}
html[dir="rtl"] body.smm-auth .new-order .stat-card .card-bg{left:auto!important;right:-12px!important}
html[dir="rtl"] body.smm-auth .new-order .stat-card.balance .card-bg,html[dir="rtl"] body.smm-auth .new-order .stat-card.balance .card-bg.large{right:auto!important;left:-16px!important}
body.smm-auth .new-order .stat-card .card-header{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:10px!important;margin:0!important;min-height:28px!important}
body.smm-auth .new-order .stat-card .card-label,body.smm-auth .new-order .stat-card .card-label.white,body.smm-auth .new-order .stat-card .card-label span{font-size:13px!important;line-height:1.3!important;font-weight:800!important;color:var(--text-main)!important;opacity:1!important;margin:0!important}
body.smm-auth .new-order .stat-card .icon-box{width:34px!important;height:34px!important;min-width:34px!important;border-radius:12px!important;display:flex!important;align-items:center!important;justify-content:center!important;font-size:15px!important;border:none!important;background:rgba(59,130,246,.16)!important;color:#3b82f6!important}
body.smm-auth .new-order .stat-card .icon-box.orange{background:rgba(249,115,22,.16)!important;color:#f97316!important}
body.smm-auth .new-order .stat-card .icon-box.success{background:rgba(34,197,94,.16)!important;color:#22c55e!important}
body.smm-auth .new-order .stat-card.balance .icon-btn-sm{width:34px!important;height:34px!important;min-width:34px!important;border-radius:12px!important;border:none!important;background:rgba(148,163,184,.16)!important;color:var(--text-main)!important;display:flex!important;align-items:center!important;justify-content:center!important;cursor:pointer!important}
body.smm-auth .new-order .stat-card .card-value,body.smm-auth .new-order .stat-card .balance-amount{font-size:22px!important;line-height:1.15!important;font-weight:900!important;color:var(--text-main)!important;margin:0!important;letter-spacing:-.02em!important;text-align:start!important;white-space:nowrap!important}
body.smm-auth .new-order .stat-card .card-value.small{font-size:21px!important}
body.smm-auth .new-order .stat-card .level-row{display:flex!important;align-items:center!important;gap:8px!important;flex-wrap:nowrap!important;justify-content:flex-start!important;margin:0!important}
body.smm-auth .new-order .stat-card .level-badge{display:inline-flex!important;align-items:center!important;justify-content:center!important;height:20px!important;padding:0 8px!important;border-radius:7px!important;background:var(--main-color)!important;color:#fff!important;font-size:11px!important;font-weight:900!important;line-height:20px!important;white-space:nowrap!important}
body.smm-auth .new-order .stat-card .card-meta{display:flex!important;align-items:center!important;gap:5px!important;margin:0!important;font-size:11px!important;font-weight:800!important;color:#3b82f6!important;line-height:1.2!important}
body.smm-auth .new-order .stat-card .card-meta.success{color:#22c55e!important}
body.smm-auth .new-order .stat-card .progress{height:5px!important;border-radius:999px!important;background:rgba(255,255,255,.06)!important;margin-top:7px!important;overflow:hidden!important}
body.smm-auth .new-order .stat-card .progress-bar{height:100%!important;border-radius:999px!important;background:var(--main-color)!important}
body.smm-auth .new-order .stat-card .add-balance-btn{height:28px!important;border-radius:8px!important;border:1px solid var(--border-color)!important;background:rgba(255,255,255,.04)!important;color:var(--text-main)!important;display:flex!important;align-items:center!important;justify-content:center!important;font-size:12px!important;font-weight:900!important;text-decoration:none!important;margin-top:8px!important}

/* Reference platform image filters */
body.smm-auth .new-order .filter-list .brand-category.stage26-platform-filter{display:flex!important;align-items:center!important;justify-content:center!important;gap:9px!important;min-height:42px!important;border:1px solid var(--border-color)!important;border-radius:9px!important;background:var(--bg-color)!important;color:var(--text-main)!important;font-weight:900!important;font-size:14px!important;line-height:1!important;padding:8px 12px!important;transition:.2s ease!important;box-shadow:none!important}
body.smm-auth .new-order .filter-list .brand-category.stage26-platform-filter.active,body.smm-auth .new-order .filter-list .brand-category.stage26-platform-filter:hover{background:var(--main-color)!important;border-color:var(--main-color)!important;color:#fff!important}
body.smm-auth .new-order .filter-list .stage26-platform-icon{display:inline-flex!important;align-items:center!important;justify-content:center!important;width:24px!important;height:24px!important;min-width:24px!important;overflow:hidden!important;border-radius:6px!important;background:rgba(255,255,255,.04)!important}
body.smm-auth .new-order .filter-list .stage26-platform-icon img{display:block!important;width:22px!important;height:22px!important;max-width:22px!important;max-height:22px!important;object-fit:contain!important;border:0!important;border-radius:5px!important;background:transparent!important}
body.smm-auth .new-order .filter-list .stage26-platform-text{display:inline-block!important;white-space:nowrap!important}

/* Robust balance hiding */
body.smm-auth .new-order.balance-hidden .balance-amount,body.smm-auth .new-order.balance-hidden .stat-card.success .card-value,body.smm-auth.balance-hidden-global .balance-amount{filter:blur(6px)!important;user-select:none!important}

/* Ticket view reference page */
body.smm-auth .ticketview{width:100%;max-width:1120px;margin:0 auto;padding:0 0 24px;color:var(--text-main)}
body.smm-auth .ticketview>.card{background:var(--card-bg)!important;border:1px solid var(--border-color)!important;border-radius:18px!important;box-shadow:0 18px 45px var(--shadow-color)!important;overflow:hidden!important;padding:0!important}
body.smm-auth .ticketview .header{padding:18px 22px;border-bottom:1px solid var(--border-color);background:linear-gradient(180deg,rgba(255,255,255,.04),rgba(255,255,255,.01))}
body.smm-auth .ticketview .title{margin:0!important;font-size:20px!important;font-weight:900!important;color:var(--text-main)!important;line-height:1.4!important}
body.smm-auth .ticketview .chat{padding:22px;display:flex;flex-direction:column;gap:16px;max-height:620px;overflow:auto;background:var(--bg-color)}
body.smm-auth .ticketview .message{display:flex;flex-direction:column;gap:7px;max-width:78%}
body.smm-auth .ticketview .message.user{align-self:flex-end;align-items:flex-end}
body.smm-auth .ticketview .message.support{align-self:flex-start;align-items:flex-start}
html[dir="rtl"] body.smm-auth .ticketview .message.user{align-self:flex-end;align-items:flex-end}
html[dir="rtl"] body.smm-auth .ticketview .message.support{align-self:flex-start;align-items:flex-start}
body.smm-auth .ticketview .bubble{border:1px solid var(--border-color);border-radius:18px;background:var(--card-bg);padding:14px 16px;color:var(--text-main);font-size:14px;line-height:1.8;box-shadow:0 12px 30px var(--shadow-color)}
body.smm-auth .ticketview .message.user .bubble{background:linear-gradient(135deg,rgba(243,66,19,.95),rgba(243,66,19,.78));border-color:rgba(243,66,19,.65);color:#fff;border-bottom-right-radius:6px}
body.smm-auth .ticketview .message.support .bubble{border-bottom-left-radius:6px}
body.smm-auth .ticketview .chat-text p{margin:0 0 7px}
body.smm-auth .ticketview .chat-text p:last-child{margin-bottom:0}
body.smm-auth .ticketview .meta{display:flex;align-items:center;gap:10px;color:var(--place-color);font-size:12px;font-weight:700;padding:0 8px;opacity:.9}
body.smm-auth .ticketview .meta strong{color:var(--text-main);font-size:12px}
body.smm-auth .ticketview .reply{border-top:1px solid var(--border-color);padding:20px 22px;background:var(--card-bg)}
body.smm-auth .ticketview .reply form{display:flex;flex-direction:column;gap:12px;margin:0}
body.smm-auth .ticketview .reply label{font-size:13px;font-weight:900;color:var(--text-main);margin:0}
body.smm-auth .ticketview .reply textarea{width:100%;min-height:140px;resize:vertical;border:1px solid var(--border-color);border-radius:14px;background:var(--bg-color);color:var(--text-main);padding:14px 16px;font-size:14px;line-height:1.7;outline:none;box-shadow:none}
body.smm-auth .ticketview .reply textarea:focus{border-color:var(--main-color);box-shadow:0 0 0 3px var(--main-opacity)}
body.smm-auth .ticketview .uploader-wrapper{border:1px dashed var(--border-color);border-radius:14px;background:rgba(255,255,255,.03);padding:12px;color:var(--place-color);font-size:13px}
body.smm-auth .ticketview .reply button[type="submit"]{height:44px;border:none;border-radius:14px;background:var(--main-color);color:#fff;font-size:14px;font-weight:900;cursor:pointer;transition:.2s ease;box-shadow:0 12px 24px var(--main-opacity)}
body.smm-auth .ticketview .reply button[type="submit"]:hover{transform:translateY(-1px);filter:brightness(1.05)}
body.smm-auth .ticketview .ticket-alert{margin:18px 22px 0;border-radius:12px;padding:12px 14px;font-weight:800;border:1px solid var(--border-color)}
body.smm-auth .ticketview .ticket-alert.danger{background:rgba(239,68,68,.12);color:#fca5a5;border-color:rgba(239,68,68,.35)}
body.smm-auth .ticketview .ticket-alert.success{background:rgba(34,197,94,.12);color:#86efac;border-color:rgba(34,197,94,.35)}
@media (max-width:991px){body.smm-auth .new-order .stats-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}body.smm-auth .ticketview{padding:0 0 80px}body.smm-auth .ticketview .message{max-width:92%}}
@media (max-width:575px){body.smm-auth .new-order .stats-grid{grid-template-columns:1fr!important;gap:10px!important}body.smm-auth .new-order .stat-card{height:108px!important;min-height:108px!important}body.smm-auth .new-order .stat-card .card-content,body.smm-auth .new-order .stat-card .card-content.white{padding:14px 16px!important}body.smm-auth .new-order .stat-card .card-value,body.smm-auth .new-order .stat-card .balance-amount{font-size:20px!important}body.smm-auth .new-order .filter-list .brand-category.stage26-platform-filter{min-height:44px!important;padding:8px!important}body.smm-auth .new-order .filter-list .stage26-platform-text{display:none!important}body.smm-auth .new-order .filter-list .stage26-platform-icon{width:30px!important;height:30px!important;min-width:30px!important}body.smm-auth .new-order .filter-list .stage26-platform-icon img{width:26px!important;height:26px!important;max-width:26px!important;max-height:26px!important}body.smm-auth .ticketview .header,body.smm-auth .ticketview .chat,body.smm-auth .ticketview .reply{padding:14px}body.smm-auth .ticketview .title{font-size:17px!important}body.smm-auth .ticketview .message{max-width:96%}}
