* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: antiquewhite;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    font-family: Arial, sans-serif;
}

.container {
    background-color: white;
    padding: 2rem;
    border-radius: 1rem;
    width: 50vh;
    min-height: 45vh;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

h1 {
    text-align: center;
    font-size: 2rem;
    color: #333;
    margin-bottom: 1rem;
}

form {
    margin: 2rem 0;
}

form input {
    border: 1px solid lightgrey;
    border-radius: 5px;
    padding: 0.5rem;
    width: 100%;
    margin: 0.5rem 0;
    font-size: 1rem;
}

.form p {
    text-align: center;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

/* === DROPDOWN + FLAGS FIX START === */

.dropdown {
    margin-top: 2rem;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
}

.currency-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    text-align: center;
}

.currency-box p {
    margin: 0;
    font-weight: bold;
}

.select-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.select-container img {
    width: 64px;
    height: 48px;
    object-fit: contain;
}

.select-container select {
    padding: 0.4rem;
    font-size: 1rem;
    border-radius: 5px;
    border: 1px solid lightgray;
    width: 100px;
}

.dropdown i {
    font-size: 1.5rem;
    align-self: center;
}

/* === DROPDOWN + FLAGS FIX END === */

button {
    background-color: #333;
    color: white;
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
    width: 100%;
    margin-top: 2rem;
    transition: background-color 0.3s ease, color 0.3s ease;
}

button:hover {
    background-color: rgb(240, 236, 236);
    color: #333;
}

.msg {
    text-align: center;
    margin-top: 2rem;
    font-weight: bold;
}
