/* ==========================================================================
   Neyamot Sumon — shell styles
   --------------------------------------------------------------------------
   Loads AFTER pva-theme.css and only adds what this product's chrome needs:
   the top navigation, the wallet chip and the round icon buttons. Everything
   else (Bootstrap re-skin, cards, forms, tables, notification drawer, language
   selector, footer) already comes from the shared theme, so this file stays
   deliberately small and uses the same tokens.
   ========================================================================== */

/* ── Primary navigation ─────────────────────────────────────────────────── */
.panel-nav { gap: 4px; }

.panel-nav-link {
    display: inline-flex; align-items: center; gap: .45rem;
    padding: .5rem .85rem;
    border-radius: var(--r-sm);
    color: var(--text-secondary);
    font-size: .875rem; font-weight: 600;
    white-space: nowrap;
    transition: background-color var(--t-fast), color var(--t-fast);
}
.panel-nav-link i { font-size: .9rem; opacity: .9; }
.panel-nav-link:hover { background: var(--surface-2); color: var(--pva-primary); }
.panel-nav-link.active {
    background: var(--pva-primary-soft);
    color: var(--pva-primary-strong);
}
body[data-theme="dark"] .panel-nav-link.active {
    background: rgba(139, 92, 246, .16);
    color: #c4b5fd;
}

/* ── Wallet balance chip ────────────────────────────────────────────────── */
.balance-chip {
    display: inline-flex; align-items: center; gap: .45rem;
    height: 38px; padding: 0 .85rem;
    border: 1px solid var(--border);
    border-radius: var(--r-full);
    background: var(--surface-2);
    color: var(--text-primary);
    font-weight: 700; font-size: .85rem;
    white-space: nowrap;
    transition: var(--transition);
}
.balance-chip i { color: var(--pva-success); }
.balance-chip:hover {
    border-color: var(--pva-success);
    color: var(--text-primary);
    box-shadow: var(--shadow-sm);
}

/* ── Round icon buttons (bell, profile, admin, theme, sign out) ─────────── */
.icon-btn {
    display: inline-flex; align-items: center; justify-content: center;
    width: 38px; height: 38px;
    border: 1px solid var(--border);
    border-radius: var(--r-full);
    background: var(--surface);
    color: var(--text-secondary);
    cursor: pointer;
    position: relative;
    transition: var(--transition);
}
.icon-btn:hover {
    background: var(--surface-2);
    border-color: var(--pva-primary);
    color: var(--pva-primary);
}

/* ── Home page ──────────────────────────────────────────────────────────── */
.panel-hero {
    background: var(--hero-bg);
    color: #fff;
    border-radius: var(--r-xl);
    padding: clamp(1.8rem, 1.2rem + 3.5vw, 3.5rem);
    position: relative;
    overflow: hidden;
    margin-bottom: 1.5rem;
}
.panel-hero::after {
    content: ''; position: absolute; inset: 0;
    background: radial-gradient(circle at 82% 15%, rgba(255,255,255,.16), transparent 55%);
    pointer-events: none;
}
.panel-hero > * { position: relative; z-index: 1; }
.panel-hero h1 {
    color: #fff; font-weight: 800; letter-spacing: -.03em;
    font-size: clamp(1.7rem, 1.2rem + 2.4vw, 2.9rem);
    margin-bottom: .7rem;
}
.panel-hero p { color: rgba(255,255,255,.9); max-width: 620px; margin-bottom: 1.4rem; }

.hero-eyebrow {
    display: inline-flex; align-items: center; gap: .4rem;
    background: rgba(255,255,255,.16);
    border-radius: var(--r-full);
    padding: .28rem .8rem;
    font-size: .7rem; font-weight: 800;
    letter-spacing: .09em; text-transform: uppercase;
    margin-bottom: 1rem;
}

/* Big service cards */
.service-card {
    display: block;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    padding: 1.5rem;
    height: 100%;
    box-shadow: var(--shadow-sm);
    transition: transform var(--t-base), box-shadow var(--t-base), border-color var(--t-base);
    color: var(--text-primary);
}
.service-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
    border-color: var(--pva-primary);
    color: var(--text-primary);
}
.service-icon {
    width: 52px; height: 52px;
    border-radius: var(--r-md);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.35rem; color: #fff;
    margin-bottom: .9rem;
}
.service-icon.smm { background: linear-gradient(135deg, var(--pva-primary), var(--pva-accent)); }
.service-icon.otp { background: linear-gradient(135deg, var(--pva-accent-strong), var(--pva-success)); }
.service-card h3 { font-size: 1.15rem; font-weight: 800; margin-bottom: .35rem; }
.service-card p  { font-size: .88rem; color: var(--text-secondary); margin-bottom: .9rem; }
.service-meta {
    display: flex; flex-wrap: wrap; gap: .4rem;
    font-size: .74rem; font-weight: 600;
}
.service-meta span {
    background: var(--surface-2);
    border: 1px solid var(--border);
    border-radius: var(--r-full);
    padding: .2rem .6rem;
    color: var(--text-secondary);
}

/* ── Top-service tiles (homepage: popular SMM services / OTP numbers) ───── */
.top-item {
    display: flex; flex-direction: column;
    gap: .55rem;
    height: 100%;
    padding: .9rem;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    box-shadow: var(--shadow-xs);
    color: var(--text-primary);
    transition: transform var(--t-base), box-shadow var(--t-base), border-color var(--t-base);
}
.top-item:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    border-color: var(--pva-primary);
    color: var(--text-primary);
}

.top-item-head { display: flex; align-items: center; gap: .5rem; }
.top-item-icon {
    flex: 0 0 30px; width: 30px; height: 30px;
    border-radius: var(--r-sm);
    display: flex; align-items: center; justify-content: center;
    color: #fff; font-size: .85rem;
}
.top-item-platform {
    font-weight: 700; font-size: .86rem;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.top-item-tag {
    margin-left: auto;
    background: rgba(16, 185, 129, .14);
    color: #047857;
    border-radius: var(--r-full);
    padding: .1rem .45rem;
    font-size: .66rem; font-weight: 700;
    white-space: nowrap;
}
body[data-theme="dark"] .top-item-tag { color: #6ee7b7; }

/* two-line clamp keeps every tile the same height regardless of title length */
.top-item-name {
    font-size: .78rem; line-height: 1.4;
    color: var(--text-secondary);
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
    line-clamp: 2; overflow: hidden;
    min-height: 2.2em;
}
.top-item-foot {
    display: flex; align-items: baseline; justify-content: space-between;
    gap: .5rem; margin-top: auto;
}
.top-item-price {
    font-weight: 800; font-size: .95rem;
    color: #15803d;               /* 5:1 on white (was --pva-success, 2.5:1) */
    white-space: nowrap;
}
.top-item-price small { font-weight: 600; font-size: .7rem; opacity: .8; }
.top-item-min {
    font-size: .7rem; font-weight: 600;
    color: #64748b;               /* 4.8:1 on white (was --text-muted, 2.6:1) */
    white-space: nowrap;
}
body[data-theme=dark] .top-item-price { color: var(--pva-success); }
body[data-theme=dark] .top-item-min { color: var(--text-muted); }

/* Server-rendered info sections on /smm-service and /otp (how it works,
   prices, refunds). Plain HTML, so crawlers that don't run JavaScript see it. */
.svc-info { margin: 26px 0 10px; display: grid; gap: 12px; }
.svc-card { background: #fff; border: 1px solid #eceff4; border-radius: 14px; padding: 16px 18px; }
.svc-card h2 { font-size: 1.08rem; font-weight: 800; margin: 0 0 8px; color: #1e293b; }
.svc-card p, .svc-card li { font-size: .9rem; line-height: 1.6; color: #475569; }
.svc-card p { margin: 0; }
.svc-card ol { margin: 0; padding-left: 1.2rem; }
.svc-card ol li { margin-bottom: 6px; }
.svc-plats { list-style: none; padding: 0; margin: 10px 0 0; display: grid; grid-template-columns: 1fr; gap: 0 18px; }
@media (min-width: 600px) { .svc-plats { grid-template-columns: 1fr 1fr; } }
.svc-plats li { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2px 10px; border-bottom: 1px dashed #e2e8f0; padding: 6px 0; margin: 0; }
.svc-plats li strong { color: #1e293b; }
.svc-more { font-size: .88rem; color: #475569; text-align: center; margin: 4px 0 0; }
body[data-theme=dark] .svc-card { background: #1e293b; border-color: #334155; }
body[data-theme=dark] .svc-card h2,
body[data-theme=dark] .svc-plats li strong { color: #e2e8f0; }
body[data-theme=dark] .svc-card p,
body[data-theme=dark] .svc-card li,
body[data-theme=dark] .svc-more { color: #cbd5e1; }
body[data-theme=dark] .svc-plats li { border-color: #334155; }

/* Step / feature tiles */
.step-tile {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    padding: 1.1rem;
    height: 100%;
}
.step-num {
    width: 30px; height: 30px;
    border-radius: var(--r-full);
    background: var(--pva-primary-soft);
    color: var(--pva-primary-strong);
    display: flex; align-items: center; justify-content: center;
    font-weight: 800; font-size: .85rem;
    margin-bottom: .6rem;
}
.step-tile h4 { font-size: .95rem; font-weight: 700; margin-bottom: .3rem; }
.step-tile p  { font-size: .84rem; color: var(--text-secondary); margin: 0; }

@media (max-width: 991.98px) {
    .main-navbar .container { flex-wrap: wrap; }
}
@media (max-width: 575.98px) {
    .balance-chip { padding: 0 .6rem; font-size: .8rem; }
    .panel-nav-link { padding: .45rem .65rem; font-size: .82rem; }
}
