body {
    background-color: #12131A;
    color: #fff;
    font-family: Arial, sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
}

.container {
    background: #12131A;
    width: 100%;
    max-width: 350px;
}

h4 {
    margin-bottom: 15px;
    align-items: left !important;
}

.dropdown {
    background: #292929;
    padding: 10px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    cursor: pointer;
    border: 1px solid #444;
}

.exchange-span {
    color: #666;
}

.dropdown .dropdown-container {
    display: flex;
    align-items: center;
    width: 100%;
    padding: 5px;
    border-radius: 5px;
}

.dropdown .fi {
    font-size: 20px;
    margin-right: 8px;
    width: 24px;
    height: 16px;
    background-size: cover;
}

.dropdown select {
    background: transparent;
    border: none;
    color: white;
    font-size: 16px;
    width: 100%;
    appearance: none;
    outline: none;
    cursor: pointer;
    padding-right: 20px;
}

.dropdown::after {
    content: "▼";
    position: absolute;
    right: 10px;
    font-size: 14px;
    color: white;
    pointer-events: none;
}

select option {
    background-color: #1e1e1e;
    color: white;
}

.rates-list {
    margin-top: 15px;
    margin-bottom: 5px;
    border-radius: 8px;
    overflow: hidden;
    background: #292929;
    text-align: center;
}

.rate-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px;
    background: #292929;
    border-bottom: 1px solid #3a3a3a;
}

.rate-item:last-child {
    border-bottom: none;
}

.flag-icon {
    font-size: 20px;
    width: 24px;
    height: 16px;
    background-size: cover;
    margin-right: 10px;
}

.currency {
    flex-grow: 1;
    font-size: 16px;
    text-align: left;
    font-weight: 500;
}

.rate {
    font-size: 16px;
    font-weight: 500;
    opacity: 0.9;
}

@media (max-width: 400px) {
    .container {
        width: 90%;
    }

    .rate-item {
        padding: 12px;
        font-size: 14px;
    }

    .dropdown select {
        font-size: 14px;
    }
}