
/* SouqX Visual System 2.0 | Scoped visual layer | RTL/LTR and light/dark */
.sx-v2{--sx-accent:#7551f5;--sx-muted:var(--muted,#74809a);--sx-surface:var(--card,#fff);--sx-border:var(--line,#e5e9f2);--sx-glow:rgba(116,80,246,.13);max-width:1250px!important;padding-top:24px;padding-bottom:64px}
.sx-v2 *{box-sizing:border-box}
.sx-v2-hero{position:relative;display:flex;align-items:center;gap:23px;overflow:hidden;isolation:isolate;min-height:175px;border-radius:25px;padding:30px 35px;margin-bottom:26px;background:linear-gradient(115deg,#1c1646,#5135b5 62%,#8258f2);box-shadow:0 20px 42px rgba(57,36,135,.15);color:#fff}
.sx-v2-hero:before{content:"";position:absolute;inset-inline-end:-65px;top:-135px;width:320px;height:320px;border-radius:50%;background:radial-gradient(circle,rgba(255,255,255,.17),transparent 70%);z-index:-1}
.sx-v2-hero h1{color:#fff!important;font-size:clamp(27px,3vw,42px)!important;line-height:1.35;margin:7px 0 5px;font-weight:850;letter-spacing:-.7px}
.sx-v2-hero p{color:#e6e0ff!important;font-size:13px;max-width:700px;margin:0;line-height:1.9}
.sx-v2-eyebrow{font-size:10px;letter-spacing:1.8px;font-weight:800;color:#dcd3ff;border:1px solid rgba(255,255,255,.24);border-radius:40px;padding:6px 12px;display:inline-block}
.sx-v2-hero-icon{width:72px;height:72px;border-radius:22px;background:rgba(255,255,255,.13);border:1px solid rgba(255,255,255,.2);display:grid;place-items:center;flex-shrink:0;font-size:35px;font-weight:800;color:#fff}
.sx-v2-hero-ornament{margin-inline-start:auto;font-size:105px;line-height:1;color:rgba(255,255,255,.12);font-weight:900}
.sx-v2-section-title{display:flex;align-items:center;gap:13px;margin:23px 0 13px}
.sx-v2-section-title>span{display:grid;place-items:center;flex-shrink:0;width:44px;height:44px;border-radius:14px;background:var(--sx-glow);color:var(--sx-accent);font-size:23px}
.sx-v2-section-title h2{margin:0!important;font-size:20px;font-weight:800}
.sx-v2-section-title p{margin:4px 0 0;color:var(--sx-muted);font-size:12px}
.sx-v2 .card{border:1px solid var(--sx-border);border-radius:19px;box-shadow:0 9px 28px rgba(26,34,81,.045);transition:transform .18s,box-shadow .18s}
.sx-v2 .card:hover{box-shadow:0 15px 32px rgba(26,34,81,.08)}
.sx-v2 .btn{border-radius:11px!important;font-weight:700;transition:transform .18s,box-shadow .18s}
.sx-v2 .btn:not(.ghost):not(.danger){background:linear-gradient(110deg,#7450f6,#9957f7)!important;border-color:transparent!important;color:#fff!important}
.sx-v2 .btn:hover{transform:translateY(-1px)}
.sx-v2 .grid{gap:16px}
.sx-v2-money-grid{grid-template-columns:repeat(auto-fit,minmax(240px,1fr))}
.sx-v2-money-grid .card{padding:24px;background:linear-gradient(145deg,var(--sx-surface),var(--sx-surface));border-top:3px solid #8663fa}
.sx-v2-money-grid .price{font-size:clamp(24px,2.4vw,35px);font-weight:850;margin:14px 0 9px}
.sx-v2-table-card{overflow:auto}
.sx-v2 table{border-collapse:separate;border-spacing:0;width:100%;min-width:580px}
.sx-v2 th{font-size:12px;color:var(--sx-muted);font-weight:800;padding:16px 12px;background:var(--soft,#f4f6fb);white-space:nowrap}
.sx-v2 td{padding:15px 12px;border-bottom:1px solid var(--sx-border);font-size:13px}
.sx-v2 tbody tr:hover,.sx-v2 tr:hover td{background:rgba(116,80,246,.025)}
.sx-v2-table-scroll{overflow:auto}
.sx-v2-empty{grid-column:1/-1;text-align:center;padding:52px 25px!important;display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:255px}
.sx-v2-empty-icon{display:grid;place-items:center;width:82px;height:82px;border-radius:26px;background:linear-gradient(135deg,rgba(117,81,245,.13),rgba(154,89,245,.05));color:#7a54f3;font-size:42px;margin-bottom:16px}
.sx-v2-empty h3{font-size:21px;margin:0 0 8px}.sx-v2-empty p{max-width:460px;font-size:13px;color:var(--sx-muted);line-height:1.9;margin:0 0 17px}
.sx-page-admin-payments .revenue-grid{margin-top:14px!important}
.sx-page-admin-payments .money-card{min-height:170px;position:relative;overflow:hidden;border-top:3px solid #7958f3}
.sx-page-admin-payments .money-card:after{content:"";position:absolute;width:120px;height:120px;border-radius:50%;background:rgba(116,80,246,.06);bottom:-65px;inset-inline-end:-35px}
.sx-page-admin-payments .money-card.pending{border-top-color:#e9a23b}
.sx-page-admin-payments .money-card strong{font-size:35px;font-weight:850}
.sx-page-admin-payments .pay-table{margin-top:0}
.sx-page-admin-promos>.grid{margin-top:18px}
.sx-page-admin-promos form.card{border-top:3px solid #7a57f4}
.sx-page-admin-promos form.card:nth-child(2){border-top-color:#16b89c}
.sx-v2-form-title{display:flex;align-items:center;gap:12px;margin-bottom:22px}
.sx-v2-form-title>span{width:45px;height:45px;border-radius:13px;display:grid;place-items:center;background:rgba(116,80,246,.1);color:#7450f6;font-size:23px}
.sx-v2-form-title h2{font-size:20px;margin:0}.sx-v2-form-title p{font-size:12px;color:var(--sx-muted);margin:4px 0}
.sx-page-admin-promos label{font-weight:650;font-size:12px}
.sx-v2 input:not([type=checkbox]):not([type=radio]),.sx-v2 select,.sx-v2 textarea{border-radius:11px!important;border:1px solid var(--sx-border);background:var(--input,var(--sx-surface));color:var(--text);padding:11px}
.sx-v2 input:focus,.sx-v2 select:focus,.sx-v2 textarea:focus{outline:2px solid rgba(116,80,246,.18);border-color:#8b6cf6}
.sx-page-settings .settings-grid{gap:14px;margin-top:15px}
.sx-page-settings .setting-card{min-height:133px;padding:21px!important;border-radius:17px;border:1px solid var(--sx-border);background:var(--sx-surface);text-decoration:none!important;box-shadow:0 8px 20px rgba(25,33,76,.04);transition:transform .2s,box-shadow .2s,border-color .2s}
.sx-page-settings .setting-card:hover{transform:translateY(-4px);border-color:rgba(116,80,246,.38);box-shadow:0 16px 34px rgba(116,80,246,.1)}
.sx-page-settings .setting-card b{display:block;font-size:14px;margin-bottom:10px;color:var(--text)}
.sx-page-settings .setting-card p{line-height:1.7;font-size:12px}
.sx-page-settings .section{border-radius:18px;padding:23px;margin-top:20px}
.sx-page-profile .sx-v2-profile-banner{background:linear-gradient(110deg,rgba(116,80,246,.09),rgba(116,80,246,.015));padding:22px!important}
.sx-page-profile .sx-v2-profile-card{border-top:3px solid #825ff7;padding:30px!important}
.sx-page-profile .sx-v2-profile-card .top{gap:18px;align-items:center}
.sx-page-profile .sx-v2-profile-card h3{border-top:1px solid var(--sx-border);padding-top:23px;margin-top:28px}
.sx-page-messages .sx-v2-conversation-grid{grid-template-columns:repeat(auto-fit,minmax(300px,1fr))}
.sx-page-messages .sx-v2-conversation{padding:22px!important;display:block;text-decoration:none!important;border-inline-start:4px solid #8865f5}
.sx-page-messages .sx-v2-conversation:hover{transform:translateY(-3px);border-color:#8865f5}
.sx-page-messages .sx-v2-conversation h3{font-size:18px;margin:14px 0 8px}
.sx-v2-notification-tools form{margin-inline-start:auto}
.sx-page-notifications .sx-v2-notification{padding:19px 22px;border-inline-start:4px solid #8865f5;margin:12px 0!important}
.sx-page-notifications .sx-v2-notification:hover{transform:translateY(-2px)}
.sx-page-notifications .sx-v2-notification p{line-height:1.85}
body.dark .sx-v2 .card,html.dark .sx-v2 .card{box-shadow:0 8px 28px rgba(0,0,0,.17)}
@media(max-width:800px){.sx-v2-hero{padding:23px;min-height:145px;gap:13px}.sx-v2-hero-icon{width:52px;height:52px;font-size:25px;border-radius:16px}.sx-v2-hero-ornament{display:none}.sx-v2 .grid{grid-template-columns:1fr}.sx-v2 .settings-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:520px){.sx-v2{padding-top:10px}.sx-v2-hero{padding:22px 18px;align-items:flex-start}.sx-v2-hero-icon{display:none}.sx-v2-hero h1{font-size:28px!important}.sx-v2 .settings-grid{grid-template-columns:1fr}.sx-v2-notification-tools{flex-wrap:wrap}.sx-v2-notification-tools form{width:100%;margin:0}.sx-v2-notification-tools form button{width:100%}.sx-v2 .card{border-radius:15px}}
@media(prefers-reduced-motion:reduce){.sx-v2 *{transition:none!important;animation:none!important}}
