.exchange-rate-bar {
    display: flex;
    justify-content: center;
    align-items: center;
    background: #cc2737;
    padding: 8px 15px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 14px;
    color: #fff;
    border-bottom: 2px solid #a01e2a;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    position: relative;
    overflow: hidden;
}

.exchange-rate-bar::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}

.exchange-rate-bar .currency-item {
    margin: 0 20px;
    white-space: nowrap;
    display: flex;
    align-items: center;
    transition: transform 0.2s ease;
}

.exchange-rate-bar .currency-item:hover {
    transform: scale(1.05);
}

.exchange-rate-bar .currency-code {
    font-weight: bold;
    margin-right: 8px;
    background: rgba(255,255,255,0.2);
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 12px;
    letter-spacing: 0.5px;
}

.exchange-rate-bar .currency-rate {
    color: #ffd700;
    font-weight: 600;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

/* Mobil uyumluluk */
@media (max-width: 768px) {
    .exchange-rate-bar {
        flex-wrap: wrap;
        padding: 5px 10px;
        font-size: 12px;
    }
    
    .exchange-rate-bar .currency-item {
        margin: 2px 10px;
    }
}

/* Kripto para birimleri için özel stil */
.exchange-rate-bar .currency-item[data-crypto="true"] .currency-code {
    background: rgba(255,215,0,0.3);
    color: #ffd700;
}

/* Yükleme animasyonu */
.exchange-rate-loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255,255,255,0.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Hata durumu */
.exchange-rate-error {
    color: #ff6b6b;
    font-weight: bold;
    background: rgba(255,107,107,0.1);
    padding: 2px 6px;
    border-radius: 4px;
}

/* Güncelleme zamanı göstergesi */
.exchange-rate-timestamp {
    font-size: 10px;
    opacity: 0.7;
    margin-left: 10px;
    font-style: italic;
}



/* Yenile butonu stilleri */
.exchange-rate-refresh {
    margin-left: 15px;
    cursor: pointer;
    font-size: 16px;
    transition: transform 0.3s ease;
    user-select: none;
}

.exchange-rate-refresh:hover {
    transform: rotate(180deg);
}

.exchange-rate-refresh.exchange-rate-loading {
    animation: spin 1s linear infinite;
}

/* Dokunma efekti mobil için */
.currency-item.touched {
    background: rgba(255,255,255,0.1);
    border-radius: 4px;
}

/* Döviz çubuğu arka plan rengi değiştirme */
.exchange-rate-bar {
    background: linear-gradient(135deg, #cd2838, #a90707) !important;
}

/* Yazı rengi değiştirme */
.exchange-rate-bar .currency-rate {
    color: #f8f9fa !important;
}

/* Para birimi kodları arka plan rengi */
.exchange-rate-bar .currency-code {
    background: rgba(255,255,255,0.3) !important;
}