* {
    margin: 0px;
    padding: 0px;
}

body {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background: #F8FAFC;
}

.container {
    background: #ffffff;
    padding: 2rem;
    border-radius: 1rem;
    min-height: 45vh;
    width: 40vh;
}

form {
    margin: 2rem 0 1rem 0;
}

form input,
select,
button {
    width: 100%;
    border: none;
    outline: none;
    border-radius: 0.75rem;
}

form input {
    border: 1px solid E2E8F0;
    font-size: 1rem;
    height: 3rem;
    padding-left: 0.5rem;
    background: #F1F5F9;
}

.dropdown {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 2rem;
}

.dropdown i {
    font-size: 1.5rem;
    margin-top: 1rem;
}

.select-container img {
    max-width: 2rem;
}

.select-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 6rem;
    border-radius: 0.5rem;
    border: 1px solid lightgray;
}

.select-container select {
    font-size: 1rem;
    width: auto;
}

.msg {
    margin: 2rem 0 2rem 0;
}

form button {
    height: 3rem;
    background: #6366F1;
    color: #fff;
    font-size: 1.15rem;
    cursor: pointer;
}

@media (max-width: 768px) {
    .container {
        width: 90%;
        padding: 20px;
    }

    h2 {
        font-size: 22px;
    }

    .amount input {
        font-size: 16px;
        padding: 8px;
    }

    .dropdown {
        flex-direction: column;
        gap: 20px;
        align-items: center;
    }

    .dropdown i {
        transform: rotate(90deg);
        font-size: 20px;
    }

    .select-container {
        width: 100%;
        justify-content: center;
    }

    select {
        width: 100px;
        font-size: 14px;
    }

    .msg {
        font-size: 16px;
        text-align: center;
    }

    button {
        width: 100%;
        padding: 10px;
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    h2 {
        font-size: 18px;
    }

    .container {
        padding: 15px;
    }

    .amount p,
    .from p,
    .to p {
        font-size: 14px;
    }

    select {
        width: 80px;
    }

    .msg {
        font-size: 14px;
    }
}