body {
    font-family: Arial, sans-serif;
    background-color: #f4f4f4;
    color: #333;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
}

.swap-container {
    background-color: #fff;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
    text-align: center;
    width: 400px;
}

h1 {
    margin-bottom: 1rem;
}

.info {
    margin-bottom: 1rem;
    text-align: left;
}

.info p {
    margin: 0.5rem 0;
}

.address {
    font-weight: bold;
    color: #007bff;
}

.calculator {
    margin-bottom: 1.5rem;
}

.input-group {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 1rem;
}

label {
    margin-bottom: 0.5rem;
}

input {
    background-color: #f4f4f4;
    border: 1px solid #ccc;
    border-radius: 5px;
    color: #333;
    padding: 0.5rem;
    width: 100%;
    box-sizing: border-box;
}

.token {
    display: flex;
    align-items: center;
    margin-top: 0.5rem;
}

.token img {
    width: 24px;
    height: 24px;
    margin-right: 0.5rem;
}

#swap-button {
    background-color: #007bff;
    border: none;
    border-radius: 5px;
    color: #fff;
    cursor: pointer;
    font-size: 1rem;
    padding: 0.75rem 1.5rem;
    transition: background-color 0.3s;
    width: 100%;
}

#swap-button:hover {
    background-color: #0056b3;
}

.hidden {
    display: none;
}

.loader {
    border: 4px solid #f3f3f3;
    border-top: 4px solid #007bff;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
    margin: 1rem auto;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
