/* استایل اختصاصی دایرکتوری و رتبه‌بندی دیجیتم (TopHub) */
.digitem-tophub-container {
    max-width: 1100px;
    margin: 30px auto;
    font-family: inherit;
    color: #333;
}

.digitem-tophub-header {
    text-align: center;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 2px solid #eef2f7;
}

.digitem-tophub-header h2 {
    font-size: 26px;
    color: #1e293b;
    margin-bottom: 8px;
}

.digitem-tophub-header p {
    font-size: 15px;
    color: #64748b;
}

.digitem-tophub-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.tophub-card {
    display: flex;
    align-items: center;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 18px 24px;
    transition: all 0.25s ease-in-out;
    box-shadow: 0 2px 5px rgba(0,0,0,0.03);
}

.tophub-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 18px rgba(0,0,0,0.06);
    border-color: #cbd5e1;
}

.tophub-card-vip {
    border: 2px solid #f59e0b;
    background: linear-gradient(to left, #ffffff, #fffbeb);
}

.tophub-rank-badge {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    background: #f1f5f9;
    color: #0f172a;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 18px;
    margin-left: 20px;
}

.tophub-card-vip .tophub-rank-badge {
    background: #f59e0b;
    color: #ffffff;
}

.tophub-info {
    flex-grow: 1;
}

.tophub-title {
    margin: 0 0 6px 0;
    font-size: 18px;
}

.tophub-title a {
    color: #1e293b;
    text-decoration: none;
    font-weight: 700;
}

.tophub-title a:hover {
    color: #2563eb;
}

.tophub-verified-badge {
    display: inline-block;
    background: #10b981;
    color: #ffffff;
    font-size: 12px;
    padding: 3px 8px;
    border-radius: 20px;
    margin-right: 8px;
    vertical-align: middle;
}

.tophub-desc {
    margin: 0;
    color: #64748b;
    font-size: 14px;
    line-height: 1.6;
}

.tophub-actions {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
    margin-right: 20px;
}

.tophub-btn-visit {
    background: #2563eb;
    color: #ffffff !important;
    padding: 10px 18px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: background 0.2s;
}

.tophub-btn-visit:hover {
    background: #1d4ed8;
}

.tophub-btn-claim {
    background: #f8fafc;
    color: #475569 !important;
    border: 1px solid #cbd5e1;
    padding: 10px 14px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
}

.tophub-btn-claim:hover {
    background: #e2e8f0;
    color: #0f172a !important;
}

/* استایل مودال پرداخت زرین‌پال */
.tophub-modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.55);
    z-index: 99999;
    align-items: center;
    justify-content: center;
}

.tophub-modal-overlay:target {
    display: flex;
}

.tophub-modal-box {
    background: #ffffff;
    width: 90%;
    max-width: 500px;
    padding: 30px;
    border-radius: 14px;
    position: relative;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.tophub-modal-close {
    position: absolute;
    top: 15px;
    left: 20px;
    font-size: 26px;
    text-decoration: none;
    color: #94a3b8;
}

.tophub-modal-close:hover {
    color: #ef4444;
}

.tophub-btn-submit-pay {
    width: 100%;
    background: #10b981;
    color: #ffffff;
    border: none;
    padding: 14px;
    border-radius: 8px;
    font-weight: bold;
    font-size: 15px;
    cursor: pointer;
    transition: background 0.2s;
}

.tophub-btn-submit-pay:hover {
    background: #059669;
}
