.join-form-container {
    display: flex;
    justify-content: space-between;
    height: 100vh;
    width: 100vw;
}

.join-form-wrapper {
    display: flex;
    border-radius: 8px;
    overflow: hidden;
    width: 100%;
}
.form-step {
    display: none;
    width: 100%;
    flex-direction: row;
    align-items: center;
}

.form-step.active {
    display: flex;
}

.form-image {
    width: 50%;
    height: 100%;
    background-size: cover;
    background-position: center;
}

.form-content {
    width: 50%;
    padding: 40px;
    background: white;
}

.form-content h2 {
    font-family: "Bricolage Grotesque", Sans-serif;
    margin-bottom: 10px;
    text-align: center;
}

.form-content p {
    text-align: center;
    font-size: 20px;
    margin-bottom: 20px;
    font-family: "Bricolage Grotesque", Sans-serif;
}

.form-group {
    position: relative;
    margin-bottom: 20px;
}

input {
    width: 100% !important;
    border: 1px solid #DADADA !important;
    border-radius: 10px !important;
    font-size: 16px !important;
    background-color: #fff !important;
    color: black !important;
    outline: none !important;
    transition: border 0.3s;
    padding : 20px 15px 5px 13px!important
}

textarea{
    width: 100% !important;
    border: 1px solid #DADADA !important;
    border-radius: 10px !important;
    font-size: 16px !important;
    background-color: #fff !important;
    color: black !important;
    outline: none !important;
    transition: border 0.3s;
    padding : 5px 0px 20px 10px !important;
}

textarea + label {
    position: absolute;
    top: 50%;
    left: 14px;
    transform: translateY(-50%);
    font-size: 16px;
    color: #aaa;
    transition: all 0.3s ease;
    pointer-events: none;
}

input + label {
    position: absolute;
    top: 50%;
    left: 14px;
    transform: translateY(-50%);
    font-size: 16px;
    color: #aaa;
    transition: all 0.3s ease;
    pointer-events: none;
}

input:focus,
input:not(:placeholder-shown) {
    border-color: #1a1a1a;
}

input:focus + label,
input+ label {
    top: 10px;
    font-size: 12px;
    color: #152F3E;
    font-weight: 600;
}


.next-step {
    width: fit-content !important;
    padding: 15px 40px !important;
    background-color: #152F3E !important;
    color: white !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    border: none !important;
    border-radius: 12px !important;
    transition: background 0.3s ease-in-out !important;
    float: right !important;
}
.prev-step {
    width: fit-content !important;
    padding: 15px 40px !important;
    background-color: #152F3E !important;
    color: white !important;
    font-size: 16px !important; 
    font-weight: 600 !important;
    border: none !important;
    border-radius: 12px !important;
    transition: background 0.3s ease-in-out !important;
    float: left !important;
}


.next-step:hover, .prev-step:hover {
    background-color: #000;
}
.form-steps{
    width: 50%;
    margin: 30px auto;
}
.check-group{
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    gap: 5px;
}
#label_privacy{
    margin-right: 10px;
    position: static !important;
    font-size: 12px;
}   
#privacy {
    width: fit-content !important;
    margin-top: -10px;
}
#label_marketing{
    margin-right: 10px;
    position: static !important;
    font-size: 12px;
}   
#marketing {
    width: fit-content !important;
    margin-top: -10px;
}
.registrati{
    background-color: #FBB268;
    color: #152F3E;
}
.link_join{
    color:  #152F3E;
    text-decoration: underline;
    font-weight: bold;
}
@media screen and (max-width:480px){
    .form-image{
        display: none;
    }
    .form-content{
        width: 100%;
    }
    .form-steps{
        width: 90%;
    }
    .prev-step{
        padding: 10px 15px !important;
    }
    .next-step{
        padding: 10px 15px !important;
    }
}