.tool-logo {
    width: 80px;
    height: 80px;
    margin-bottom: 20px;
}

.amount-group {
    margin-bottom: 20px;
}

.amount-input {
    width: 100%;
    padding: 15px;
    font-size: 1.5rem;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    transition: border-color 0.3s ease;
}

.amount-input:focus {
    border-color: #3498db;
    outline: none;
}

.currency-group {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
}

.currency-select {
    flex: 1;
}

.currency-dropdown {
    width: 100%;
    padding: 12px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.currency-dropdown:focus {
    border-color: #3498db;
    outline: none;
}

.swap-button {
    background: #f8f9fa;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    cursor: pointer;
    transition: transform 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.swap-button:hover {
    transform: rotate(180deg);
    background: #e9ecef;
}

.result-container {
    text-align: center;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 10px;
}

.result-amount {
    font-size: 2rem;
    font-weight: bold;
    color: #2c3e50;
    margin-bottom: 10px;
}

.exchange-rate {
    color: #666;
    font-size: 0.9rem;
}



.favorite-pairs {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
}

.favorite-pair {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 8px;
    text-align: center;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.favorite-pair:hover {
    transform: translateY(-3px);
}

@media (max-width: 768px) {
    .currency-group {
        flex-direction: column;
        gap: 10px;
    }

    .swap-button {
        transform: rotate(90deg);
    }

    .swap-button:hover {
        transform: rotate(270deg);
    }
}

.select2-container--default .select2-selection--single {
    border-radius: 10px;
    border: 2px solid #e0e0e0;
    transition: border-color 0.3s ease;
    height: 50px;
    padding: 10px;
}
.calculate{
    display: flex;
        justify-content: center;
        align-items: center;
        margin-top: 65px;
        margin-bottom: 40px;
}
.cal{
    padding: 20px 50px;
}