:root {
    --text-default: #161616;
    --text-oncolor-primary: #fff;
    --button-background-primary-default: #1B8354;
    --button-background-neutral-hovered: #F3F4F6;
    --button-background-primary-pressed: #104631;
    --button-background-neutral-pressed: #E5E7EB;
    --background-primary-400: #54C08A;
    --background-neutral-100: #F3F4F6;
    --background-neutral-200: #ededed;
    --background-neutral-300: #D2D6DB;
    --background-neutral-400: #9DA4AE;
    --radius-sm: 4px;
    --spacing-xs: 4px;
    --spacing-md: 8px;
    --spacing-xl: 16px;
    --bs-primary: var(--button-background-primary-default);
    --bs-link-color: var(--bs-primary);
    --bs-link-hover-color: var(--button-background-primary-pressed);
    --bs-body-bg: var(--background-neutral-100);
    /* muneer */
    --muneer-color: #1B8354;
    --muneer-color-dark: #1B8354;
    --muneer-color-accent: #88D8AD;
    --muneer-overlay: #104631;
    --muneer-btn-color-hover: #1B8354;
    --muneer-btn-bg: #1B8354;
    --muneer-highlight-titles-color: #88D8AD;
    --muneer-highlight-links-color: #88D8AD;
    --muneer-reading-guide-bg: #1B8354;
    --muneer-highlight-hover-color: #88D8AD;
    --muneer-highlight-focus-color: #88D8AD;
    --muneer-tts-bg: #1B8354;
}

body {
    font-family: 'IBM Plex Sans Arabic', 'IBM Plex Sans', sans-serif;
    margin: 0;
    background-color: #f3f4f6;
    text-align: right !important;
}


/* Topbar */

.topbar {
    background-color: #f3f4f6;
    height: 40px;
    line-height: 40px;
    font-size: 14px;
    z-index: 1050;
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    overflow: clip;
    transition: height 0.25s ease;
    padding: 0 16px;
}

.topbar .infoContainer {
    display: flex;
    gap: 16px;
}

.topbar .textIcon {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    gap: var(--spacing-xs);
    border: unset;
    background-color: transparent;
    height: 40px;
}

.textIcon>i,
.generalInfo .textIcon>svg {
    padding: 0 1.25px;
}

.topbar .generalInfo .textIcon svg {
    color: #384250;
}

.topbar button.textIcon:hover {
    background-color: var(--background-neutral-200);
}

.topbar .dga-tab {
    position: absolute;
    left: 50%;
    transform: translate(-50%, 0);
    bottom: 4px;
    z-index: 10;
    cursor: pointer;
}

.topbar .dga-tab .textIcon {
    gap: 8px;
    height: 35px;
    background-color: #fff;
    border-radius: 0 0 16px 16px;
    display: flex;
    justify-content: center;
    box-shadow: 0px 3.288px 6.575px -1.644px rgba(16, 24, 40, 0.10), 0px 1.644px 3.288px -1.644px rgba(16, 24, 40, 0.06);
    padding: 0 16px;
    position: relative;
    white-space: nowrap;
}

.topbar .dga-tab .textIcon>.bigScreenText {
    display: inline-block;
}

.topbar .dga-tab .textIcon>.smallScreenText {
    display: none;
}

@media (max-width: 768px) {
    .topbar .dga-tab .textIcon>.bigScreenText {
        display: none;
    }
    .topbar .dga-tab .textIcon>.smallScreenText {
        display: inline-block;
    }
}

.topbar .dga-tab .toggleArrow {
    transition: transform 0.1s ease;
    transition-delay: 0.2s;
}

.topbar.dga-expanded .dga-tab .toggleArrow {
    transform: rotate(180deg);
}

.topbar .dga-content {
    width: 100vw;
    height: 100%;
    margin-right: -20px;
    padding: 16px;
    background-color: #fff;
    display: none;
    position: absolute;
    z-index: 5;
    top: -40px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    overflow: clip;
}

.topbar.dga-expanded .dga-content,
.topbar.dga-expanding .dga-content {
    display: block;
    height: fit-content;
}

.topbar.dga-expanding:not(.dga-expanded) .dga-content {
    height: 100%;
}

html[dir='ltr'] .topbar .dga-content {
    margin-right: unset;
    margin-left: -20px;
}

.saudi-security-notices-container {
    max-width: 1200px;
    margin: 0 auto;
    margin-top: 40px;
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.saudi-gov-security-card {
    background: #f3f4f6;
    border-radius: 12px;
    padding: 24px;
    flex: 1;
    min-width: 300px;
    display: flex;
    align-items: flex-start;
    gap: 16px;
    border: 1px solid #e8ecf0;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.saudi-gov-security-register {
    width: fit-content;
    margin: 8px auto;
    background-color: #f3f4f6;
    border-radius: 12px;
    padding: 8px 16px;
    border: 1px solid #e8ecf0;
    line-height: normal;
    text-align: center;
}

.saudi-security-icon-wrapper {
    background: linear-gradient(135deg, #1B8354, #1B8354);
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.saudi-security-svg-icon {
    width: 28px;
    height: 28px;
    fill: white;
}

.saudi-notice-content-block {
    flex: 1;
}

.saudi-notice-primary-heading {
    font-size: 16px;
    font-weight: 600;
    color: #212529;
    margin-bottom: 8px;
    line-height: normal;
}

.saudi-notice-description-text {
    font-size: 14px;
    color: #161616;
    line-height: 1.5;
}

.saudi-domain-highlight-text {
    color: #1B8354;
    font-weight: 600;
}

@media (max-width: 768px) {
    .saudi-security-notices-container {
        flex-direction: column;
        gap: 8px;
    }
    .saudi-gov-security-card {
        text-align: center;
        padding: 16px;
        gap: 8px;
    }
    .saudi-security-icon-wrapper {
        width: 30px !important;
        height: 30px !important;
        padding: 4px;
    }
    .saudi-notice-primary-heading {
        font-size: 16px;
        line-height: normal;
    }
    .saudi-notice-description-text {
        font-size: 13px;
    }
}

.saudi-security-verification-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #10b981;
    color: white;
    border-radius: 50%;
    width: 16px;
    height: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 8px;
    font-weight: bold;
}

.saudi-security-icon-wrapper {
    position: relative;
    background: linear-gradient(135deg, #1B8354, #1B8354);
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}


/* Navbar */

.nav.navbar {
    height: 85px;
    background-color: white;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    z-index: 1040;
    transition: all 0.2s ease;
}


/* Hide dropdowns */

.nav .navbar-collapse.show {
    overflow-y: auto;
    min-height: 35svh;
}

.nav .navbar-collapse {
    justify-content: space-between;
}

.navbar-brand {
    padding: 0;
    margin: 0;
    height: 100%;
}

.navbar-brand img {
    height: 75px;
    width: auto;
}

.nav-link,
.nav-link:hover,
.nav-link:active,
.nav-link::selection {
    color: #000;
    white-space: nowrap;
}

#searchDropdown form {
    flex-wrap: nowrap;
}

.textIcon {
    display: flex;
    align-items: center;
    gap: 4px;
}

.nav-item>.nav-link::before {
    display: none;
    content: "";
    position: absolute;
    height: 6px;
    width: calc(100% - var(--spacing-md) * 2);
    z-index: 2;
    border-radius: 9999px;
    background-color: var(--background-primary-400);
    bottom: 0;
}

.navbar-toggler {
    border: 1px solid rgba(0, 0, 0, .1);
    padding: 0.25rem 0.75rem;
    font-size: 1.25rem;
    line-height: 1;
    background-color: transparent;
    border-radius: 0.25rem;
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 0.25rem rgba(27, 131, 84, 0.25);
}

.navbar-toggler-icon {
    display: inline-block;
    width: 1.5em;
    height: 1.5em;
    vertical-align: middle;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%280, 0, 0, 0.55%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 100%;
}

button {
    background: none;
    border: none;
}

.nav-item:hover>.nav-link::before,
.nav-sideItem:hover>.nav-link::before {
    display: block;
    background-color: var(--background-neutral-400);
}

.nav-item.focus>.nav-link::before,
.nav-item>.nav-link.focus::before {
    display: block;
    background-color: #1F2A37;
}

.nav-item.active>.nav-link::before {
    display: block;
    background-color: var(--background-primary-400);
}

.nav-item.active * {
    color: #fff;
}


/* Navbar for large screens */

@media (min-width: 992px) {
    .nav-item {
        position: static;
        height: 85px;
        flex-direction: row;
        align-items: center;
        display: flex;
        gap: var(--spacing-xs);
        border-radius: var(--radius-sm);
        fill: currentColor;
    }
    .nav-item:hover {
        background-color: var(--button-background-neutral-hovered);
    }
    .nav-item.focus {
        background-color: #E5E7EB;
    }
    .nav-item.active {
        background-color: var(--button-background-primary-default);
    }
    .nav-item>.nav-link {
        position: relative;
        display: flex;
        height: 100%;
        align-items: center;
        justify-content: center;
        gap: var(--spacing-xs);
        z-index: 2;
    }
    .nav-item.center {
        position: relative;
    }
    .nav-item.center .dropdown-fullwidth {
        width: fit-content;
        left: 50%;
        right: auto;
        padding: 8px;
    }
    html[dir="ltr"] .nav-item.center .dropdown-fullwidth {
        right: 50%;
        left: auto;
    }
}

@media (min-width: 992px) and (max-width: 1500px) {
    .navbar-nav .nav-item>.nav-link {
        padding: var(--spacing-md) var(--spacing-md) !important;
    }
    .textIcon>.label {
        display: none;
    }
}


/* Dropdown Fix - Override the transform issue */

@media (min-width: 992px) {
    .dropdown-fullwidth {
        transform: translateY(0) !important;
        top: 100% !important;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.3s ease, visibility 0.3s ease;
    }
    .dropdown-fullwidth.show {
        transform: translateY(0) !important;
        opacity: 1;
        visibility: visible;
    }
    .nav-item.center .dropdown-fullwidth {
        left: 50%;
        transform: translateX(-50%) !important;
    }
    html[dir="ltr"] .nav-item.center .dropdown-fullwidth {
        left: auto;
        right: 50%;
        transform: translateX(50%) !important;
    }
    .nav-item.center .dropdown-fullwidth.show {
        transform: translateX(-50%) !important;
    }
    html[dir="ltr"] .nav-item.center .dropdown-fullwidth.show {
        transform: translateX(50%) !important;
    }
}


/* SEU edit */

.sideItem:not(.login) .textIcon>.label {
    display: none !important;
}

.sideItems .textIcon>i {
    font-size: 20px;
}


/* Navbar for small screens */

@media (max-width: 991.98px) {
    .topbar .infoContainer:not(.dga-tab) {
        display: none !important;
    }
    .navbar-collapse {
        display: none;
    }
    .navbar-collapse.show {
        display: block !important;
    }
    .navbar-collapse.collapsing {
        display: block;
        transition: height 0.35s ease;
    }
    .navbar,
    .nav-item:not(.sideItem) {
        height: unset !important;
    }
    .nav-item {
        position: relative;
    }
    .navbar .container-fluid {
        transition: all 0.2s ease;
    }
    .navbar .container-fluid.nav-expanded {
        padding-bottom: 80px;
    }
    .nav:not(.nav-tabs) .nav-item>.nav-link {
        position: relative;
        padding: var(--spacing-md) var(--spacing-xl) !important;
        display: flex;
        height: 100%;
        align-items: center;
        gap: var(--spacing-xs);
        border-radius: var(--radius-sm);
    }
    .nav:not(.nav-tabs) .nav-link:hover {
        background-color: var(--button-background-neutral-hovered);
    }
    .nav:not(.nav-tabs) .nav-item.focus>.nav-link,
    .nav:not(.nav-tabs) .nav-link.focus {
        background-color: #E5E7EB;
    }
    .nav:not(.nav-tabs) .nav-item.active>.nav-link,
    .nav:not(.nav-tabs) .nav-link.active {
        background-color: #1B8354;
    }
    .nav:not(.nav-tabs) .nav-item:not(.sideItem)>.nav-link::before {
        width: 6px;
        height: calc(100% - var(--spacing-md) * 2);
        z-index: 2;
        border-radius: 9999px;
        bottom: unset;
        right: 0;
    }
    html[dir="ltr"] .nav:not(.nav-tabs) .nav-item:not(.sideItem)>.nav-link::before {
        right: unset;
        left: 0;
    }
    .nav-item.sideItem>.nav-link::before,
    .nav-item>.nav-link::before {
        width: calc(100% - var(--spacing-md) * 4);
    }
    .sideItems {
        position: absolute;
        bottom: 0;
        right: 0;
        left: 0;
        background-color: var(--background-neutral-100);
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 0px !important;
        opacity: 0;
        transition: opacity 0.2s ease;
    }
    .navbar-collapse.show .sideItems {
        opacity: 1;
    }
    .sideItems .nav-item.sideItem .dropdown-fullwidth {
        background-color: var(--background-neutral-100);
        box-shadow: 0px 4px 4px rgb(0 0 0 / 5%);
    }
    #searchDropdown {
        min-width: 300px;
    }
}

.footer {
    background-color: #074D31;
}

.footerBottom {
    display: flex;
    justify-content: space-between;
}

.footerBottom .footerCopyright .links {
    display: flex;
    flex-wrap: wrap;
}

@media (max-width: 768px) {
    .footerBottom {
        display: flex;
        justify-content: center;
        margin: auto;
    }
    .footerBottom .footerCopyright .links {
        justify-content: center;
    }
}

.footerLogos {
    width: 25%;
    min-width: 200px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
}

.footerLinksList {
    list-style: none;
    padding: 0;
    margin: 0 16px;
}

.footerLinksList * {
    color: var(--text-oncolor-primary);
    text-decoration: none;
}

.footerLinksList>li {
    padding: 4px 0;
}

.footerLinksList a:hover {
    text-decoration: underline;
}

.footer .social-icons,
.footer .accessibility-icons,
.footer .mobile-app-icons {
    display: flex;
    gap: var(--spacing-md);
    margin: 8px 16px 32px 16px;
    flex-wrap: wrap;
}

.footer .mobile-app-icons .icon svg {
    color: #fff;
}

.footer .mobile-app-icons .icon:hover svg {
    fill: #fff;
    color: #161616;
}

.footer .social-icons .icon,
.footer .accessibility-icons .icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border: 1px solid #fff;
    border-radius: 4px;
    padding: 4px;
}

.footer .social-icons .icon svg,
.footer .accessibility-icons .icon svg {
    width: 16px;
    height: 16px;
}