.ws-pkg-modal-wrap{display:flex;gap:0;border-radius:14px;overflow:hidden;border:1px solid #23232e;background:#13131a;min-height:340px;box-shadow:0 8px 40px #000a;}
.ws-pkg-left{flex:0 0 220px;display:flex;flex-direction:column;align-items:center;background:linear-gradient(160deg,#1a1a28 60%,#111118 100%);border-right:1px solid #23232e;padding:28px 20px 24px;}
.ws-pkg-img{width:140px;height:280px;object-fit:fill;border-radius:10px;box-shadow:0 4px 24px #000c;border:1px solid #2a2a3a;margin-bottom:14px;display:block;}
.ws-pkg-name{font-size:1.13em;font-weight:700;color:#e0e6ff;text-align:center;margin-bottom:6px;line-height:1.3;word-break:break-word;overflow-wrap:break-word;}
.ws-pkg-stock-badge{display:inline-flex;align-items:center;gap:5px;font-size:.75em;font-weight:700;background:rgba(74,143,255,.13);color:#7ecbff;border:1px solid #2a4a7a;border-radius:20px;padding:3px 10px;margin-bottom:8px;}
.ws-pkg-stock-badge--empty{background:rgba(255,85,85,.13);color:#ff7070;border-color:#5a2020;}
.ws-pkg-classes{display:flex;flex-wrap:wrap;gap:6px;justify-content:center;margin-bottom:10px;width:100%;}
.ws-pkg-class-item{display:flex;flex-direction:column;align-items:center;gap:3px;cursor:default;}
.ws-pkg-class-item img{width:32px;height:32px;border-radius:50%;object-fit:cover;object-position:top center;border:1px solid rgba(74,143,255,0.3);filter:brightness(0.9);}
.ws-pkg-class-item span{font-size:.6em;color:#6070a0;font-weight:600;white-space:nowrap;}
.ws-pkg-limit-notice{display:flex;align-items:flex-start;gap:8px;background:rgba(255,160,0,.08);border:1px solid #5a4010;border-radius:8px;padding:9px 11px;margin-bottom:10px;font-size:.78em;color:#c8a860;line-height:1.5;width:100%;}
.ws-pkg-limit-notice i{color:#ffa500;margin-top:2px;flex-shrink:0;}
.ws-pkg-desc{font-size:.82em;color:#6a7aaa;text-align:center;margin-bottom:16px;line-height:1.5;word-break:break-word;overflow-wrap:break-word;}
.ws-pkg-items-label{font-size:.72em;font-weight:600;color:#444460;text-transform:uppercase;letter-spacing:.08em;margin-bottom:8px;width:100%;text-align:left;}
.ws-pkg-items-grid{display:flex;flex-wrap:wrap;gap:8px;justify-content:center;width:100%;}
.ws-pkg-item-wrap{position:relative;cursor:default;}
.ws-pkg-item-wrap img{width:42px;height:42px;object-fit:contain;border:1px solid #2e2e42;background:#0d0d14;border-radius:6px;display:block;transition:border-color .15s;}
.ws-pkg-item-wrap:hover img{border-color:#4a8fff88;}
.ws-pkg-right{flex:1;display:flex;flex-direction:column;padding:28px 28px 24px;gap:0;min-width:240px;}
.ws-pkg-section-title{font-size:.7em;font-weight:700;color:#3a4a7a;text-transform:uppercase;letter-spacing:.1em;margin-bottom:16px;}
.ws-pkg-row{display:flex;align-items:center;justify-content:space-between;padding:11px 0;border-bottom:1px solid #1c1c28;}
.ws-pkg-row:last-of-type{border-bottom:none;}
.ws-pkg-row-label{display:flex;align-items:center;gap:8px;color:#6070a0;font-size:.85em;}
.ws-pkg-row-label i{width:16px;text-align:center;font-size:.9em;}
.ws-pkg-row-value{font-size:.95em;font-weight:600;color:#c8d0ee;word-break:break-word;overflow-wrap:break-word;max-width:260px;text-align:right;}
.ws-pkg-row-value.negative{color:#ff5566;}
.ws-pkg-row-value.positive{color:#36e898;}
.ws-pkg-row-value--price{color:#ff8866;}
.ws-pkg-divider{height:1px;background:linear-gradient(90deg,transparent,#2a2a42,transparent);margin:10px 0;}
.ws-pkg-after-row{display:flex;align-items:center;justify-content:space-between;padding:13px 14px;background:rgba(74,143,255,.07);border-radius:8px;border:1px solid #2a3a5a;margin:8px 0 20px;}
.ws-pkg-after-label{display:flex;align-items:center;gap:8px;color:#7a8ec0;font-size:.85em;font-weight:600;}
.ws-pkg-after-value{font-size:1.1em;font-weight:800;}
.ws-pkg-buy-btn{width:100%;background:linear-gradient(135deg,#4a8fff 0%,#2a5fd4 100%);color:#fff;font-weight:700;font-size:1em;padding:13px 0;border-radius:9px;border:none;cursor:pointer;box-shadow:0 3px 16px rgba(74,143,255,.35);letter-spacing:.03em;transition:opacity .15s,transform .1s;}
.ws-pkg-buy-btn:hover:not(:disabled){opacity:.9;transform:translateY(-1px);}
.ws-pkg-buy-btn:disabled{opacity:.45;filter:grayscale(40%);cursor:not-allowed;transform:none;}
.ws-pkg-msg{margin-top:10px;font-size:.85em;font-weight:600;text-align:center;color:#ff5566;display:flex;align-items:center;justify-content:center;gap:6px;}
.ws-pkg-spacer{flex:1;}
.ws-currency-label{color:#4a8fff;font-size:.8em;}
.ws-currency-label--sm{font-size:.7em;font-weight:500;color:#4a8fff;}
.ws-captcha-wrap{margin-bottom:12px;display:flex;justify-content:center;}
.ws-purchase-msg{margin-top:8px;font-size:.85em;font-weight:600;text-align:center;}
.ws-pkg-no-image{width:100%;height:100%;display:flex;align-items:center;justify-content:center;font-size:2.5rem;background:linear-gradient(160deg,#12121e 0%,#0a0a14 100%);color:rgba(74,143,255,0.2);}
@media(max-width:560px){
    .ws-pkg-modal-wrap{flex-direction:column;}
    .ws-pkg-left{flex:none;border-right:none;border-bottom:1px solid #23232e;padding:20px;}
    .ws-pkg-img{width:100px;height:200px;}
    .ws-pkg-right{padding:20px;}
}

.ws-modal-title{margin-bottom:16px;color:rgba(74,143,255,0.8);font-size:.75em;font-weight:700;text-transform:uppercase;letter-spacing:.1em;}
.ws-empty-state{padding:18px;text-align:center;color:#888;}
.ws-history-list{display:flex;flex-direction:column;gap:16px;}
.ws-history-row{display:flex;align-items:center;justify-content:space-between;gap:16px;background:rgba(10,16,32,.97);border-radius:10px;padding:12px 16px;border:1px solid #2a2a35;}
.ws-history-row__left{display:flex;align-items:center;gap:12px;min-width:0;}
.ws-history-items{display:flex;gap:6px;align-items:center;}
.ws-history-item-img{width:30px;height:30px;object-fit:contain;border:1px solid #555;background:#111;border-radius:4px;}
.ws-history-row__right{text-align:right;min-width:140px;flex-shrink:0;}
.ws-history-date{color:#7ecbff;font-weight:600;font-size:.9em;}
.ws-history-status{margin-top:4px;}
.ws-status-redeemed{color:#00ff99;font-weight:bold;}
.ws-status-not-redeemed{color:#ff5555;font-weight:bold;}
.ws-history-pagination{margin-top:14px;text-align:center;}
.ws-hist-pg-link{margin:0 5px;color:#7ecbff;text-decoration:none;}
.ws-hist-pg-link.active{font-weight:bold;text-decoration:underline;color:#4a8fff;}

.ws-recharge-btn{margin-left:6px;background:linear-gradient(135deg,#4a8fff,#2d6dd4);color:#fff;border:none;border-radius:6px;padding:5px 14px;font-size:.82em;font-weight:700;cursor:pointer;display:inline-flex;align-items:center;gap:5px;}
.ws-recharge-btn:hover{opacity:.9;}
.ws-links-row{text-align:right;margin-bottom:14px;display:flex;justify-content:flex-end;align-items:center;gap:18px;flex-wrap:wrap;}
.ws-recharge-history-link{color:#7ecbff;font-size:.88em;text-decoration:none;}
.ws-recharge-history-link:hover{color:#aadeff;}

.ws-payment-overlay{display:none;position:fixed;inset:0;background:rgba(0,0,0,.88);backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);z-index:2000;overflow-y:auto;}
.ws-payment-wrap{min-height:100%;display:flex;align-items:center;justify-content:center;padding:24px;}
.ws-payment-box{background:#0e0e16;border:1px solid rgba(74,143,255,0.18);border-radius:18px;max-width:560px;width:100%;padding:32px 28px;position:relative;box-shadow:0 0 0 1px rgba(74,143,255,0.06),0 20px 60px rgba(0,0,0,0.9),0 0 80px rgba(74,143,255,0.06);}
.ws-payment-box::before{content:'';position:absolute;top:0;left:0;right:0;height:1px;background:linear-gradient(90deg,transparent 5%,rgba(74,143,255,0.5) 50%,transparent 95%);border-radius:18px 18px 0 0;}
.ws-payment-close{position:absolute;top:14px;right:16px;width:30px;height:30px;display:flex;align-items:center;justify-content:center;background:rgba(255,255,255,0.04);border:1px solid rgba(255,255,255,0.07);border-radius:50%;color:#555;font-size:1.3em;cursor:pointer;line-height:1;transition:color .15s,background .15s,border-color .15s;}
.ws-payment-close:hover{color:#fff;background:rgba(255,85,85,0.15);border-color:rgba(255,85,85,0.3);}

.ws-pay-loading{text-align:center;padding:30px 0;color:#888;}
.ws-pay-section-title{color:rgba(74,143,255,0.8);margin:0 0 20px;font-size:.75em;font-weight:700;text-transform:uppercase;letter-spacing:.1em;}
.ws-pay-section-title--flex{display:flex;align-items:center;}
.ws-pay-subtitle{color:#9aa0b0;font-size:.9em;margin-bottom:16px;}
.ws-pay-platforms-list{display:flex;flex-direction:column;gap:10px;}
.ws-pay-plat-btn{display:flex;align-items:center;gap:14px;background:#0a0e1a;border:1px solid #2a2d3a;border-radius:9px;padding:14px 18px;cursor:pointer;text-align:left;transition:border-color .15s;width:100%;}
.ws-pay-plat-btn:hover{border-color:#4a8fff;}
.ws-pay-plat-icon{width:36px;height:36px;object-fit:contain;border-radius:6px;}
.ws-pay-plat-name{font-weight:700;color:#d0d6e0;font-size:1em;flex:1;}
.ws-pay-plat-chevron{margin-left:auto;color:#4a8fff;}
.ws-pay-hist-link-row{text-align:center;margin-top:14px;border-top:1px solid #1e2230;padding-top:12px;}
.ws-pay-hist-inner-link{color:#555;font-size:.83em;text-decoration:underline;}
.ws-pay-hist-rows{display:flex;flex-direction:column;gap:8px;}
.ws-pay-hist-card{background:#070a11;border:1px solid #1e2230;border-radius:8px;padding:12px 14px;font-size:.83em;}
.ws-pay-hist-card--authorized{border-color:#4a8fff33;}
.ws-pay-hist-card-header{display:flex;align-items:center;gap:8px;margin-bottom:8px;}
.ws-pay-hist-plat-icon{width:28px;height:28px;object-fit:contain;border-radius:5px;background:#0a0e1a;padding:2px;}
.ws-pay-hist-plat-icon-fa{font-size:1.1em;color:#4a8fff;width:28px;text-align:center;display:inline-block;}
.ws-pay-hist-plat-name{font-weight:700;color:#d0d6e0;flex:1;}
.ws-pay-badge{font-weight:600;font-size:.78em;padding:3px 9px;border-radius:10px;border:1px solid transparent;display:inline-flex;align-items:center;gap:5px;white-space:nowrap;}
.ws-pay-badge--authorized{background:#7ecbff18;color:#7ecbff;border-color:#7ecbff44;}
.ws-pay-badge--pending{background:#f0c04022;color:#f0c040;border-color:#f0c04044;}
.ws-pay-badge--completed{background:#00ff9922;color:#00ff99;border-color:#00ff9944;}
.ws-pay-badge--rejected{background:#ff555522;color:#ff5555;border-color:#ff555544;}
.ws-pay-hist-fields{display:grid;grid-template-columns:1fr 1fr;gap:5px 14px;}
.ws-pay-hist-pagination{text-align:center;margin-top:10px;display:flex;gap:6px;justify-content:center;flex-wrap:wrap;}
.ws-pay-hist-pg{padding:3px 10px;border-radius:5px;font-size:.82em;text-decoration:none;}
.ws-pay-hist-pg--current{background:#4a8fff;color:#fff;}
.ws-pay-hist-pg--other{background:#0a0e1a;color:#7ecbff;border:1px solid #2a2d3a;}
.ws-pay-hist-footer{text-align:center;margin-top:12px;border-top:1px solid #1e2230;padding-top:10px;}
.ws-pay-back-btn{background:#1a1d28;color:#9aa0b0;border:1px solid #2a2d3a;font-size:.85em;padding:6px 16px;border-radius:6px;cursor:pointer;}
.ws-pay-offline-note{margin-top:8px;padding:7px 10px;background:#07111e;border:1px solid #4a8fff33;border-radius:6px;display:flex;align-items:center;gap:7px;font-size:.78em;color:#7ecbff;}
.ws-pay-form-title{font-weight:700;color:#4a8fff;font-size:.9em;text-transform:uppercase;letter-spacing:.06em;margin-bottom:12px;}
.ws-pay-form-icon{width:28px;height:28px;object-fit:contain;border-radius:6px;margin-right:10px;flex-shrink:0;}
.ws-pay-info-box{background:#070a11;border:1px solid #1e2230;border-radius:8px;padding:16px;margin-bottom:18px;font-size:.9em;line-height:1.6;color:#c8cde0;}
.ws-pay-form-hint{font-size:.83em;color:#8890a0;margin-bottom:10px;}
.ws-pay-pkgs-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(130px,1fr));gap:8px;margin-bottom:16px;}
.ws-pay-pkg-card{display:flex;flex-direction:column;align-items:center;background:#0a0e1a;border:2px solid #2a2d3a;border-radius:9px;padding:12px 10px 10px;cursor:pointer;text-align:center;transition:border-color .15s,background .15s;}
.ws-pay-pkg-card.selected{border-color:#4a8fff;background:#0d1520;}
.ws-pay-pkg-bonus{background:#00ff9918;color:#00ff99;border:1px solid #00ff9940;border-radius:10px;padding:2px 8px;font-size:.72em;font-weight:700;margin-bottom:4px;white-space:nowrap;}
.ws-pay-pkg-bonus-ph{height:20px;margin-bottom:4px;}
.ws-pay-pkg-amount{font-size:1.1em;font-weight:700;color:#4a8fff;line-height:1.1;}
.ws-pay-pkg-currency{font-size:.74em;color:#8890a0;margin-bottom:6px;}
.ws-pay-pkg-price{font-size:.8em;color:#555;border-top:1px solid #1a1d28;padding-top:6px;width:100%;}
.ws-pay-field-wrap{margin-bottom:12px;}
.ws-pay-label{display:block;font-size:.83em;color:#8890a0;margin-bottom:5px;}
.ws-pay-input{width:100%;box-sizing:border-box;background:#0a0e1a;border:1px solid #2a2d3a;color:#d0d6e0;padding:8px 12px;border-radius:6px;font-size:.95em;}
.ws-pay-fraud-warning{background:#1a0608;border:1px solid #6b1a1a;border-radius:7px;padding:10px 13px;margin-bottom:16px;display:flex;align-items:flex-start;gap:9px;}
.ws-pay-fraud-icon{color:#ff4444;flex-shrink:0;margin-top:2px;font-size:.9em;}
.ws-pay-fraud-text{color:#ff7070;font-size:.82em;line-height:1.5;}
.ws-pay-form-msg{margin-bottom:10px;font-size:.88em;color:#ff5555;min-height:1em;}
.ws-pay-captcha-wrap{margin-bottom:14px;display:flex;justify-content:center;}
.ws-pay-actions{display:flex;gap:10px;}
.ws-pay-submit-btn{flex:1;background:linear-gradient(135deg,#4a8fff,#2d6dd4);color:#fff;font-weight:700;font-size:.97em;padding:10px 0;border-radius:8px;border:none;cursor:pointer;}
.ws-pay-submit-btn--back{background:#1a1d28;color:#9aa0b0;border:1px solid #2a2d3a;font-size:.9em;padding:10px 16px;border-radius:8px;cursor:pointer;}
.ws-pay-pending-banner{border-radius:8px;padding:14px 16px;margin-bottom:16px;font-size:.88em;}
.ws-pay-pending-banner--authorized{background:#0d1a2e;border:1px solid #4a8fff44;color:#7ecbff;}
.ws-pay-pending-banner--pending{background:#1a1400;border:1px solid #f0a50044;color:#f0c040;}
.ws-pay-pending-details{background:#070a11;border:1px solid #1e2230;border-radius:8px;padding:16px;display:grid;grid-template-columns:1fr 1fr;gap:10px 20px;font-size:.88em;}
.ws-pay-success-wrap{text-align:center;padding:10px 0 20px;}
.ws-pay-success-icon{font-size:3em;color:#00ff99;margin-bottom:16px;display:block;}
.ws-pay-success-title{font-size:1.2em;font-weight:700;color:#00ff99;margin-bottom:8px;}
.ws-pay-success-desc{color:#9aa0b0;font-size:.9em;margin-bottom:18px;}
.ws-pay-success-serial-label{font-size:.82em;color:#7c8090;margin-bottom:4px;}
.ws-pay-success-serial{font-family:monospace;font-size:1.1em;color:#7ecbff;letter-spacing:.08em;}
.ws-pay-error{text-align:center;padding:20px;color:#ff5555;font-size:.95em;}
.ws-pay-autoverify-notice{margin-top:14px;background:#1a0a00;border:1px solid #ff6b2244;color:#ff9966;border-radius:8px;padding:12px 14px;font-size:.85em;}
.ws-pay-field__label{color:#555;font-size:.82em;margin-bottom:2px;}
.ws-pay-field__value{color:#d0d6e0;}
.ws-pay-amount{color:#4a8fff;}
.ws-pay-serial{font-family:monospace;font-size:.93em;color:#7ecbff;}
.ws-pay-serial--pending{font-family:monospace;letter-spacing:.05em;color:#7ecbff;}

/* ── Package search ─────────────────────────────────────────────────────────── */
.ws-pkg-search-wrap{margin-bottom:12px;}
.ws-pkg-search-inner{position:relative;max-width:360px;}
.ws-pkg-search-icon{position:absolute;left:12px;top:50%;transform:translateY(-50%);color:#4a6080;font-size:.85em;pointer-events:none;}
.ws-pkg-search-input{width:100%;box-sizing:border-box;background:#0a0e1a;border:1px solid #2a2d3a;color:#d0d6e0;padding:9px 36px 9px 34px;border-radius:8px;font-size:.9em;outline:none;transition:border-color .15s;}
.ws-pkg-search-input:focus{border-color:#4a8fff;}
.ws-pkg-search-input::placeholder{color:#3a4560;}
.ws-pkg-search-clear{position:absolute;right:8px;top:50%;transform:translateY(-50%);background:none;border:none;color:#4a6080;font-size:1.1em;cursor:pointer;display:flex;align-items:center;justify-content:center;width:22px;height:22px;border-radius:50%;padding:0;line-height:1;transition:color .15s;}
.ws-pkg-search-clear:hover{color:#d0d6e0;}
.ws-pkg-search-hint{font-size:.78em;color:#4a6080;margin-top:5px;padding-left:2px;}

/* ── Package AJAX loading state ─────────────────────────────────────────────── */
.ws-pkg-ajax-loading{display:flex;align-items:center;justify-content:center;padding:60px 0;color:#555;width:100%;}

/* ── Shop package pagination ────────────────────────────────────────────────── */
.ws-pkg-pagination{display:flex;align-items:center;justify-content:center;gap:6px;flex-wrap:wrap;margin:20px 0 8px;}
.ws-pgn-btn{min-width:36px;height:36px;padding:0 10px;border-radius:7px;border:1px solid #2a2d3a;background:#0a0e1a;color:#9aa0b0;font-size:.88em;font-weight:600;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;transition:border-color .15s,background .15s,color .15s;}
.ws-pgn-btn:hover:not([disabled]):not(.ws-pgn-btn--active){border-color:#4a8fff;color:#d0d6e0;}
.ws-pgn-btn--active{background:#4a8fff;border-color:#4a8fff;color:#fff;cursor:default;}
.ws-pgn-btn--disabled{opacity:.35;cursor:not-allowed;}
.ws-pgn-ellipsis{color:#444;font-size:.9em;padding:0 2px;line-height:36px;}


/* ── User notices (plugin: announcements) ───────────────────────────────────── */
.ws-notices{display:flex;flex-direction:column;gap:8px;}
.ws-notice{display:flex;align-items:center;gap:10px;padding:10px 14px;border-radius:8px;font-size:.88em;line-height:1.4;}
.ws-notice i{flex-shrink:0;font-size:1em;}
.ws-notice-info   {background:#0d1e35;border:1px solid #1e3a5f;color:#7ab3e0;}
.ws-notice-success{background:#0d2a1a;border:1px solid #1a4d2e;color:#6aaa6a;}
.ws-notice-warning{background:#2a1e0a;border:1px solid #4d3a1a;color:#e0a84a;}
.ws-notice-error  {background:#2a0d0d;border:1px solid #4d1a1a;color:#e06a6a;}
.ws-card-stock-badge{position:absolute;bottom:7px;left:7px;background:rgba(0,0,0,.78);color:#7ecbff;font-size:.7em;font-weight:700;padding:3px 8px;border-radius:20px;border:1px solid rgba(74,143,255,.4);white-space:nowrap;z-index:2;backdrop-filter:blur(3px);display:flex;align-items:center;gap:4px;}
.ws-card-stock-badge--empty{color:#ff7070;border-color:rgba(255,85,85,.4);}
.ws-card-limit-badge{display:inline-flex;align-items:center;gap:4px;font-size:.68em;font-weight:700;color:#ffa040;background:rgba(255,160,0,.1);border:1px solid rgba(255,160,0,.3);border-radius:20px;padding:2px 8px;margin-bottom:4px;white-space:nowrap;}
