/* =========================
   Reset
========================= */
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, Helvetica, sans-serif;
}

/* =========================
   Body
========================= */
body{
    background-color: #6ea8fe;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

/* =========================
   Container
========================= */
.container{
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* =========================
   Form Card
========================= */
form{
    width: 330px;
    background-color: white;
    padding: 30px 25px;
    border-radius: 12px;
}

/* =========================
   Heading
========================= */
.heading{
    text-align: center;
    margin-bottom: 30px;
}

.heading h2{
    font-size: 26px;
    color: #333;
    font-weight: bold;
}

/* =========================
   Amount
========================= */
.Txt_box{
    margin-bottom: 30px;
}

.txt{
    font-size: 16px;
    margin-bottom: 8px;
    color: #444;
}

#Amt{
    width: 100%;
    height: 45px;
    border: 1px solid #ccc;
    border-radius: 6px;
    padding-left: 10px;
    font-size: 16px;
    outline: none;
}

#Amt:focus{
    border-color: dodgerblue;
}

/* =========================
   Dropdown
========================= */
.dropdown{
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 35px 0;
}

.from,
.to{
    width: 120px;
}

.from p,
.to p{
    font-size: 16px;
    margin-bottom: 8px;
}

.select_container{
    display: flex;
    align-items: center;
    border: 1px solid #ccc;
    border-radius: 6px;
    padding: 8px;
}

.select_container img{
    width: 32px;
    margin-right: 8px;
}

select{
    width: 100%;
    border: none;
    outline: none;
    background: transparent;
    font-size: 15px;
    cursor: pointer;
}

.icon{
    font-size: 20px;
    color: #666;
    margin-top: 22px;
}

/* =========================
   Exchange Rate
========================= */
.message{
    text-align: center;
    font-size: 16px;
    color: #333;
    margin: 35px 0;
}

/* =========================
   Button
========================= */
.submit{
    text-align: center;
}

.btn{
    width: 100%;
    height: 45px;
    background-color: #5cb85c;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    cursor: pointer;
}

.btn:hover{
    background-color: #4cae4c;
}

/* =========================
   Responsive
========================= */
@media(max-width:400px){

    form{
        width: 92%;
        padding: 25px 20px;
    }

    .dropdown{
        flex-direction: column;
        gap: 20px;
    }

    .from,
    .to{
        width: 100%;
    }

    .icon{
        transform: rotate(90deg);
        margin: 0;
    }
}
