/* ============================================================
   APK SIDEBAR STYLING V4 (PURE CSS STICKY FIX)
   ============================================================ */

/* THE FIX: Yeh wrapper sidebar ko sticky banayega */
.sticky-sidebar-inner {
    position: -webkit-sticky;
    position: sticky;
    top: 90px; /* Header ki height + thora gap */
    /* Neeche se itna margin rakhega ke footer ke upar na jaye */
    margin-bottom: 30px; 
}

/* --- Widget Box Styling --- */
.sidebar-widget {
    background-color: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
    margin-bottom: 25px;
}
.sidebar-widget:last-child {
    margin-bottom: 0;
}
.widget-title {
    font-family: 'Outfit', sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #f1f5f9;
}

/* --- App List Styling --- */
.app-list {
    list-style: none; padding: 0; margin: 0;
    display: flex; flex-direction: column; gap: 15px;
}
.app-list-item a {
    display: flex; align-items: center; gap: 15px;
    text-decoration: none; padding: 10px; border-radius: 10px;
    transition: background-color 0.2s ease;
}
.app-list-item a:hover { background-color: #f8fafc; }
.app-list-icon img {
    width: 45px; height: 45px; border-radius: 12px;
    object-fit: cover; flex-shrink: 0; border: 1px solid #e2e8f0;
}
.app-list-info { flex: 1; min-width: 0; }
.app-list-name {
    font-weight: 600; color: #1e293b; font-size: 15px;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: block;
}
.app-list-meta { font-size: 12px; color: #64748b; display: block; }

/* --- Ad Widget --- */
.ad-widget { padding: 10px; background-color: #f8fafc; }
.ad-placeholder {
    width: 100%; height: 250px; display: flex; align-items: center;
    justify-content: center; background: #e2e8f0; color: #94a3b8;
    font-weight: 600; border-radius: 8px;
}