.sign_up_form {
    display: flex;
    font-size: 20px;
    padding: 20px;
    border-radius: 15px;
    width: 40%;
    margin: 20px auto;
    caret-color: auto;
}

.required {
    color: red;
    font-size: 12px;
}

.custom_sign_up_form {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
}

.writeInfo, .data_intake_guide {
    margin-bottom: 12px;
}

form {
    position: relative;
}

.error_message {
    font-size: 14px;
    color: red;
    position: absolute;
    top: -3.5rem;
    text-align: center;
    width: 100%;
}

.customer_data_errors > ul > li {
    position: absolute;
    top: -3rem;
    font-size: 14px;
    color: red;
}

.errorlist > li {
    position: fixed;
    top: 6rem;
    font-size: 14px;
    color: red;
    margin-bottom: 1rem;
}

.error_message::before {
    content: "⇒ ";
    font-size: 16px;
}

.infor {
    width: 50%;
}

.sign_up_h1 {
    position: fixed;
    top: 1.2rem;
    color: #FFFFFF;
    font-size: 20px;
    font-weight: bold;
    z-index: 2;
}

.form_container {
    width: 100%;
    height: 100%;
    backdrop-filter: blur(20px);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 3px 3px 15px 3px #80808066;
    background: #010E6A;
    color: #FFFFFF;
}

.custom {
    width: 100%;
}

.form_container .form-group {
    position: relative;
}

.sign_up, .sign_in {
    display: block;
    margin-left: 15px;
    margin-top: 3rem;
}

.customer-form {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.customer-form button {
    position: absolute;
    bottom: -15px;
}

.customer-form .form-group {
    margin-top: 2rem;
    width: 400px;
}

form .form-group, .role {
    margin-bottom: 30px;
    display: flex;
    flex-direction: column;
}

form .form-group {
    position: relative;
    border-bottom: 1px solid #80808066;
}

.form-group input {
    font-size: 14px;
    outline: none;
    border: none;
    width: 100%;
    height: 100%;
    padding: 5px;
    background: transparent;
    color: #FFFFFF;
}

.form-group input:focus~label,
.form-group input:valid~label {
    top: -10px;
}


/* Set transparent background for invalid input fields */

input[type=radio]:checked {
    border: 6px solid black;
}

.form-group label {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    font-size: 16px;
    font-weight: 500;
    pointer-events: none;
    transition: .3s ease;
}

.sign_in_group label {
    position: absolute;
    left: 0;
    top: -12px;
}

.form-group .icon {
    position: absolute;
    right: 0;
    font-size: 19px;
}

form button {
    width: 200px;
    padding: 5px;
    border: none;
    font-size: 1.2rem;
    font-weight: bolder;
    border-radius: 20px;
}

.contract_number-btn {
    width: 70px;
    font-size: 1rem;
}

.forget {
    font-size: 16px;
    margin-top: 10px;
}

label {
    margin-bottom: 5px;
}

.contract_number_form {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.contract_number_form input {
    appearance: none;
    outline: none;
    padding: 3px 5px;
    font-size: 16px;
    border-radius: 5px;
    width: 170px;
}

.form-check {
    font-size: 16px;
    margin-bottom: 1rem;
}

#queryset {
    width: 100%;
    display: flex;
    justify-content: center;
    font-size: 20px;
    gap: 10px;
    position: relative;
}

#queryset input {
    width: 50%;
    border-radius: 30px;
    padding: 8px;
    padding-left: 60px;
    font-size: 16px;
    outline: none;
    appearance: none;
    border: none;
    box-shadow: 0 0 10px 0px #80808066;
}

#queryset input:focus {
    box-shadow: 0 0 10px 0px #80808066;
    background-color: #c1c1c1;
    border: 1px solid #80808066;
}

#queryset button {
    width: 30px;
    position: absolute;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    left: 26%;
    top: 7%;
    background-color: transparent;
    border-right: 1px solid #80808066;
    border-radius: 0 0px 0px;
}

.not_found {
    width: 100%;
    text-align: center;
    font-size: 16px;
    color: red;
    margin-top: 10px;
}

@media screen and (max-width: 50rem) {
    /* Responsive styles for smaller screens */
    .sign_up_form {
        align-self: start;
        display: flex;
        flex-direction: column;
        width: 100%;
    }

    .infor {
        font-size: 16px;
        width: 100%;
        height: 50%;
        margin-bottom: 3rem;
    }

    .form_container {
        width: 100%;
        padding: 20px;
    }

    form button {
        width: 100%;
    }

    #queryset {
        justify-content: flex-start;
        margin: 10px;
    }

    #queryset label {
        display: none;
    }

    #queryset button {
        left: 2%;
    }

    #queryset input {
        width: 100%;
    }
}