/* *{
    margin: 0;
    padding: 0;
}
body{
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background-color: aqua;
}
h2{
    text-align: center;
}

.container{
    background-color: #fff;
    padding: 2rem;
    border-radius: 1rem;
    min-height: 45vh;
    width: 45vh;
}

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

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

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

.dropdown{
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 2rem;
}
.dropdown i{
    font-size: 1.5rem;
    margin-top: 1rem;
}




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

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

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

.msg{
    margin: 2rem 0 2rem 0;
}

form button{
    height: 3rem;
    background-color: blueviolet;
    color: #fff;
    font-size: 1.15rem;
    cursor: pointer;
}

.msg{
    text-align: center;
} 



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

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

h2 {
    text-align: center;
    margin-bottom: 1rem;
}

.container {
    background-color: #fff;
    padding: 2rem;
    border-radius: 1rem;
    width: 90%;
    max-width: 400px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

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

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

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

.dropdown {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 2rem 0;
    gap: 1rem;
}

.dropdown i {
    font-size: 1.5rem;
    color: #555;
}

.select-container {
    display: flex;
    align-items: center;
    border-radius: 0.5rem;
    border: 1px solid lightgray;
    padding: 0 0.3rem;
    background-color: #fff;
    gap: 0.3rem;
    flex: 1;
}

.select-container img {
    max-width: 2rem;
    height: auto;
}

.select-container select {
    font-size: 1rem;
    background: none;
    border: none;
    flex: 1;
    cursor: pointer;
}

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

form button {
    height: 3rem;
    background-color: blueviolet;
    color: #fff;
    font-size: 1.15rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

form button:hover {
    background-color: rgb(106, 0, 201);
}


@media (max-width: 500px) {
    .dropdown {
        flex-direction: column;
    }

    .dropdown i {
        transform: rotate(90deg);
    }

    .select-container {
        width: 100%;
    }
}
