#mobile
{
    width: 100%;
    display: none;
    flex-direction: column;
    justify-content: start;
    align-items: start;
    gap: 20px;
    padding: 20px;
    --height: 40px;
    --border-radius: 10px;
}


h1
{
    margin-top: 10px;
    width: 100%;
    text-align: center;
    font-size: 2em;
    font-weight: 600;
    height: fit-content;
}
h2
{
    font-size: 1.3em;
    font-weight: 500;
}


form
{
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: start;
    align-items: start;
    gap: 20px;
}

form #step1,
form #step2,
form #step3
{
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: start;
    align-items: start;
    gap: 30px;
}

label, label a
{
    display: flex;
    justify-content: start;
    align-items: center;
    gap: 5px;
    font-size: 1em;
}
input[type="text"],
input[type="date"],
input[type="tel"],
input[type="email"],
input[type="password"]
{
    font-size: inherit;
    width: 100%;
    height: var(--height);
    border-radius: var(--border-radius);
    outline: none;
    border: none;
    padding: 0px 14px;
    box-shadow: 5px 5px 20px rgba(0,0,0,0.05);
}
*::placeholder
{
    opacity: 0.5;
}
textarea
{
    resize: none;
    width: 100%;
    border-radius: var(--border-radius);
    outline: none;
    border: none;
    padding: 14px;
    overflow-y: auto;
    overflow-x: hidden;
    box-shadow: 5px 5px 20px rgba(0,0,0,0.05);
}
input[type="tel"]
{
    border-top-left-radius: 0px;
    border-bottom-left-radius: 0px;
}
.rowinput, .colinput, .phone, .birthdate
{
    width: 100%;
    display: flex;
    justify-content: start;
    align-items: start;
    gap: 14px;
}
.colinput, .phone, .birthdate
{
    flex-direction: column;
}
.colinput
{
    gap: 8px;
}
.phoneWrap
{
    width: 100%;
    display: flex;
    justify-content: stretch;
    align-items: start;
    gap: 0;
    height: var(--height);
}
.phoneIndicatif
{
    width: 15%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: rgb(127, 127, 127);
    border-top-left-radius: var(--border-radius);
    border-bottom-left-radius: var(--border-radius);
}
.phoneIndicatif img
{
    height: 16px;
    border-radius: 2px;
}
.phoneIndicatif p
{
    font-size: 10px;
    color: var(--black);
}
.phoneNumero
{
    flex-grow: 1;
    height: 100%;
    border-top-left-radius: 0;
}
.phoneNumero input
{
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}
#serviceSelection
{
    display: grid;
    grid-template-columns: repeat(2,1fr);
    grid-gap: 10px;
    width: 100%;
}
.serviceRadio
{
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: start;
    align-items: start;
    border-radius: 10px;
    border: solid 2px var(--white);
    background-color: var(--white);
    box-shadow: 2px 2px 20px rgba(0,0,0,0.05);
    position: relative;
    min-height: 40px;
}
.serviceRadio .headerImg
{
    width: 100%;
    height: 20px;
    background-image: url();
}
.serviceRadio .serviceInfos
{
    padding: 10px;
}
.serviceRadio input
{
    /* display: none; */
    opacity: 0;
    width: 1px;
    height: 1px;
}
.activeService
{
    border: solid 2px var(--primary);
}
.serviceSelected
{
    position: absolute;
    width: fit-content;
    top: 0;
    right: 0px;
    background-color: var(--primary);
    padding: 0px 6px;
    border-top-right-radius: 6px;
    border-bottom-left-radius: 10px;
    height: 20px;
    display: flex;
    justify-content: start;
    align-items: center;
    gap: 2px;
    font-weight: 400;
    font-size: 0.8em;
    color: var(--white);
    text-transform: uppercase;
    transition: 0.2s;
    opacity: 0;
}
.serviceOn
{
    opacity: 1;
}


.btnGroup
{
    width: 100%;
    display: flex;
    align-items: center;
}
.btnNext
{
    justify-content: end;
}
.btnFull
{
    justify-content: space-between;
}
.btnGroup button
{
    height: 36px;
    width: fit-content;
    display: flex;
    justify-content: center;
    align-items: center;
    border: none;
    border-radius: 10px;
    padding: 0px 16px;
    font-weight: 500;
    box-shadow: 2px 2px 20px rgba(0,0,0,0.05);
    cursor: pointer;
}
.btnNext button,
.btnFull button:nth-child(2)
{
    background-color: var(--primary);
    color: var(--white);
    font-weight: 500;
}
.btnFull button:nth-child(1)
{
    background-color: var(--white);
    color: rgb(110, 110, 110);
}

@media (max-width: 850px) {
    #mobile
    {
        display: flex;
    }
}