/* 2. Widget Genel Stilleri */
.sidebar-widget {
    background: rgba(30, 41, 59, 0.6); /* Koyu yarı saydam arka plan */
    backdrop-filter: blur(10px); /* Cam efekti */
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    margin-bottom: 20px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1); /* İnce beyaz çerçeve */
}

.widget-header {
    background: rgba(15, 23, 42, 0.8); /* Daha koyu başlık */
    padding: 12px 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    font-weight: 700;
    color: #00d2ff; /* Neon Mavi */
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.sidebar-widget.collapsed .widget-header {
    border-bottom-color: transparent;
}

.sidebar-widget.collapsed > *:not(.widget-header) {
    display: none;
}


/* Altınkaynak Widget */
.market-list {
    padding: 0;
    margin: 0;
    list-style: none;
}

.market-item {
    display: flex;
    justify-content: space-between;
    padding: 10px 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 0.9rem;
    color: #e2e8f0; /* Açık gri metin */
}

.market-item:last-child { border-bottom: none; }

.market-name { font-weight: 600; color: #cbd5e1; }
.market-price { font-weight: 700; color: #34d399; /* Yeşil */ }
.market-badge { 
    font-size: 0.7rem; 
    background: #ef4444; /* Kırmızı */
    color: white; 
    padding: 2px 6px; 
    border-radius: 4px; 
    animation: pulse 2s infinite;
}

/* Analiz Pazarı Widget */
.proposal-list {
    padding: 0;
    margin: 0;
    list-style: none;
}

.proposal-item {
    padding: 12px 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: background 0.2s;
}

.proposal-item:hover { background: rgba(255, 255, 255, 0.05); }
.proposal-job { display: block; font-weight: 600; color: #00d2ff; margin-bottom: 4px; text-decoration: none; }
.proposal-job:hover { color: #60a5fa; text-decoration: underline; }
.proposal-meta { display: flex; justify-content: space-between; font-size: 0.8rem; color: #94a3b8; }
.proposal-price { color: #34d399; font-weight: 700; }

@keyframes pulse { 0% { opacity: 1; } 50% { opacity: 0.6; } 100% { opacity: 1; } }

/* Custom Widget Header Colors */
.proposals-widget .widget-header {
    color: #e67e22; /* Turuncu */
}

.jobs-widget .widget-header {
    color: #9b59b6; /* Mor */
}
