/**
 * Стили для переключателя валют
 */

/* Контейнер переключателя валют */
.currency-switcher-wrapper {
    margin-left: auto;
    flex-shrink: 0;
}

.currency-switcher {
    display: inline-flex;
    align-items: center;
}

.currency-selector {
    display: flex;
    gap: 0;
    background: #f3f4f6;
    border-radius: 8px;
    padding: 3px;
}

/* Кнопки выбора валюты */
.currency-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 56px;
    padding: 8px 14px;
    background: transparent;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 14px;
    font-weight: 500;
    color: #6b7280;
}

.currency-btn:hover {
    background: rgba(59, 130, 246, 0.05);
}

.currency-btn.active {
    background: white;
    color: #007AFF;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

/* Старые стили для обратной совместимости */
.currency-switcher button {
    padding: 8px 16px;
    border: none;
    background: transparent;
    color: #647396;
    font-size: 14px;
    font-weight: 500;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
}

.currency-switcher button.active {
    background: #FFFFFF;
    color: #1D1D1F;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.currency-switcher button:hover:not(.active) {
    color: #1D1D1F;
}

/* Адаптивность */
@media (max-width: 768px) {
    .currency-switcher-wrapper {
        margin-left: 0;
        width: 100%;
    }
    
    .currency-switcher {
        width: 100%;
        justify-content: center;
    }
}

