/*
    /assets/css/app.css
*/

.form-res,
.form-res__group {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    flex-wrap: wrap;
    width: 100%;
}

.form-res {
    max-width: 800px;
    margin: 0 auto;
}

.form-res__group {
    margin: 0 0 1rem 0;
}

.form-res__group--item {
    width: 100%;
    max-width: 22rem;
    margin: 0 1rem 0 0;
}

.form-res__group--item + .form-res__group--item {
    margin: 0 0 0 1rem;
}

.form-res__group--item span input,
.form-res__alone span input {
    border: 2px solid #ff8f0a;
    border-radius: 25px;
    color: #023264;
    font-weight: bold;
    text-align: center;
    padding: 0.5rem 1rem !important;
}

.form-res__group--item span input::placeholder,
.form-res__alone span input::placeholder {
    color: #023264;
}

.form-res__group--item span + span {
    margin-top: 1rem;
}

.form-res__title {
    margin: 0 0 0 1rem !important;
    padding: 0 !important;
    color: #023264;
    font-weight: bold;
    font-size: 18px;
}

.form-res__title--center {
    padding: 0 !important;
    color: #023264;
    font-size: 18px;
    font-weight: 400;
    text-align: center;
    margin: 1rem 0 1rem 0 !important;
}

.form-res__alone,
.form-res__reset,
.form-res__submit {
    width: 100%;
    max-width: 46rem;
}

.form-res__reset {
    text-align: end;
}

.form-res__alone span select {
    border: 2px solid #ff8f0a;
    border-radius: 25px;
    color: #023264;
    font-weight: bold;
    text-align: center;
    padding: 0.5rem 1rem !important;
    margin: 0 0 1rem 0;
}

.form-res__reset button {
    border: 2px solid #ff8f0a;
    background-color: #ff8f0a;
    color: #ffffff;
    font-size: 16px;
    font-weight: 400;
    padding: 0.5rem 1rem;
    display: none;
    transition: all .2s ease-in-out;
}

.select-container {
    margin: 0 1rem 0 0; 
    width: 100%; 
    max-width: 22rem;
}

.select-container + .select-container {
    margin: 0 0 0 1rem; 
    width: 100%;
    max-width: 22rem;
}

.form-res__reset button:hover {
    background-color: #ffffff;
    color: #ff8f0a;
}

.form-res__submit {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: -5rem;
}

.form-res__submit input[type="submit"] {
    border: 2px solid #023264;
    background-color: #023264;
    color: #ffffff;
    font-size: 16px;
    font-weight: 400;
    padding: 0.5rem 1rem;
    transition: all .2s ease-in-out;
}

.form-res__submit input[type="submit"]:hover {
    background-color: #ffffff;
    color: #023264;
}

@media screen and (max-width: 600px) {
    .form-res__group--item,
    .select-container {
        margin: 0 0 0 0 !important;
    }

    .form-res__group--item + .form-res__group--item {
        margin: 1rem 0 0 0 !important;
    }

    .form-res__alone,
    .form-res__reset,
    .form-res__submit {
        max-width: 22rem;
    }

    .form-res__submit {
        justify-content: flex-start;
        margin: 0;
    }
}