button, label {
  cursor: pointer;
}
.form-container {
    max-width: 400px;
    margin: 100px auto;
    padding: 2rem 10rem;
    border: 1px solid #ccc;
    border-radius: 10px;
    font-family: Arial, sans-serif;
}

.input {
    margin-right: 1rem;
}

select#countryCode {
    padding: 0.8rem 0;
    margin-top: 1rem;
    margin-bottom: 1rem;
}

input {
    padding: 0.8rem;
    margin-top: 1rem;
    margin-bottom: 1rem;
}


.name-container {
    display: flex;
}

#message {
    margin-top: 1rem;
    font-weight: bold;
}

.modal {
    display: flex;
    align-items: center;
    justify-content: center;
    position: fixed;
    z-index: 999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
}

.modal.hidden {
    display: none;
}

.modal-content {
    background: white;
    padding: 2rem;
    border-radius: 1rem;
    width: 90%;
    max-width: 600px;
    position: relative;
}

.close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 1.5rem;
    cursor: pointer;
}

.form-row {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

input,select {
    flex: 1;
    border: 2px solid var(--primary-color);
}
input:placeholder-shown {
    font-style: italic;
}

.step {
    display: none;
}

.step:not(.hidden) {
    display: block;
}

.modal-content {
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
}
.step h2{
    color: var(--primary-color);
    font-size: 2rem;
font-family: "Abhaya", sans-serif;
}
.step button{
    background-color: var(--primary-color);
    color: white;
    font-size: 1rem;
    border: 2px solid var(--primary-color);
    border-radius: 0.5rem;
    padding: 0.5rem 2rem;
}
.step button:hover{
    background-color: white;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}
.answers-container{
    font-size: 1.2rem;
    display: flex;
    flex-direction: column;
    align-items: start;
    margin-bottom: 2rem;
}
.answers-container label {
    cursor: pointer;
}
.country-code {
        display: flex;
        gap: 0.5rem;
        width: 100%;
    }
    .close{
        font-size: 3rem;
        color: var(--primary-color);
        font-weight: 900;
    }
@media screen and (min-width: 768px) {
    .country-code {
        width: auto;
    }
    .close{
        font-size: 2rem;
    }
}