* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 1rem;
    background-color: palegreen;
}

.container {
    background-color: white;
    padding: 2rem;
    border-radius: 1rem;
    width: 100%;
    max-width: 420px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
}

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

form {
    margin: 1.5rem 0;
}

form input,
form select,
form button {
    width: 100%;
    margin: 0.5rem 0;
    padding: 0.6rem;
    border-radius: 0.5rem;
    border: 1px solid #ccc;
    background-color: aliceblue;
    font-size: 1rem;
}

form input {
    border: 1px solid salmon;
    padding-left: 0.5rem;
}

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

.select-container {
    display: flex;
    align-items: center;
    flex: 1 1 40%;
}

.select-container img {
    width: 2rem;
    height: 2rem;
    margin-right: 0.5rem;
}

.dropdown .icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
}

.dropdown .icon button {
    background: transparent;
    border: none;
    cursor: pointer;
    font-size: 1.5rem;
    color: #333;
    padding: 0.5rem;
}

.dropdown .icon button:hover {
    color: crimson;
}

p {
    font-weight: bold;
    margin-bottom: 0.3rem;
}

.msg {
    margin: 2rem 0;
    text-align: center;
    color: #000;
    font-size: 1.2rem;
    font-weight: 500;
}

#btn {
    background-color: crimson;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    transition: background 0.3s;
}

#btn:hover {
    background-color: darkred;
}

/* ✅ Responsive Fix */
@media (max-width: 480px) {
    .dropdown {
        flex-direction: column;
        align-items: stretch;
    }

    .select-container {
        justify-content: flex-start;
    }
}
