
html, body {
    background: #020617 !important;
}

.shpw-shell { padding: 36px 0 80px; }
.shpw-page  { max-width:1180px; margin:0 auto; padding:0 16px; }

.shpw-intro-tag-wrap { margin-top:18px; margin-bottom:8px; }

.shpw-section { margin-top:18px; }
.shpw-card    { background: rgba(10,16,32,0.97); }

.shpw-section-header {
    display:flex;
    justify-content:space-between;
    align-items:baseline;
    margin-bottom:10px;
}
.shpw-section-header h2 {
    margin:0;
    font-size:18px;
    font-weight:600;
    color:#f9fafb;
}

.shpw-topic-grid {
    display:grid;
    grid-template-columns: repeat(2, minmax(0,1fr));
    gap:12px;
}
.shpw-topic-card {
    display:block;
    text-decoration:none;
    color:inherit;
    background: rgba(15,23,42,0.96);
    border-radius:16px;
    padding:14px 16px;
    border:1px solid rgba(148,163,184,0.55);
    transition: border-color .12s, box-shadow .12s, transform .08s;
}
.shpw-topic-card:hover {
    border-color: rgba(212,175,55,0.85);
    box-shadow: 0 18px 50px rgba(15,23,42,0.9);
    transform: translateY(-1px);
}
.shpw-topic-disabled {
    opacity: .55;
    cursor: not-allowed;
}
.shpw-topic-btn   { display:flex; flex-direction:column; gap:4px; }
.shpw-topic-title { font-size:15px; font-weight:600; color:#f9fafb; }
.shpw-topic-desc  { font-size:13px; color:#9ca3af; }

.shpw-login-gate { margin-top:4px; }
.shpw-login-note {
    margin-top:10px;
    font-size:12px;
    color:#9ca3af;
}

.shpw-subscription-list {
    margin-top:10px;
    display:flex;
    flex-direction:column;
    gap:8px;
}
.shpw-subscription-item {
    display:flex;
    gap:10px;
    align-items:flex-start;
    padding:10px 10px;
    border-radius:14px;
    border:1px solid rgba(31,41,55,0.9);
    background:rgba(15,23,42,0.96);
    cursor:pointer;
}
.shpw-subscription-item input[type=radio] { margin-top:6px; }
.shpw-subscription-body { flex:1; }
.shpw-subscription-label { font-size:13px; font-weight:600; color:#e5e7eb; }
.shpw-subscription-meta  { margin-top:2px; font-size:11px; color:#9ca3af; }
.shpw-pill {
    display:inline-flex;
    padding:2px 8px;
    border-radius:999px;
    font-size:11px;
    background:rgba(56,189,248,0.16);
    color:#7dd3fc;
}
.shpw-subscription-creds {
    margin-top:4px;
    font-size:12px;
    color:#9ca3af;
    display:flex;
    flex-wrap:wrap;
    gap:8px;
}
.shpw-creds strong { color:#e5e7eb; }

.shpw-subscription-actions {
    margin-top:12px;
    display:flex;
    gap:8px;
}

.shpw-selected-subscription { margin-top:10px; }
.shpw-selected-box {
    padding:10px 10px;
    border-radius:14px;
    border:1px solid rgba(31,41,55,0.9);
    background:rgba(15,23,42,0.96);
}
/* ===== Steps 2–4: Premium wizard layout ===== */

/* نفس الكارد لكن steps داخلها بحال onboarding */
.shpw-device-step,
.shpw-app-step {
    margin-top:18px;
    padding:16px 18px 18px;
    border-radius:20px;
    background:radial-gradient(circle at top left, rgba(15,23,42,0.98), rgba(15,23,42,0.94));
    border:1px solid rgba(30,64,175,0.55);
    box-shadow:0 20px 55px rgba(15,23,42,0.95);
    position:relative;
    overflow:hidden;
}

/* شريط رفيع فوق كل step بحال progress */
.shpw-device-step::before,
.shpw-app-step::before {
    content:"";
    position:absolute;
    left:0;
    top:0;
    width:100%;
    height:3px;
    background:linear-gradient(90deg, #eab308, #38bdf8);
    opacity:.65;
}

/* بادجات STEP في الزاوية */
.shpw-device-step::after,
.shpw-app-step::after {
    position:absolute;
    top:10px;
    right:16px;
    font-size:10px;
    letter-spacing:.14em;
    text-transform:uppercase;
    padding:2px 8px;
    border-radius:999px;
    border:1px solid rgba(148,163,184,0.6);
    background:rgba(15,23,42,0.92);
    color:#e5e7eb;
}

.shpw-device-step::after { content:"STEP 2"; }
.shpw-app-step::after    { content:"STEP 3"; }

.shpw-step-title {
    font-size:14px;
    font-weight:600;
    color:#f9fafb;
    margin:0 0 8px;
    display:flex;
    align-items:center;
    gap:6px;
}

.shpw-step-title span {
    font-size:11px;
    font-weight:400;
    opacity:.8;
    margin-left:2px;
    color:#9ca3af;
}

.shpw-step-hint {
    font-size:11px;
    color:#9ca3af;
    margin-bottom:10px;
}

/* ===== Step 2: Device pills (large chips) ===== */

.shpw-device-row {
    display:flex;
    flex-wrap:wrap;
    gap:10px;
}

.shpw-device-pill {
    display:inline-flex;
    align-items:center;
    gap:10px;
    padding:11px 18px;
    border-radius:999px;
    border:1px solid rgba(148,163,184,0.55);
    background:radial-gradient(circle at top left, rgba(15,23,42,1), rgba(15,23,42,0.96));
    cursor:pointer;
    font-size:13px;
    color:#e5e7eb;
    box-shadow:0 12px 35px rgba(15,23,42,0.9);
    transition: border-color .14s, box-shadow .14s, transform .08s, background .14s;
    position:relative;
    overflow:hidden;
}

.shpw-device-pill .shpw-emoji {
    font-size:18px;
    line-height:1;
}

.shpw-device-pill span:last-child {
    font-weight:500;
}

.shpw-device-pill.is-active {
    border-color:rgba(234,179,8,0.9);
    box-shadow:0 20px 55px rgba(15,23,42,1);
    background:radial-gradient(circle at top left, rgba(234,179,8,0.23), rgba(15,23,42,0.98));
    transform:translateY(-1px);
}

.shpw-device-pill::after {
    content:"";
    position:absolute;
    inset:-1px;
    border-radius:inherit;
    border:1px solid rgba(234,179,8,0.18);
    opacity:0;
    pointer-events:none;
    transition:opacity .14s;
}

.shpw-device-pill.is-active::after {
    opacity:1;
}

/* ===== Step 3: App groups / rows ===== */

.shpw-app-step {
    margin-top:14px;
}

.shpw-app-grid {
    display:flex;
    flex-direction:column;
    gap:12px;
}

.shpw-app-group {
    display:none;
}

.shpw-app-group.is-default {
    display:block;
}

.shpw-app-row {
    display:flex;
    flex-wrap:wrap;
    gap:10px;
}

/* buttons ديال الأبليكاسيون = premium chips */
.shpw-app-pill {
    border-radius:999px;
    padding:8px 14px;
    font-size:13px;
    border:1px solid rgba(148,163,184,0.6);
    background:rgba(15,23,42,0.97);
    color:#e5e7eb;
    cursor:pointer;
    display:inline-flex;
    align-items:center;
    gap:7px;
    box-shadow:0 12px 34px rgba(15,23,42,0.9);
    transition: border-color .14s, box-shadow .14s, transform .08s, background .14s, color .14s;
}

.shpw-app-pill::before {
    content:"";
    width:7px;
    height:7px;
    border-radius:999px;
    background:rgba(148,163,184,0.8);
}

.shpw-app-pill.is-active::before {
    background:linear-gradient(135deg,#eab308,#38bdf8);
}

.shpw-app-pill:hover {
    border-color:rgba(56,189,248,0.9);
    box-shadow:0 18px 50px rgba(15,23,42,1);
    transform:translateY(-1px);
}

.shpw-app-pill.is-active {
    border-color:rgba(234,179,8,0.9);
    background:radial-gradient(circle at top left, rgba(234,179,8,0.2), rgba(15,23,42,0.98));
    color:#fefce8;
}

/* subtitle فوق smart tv groups وغيرها */
.shpw-app-subtitle {
    font-size:12px;
    font-weight:500;
    color:#9ca3af;
    margin-bottom:6px;
}

/* Smart TV type row */
.shpw-tv-row {
    display:flex;
    flex-wrap:wrap;
    gap:10px;
    margin-bottom:10px;
}

.shpw-tv-pill {
    display:inline-flex;
    align-items:center;
    gap:8px;
    padding:8px 16px;
    border-radius:999px;
    border:1px solid rgba(148,163,184,0.55);
    background:rgba(15,23,42,0.96);
    color:#e5e7eb;
    cursor:pointer;
    font-size:13px;
    box-shadow:0 10px 28px rgba(15,23,42,0.9);
    transition: border-color .14s, box-shadow .14s, transform .08s, background .14s;
}

.shpw-tv-pill.is-active {
    border-color:rgba(234,179,8,0.9);
    box-shadow:0 18px 48px rgba(15,23,42,1);
    background:radial-gradient(circle at top left, rgba(234,179,8,0.22), rgba(15,23,42,0.98));
    transform:translateY(-1px);
}

.shpw-tv-apps {
    display:none;
}

.shpw-tv-apps.shpw-tv-apps-active {
    display:block;
}

/* ===== Step 4: Issues list – في نفس الجو العام ===== */


/* ===== Step 4: Issues list – ultra clean + thumbnail row ===== */

.shpw-step4-group {
    display:none;
    margin-top:16px;
    padding:16px 18px 18px;
    border-radius:22px;
    border:1px solid rgba(30,64,175,0.65);
    background:radial-gradient(circle at top left, rgba(15,23,42,0.98), rgba(15,23,42,0.94));
    box-shadow:0 24px 65px rgba(15,23,42,0.96);
    position:relative;
    overflow:hidden;
}

/* Badge STEP 4 فوق على اليمين */
.shpw-step4-group::before {
    content:"STEP 4";
    position:absolute;
    top:10px;
    right:16px;
    font-size:10px;
    letter-spacing:.14em;
    text-transform:uppercase;
    padding:2px 8px;
    border-radius:999px;
    border:1px solid rgba(148,163,184,0.6);
    background:rgba(15,23,42,0.94);
    color:#e5e7eb;
}

/* هيدر ديال Step 4 */
.shpw-step4-header {
    display:flex;
    align-items:flex-start;
    justify-content:space-between;
    gap:12px;
    margin-bottom:12px;
}

.shpw-step4-title {
    font-size:13px;
    font-weight:600;
    color:#f9fafb;
}

.shpw-step4-sub {
    margin-top:3px;
    font-size:11px;
    color:#9ca3af;
}

.shpw-step4-tags {
    display:flex;
    flex-wrap:wrap;
    gap:6px;
    justify-content:flex-end;
}

.shpw-step4-chip {
    font-size:10px;
    padding:2px 8px;
    border-radius:999px;
    border:1px solid rgba(148,163,184,0.7);
    color:#e5e7eb;
    background:rgba(15,23,42,0.9);
}

/* لائحة المواضيع: واحد تحت واحد */
.shpw-step4-list {
    display:flex;
    flex-direction:column;
    gap:8px;
    margin-top:6px;
}

/* wrapper صغير لكل موضوع باش JS يقدر يفلتر */
.shpw-topic-card-issue {
    width:100%;
}

/* السطر نفسه هو الكارد الفخم */
.shpw-issue-row {
    display:flex;
    align-items:center;
    gap:12px;
    text-decoration:none;
    padding:10px 14px;
    border-radius:18px;
    border:1px solid rgba(31,41,55,0.95);
    background:radial-gradient(circle at top left, rgba(15,23,42,1), rgba(15,23,42,0.96));
    color:#e5e7eb;
    box-shadow:0 16px 48px rgba(15,23,42,0.96);
    transition:border-color .14s, box-shadow .14s, transform .08s, background .14s;
}

/* الصورة الصغيرة */
.shpw-issue-thumb {
    width:48px;
    height:48px;
    border-radius:16px;
    overflow:hidden;
    flex-shrink:0;
    display:flex;
    align-items:center;
    justify-content:center;
    background:radial-gradient(circle at top left, rgba(30,64,175,0.7), rgba(15,23,42,1));
}

.shpw-issue-thumb-img {
    width:100%;
    height:100%;
    object-fit:cover;
    display:block;
}

.shpw-issue-thumb-placeholder {
    font-size:22px;
}

/* النص */
.shpw-issue-main {
    flex:1;
    min-width:0;
}

.shpw-issue-title {
    font-size:13px;
    font-weight:600;
    color:#f9fafb;
    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis;
}

.shpw-issue-meta {
    margin-top:3px;
    font-size:11px;
    color:#9ca3af;
    display:flex;
    align-items:center;
    gap:6px;
}

.shpw-meta-dot {
    opacity:.6;
}

/* الجهة اليمنى: badge + سهم */
.shpw-issue-side {
    display:flex;
    flex-direction:column;
    align-items:flex-end;
    gap:4px;
    margin-left:6px;
    flex-shrink:0;
}

.shpw-badge-time {
    font-size:10px;
    padding:2px 8px;
    border-radius:999px;
    border:1px solid rgba(22,163,74,0.8);
    background:rgba(22,163,74,0.18);
    color:#bbf7d0;
}

.shpw-issue-arrow {
    font-size:11px;
    color:#9ca3af;
}

/* hover */
.shpw-issue-row:hover {
    border-color:rgba(234,179,8,0.95);
    background:radial-gradient(circle at top left, rgba(234,179,8,0.22), rgba(15,23,42,0.98));
    transform:translateY(-1px);
    box-shadow:0 22px 60px rgba(15,23,42,1);
}

/* responsive */
@media (max-width:768px){
    .shpw-step4-group {
        padding:14px 12px 14px;
    }
    .shpw-step4-header {
        flex-direction:column;
        align-items:flex-start;
    }
    .shpw-issue-row {
        align-items:flex-start;
    }
    .shpw-issue-title {
        white-space:normal;
    }
    .shpw-issue-side {
        align-items:flex-start;
    }
}

/* =====Topic Theme ===== */

/* ===== Inside topic page: premium guide steps ===== */
.shpw-topic-content {
    font-size:14px;
    color:#e5e7eb;
    line-height:1.7;
}

.shpw-guide-meta {
    display:flex;
    flex-wrap:wrap;
    gap:6px;
    margin-bottom:10px;
}

.shpw-guide-steps {
    display:flex;
    flex-direction:column;
    gap:14px;
    margin-top:10px;
}

.shpw-guide-step {
    position:relative;
    border-radius:18px;
    border:1px solid rgba(31,41,55,0.9);
    background:radial-gradient(circle at top left, rgba(15,23,42,1), rgba(15,23,42,0.96));
    padding:12px 14px 14px;
    box-shadow:0 20px 55px rgba(15,23,42,0.96);
}

.shpw-guide-step-badge {
    position:absolute;
    top:10px;
    right:14px;
    padding:2px 8px;
    border-radius:999px;
    border:1px solid rgba(148,163,184,0.7);
    font-size:10px;
    letter-spacing:.12em;
    text-transform:uppercase;
    color:#e5e7eb;
    background:rgba(15,23,42,0.92);
}

.shpw-guide-step-title {
    display:flex;
    align-items:center;
    gap:8px;
    font-size:14px;
    font-weight:600;
    color:#f9fafb;
    margin-bottom:3px;
}

.shpw-guide-step-title span.shpw-guide-emoji {
    font-size:18px;
}

.shpw-guide-step-tagline {
    font-size:12px;
    color:#9ca3af;
    margin-bottom:6px;
}

.shpw-guide-step-body ul,
.shpw-guide-step-body ol {
    margin:0 0 0 18px;
    padding:0;
}

.shpw-guide-step-body li {
    margin-bottom:4px;
}

.shpw-guide-tip,
.shpw-guide-warning {
    margin-top:14px;
    border-radius:14px;
    padding:10px 12px;
    font-size:13px;
    border:1px solid rgba(37,99,235,0.55);
    background:rgba(15,23,42,0.96);
}

.shpw-guide-tip {
    border-color:rgba(56,189,248,0.7);
}

.shpw-guide-warning {
    border-color:rgba(239,68,68,0.7);
}

.shpw-guide-tip strong,
.shpw-guide-warning strong {
    color:#f9fafb;
}

.shpw-guide-divider {
    margin:18px 0 10px;
    height:1px;
    border-radius:999px;
    background:linear-gradient(90deg, rgba(15,23,42,0), rgba(148,163,184,0.55), rgba(15,23,42,0));
}
/* =====Topic Theme ===== */



/* ===== Escalation box (ticket after guide) ===== */
.shpw-escalate-box {
    margin-top:22px;
    padding:14px 16px 16px;
    border-radius:18px;
    border:1px solid rgba(148,163,184,0.6);
    background:radial-gradient(circle at top left, rgba(15,23,42,1), rgba(15,23,42,0.96));
    box-shadow:0 18px 52px rgba(15,23,42,0.96);
}

.shpw-escalate-head {
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:10px;
    margin-bottom:6px;
}

.shpw-escalate-title {
    font-size:14px;
    font-weight:600;
    color:#fefce8;
}

.shpw-escalate-toggle button {
    border-radius:999px;
    border:1px solid rgba(148,163,184,0.7);
    background:rgba(15,23,42,0.95);
    color:#e5e7eb;
    font-size:12px;
    padding:4px 10px;
    cursor:pointer;
}
.shpw-escalate-toggle button:hover {
    border-color:rgba(56,189,248,0.9);
}

.shpw-escalate-form {
    margin-top:10px;
    display:none;
}
.shpw-escalate-form.is-active {
    display:block;
}

.shpw-escalate-grid {
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:10px;
    margin-bottom:10px;
    font-size:12px;
    color:#e5e7eb;
}

.shpw-escalate-label {
    font-size:11px;
    color:#9ca3af;
    margin-bottom:2px;
}

.shpw-escalate-value {
    font-size:12px;
    font-weight:500;
}

.shpw-escalate-textarea textarea {
    width:100%;
    min-height:90px;
    border-radius:12px;
    border:1px solid rgba(55,65,81,0.95);
    background:rgba(15,23,42,0.96);
    color:#e5e7eb;
    font-size:13px;
    padding:8px 10px;
}

.shpw-escalate-file input[type=file] {
    font-size:12px;
    color:#9ca3af;
}

.shpw-escalate-confirm {
    margin-top:8px;
    font-size:11px;
    color:#9ca3af;
}

.shpw-escalate-actions {
    margin-top:10px;
    display:flex;
    gap:8px;
    align-items:center;
}

.shpw-escalate-success {
    margin-top:10px;
    font-size:12px;
    color:#bbf7d0;
}
.shpw-escalate-error {
    margin-top:10px;
    font-size:12px;
    color:#fecaca;
}

@media (max-width:768px){
    .shpw-escalate-grid {
        grid-template-columns:1fr;
    }
}

/* ===== Escalation box (ticket after guide) ===== */
/* ===== Escalation block (Still having this issue?) ===== */
.shpw-escalation-wrap {
    margin-top: 28px;
}

.shpw-escalation-box {
    border-radius: 18px;
    border:1px solid rgba(55,65,81,0.95);
    background: radial-gradient(circle at top left, rgba(15,23,42,1), rgba(15,23,42,0.96));
    padding:16px 18px 18px;
    box-shadow:0 22px 60px rgba(15,23,42,0.96);
}

.shpw-escalation-header {
    display:flex;
    gap:10px;
    align-items:flex-start;
    margin-bottom:10px;
}

.shpw-escalation-icon {
    width:32px;
    height:32px;
    border-radius:999px;
    display:flex;
    align-items:center;
    justify-content:center;
    background:radial-gradient(circle at top left, rgba(30,64,175,0.7), rgba(15,23,42,1));
    font-size:18px;
}

.shpw-escalation-title {
    font-size:15px;
    font-weight:600;
    color:#f9fafb;
}

.shpw-escalation-sub {
    margin-top:2px;
    font-size:13px;
    color:#9ca3af;
}

/* Toggle – كبير وواضح */
.shpw-escalation-toggle {
    margin-top:10px;
    display:flex;
    align-items:flex-start;
    gap:10px;
    padding:10px 12px;
    border-radius:14px;
    border:1px solid rgba(75,85,99,0.9);
    background:rgba(15,23,42,0.98);
    cursor:pointer;
}

.shpw-escalation-toggle input {
    margin-top:3px;
}

.shpw-escalation-checkmark {
    width:18px;
    height:18px;
    border-radius:6px;
    border:2px solid rgba(148,163,184,0.9);
    display:inline-block;
    position:relative;
    flex-shrink:0;
}

.shpw-escalation-toggle input:checked + .shpw-escalation-checkmark {
    border-color:#22c55e;
    background:linear-gradient(135deg,#22c55e,#16a34a);
}

.shpw-escalation-toggle input:checked + .shpw-escalation-checkmark::after {
    content:"";
    position:absolute;
    left:4px;
    top:1px;
    width:6px;
    height:10px;
    border-right:2px solid #022c22;
    border-bottom:2px solid #022c22;
    transform:rotate(40deg);
}

.shpw-escalation-text {
    font-size:14px;
    color:#e5e7eb;
    line-height:1.5;
}

/* Form */
.shpw-escalation-form {
    margin-top:14px;
}

.shpw-escalation-grid {
    display:grid;
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap:6px 14px;
    margin-bottom:12px;
}

.shpw-escalation-row {
    font-size:12px;
    color:#e5e7eb;
}

.shpw-escalation-label {
    font-size:11px;
    text-transform:uppercase;
    letter-spacing:.08em;
    color:#9ca3af;
    margin-bottom:1px;
}

.shpw-escalation-value {
    font-weight:500;
}

.shpw-escalation-field {
    margin-bottom:10px;
}

.shpw-escalation-field-label {
    font-size:12px;
    font-weight:500;
    color:#e5e7eb;
    display:block;
    margin-bottom:4px;
}

.shpw-escalation-input,
.shpw-escalation-file {
    width:100%;
    border-radius:10px;
    border:1px solid rgba(55,65,81,0.95);
    background:rgba(15,23,42,0.96);
    color:#e5e7eb;
    padding:8px 10px;
    font-size:13px;
}

.shpw-escalation-input:focus {
    outline:none;
    border-color:rgba(56,189,248,0.9);
}

.shpw-escalation-help {
    margin-top:3px;
    font-size:11px;
    color:#9ca3af;
}

.shpw-escalation-confirm {
    display:flex;
    align-items:flex-start;
    gap:8px;
    font-size:12px;
    color:#e5e7eb;
    margin:6px 0 12px;
}

.shpw-escalation-actions {
    display:flex;
    justify-content:flex-end;
}

/* ===== Escalation block (Still having this issue?) ===== */
/* ===== access denied ===== */

#shpw-access-denied {
    padding: 40px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 18px;
    margin-top: 40px;
}

#shpw-access-denied h2 {
    color: #ffffff !important;
    font-size: 28px;
    margin-bottom: 10px;
}

#shpw-access-denied p {
    color: #d0d0d0 !important;
    font-size: 16px;
    margin-bottom: 25px;
}

#shpw-access-denied .senpay-dash-btn-primary {
    background: #f8c94a !important;
    color: #000 !important;
    padding: 12px 28px;
    border-radius: 12px;
    font-weight: 600;
    transition: 0.2s;
}

#shpw-access-denied .senpay-dash-btn-primary:hover {
    transform: translateY(-2px);
}
/* ===== access denied ===== */

/* ===== Telegram / Support card ===== */
.senpay-dash-support-card{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
}

.senpay-dash-support-card h2{
  margin:0 0 6px;
  font-size:16px;
  font-weight:600;
  color:#f9fafb;
}

.senpay-dash-support-card p{
  margin:0;
  color:#9ca3af;
  font-size:13px;
}

.senpay-dash-support-meta{
  margin-top:6px;
  font-size:12px;
  color:#94a3b8;
}

.senpay-dash-support-actions{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  justify-content:flex-end;
}

@media (max-width:768px){
  .senpay-dash-support-card{
    flex-direction:column;
    align-items:flex-start;
  }
  .senpay-dash-support-actions{
    width:100%;
    justify-content:flex-start;
  }
}

/* ===== Telegram CTA fixed bottom (centered, NOT full width) ===== */
.shpw-shell .senpay-dash-support-card{
      position: static;
  width: 100%;
  margin-top: 16px;
}

/* باش مايتغطاش آخر محتوى تحت CTA */


@media (max-width:768px){
  .shpw-shell .senpay-dash-support-card{
    bottom: 10px;
    width: calc(100% - 20px);
  }
}
/* FIX: Telegram card should NOT be fixed/sticky and should NOT take full page */
.shpw-shell .senpay-dash-support-card{
  position: relative !important;
  inset: auto !important;
  bottom: auto !important;
  left: auto !important;
  right: auto !important;
  top: auto !important;

  transform: none !important;

  width: 100% !important;
  max-width: 1180px !important;
  margin: 18px auto 0 !important;

  height: auto !important;
  min-height: unset !important;
}

/* ===== Step 4 Issue Cards (Freezing/Buffering etc.) ===== */

/* ⭐ (الأيقونة/placeholder) */
.shpw-topic-card-issue .shpw-issue-thumb-placeholder{
  color: #f7d774;          /* Gold */
  filter: drop-shadow(0 0 10px rgba(247,215,116,.25));
}

/* Title: Freezing / Buffering (بالأبيض) */
.shpw-topic-card-issue .shpw-issue-title{
  color: #ffffff !important;
  font-weight: 700;
}

/* Meta line: General • FireStick · M3U / Xtream (لون فاتح) */
.shpw-topic-card-issue .shpw-issue-meta{
  color: rgba(255,255,255,.62) !important; /* فاتح */
}

.shpw-topic-card-issue .shpw-issue-meta .shpw-meta-app,
.shpw-topic-card-issue .shpw-issue-meta .shpw-meta-device{
  color: rgba(255,255,255,.62) !important;
}

/* 1–3 min fix (لون آخر + border) */
.shpw-topic-card-issue .shpw-badge-time{
  color: #f7d774 !important;                 /* Gold */
  border-color: rgba(247,215,116,.55) !important;
  background: rgba(247,215,116,.10) !important;
}

/* Open guide ↗ (لون آخر) */
.shpw-topic-card-issue .shpw-issue-arrow{
  color: #7cc8ff !important;                 /* أزرق فاتح */
  font-weight: 600;
}

.shpw-topic-card-issue:hover .shpw-issue-arrow{
  color: #a9ddff !important;
  text-decoration: underline;
}


/* Hide thumbnails/emoji for Step 4 cards (keep title + meta only) */
.shpw-step4-list .shpw-issue-thumb,
.shpw-step4-list .shpw-issue-thumb-img,
.shpw-step4-list .shpw-issue-thumb-placeholder{
  display: none !important;
}

/* Remove the left spacing caused by the thumb column */
.shpw-step4-list .shpw-issue-row{
  grid-template-columns: 1fr auto !important; /* main + side */
  column-gap: 14px;
}


/* (اختياري) غير باش ما يكونش شي padding زايد بسبب النسخة اللي كانت fixed */
.shpw-shell{
  padding-bottom: 80px !important;
}

.senpay-isp-alert{
  margin-top:14px;
  padding:14px 14px;
  border-radius:14px;
  border:1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.04);
  color:#fff;
  font-size:14px;
  line-height:1.5;
  display:flex;
  gap:10px;
  align-items:flex-start;
  box-shadow: 0 10px 28px rgba(0,0,0,.25);
}
.senpay-isp-alert:before{
  content:"ℹ️";
  flex:0 0 auto;
  width:26px;
  height:26px;
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius:999px;
  background: rgba(255,255,255,.06);
}
.senpay-isp-alert strong{ font-weight:800; }

.senpay-isp-alert-success{
  border-color: rgba(34,197,94,.35);
  background: linear-gradient(135deg, rgba(34,197,94,.16), rgba(34,197,94,.06));
}
.senpay-isp-alert-success:before{
  content:"✅";
  background: rgba(34,197,94,.18);
}

.senpay-isp-alert-error{
  border-color: rgba(239,68,68,.38);
  background: linear-gradient(135deg, rgba(239,68,68,.18), rgba(239,68,68,.06));
}
.senpay-isp-alert-error:before{
  content:"⚠️";
  background: rgba(239,68,68,.18);
}
/* Make topic descriptions white */
.shpw-topic-card .shpw-topic-desc,
.shpw-topic-card .shpw-topic-desc *{
  color: rgba(255,255,255,.88) !important;
}

/* Optional: make titles more bright */
.shpw-topic-card .shpw-topic-title{
  color: #fff !important;
}

/* ===== Renew / Extend styling ===== */

/* Make Continue/Send black */
.shpw-btn-black{
  background:#111 !important;
  border-color:#111 !important;
  color:#fff !important;
}
.shpw-btn-black:hover{ opacity:.92; }

/* Username/Password colors */
.shpw-re-creds .shpw-cred-username{
  color:#ffd36a;
  font-weight:800;
}
.shpw-re-creds .shpw-cred-password{
  color:#9be7ff;
  font-weight:800;
}

/* Live badges */
.shpw-type-live{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:6px 10px;
  border-radius:999px;
  font-size:12px;
  font-weight:800;
  letter-spacing:.3px;
  border:1px solid rgba(255,255,255,.14);
  background:rgba(255,255,255,.06);
}
.shpw-type-live:before{
  content:"";
  width:8px;height:8px;border-radius:999px;
  background:#22c55e;
  box-shadow:0 0 0 4px rgba(34,197,94,.15);
}

/* M3U color */
.shpw-type-m3u{
  color:#b9ffcf;
  border-color:rgba(34,197,94,.25);
  background:rgba(34,197,94,.08);
}
.shpw-type-m3u:before{ background:#22c55e; box-shadow:0 0 0 4px rgba(34,197,94,.15); }

/* MAG color */
.shpw-type-mag{
  color:#c7d2ff;
  border-color:rgba(99,102,241,.28);
  background:rgba(99,102,241,.10);
}
.shpw-type-mag:before{ background:#6366f1; box-shadow:0 0 0 4px rgba(99,102,241,.18); }

/* Checkbox block */
.shpw-re-checkbox{
  display:flex;
  gap:12px;
  align-items:flex-start;
  padding:14px 14px;
  border-radius:14px;
  border:1px solid rgba(255,255,255,.12);
  background:rgba(255,255,255,.05);
  margin-top:14px;
  cursor:pointer;
}
.shpw-re-checkbox input{
  width:18px;height:18px;
  margin-top:2px;
  accent-color:#fbbf24;
}
.shpw-re-checkbox.is-checked{
  opacity:.95;
}

/* Pricing header */
.shpw-re-pricing-head{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:12px;
}
.shpw-re-mode-pill{
  font-size:11px;
  font-weight:900;
  padding:7px 10px;
  border-radius:999px;
  background:rgba(251,191,36,.12);
  border:1px solid rgba(251,191,36,.25);
  color:#ffe6a3;
}
.shpw-re-mode-pill.is-old{
  background:rgba(255,255,255,.06);
  border-color:rgba(255,255,255,.14);
  color:#fff;
  opacity:.9;
}

/* Pricing grid cards */
.shpw-re-pricing-grid{
  display:grid;
  grid-template-columns:repeat(2, minmax(0,1fr));
  gap:12px;
  margin-top:12px;
}
@media (max-width:720px){
  .shpw-re-pricing-grid{ grid-template-columns:1fr; }
}
.shpw-re-price-card{
  display:block;
  border-radius:16px;
  border:1px solid rgba(255,255,255,.12);
  background:rgba(255,255,255,.04);
  overflow:hidden;
  cursor:pointer;
  transition:transform .12s ease, border-color .12s ease, background .12s ease;
}
.shpw-re-price-card:hover{
  transform:translateY(-1px);
  border-color:rgba(251,191,36,.25);
  background:rgba(251,191,36,.06);
}
.shpw-re-price-card input{ display:none; }

.shpw-re-price-inner{
  display:flex;
  justify-content:space-between;
  gap:10px;
  padding:14px 14px;
}
.shpw-re-price-title{
  font-weight:900;
  color:#fff;
}
.shpw-re-price-sub{
  margin-top:4px;
  font-size:12px;
  opacity:.78;
}
.shpw-re-price-amount{
  font-weight:900;
  color:#fff;
  white-space:nowrap;
}

/* Selected card */
.shpw-re-price-card:has(input:checked){
  border-color:rgba(251,191,36,.40);
  background:rgba(251,191,36,.10);
}

/* Pay box */
.shpw-re-paybox{
  margin-top:12px;
  border-radius:16px;
  border:1px solid rgba(255,255,255,.12);
  background:rgba(255,255,255,.04);
  padding:14px;
}
.shpw-re-paybox-row{
  display:flex;
  justify-content:space-between;
  gap:10px;
  padding:8px 0;
  border-bottom:1px dashed rgba(255,255,255,.10);
}
.shpw-re-paybox-row:last-child{ border-bottom:none; }
.shpw-re-paybox-label{ opacity:.75; font-size:12px; }
.shpw-re-paybox-value{ font-weight:800; }

/* ===== Renew/Extend: Intent cards (Step 1) ===== */

.shpw-re-intent-grid{
  display:grid;
  grid-template-columns:repeat(2, minmax(0,1fr));
  gap:14px;
  margin-top:14px;
}

@media (max-width: 820px){
  .shpw-re-intent-grid{ grid-template-columns:1fr; }
}

a.shpw-re-intent-card{
  display:flex;
  gap:14px;
  align-items:flex-start;
  padding:18px 18px;
  border-radius:18px;
  border:1px solid rgba(255,255,255,.12);
  background:rgba(255,255,255,.04);
  text-decoration:none !important;
  color:#fff !important;
  transition:transform .12s ease, border-color .12s ease, background .12s ease;
  position:relative;
  overflow:hidden;
}

/* subtle glow */
a.shpw-re-intent-card:before{
  content:"";
  position:absolute;
  inset:-40px;
  background:radial-gradient(closest-side, rgba(251,191,36,.14), transparent 60%);
  opacity:.55;
  pointer-events:none;
  transform:translate3d(-12px,-8px,0);
}

a.shpw-re-intent-card:hover{
  transform:translateY(-2px);
  border-color:rgba(251,191,36,.25);
  background:rgba(251,191,36,.06);
}

.shpw-re-intent-ico{
  width:44px;
  height:44px;
  border-radius:14px;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:20px;
  background:rgba(0,0,0,.28);
  border:1px solid rgba(255,255,255,.10);
  flex:0 0 44px;
  z-index:1;
}

.shpw-re-intent-title{
  font-size:18px;
  font-weight:900;
  line-height:1.2;
  margin-bottom:6px;
  z-index:1;
}

.shpw-re-intent-desc{
  font-size:13px;
  opacity:.80;
  line-height:1.5;
  z-index:1;
}

/* keep inner text block clean */
.shpw-re-intent-card > div{
  z-index:1;
}

/* If you used nested divs like shpw-re-intent-title/desc inside another div */
.shpw-re-intent-card .shpw-re-intent-title,
.shpw-re-intent-card .shpw-re-intent-desc{
  color:#fff;
}
@media (max-width: 640px){
  .senpay-isp-alert{ padding:12px; border-radius:12px; }
}