



.currency-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background: #b0ff7f;
}
#h2Curr{
     font-size:25px;
     background:red;
     color:white;
     padding:3px;
     margin:3px;
     text-align:center;
     border-radius:5px;
}
.container {
    background-color: white;
    padding:2rem;
    border-radius: 1rem;
    min-height:25vh;
    width:70vh;

}
form{
    margin:2rem 0 1rem 0;
}
form select,button,input{
    width:100%;
    border:none;
    outline:none;
    border-radius:0.75rem;
}
form input{
    border:1px solid lightgrey;
    font-size:1rem;
    height:5rem;
    padding-left:0.5rem;
}
.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:8rem;
    border-radius: 0.5rem;
    border:1px solid lightgray;
}
.select-container select{
    font-size:1rem;
    width:auto;
}

.msg{
    margin:2rem 0 2rem 0;
    font-size:20px;
    padding:5px;
}

form button{
    height: 3rem;
    background-color: #af4d98;
    color:white;
    font-size:1.15rem;
    cursor:pointer;
    margin-top:30px;
}


/* Base Style */
.converter {
    display: flex;
    gap: 10px;
    padding: 15px;
}

/* Input & Select */
.converter input,
.converter select,
.converter button {
    padding: 10px;
    font-size: 16px;
}


/* ===================== */
/* MOBILE RESPONSIVE */
/* ===================== */

.currency-wrapper {
    width: 100%;
    padding: 10px;
}

.container {
    max-width: 400px;
    width: 100%;
    margin: auto;
}

/* Form layout */
form {
    display: flex;
    flex-direction: column;
}

/* Dropdown responsive */
.dropdown {
    display: flex;
    justify-content: space-between;
    gap: 10px;
}

/* Mobile */
@media (max-width: 600px) {

    .dropdown {
        flex-direction: column;
    }

    .select-container {
        width: 100%;
    }

    input,
    select,
    button {
        width: 100%;
        font-size: 16px;
        padding: 10px;
    }

    .container {
        padding: 15px;
    }

    .msg {
        text-align: center;
        font-size: 14px;
    }
}

/* Tablet */
@media (max-width: 768px) {
    .container {
        max-width: 90%;
    }
}
