.auth-form-container {
    background: #fff;
    border: none;
    border-radius: 0;
    padding: 0; 
    max-width: 100%;
}
.auth-form-container .form-title h1 {
    text-align: center;
    margin: 0 0 45px 0;
}
.page-id-10 .auth-form-container .form-title p ,
.page-id-10 .auth-form-container .form-title p span a{
    font-size: 12pt;
}
.auth-form-container label a ,
.auth-form-container  p a{
    font-size: 12pt;
    text-decoration: underline;
}
.auth-form-container span ,
.auth-form-container ul li,
.auth-form-container  p{
    font-size: 12pt;
}
.form-control-wrapper {
    margin-bottom: 30px;
}
.auth-form-container input,
.auth-form-container select {
    width: 100%;
    padding: 10px 17px;
    margin-bottom: 0;
    height: 50px;
    font-size: 14pt;
    line-height: 1.3em;
    background: transparent;
    color: #464A4B;
}

.auth-form-container #knowledge_rating_group {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}
.auth-form-container .form-control-wrapper #data-consent {
    position: relative;
    display: flex;
    align-items: center;
    gap: 50px;
}
.auth-form-container .form-control-wrapper #data-consent .tooltip {
    visibility: hidden;
    opacity: 0;
    transform: translateY(10%);
    transition: 0.3s ease-in-out;
    position: absolute;
    top: auto;
    bottom: 30px;
    left: 27%;
    background: #000;
    color: #fff;
    font-size: 12pt;
    padding: 5px 10px;
    border-radius: 5px;
}
.auth-form-container .form-control-wrapper #data-consent:hover .tooltip {
   visibility: visible;
   opacity: 1;
   transform: none;
}
.auth-form-container .form-control-wrapper #data-consent .tooltip::before {
    border: 7px solid transparent;
    bottom: 9px;
    content: " ";
    height: 0;
    left: -7px;
    position: absolute;
    width: 0;
    border-left-width: 0;
    border-right-color: #000;
}
.auth-form-container .form-control-wrapper ul {
    padding-left: 18px;
}
input[type=date], input[type=email], input[type=number], input[type=password], input[type=search], input[type=tel], input[type=text], input[type=url], select, textarea {
    border-radius: 12px;
    border: 1px solid #EBEBEB;
}
input[type=date]::placeholder, 
input[type=email]::placeholder, 
input[type=number]::placeholder, 
input[type=password]::placeholder, 
input[type=search]::placeholder, 
input[type=tel]::placeholder, 
input[type=text]::placeholder, 
input[type=url]::placeholder,
textarea::placeholder {
    font-size: 12pt;
    letter-spacing: 0;
    font-weight: 400;
    color: #999999;
}
select:invalid {
    color: #999999; /* Placeholder color */
}

select option {
    color: #999999; /* Normal options color */
}

select option[disabled] {
    color: #999; /* Placeholder color in dropdown */
}
.auth-form-container span.req-field {
    color: red;
}
.auth-form-container label {
    font-weight: 400;
    font-size: 12pt;
    margin-bottom: 10px;
    display: block;
    line-height: 1.3rem;
}
/*
.auth-form-container .password-wrap {
    margin-top: 15px;
}*/
#auth-form-container-login .password-wrap {
    margin-bottom: 15px;
}
.auth-form-container .forgot-password a {
    font-weight: 500;
    color: #464A4B;
}
.auth-form-container button {
    padding: 10px 20px;
    border: 2px solid var(--e-global-color-secondary);
    cursor: pointer;
    background-color: var(--e-global-color-secondary);
    width: 100%;
    margin: 0px 0 20px 0;
    border-width: 2px; 
    text-transform: uppercase;
    font-size: 16pt;
    font-weight: 600;
    letter-spacing: 0.3px;
    border-radius: 15px;
}
.auth-form-container button:hover {
    background: transparent;
    border-color: var(--e-global-color-secondary);
    color: var(--e-global-color-secondary);
    border-radius: 15px;
}
.auth-form-container button + p {
    text-align: center;
    margin: 0 !important;
}
.auth-form-container button + p > a {
    text-decoration: underline;
    color: var(--e-global-color-primary);
    font-weight: 600;
    text-decoration: underline;
    transition: all 0.3s ease-in-out;
}
.auth-form-container button + p > a:hover {
    color: var(--e-global-color-secondary);
}
.auth-form-container #custom-login-form .error {
    margin-top: 15px;
}
.auth-form-container .error {
    color: red;
    font-size: 0.9em;
}
.password-field {
    position: relative;
}
.password-field input {
    width: 100%;
    padding-right: 40px;
}
.toggle-password {
    position: absolute;
    right: 10px;
    top: 57%;
    transform: translateY(-57%);
    cursor: pointer;
}
.eye-icon {
    width: 20px;
    height: 20px;
    fill: #888;
}
.auth-form-container select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url('data:image/svg+xml;utf8,<svg fill="none" stroke="gray" stroke-width="2" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path stroke-linecap="round" stroke-linejoin="round" d="M19 9l-7 7-7-7"/></svg>');
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 16px;
    font-size: 14px;
    font-weight: 400;
    color: #464A4B;
}
.auth-form-container .checkbox-group > label {
    display: inline-flex;
    align-items: center;
    width: 49%;
}
.auth-form-container .checkbox-group.terms > label {
    gap: 10px;
    width: 20%;
    align-items: center;
    margin: 0;
}
.auth-form-container .checkbox-group.field_of_work #other_field_of_work_wrap {
    display: inline-flex;
}
.auth-form-container .checkbox-group.field_of_work #other_field_of_work_wrap input[type="text"] {
    height: 35px;
    border-radius: 5px;
    padding: 0 10px;
}
.auth-form-container .form-control-wrapper .field-note {
    font-size: 12pt;
    margin-top: 5px;
}
.auth-form-container input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    width: 24px;
    height: 24px;
    min-width: 24px;
    border: 2px solid #ebebeb;
    border-radius: 4px !important;
    background-color: #fff;
    cursor: pointer;
    padding: 0;
    margin: 0 10px 0 0;
}

.auth-form-container input[type="checkbox"]:checked {
    background-color: var(--e-global-color-primary) !important;
    border-color: var(--e-global-color-primary) !important;
    outline: none !important;
}

.auth-form-container input[type="checkbox"]:checked::after {
    content: '';
    display: block;
    width: 6px;
    height: 10px;
    position: relative;
    left: 7px;
    top: 4px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}
.auth-form-container .checkbox-group > label a {
    color: var(--e-global-color-primary);
    font-weight: 600;
    font-style: italic;
    text-decoration: none;
  }
.auth-form-container .forgot-password a {
    text-decoration: underline;
    transition: all 0.3s ease-in-out;
}
.auth-form-container .forgot-password a:hover {
    color: var(--e-global-color-primary);
}
.checkbox-group label:last-child {
    margin-bottom: 0;
}
.information_sources_control .checkbox-group {
    margin-top: 30px;
    margin-bottom: 15px;
}
.auth-form-container .consent-checkbox label{
    margin-bottom: 15px;
}
.auth-form-container .terms-controls-group a {
    transition:  all 0.3s ease-in-out;
}
.auth-form-container .terms-controls-group a:hover {
    color: var(--e-global-color-primary) !important;
}
.step-2 .step2-titles {
    margin-bottom: 45px;
    text-align: center;
}
.step-2 .desc {
    padding: 15px;
    border-radius: 12px;
    background: #FAF9F5;
    margin-bottom: 30px;
}
#resend-otp-login ,
#resend-otp{
    display: block;
    text-decoration: underline;
    color: var(--e-global-color-primary);
    transition: all 0.3s ease-in-out;
    text-align: right;
    margin-top: 15px;
    font-weight: 600;
    font-size: 14pt;
    line-height: 1.3em;
}
#resend-otp-login:hover ,
#resend-otp:hover{
    color: var(--e-global-color-secondary);
}
.survey-section h6 {
    font-size: 14pt;
    margin-bottom: 30px;
    line-height: 1.15em;
    font-weight: 600;
    color: #464A4B;
}
.auth-form-container .success {
    font-size: 20pt;
    line-height: 1.15em;
    font-weight: 600;
    padding: 2em;
    background-color: #8BC34A;
    display: block;
    color: #fff;
    border-radius: 8px;
    position: relative;
    text-align: center;
}
.auth-form-container .success::before {
    content: "";
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" fill="%23ffffff" viewBox="0 0 24 24"><path d="M9 16.17L4.83 12 3.41 13.41 9 19 21 7 19.59 5.59z"/></svg>');
    background-repeat: no-repeat;
    background-position: center;
    background-size: 24px 24px;
    position: relative;
    display: inline-block;
    vertical-align: middle;
    width: 34px;
    height: 34px;
    border: 1.5px solid #fff;
    border-radius: 50%;
    margin-right: 15px;
}
#other_reason_wrap {
    margin-bottom: 30px;
}
.auth-form-container button {
    margin-bottom: 0;
}

.form-control-wrapper .radio-group label {
    display: flex;
    align-items: center;
    gap: 10px;
}
.form-control-wrapper .field-note {
    font-size: 12pt;
    margin-top: 5px;
}
.form-control-wrapper input[type="radio"] {
    width: 20px;
    height: 16px;
}
@media (max-width: 1200px) {
    .page-id-10 .auth-form-container .form-title h1 {
        font-size: 26pt;
    }
}
@media (max-width: 767px) {
    .auth-form-container .form-title h1 {
        margin: 0 0 15px 0;
    }
    .page-id-10 .auth-form-container .form-title h1 {
        font-size: 22pt;
    }
    .step-2 .step2-titles {
        margin-bottom: 15px;
    }    
    .step-2 .step2-titles h2 {
        /* font-size: 26px;
        line-height: 36px; */
    }
    .step-2 .desc {
        margin-bottom: 15px;
    }
    .step-2 .desc p {
        font-size: 12pt;
        line-height: 1.3em;
    }
    .auth-form-container button {
        font-size: 12pt;
        margin: 15px 0 10px 0 !important;
    }
    .form-control-wrapper {
        margin-bottom: 15px;
    }
    .auth-form-container input, .auth-form-container select {
        height: 35px;
        border-radius: 6px !important; 
        padding: 0 10px;
        font-size: 10pt !important;
    }
    .auth-form-container input::placeholder ,
    .auth-form-container textarea::placeholder {
        font-size: 10pt !important;
    }
    .auth-form-container select {
        padding-right: 30px;
    }
    .auth-form-container label ,
    .auth-form-container .forgot-password a,
    .auth-form-container button + p, 
    .auth-form-container button + p > a,
    .auth-form-container .checkbox-group > label a,
    .information_sources_control textarea,
    textarea,
    .auth-form-container label .info-sheet-link{
        font-size: 12pt !important;
        line-height: 1.3em !important;
    }
    /*.auth-form-container .password-wrap {
        margin-top: 10px;
    }*/
    .auth-form-container h3 {
        font-size: 16pt;
    }
    .auth-form-container input[type="checkbox"] {
        width: 18px;
        height: 18px;
        min-width: 18px;
    }
    .auth-form-container input[type="checkbox"]:checked::after {
        width: 5px;
        height: 10px;
        left: 5px;
        top: 2px;
    }
    .information_sources_control .checkbox-group {
        margin-top: 10px;
        margin-bottom: 10px;
    }
    .auth-form-container .consent-checkbox label{
        margin-bottom: 10px;
    }
    .auth-form-container .terms-controls-group .checkbox-group label input[type="checkbox"] {
        margin-top: 5px;
    }
    #other_reason_wrap {
        margin-bottom: 15px;
    }
    .auth-form-container .terms-controls-group .checkbox-group > label {
        align-items: flex-start;
    }
    .survey-section h6 {
        font-size: 14pt;
        line-height: 1.15em;
        margin-bottom: 15px;
    }
    .auth-form-container .success {
        font-size: 12pt;
        padding: 15px;
    }
    .auth-form-container .success::before {
        width: 24px;
        height: 24px;
        background-size: 18px;
        margin-right: 10px;
    }
    .auth-form-container .checkbox-group > label {
        width: 100%;
    }
    .auth-form-container .checkbox-group.field_of_work > label {
        order: 0;
    }
    
    .checkbox-group.field_of_work {
        display: flex;
        flex-direction: column;
    }
    
    .auth-form-container .checkbox-group.field_of_work > label:nth-last-child(2) {
        order: 1;
    }
    .auth-form-container .checkbox-group.field_of_work #other_field_of_work_wrap {
        height: 45px;
    }
}

/* Light grey background for the autocomplete results */
.select2-dropdown {
    background-color: #f5f5f5; /* light grey */
}

/* Style the "Organisation Not Found" text */
.select2-results__options .gov_not_found label {
    font-weight: 500;
    font-style: italic;
    padding: 6px 8px;
}
.select2-results__options .gov_not_found label input[type=checkbox] {
    margin: 6px 8px;
}