/* ============================================================
   SIDEBAR STYLES - Yan Panel Stilleri
   ============================================================ */

/* ========== SIDEBAR LAYOUT ========== */
.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 ALANI ========== */
.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-placeholder p {
    margin: 0;
}

.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: #ffffff;
}

.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 KULLANICILAR ========== */
.online-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.online-user {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #333;
    text-decoration: none;
    font-size: 14px;
    padding: 5px 8px;
    border-radius: 6px;
    transition: all 0.3s;
}

.online-user:hover {
    background: #f8f9fa;
    color: #667eea;
}

.online-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.online-name {
    flex: 1;
}

.online-dot {
    width: 8px;
    height: 8px;
    background: #2ed573;
    border-radius: 50%;
    flex-shrink: 0;
    animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

/* ========== EN ÇOK BEĞENİLENLER ========== */
.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 10px;
    text-decoration: none;
    border-radius: 6px;
    transition: all 0.3s;
    gap: 10px;
}

.liked-item:hover,
.daily-item:hover {
    background: #f8f9fa;
    transform: translateX(5px);
}

.liked-title,
.daily-title {
    color: #333;
    font-size: 13px;
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.liked-title:hover,
.daily-title:hover {
    color: #667eea;
}

.liked-count,
.daily-views {
    color: #999;
    font-size: 12px;
    flex-shrink: 0;
}

.liked-count {
    color: #ff4757;
}

.daily-views {
    color: #27ae60;
}

/* ========== HAFTANIN ÜYESİ ========== */
.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;
    font-weight: 600;
}

.winner-name a:hover {
    color: #667eea;
}

.winner-points {
    display: block;
    color: #e67e22;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 10px;
}

.winner-link {
    display: inline-block;
    color: #667eea;
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    transition: all 0.3s;
}

.winner-link:hover {
    color: #764ba2;
    text-decoration: underline;
}

/* ========== SİTE İSTATİSTİKLERİ ========== */
.stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.stat-item {
    text-align: center;
    padding: 12px 10px;
    background: #f8f9fa;
    border-radius: 8px;
    transition: all 0.3s;
}

.stat-item:hover {
    background: #e9ecef;
    transform: translateY(-2px);
}

.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 ETİKETLER ========== */
.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;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102,126,234,0.3);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 992px) {
    .sidebar-widgets {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 15px;
    }
    
    .widget-ads {
        grid-column: 1 / -1;
    }
    
    .widget-premium {
        grid-column: 1 / -1;
    }
}

@media (max-width: 768px) {
    .sidebar-widgets {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }
    
    .sidebar-widget {
        padding: 15px;
    }
    
    .widget-title {
        font-size: 15px;
    }
    
    .stats-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .online-user {
        font-size: 13px;
        padding: 4px 6px;
    }
    
    .liked-item,
    .daily-item {
        padding: 6px 8px;
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .sidebar-widgets {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .sidebar-widget {
        padding: 15px;
    }
    
    .stats-grid {
        grid-template-columns: 1fr 1fr;
        gap: 8px;
    }
    
    .stat-item {
        padding: 10px 8px;
    }
    
    .stat-value {
        font-size: 18px;
    }
    
    .tags-cloud {
        gap: 4px;
    }
    
    .tag-item {
        font-size: 11px;
        padding: 4px 10px;
    }
    
    .widget-winner {
        padding: 15px;
    }
    
    .winner-avatar {
        width: 50px;
        height: 50px;
    }
}




/* ============================================================
   SIDEBAR - YENİ ARAMA FORM STİLLERİ
   ============================================================ */

/* Arama Widget */
.widget-search {
    background: #ffffff;
    border: 1px solid #dee2e6;
    border-radius: 12px;
    padding: 20px;
}

.sidebar-search-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.search-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.sidebar-search-input {
    flex: 1;
    padding: 10px 45px 10px 15px;
    border: 2px solid #ddd;
    border-radius: 50px;
    font-size: 14px;
    transition: all 0.3s ease;
    background: white;
    color: #333;
    outline: none;
    width: 100%;
}

.sidebar-search-input:focus {
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.15);
}

.sidebar-search-input::placeholder {
    color: #aaa;
}

.sidebar-search-btn {
    position: absolute;
    right: 4px;
    top: 50%;
    transform: translateY(-50%);
    background: linear-gradient(135deg, #667eea, #764ba2);
    border: none;
    border-radius: 50%;
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
}

.sidebar-search-btn:hover {
    transform: translateY(-50%) scale(1.05);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

.sidebar-search-btn i {
    font-size: 14px;
}

/* Hızlı Arama Linkleri */
.search-quick-links {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
    padding: 5px 0;
}
