:root {
    --main-color: #1B8354;
    --text-color: #161616;
    --muneer-color: #1b8354;
    --muneer-color-dark: #1b8354;
    --muneer-color-accent: #1ebb74;
    --muneer-btn-color-hover: #1ebb74;
    --muneer-btn-bg: #1b8354;
    --muneer-color-transparent: #ddd;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: "IBM Plex Sans Arabic", sans-serif;
    color: var(--text-color);
    font-weight: 400;
}
a {
    text-decoration: unset;
    &:not([href]):not([class]),
    &:hover:not([href]):not([class]) {
        color: var(--text-color);
    }
}
p, h1, h2, h3, h4, h5, h6 {
    margin-top: unset;
    margin-bottom: unset;
}
ul {
    margin: 0;
    padding: 0;
    list-style: none;
}
button {
    all: unset;
    cursor: pointer;
}
input:focus-visible {
    outline: unset;
}
header {
    .top-bar {
        padding-block: 6px;
        background-color: #F3F4F6;
        border-bottom: 1px solid #D2D6DB;
        .top-bar-content {
            display: flex;
            flex-wrap: wrap;
            align-items: center;
            column-gap: 10px;
            > img {
                height: 14px;
            }
            p {
                font-size: 14px;
                font-weight: 500;
            }
            button {
                all: unset;
                display: flex;
                cursor: pointer;
                align-items: center;
                column-gap: 4px;
                span {
                    font-size: 14px;
                    color: var(--main-color);
                    transition: all .3s ease-in-out;
                }
                img {
                    height: 11.67px;
                }
                &:hover span {
                    color: #54C08A;
                    text-decoration: underline;
                }
                &:active span {
                    color: #88D8AD;
                    text-decoration: underline;
                }
            }
        }
        .top-bar-collapse {
            padding-block: 40px 32px;
            ul {
                gap: 16px;
                li {
                    gap: 24px;
                    img {
                        width: 48px;
                        height: 48px;
                    }
                    h4 {
                        font-size: 18px;
                        font-weight: 600;
                        line-height: 24px;
                        span {
                            color: var(--main-color);
                        }
                    }
                    p {
                        color: #384250;
                        margin-top: 12px;
                        line-height: 24px;
                    }
                }
            }
            .gov-info {
                gap: 24px;
                margin-top: 32px;
                padding: 8px 24px;
                border-radius: 8px;
                background-color: #FFF;
                img {
                    width: 20.986px;
                    height: 30.574px;
                }
                div {
                    gap: 12px;
                    a {
                        color: var(--main-color);
                        text-decoration: underline;
                        transition: color .3s ease-in-out;
                        &:hover {
                            color: #54C08A;
                        }
                        &:active {
                            color: #88D8AD;
                        }
                    }
                }
            }
            @media screen and (max-width: 767px) {
                padding-block: 24px;
                ul li {
                    gap: 16px;
                    img {
                        width: 32px;
                        height: 32px;
                    }
                    h4 {
                        font-size: 16px;
                        line-height: 20px;
                    }
                    p {
                        line-height: 20px;
                    }
                }
                .gov-info {
                    margin-top: 24px;
                    padding: 8px 16px;
                    gap: 16px;
                    div {
                        gap: 8px;
                    }
                }
            }
        }
    }
    .navbar {
        padding-block: 17px;
        .navbar-brand {
            padding: unset;
            margin-left: unset;
            margin-inline-end: 20px;
            &:focus-visible {
                outline: unset;
            }
            img {
                height: 66px;
                aspect-ratio: 7/6;
            }
        }
        .nav-item {
            a {
                color: #161616;
                border-radius: 4px;
                position: relative;
                align-items: center;
                justify-content: center;
                transition: background-color .3s ease-in-out;
                &::after {
                    content: '';
                    position: absolute;
                    bottom: 0;
                    left: 50%;
                    width: 72%;
                    height: 6px;
                    border-radius: 100px;
                    transform: translateX(-50%);
                    transition: background-color .3s ease-in-out;
                }
                &:hover {
                    background-color: #f3f4f6;
                    &::after {
                        background-color: #9da4ae;
                    }
                }
                &:active {
                    background-color: #e5e7eb;
                    &::after {
                        background-color: #1f2a37;
                    }
                }
            }
            .nav-link {
                height: 72px;
                display: flex;
                font-weight: 500;
                padding: 8px 16px;
            }
            .item-action {
                padding: 24px;
                cursor: pointer;
                display: flex;
                align-items: center;
                justify-content: center;
                img {
                    width: 24px;
                    height: 24px;
                }
            }
            @media screen and (max-width: 991px) {
                .nav-link {
                    height: 50px;
                }
                button {
                    padding: 16px;
                    img {
                        width: 20px;
                        height: 20px;
                    }
                }
            }
        }
    }
    @media screen and (min-width: 1400px) {
        .container {
            max-width: 1376px !important;
        }
    }
}
.page-header {
    padding-block: 40px;
    background-color: #F3FCF6;
    h2 {
        font-size: 30px;
        font-weight: 700;
        line-height: 38px;
    }
}
.page-content {
    padding-block: 40px;
    > img {
        width: 583px;
        height: 360px;
        object-fit: cover;
        border-radius: 8px;
        object-position: center;
        margin-inline-start: 32px;
    }
    form {
        width: 100%;
        .nav-pills {
            position: relative;
            margin-bottom: 8px;
            &::after {
                content: '';
                left: 0;
                bottom: 0;
                width: 100%;
                height: 3px;
                position: absolute;
                border-radius: 100px;
                background-color: #D2D6DB;
            }
            li button {
                padding: 16px;
                font-size: 14px;
                font-weight: 500;
                line-height: 20px;
                color: #384250;
                position: relative;
                border-radius: 4px;
                background-color: unset !important;
                &::after {
                    content: '';
                    left: 50%;
                    bottom: 0;
                    z-index: 1;
                    height: 3px;
                    position: absolute;
                    border-radius: 100px;
                    width: calc(100% - 32px);
                    transform: translateX(-50%);
                    background-color: transparent;
                }
                &:hover {
                    background-color: #F3F4F6 !important;
                    &::after {
                        background-color: var(--text-color);
                    }
                }
                &:active {
                    background-color: #E5E7EB !important;
                    &::after {
                        background-color: var(--text-color);
                    }
                }
                &.active {
                    font-weight: 700;
                    color: var(--text-color);
                    &::after {
                        background-color: var(--main-color);
                    }
                }
            }
        }
        .tab-content {
            .form__container {
                flex-direction: column;
            }
            .form__group__custom {
                display: flex;
                margin-top: 24px;
                flex-direction: column;
                label {
                    font-size: 14px;
                    font-weight: 600;
                    line-height: 20px;
                    margin-bottom: 8px;
                    .required {
                        color: #B42318;
                        margin-inline-end: 4px;
                    }
                }
                input {
                    width: 100%;
                    height: 40px;
                    border: unset;
                    outline: unset;
                    line-height: 24px;
                    border-radius: 4px;
                    padding-inline: 16px;
                    background-color: transparent;
                }
                .input-wrapper {
                    position: relative;
                    .toggle-password {
                        top: 50%;
                        left: 16px;
                        right: unset;
                        width: 20px;
                        height: 20px;
                        cursor: pointer;
                        position: absolute;
                        transform: translateY(-50%);
                        &.en-dir {
                            left: unset;
                            right: 16px;
                        }
                        &.ar-dir {
                            left: 16px;
                            right: unset;
                        }
                    }
                }
                .input-wrapper,
                .iti.iti--allow-dropdown {
                    position: relative;
                    border-radius: 4px;
                    border: 1px solid #9DA4AE;
                    transition: border-color .3s ease-in-out;
                    &::after {
                        content: "";
                        left: 50%;
                        width: 0%;
                        bottom: 0;
                        height: 2px;
                        position: absolute;
                        background-color: #000;
                        transform: translateX(-50%);
                        border-bottom-left-radius: 4px;
                        border-bottom-right-radius: 4px;
                        transition: all 0.3s ease-in-out;
                    }
                    &:focus-within::after {
                        width: 100%;
                    }
                    &:has(input:hover) {
                        border-color: #384250;
                    }
                    &:has(input:disabled),
                    &:has(input.disabled) {
                        border-color: #9DA4AE;
                        input {
                            background-color: #F3F4F6;
                        }
                    }
                    &:has(input:active),
                    &:has(input:focus) {
                        border-color: #9DA4AE;
                    }
                }
                .form__link {
                    font-size: 14px;
                    margin-top: 14px;
                    line-height: 20px;
                    color: var(--main-color);
                    text-decoration: underline;
                    transition: color .3s ease-in-out;
                    &:hover {
                        color: #54C08A;
                    }
                    &:active {
                        color: #88D8AD;
                    }
                }
            }
            .have__you__account {
                font-size: 14px;
                color: #6C737F;
                margin-top: 8px;
                line-height: 20px;
                a {
                    color: var(--main-color);
                    margin-inline-start: 8px;
                    text-decoration: underline;
                    transition: color .3s ease-in-out;
                    &:hover {
                        color: #54C08A;
                    }
                    &:active {
                        color: #88D8AD;
                    }
                }
            }
            .terms-conditions {
                margin-top: 8px;
                p {
                    color: #6C737F;
                    font-size: 14px;
                    line-height: 20px;
                    a {
                        color: var(--main-color);
                        text-decoration: underline;
                        transition: color .3s ease-in-out;
                        &:hover {
                            color: #54C08A;
                        }
                        &:active {
                            color: #88D8AD;
                        }
                    }
                }
            }
            .input-field {
                display: flex;
                column-gap: 10px;
                input {
                    width: 64px;
                    height: 64px;
                    outline: none;
                    font-size: 24px;
                    font-weight: 600;
                    text-align: center;
                    border-radius: 8px;
                    font-size: 1.125rem;
                    color: var(--text-color);
                    border: 1px solid #9DA4AE;
                    transition: border-color .3s ease-in-out;
                    &::-webkit-inner-spin-button,
                    &::-webkit-outer-spin-button {
                        display: none;
                    }
                    &:hover {
                        border-color: #384250;
                    }
                    &:disabled,
                    &.disabled {
                        border-color: #9DA4AE;
                        background-color: #F3F4F6;
                    }
                    &:active,
                    &:focus {
                        border-color: #9DA4AE;
                    }
                }
            }
            .main__btn,
            .btn__primary__custom {
                height: 40px;
                color: #FFF;
                margin-top: 16px;
                font-weight: 500;
                width: fit-content;
                border-radius: 4px;
                padding-inline: 16px;
                background-color: var(--main-color);
                transition: background-color .3s ease-in-out;
                &:hover {
                    background-color: #166A45;
                }
                &:active {
                    background-color: #104631;
                }
            }
        }
        .form__title,
        .modal__body__custom__title,
        .modal__body__custom__subtitle {
            font-size: 14px;
            font-weight: 600;
            line-height: 20px;
            margin-bottom: 8px;
            text-align: justify;
        }
        .modal__body__custom__title {
            font-weight: 700;
        }
    }
}
footer {
    color: #FFF;
    padding-block: 40px;
    background-color: #074D31;
    .footer-links {
        gap: 16px;
        padding-block: unset;
        flex-direction: column;
        > li {
            width: 100%;
            h5 {
                font-size: 16px;
                font-weight: 500;
                margin-bottom: 8px;
                padding-bottom: 8px;
                border-bottom: 1px solid #ffffff4d;
            }
            .links {
                gap: 8px;
                display: flex;
                flex-direction: column;
                a {
                    color: #FFF;
                    font-size: 14px;
                    transition: all .3s ease-in-out;
                    svg {
                        transform: scaleX(-1);
                        margin-inline-start: 4px;
                    }
                    &:hover {
                        color: #fffc;
                        text-decoration: underline;
                        svg path {
                            fill: #fffc;
                        }
                    }
                    &:active {
                        color: #FFFFFF99;
                        text-decoration: underline;
                        svg path {
                            fill: #FFFFFF99;
                        }
                    }
                }
            }
            .links-icons {
                gap: 8px;
                display: flex;
                align-items: center;
                a {
                    width: 32px;
                    height: 32px;
                    display: flex;
                    cursor: pointer;
                    border-radius: 4px;
                    padding-inline: 12px;
                    align-items: center;
                    justify-content: center;
                    border: 1px solid #ffffff4d;
                    transition: all .3s ease-in-out;
                    img,
                    svg {
                        width: 20px;
                        height: 20px;
                    }
                    &:hover {
                        border-color: #ffffff33;
                        background-color: #ffffff33;
                    }
                    &:active {
                        border-color: #ffffff66;
                        background-color: #ffffff66;
                    }
                }
            }
            &:last-of-type ul {
                gap: 16px;
                display: flex;
                flex-direction: column;
            }
        }
        @media screen and (min-width: 1200px) {
            gap: 24px;
            flex-direction: row;
            padding-block: 16px 40px;
            > li {
                width: calc(95% / 3);
                &:last-of-type ul {
                    gap: 32px;
                }
            }
        }
    }
    .footer-info {
        gap: 24px;
        margin-top: 48px;
        padding-block: 16px;
        > div > div {
            &:first-of-type {
                gap: 8px;
                display: flex;
                align-items: center;
                a {
                    color: #fff;
                    font-size: 14px;
                    line-height: 20px;
                    text-decoration: underline;
                    &:hover {
                        color: #fffc;
                    }
                    &:active {
                        color: #FFFFFF99;
                    }
                }
            }
            &:last-of-type {
                h6 {
                    font-weight: 600;
                    margin-top: 24px;
                }
                span {
                    margin-top: 16px;
                }
                h6,
                span {
                    display: block;
                    font-size: 14px;
                }
            }
        }
        .footer-logos {
            gap: 16px;
            img {
                width: 100px;
                height: 42px;
            }
        }
        @media screen and (max-width: 991px) {
            gap: 16px;
            margin-top: 24px;
            padding-block: 8px 0px;
            > div div:last-of-type h6 {
                margin-top: 16px;
            }
        }
    }
}
::placeholder {
    color: #6C737F;
}
@media screen and (min-width: 1400px) {
    .page-header .container,
    .page-content.container,
    footer .container {
        max-width: 1280px !important;
    }
}
#muneer-action-content-scaling {
    @media screen and (max-width: 1200px) {
        display: none;
    }
}
.muneer-aside-is-open #muneer-sidebar.muneer-sidebar-left,
.muneer-off-canvas-is-open-left #muneer-sidebar.muneer-sidebar-left {
    &:lang(ar) {
        left: 0;
    }
    &:lang(en) {
        right: 0;
        left: unset;
    }
}
#muneer-hide-btn {
    display: none !important;
}
.muneer-trigger-button-box {
    &:lang(ar) {
        left: 35px !important;
        right: unset;
    }
    &:lang(en) {
        right: 35px !important;
        left: unset;
    }
}
body.muneer-theme-light{
    .muneer-palette-box .muneer-palette-expand,
    .muneer-palette-box .muneer-palette-reset {
        color: black;
    }
}
#muneer-popup-footer{
    display: none !important;
}
#muneer-trigger-button{
    &:hover{
        border: 1px solid var(--muneer-color);
    }
}
.iti__country-list {
    left: 50%;
    transform: translateX(-50%);
}