.button-group {
    display: flex;
    gap: 8px;
    margin: 15px auto;
    flex-wrap: wrap;
    justify-content: center;
    max-width: 500px;
}

button {
    padding: 8px 12px;
    background-color: #3498db;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 13px;
    font-weight: 500;
    transition: background-color 0.3s;
    flex: 0 1 auto;
    min-width: 120px;
}

button:hover {
    background-color: #2980b9;
}

button.secondary {
    background-color: #95a5a6;
}

button.secondary:hover {
    background-color: #7f8c8d;
}

.swap-button {
    padding: 8px;
    background-color: #2ecc71;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.swap-button:hover {
    background-color: #27ae60;
}