body {
    height: 100%;
}

.content-wrapper {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

main {
    width: 100%;
    background-color: #FFFFFF;
    display: flex;
    flex: 1;
}

main .clinic-signup-content {
    width: 65%;
    padding: 40px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}
section{
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 20px;
} 
section h3 {
    font-weight: 700;
    font-size: 24px;
}
section form {
    display: flex;
    flex-direction: column;
    gap: 25px;
    width: 342px;
}

section form .all-signup-inputs {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
}
section form .input-divider {
    display: flex;
    align-items: flex-start;
    gap: 5px;
}

section form > .all-signup-inputs .input-wrapper, section form .input-divider > .input-wrapper {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    position: relative;
}

input::placeholder {
    font-size: 14px;
}

section form .input-divider > .input-wrapper.dropdown svg.arrow-icon {
    position: absolute;
    right: 5px;
    left: unset;
}

section form > .input-wrapper.profile-picture {
    display: flex;
    justify-content: center;
    align-items: center;
}

section form > .input-wrapper.profile-picture label {
    width: fit-content;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 5px;
    position: relative;
}

section form > .input-wrapper.profile-picture label img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

section form > .input-wrapper.profile-picture input {
    background-color: unset;
    box-shadow: unset;
    border: unset;
    width: unset;
    display: none;
}

section form > .input-wrapper.profile-picture svg.edit-btn {
    position: absolute;
    right: 0;
    bottom: 0;
}

section form > .input-wrapper.profile-picture label span{
    font-size: 12px;
    font-weight: 600;
    line-height: 16.8px;
    text-align: center;
    color: var(--sub-heading-color);
}

section form > .input-wrapper > svg,
section form > .input-wrapper > .password-input-div > svg:first-child {
    position: absolute;
    left: 10px;
    top: 7px;
}

section form > .input-wrapper.dropdown svg.arrow-icon {
    position: absolute;
    right: 10px;
    left: unset;
}


section form > .input-wrapper > input,
section form > .input-wrapper > .password-input-div input,
section form > .input-wrapper > textarea {
    padding-left: 15px !important;
    text-transform: capitalize;
}
/* section form > .input-wrapper > #dob{
    text-transform: uppercase !important;
} */

section form > .input-wrapper > input.dropdown-input {
    padding-right: 32px;
}

section form > .input-wrapper > div {
    width: 100%;
    position: relative;
}

section form > .input-wrapper.forgot-password {
    align-items: flex-end;
}

section form > .input-wrapper > div {
    position: relative;
}

section form > .input-wrapper > div > svg{
    position: absolute;
    top: 15px;
    right: 15px;
}

.input-wrapper.dropdown .dropdown-menu.show {
    display: block;
    padding: 0;
    width: 220px;
    border: 1px solid #ffffff;
    box-shadow: 0px 0px 20px 0px #D0D1D780;
    border-radius: 8px;
    max-height: 294px;
    overflow: auto;
    background-color: #ffffff;
}

.input-wrapper.dropdown .dropdown-menu.show li{
    overflow: hidden;
    width: 220px !important;
}

.input-wrapper.dropdown .dropdown-menu.show li:hover{
    background-color: var(--primary-color);
    color: #ffffff;
}

.input-wrapper.dropdown .dropdown-menu.show li:not(li:last-child){
    overflow: hidden;
    border-bottom: 2px solid #F5F6F8;
}

.input-wrapper.dropdown .dropdown-menu.show li:first-child{
    border-radius: 8px 8px 0px 0px;
}

.input-wrapper.dropdown .dropdown-menu.show li:last-child{
    border-radius: 0px 0px 8px 8px;
}

.input-wrapper.dropdown .dropdown-menu.show > .dropdown-item:focus, .dropdown-item:hover, .dropdown-item:active {
    color: #ffffff;
    background-color: var(--primary-color);
}

.input-wrapper.dropdown .dropdown-menu.show > .dropdown-item > label {
    height: 32px;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 10px;
}

.input-wrapper.dropdown .dropdown-menu.show > .dropdown-item > label > input {
    appearance: none;
    border: 1px solid var(--primary-color);
    width: 14px;
    height: 14px;
    content: none;
    outline: none;
    margin: 0;
    border-radius: 4px;
    padding: unset;
}

.input-wrapper.dropdown .dropdown-menu.show > .dropdown-item:hover > label > input {
    background-color: #ffffff;
}

.input-wrapper.dropdown .dropdown-menu.show > .dropdown-item > label > input[type="checkbox"]:checked,
.input-wrapper.dropdown .dropdown-menu.show > .dropdown-item > label > input[type="radio"]:checked {
    border: 1px solid var(--primary-color);
    background-color: var(--primary-color);
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3e%3cpath fill='none' stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='M6 10l3 3l6-6'/%3e%3c/svg%3e");
}

.input-wrapper.dropdown .dropdown-menu.show > .dropdown-item > label span {
    font-size: 14px;
    font-weight: 400;
    line-height: 16.8px;
    color: var(--sub-heading-color);
}

.input-wrapper.dropdown .dropdown-menu.show > .dropdown-item:hover span {
    color: #ffffff;
}

.input-wrapper > textarea {
    height: 90px;
    resize: none;
} 

.input-wrapper .dropdown-input {
    padding-right: 35px;
    cursor: pointer;
}

.banner > .main-content > div.content > div.body > section > div.form-footer {
    border-top: unset;
    justify-content: center;
    margin-top: unset;
    padding: unset;
    background-color: unset;
}

.form-footer .main-footer-content {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.form-footer .main-footer-content > p {
    text-align: center;
    font-size: 12px;
    font-weight: 600;
    line-height: 18.6px;
    margin: unset;
}

.form-footer .main-footer-content > p a{
    color: var(--primary-color) !important;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    line-height: 21.6px;
}  

.form-footer .main-footer-content > button {
  width: 100%;
  padding: 7px !important;
  border: none !important;
  border-radius: 50px !important;
  color: #ffffff !important;
  background-color: var(--primary-color) !important;
}

.form-footer .main-footer-content.next-footer {
    flex-direction: row;
}

.clinic-signup-img {
    display: flex;
    width: 35%;
}

.clinic-signup-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.link-question {
    color: #585858 !important;
    font-size: 14px !important;
}

.hospital-checkbox-terms-and-conditions .form-check-input:checked {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}
.hospital-checkbox-terms-and-conditions span {
    font-size: 12px;
    font-weight: 400;
    line-height: 14.8px;
    color: var(--sub-heading-color);
}
.hospital-checkbox-terms-and-conditions a {
    color: var(--primary-color);
    text-decoration: underline;
    font-weight: 600;
    font-size: 12px;
}



@media screen and (max-width: 768px) {
    .clinic-signup-img {
        display: none;
    }
    .afya-logo {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    section {
        width: 100%;
    }
    section form {
        width: 100%;
    }

    main .clinic-signup-content {
        width: 100%;
        padding: 20px;
    }
}

[lang="ar"]{
    .iti__flag-container{
        left: 0 !important;
        right: unset !important;
    }
    .iti__selected-flag {
        border-radius: 8px 0px 0px 8px !important;
        direction: ltr;
        gap: 3px;
    }
    #PersonalNumber {
        text-align: left;
        padding-right: unset !important ;
    }

    .form-check {
        display: flex;
        gap: 30px;
        align-items: flex-start;
    }

}