/* ============================================
   sidebar.css - Sidebar Stilleri
   ============================================ */

.sidebar-widgets {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Widget Genel */
.sidebar-widget {
    background: white;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    border: 1px solid #f0f0f0;
}

.widget-title {
    font-size: 16px;
    font-weight: 700;
    color: #2c3e50;
    margin: 0 0 15px 0;
    padding-bottom: 10px;
    border-bottom: 2px solid #f0f0f0;
}

.widget-empty {
    color: #aaa;
    font-size: 13px;
    text-align: center;
    padding: 15px 0;
}

/* Reklam Alanı */
.widget-ads {
    background: #f8f9fa;
    border: 1px dashed #dee2e6;
}

.ads-placeholder {
    text-align: center;
    min-height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    position: relative;
}

.ads-label {
    position: absolute;
    top: -10px;
    right: 10px;
    background: #6c757d;
    color: white;
    padding: 2px 8px;
    border-radius: 3px;
    font-size: 10px;
}

/* Premium Mesaj */
.widget-premium {
    background: #d4edda;
    border: 1px solid #c3e6cb;
}

.premium-message {
    text-align: center;
    color: #155724;
    font-size: 14px;
    font-weight: 500;
}

/* Günün Sözü */
.widget-quote {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
}

.quote-content {
    text-align: center;
}

.quote-text {
    font-style: italic;
    color: #555;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 10px;
}

.quote-author {
    color: #667eea;
    font-weight: 600;
}

/* Online Kullanıcılar */
.online-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.online-user {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #333;
    text-decoration: none;
    font-size: 14px;
    padding: 5px 8px;
    border-radius: 6px;
    transition: background 0.3s;
}

.online-user:hover {
    background: #f8f9fa;
    color: #667eea;
}

.online-dot {
    width: 8px;
    height: 8px;
    background: #2ed573;
    border-radius: 50%;
    flex-shrink: 0;
}

/* En Çok Beğenilenler */
.liked-list,
.daily-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.liked-item,
.daily-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px;
    text-decoration: none;
    border-radius: 6px;
    transition: background 0.3s;
    gap: 10px;
}

.liked-item:hover,
.daily-item:hover {
    background: #f8f9fa;
}

.liked-title,
.daily-title {
    color: #333;
    font-size: 13px;
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.liked-count,
.daily-views {
    color: #999;
    font-size: 12px;
    flex-shrink: 0;
}

/* Haftanın Üyesi */
.widget-winner {
    background: linear-gradient(135deg, #fff8e7, #fff3cd);
    border: 2px solid #ffd700;
}

.winner-card {
    text-align: center;
}

.winner-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 3px solid #ffd700;
    object-fit: cover;
    margin-bottom: 10px;
}

.winner-name {
    display: block;
    margin-bottom: 5px;
}

.winner-name a {
    color: #333;
    text-decoration: none;
    font-size: 15px;
}

.winner-name a:hover {
    color: #667eea;
}

.winner-points {
    display: block;
    color: #888;
    font-size: 13px;
    margin-bottom: 10px;
}

.winner-link {
    display: inline-block;
    color: #667eea;
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
}

.winner-link:hover {
    text-decoration: underline;
}

/* Site İstatistikleri */
.stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.stat-item {
    text-align: center;
    padding: 10px;
    background: #f8f9fa;
    border-radius: 8px;
}

.stat-icon {
    font-size: 20px;
    display: block;
    margin-bottom: 5px;
}

.stat-value {
    display: block;
    font-size: 20px;
    font-weight: 700;
    color: #2c3e50;
}

.stat-label {
    font-size: 11px;
    color: #999;
}

/* Popüler Etiketler */
.tags-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.tag-item {
    background: #f0f4ff;
    color: #667eea;
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 12px;
    text-decoration: none;
    transition: all 0.3s;
}

.tag-item:hover {
    background: #667eea;
    color: white;
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 992px) {
    .sidebar-widgets {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 15px;
    }
    
    .widget-ads {
        grid-column: 1 / -1;
    }
}

@media (max-width: 600px) {
    .sidebar-widgets {
        grid-template-columns: 1fr;
    }
    
    .sidebar-widget {
        padding: 15px;
    }
    
    .widget-title {
        font-size: 15px;
    }
    
    .stats-grid {
        grid-template-columns: 1fr 1fr;
    }
}