*{
    margin:0;
    padding:0;
}

body{
    background-color: rgb(220, 188, 223);
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

.container{
    background-color: #fcf9f9;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    min-height: 40vh;
    width: 45vh;
}

form{
    margin:2rem 0 1rem 0;
}

form select, button, input{
    width: 100%;
    border-radius: 0.75rem;
    outline: none;
    border:none;
}

form input{
    font-size: 1rem;
    padding-left:0.5rem;
    border: 1px solid lightgray;
    height:3rem;
}

.dropdown{
    display:flex;
    justify-content: space-between;
    margin-top: 2rem;
}

.dropdown i{
    font-size: 2rem;
    margin-top:2rem;
}

.select-container{
    display: flex;
    margin-top: 0.2rem;
    width:7rem;
    align-items: center;
    justify-content: center;
    border-radius: 0.5rem;
    border: 1px solid lightgray;
}

.select-container img{
    max-width:3rem;
}

.select-container select{
    font-size: 1rem;
    width:100%;
}

 p{
     font-size: 1.2rem;
}

.msg{
    font-size: 1.2rem;
    margin: 2rem 0 2rem 0;
    text-align: center;
    margin-top: 2rem;
}

form button{
    margin-top: 1rem;
    width:100%;
    height:3rem;
    border-radius: 0.5rem;
    background-color: rgb(54, 54, 223);
    font-size: 1.15rem;
    color: white;
    cursor: pointer;
}

form button:hover{
    opacity:0.5;
}

@media (max-width: 600px) {
    body {
        padding: 0.5rem;
    }
    .container {
        width: 95vw;
        min-height: unset;
        padding: 1rem;
        border-radius: 0.5rem;
        box-shadow: 0 2px 6px rgba(0,0,0,0.08);
    }
    h1 {
        font-size: 1.3rem;
        margin-bottom: 1rem;
    }
    .amount p,
    .from p,
    .to p,
    .msg {
        font-size: 1rem;
    }
    form input,
    form select,
    form button {
        font-size: 1rem;
        height: 2.5rem;
    }
    .dropdown {
        flex-direction: column;
        align-items: stretch;
        gap: 1rem;
    }
    .select-container {
        width: 100%;
        margin-top: 0.5rem;
    }
    .select-container img {
        max-width: 2rem;
    }
    .msg {
        margin: 1rem 0;
        font-size: 1rem;
    }
    form button {
        margin-top: 0.5rem;
        font-size: 1rem;
        height: 2.5rem;
    }
}