
:root {
    --zoom: 1;
    --bs-primary-color: #F3C044;
    --bs-primary-color-gradient: #705200;
    --bs-secondary-color: #6c757d;
    --bs-success-color: #198754;
    --bs-info-color: #0dcaf0;
    --bs-warning-color: #ffc107;
    --bs-danger-color: #dc3545;
    --bs-light-color: #f8f9fa;
    --bs-dark-color: #212529;
    --primary-bg-color: #DBDBDB;
    --primary-card-color: #FFFFFF99;
    --primary-font-color: #000000;
    --lines-color: #D69D00;
    --default-text-color: #000000;
    --kpi-value-color: #D69D00;
    --other-font-color: #D69D00;
    --other-border-color: #29292999;
    --default-card-color: rgba(255,255,255,0.6);
    --scroll-color: #160D0D;
    --inner-scroll-color: #E69F00;
    --chartone-primary-color: #D75900;
    --chartone-secondary-color: #1F4C3A;
    --chartone-primarytext-color: #000000;
    --chartone-secondarytext-color: #FFFFFF;
    --org-chart-bg-color: #FFFFFF;
    --org-chart-border: #e3e3e3;
    --main-font: "Tajawal";
}

.dark-theme {
    --bs-primary-color: #E69F00;
    --bs-primary-color-gradient: #705200;
    --bs-secondary-color: #6c757d;
    --bs-success-color: #198754;
    --bs-info-color: #0dcaf0;
    --bs-warning-color: #ffc107;
    --bs-danger-color: #dc3545;
    --bs-light-color: #f8f9fa;
    --bs-dark-color: #212529;
    --primary-bg-color: #1E1C1C;
    --primary-card-color: #160D0D;
    --primary-font-color: #FFF;
    --lines-color: #8B6000;
    --default-text-color: #FFFFFF;
    --kpi-value-color: #D69D00;
    --other-font-color: #E69F00;
    --other-border-color: #DBDBDB;
    --default-card-color: #000;
    --chartone-primarytext-color: #FFFFFF;
    --chartone-secondarytext-color: #FFFFFF;
    --org-chart-bg-color: #000000;
    --org-chart-border: #636363;
}

html {
    overflow: hidden;
}

html, body {
    font-family: var(--main-font), Helvetica, Arial, sans-serif !important;
    width: calc(100vw / var(--zoom));
    height: calc(100vh / var(--zoom));
    background: var(--primary-bg-color);
    overflow: hidden;
    color: var(--default-text-color);
}

.e-control, .e-css, .e-error {
    font-family: var(--main-font), Helvetica, Arial, sans-serif !important;
}

.arabic {
    direction: rtl;
    text-align: right;
}

a, p, span, h1, h2, h3, h4, h5, h6 {
    color: var(--default-text-color);
}

.page-component {
    flex: 1;
}

.component-box {
    background: var(--default-card-color);
    border-radius: 20px;
}

.screen-content {
    padding: 24px 24px 0 24px;
    background: var(--primary-bg-color);
    width: calc(100vw / var(--zoom));
    height: calc(100vh / var(--zoom));
    overflow: hidden;
}

.pt-0 {
    padding-top: 0px;
}

.screen-content-data.flex-layout {
    display: flex;
    direction: ltr;
}

.screen-content-data {
    width: calc(100vw / var(--zoom) - 48px);
    height: calc(100% - 77px);
}

.screen-content-footer {
    width: 100%;
    height: 77px;
    direction: ltr;
}

a, .btn-link {
    color: #006bb7;
}

a {
    text-decoration: none;
}

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

.np {
    padding: 0px;
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

.content {
    padding-top: 1.1rem;
}

h1:focus {
    outline: none;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid #e50000;
}

.validation-message {
    color: #e50000;
}

.blazor-error-boundary {
    background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9IjIzNSIgeT0iNTEiIHdpZHRoPSI1NiIgaGVpZ2h0PSI0OSIvPjwvY2xpcFBhdGg+PC9kZWZzPjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMCkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yMzUgLTUxKSI+PHBhdGggZD0iTTI2My41MDYgNTFDMjY0LjcxNyA1MSAyNjUuODEzIDUxLjQ4MzcgMjY2LjYwNiA1Mi4yNjU4TDI2Ny4wNTIgNTIuNzk4NyAyNjcuNTM5IDUzLjYyODMgMjkwLjE4NSA5Mi4xODMxIDI5MC41NDUgOTIuNzk1IDI5MC42NTYgOTIuOTk2QzI5MC44NzcgOTMuNTEzIDI5MSA5NC4wODE1IDI5MSA5NC42NzgyIDI5MSA5Ny4wNjUxIDI4OS4wMzggOTkgMjg2LjYxNyA5OUwyNDAuMzgzIDk5QzIzNy45NjMgOTkgMjM2IDk3LjA2NTEgMjM2IDk0LjY3ODIgMjM2IDk0LjM3OTkgMjM2LjAzMSA5NC4wODg2IDIzNi4wODkgOTMuODA3MkwyMzYuMzM4IDkzLjAxNjIgMjM2Ljg1OCA5Mi4xMzE0IDI1OS40NzMgNTMuNjI5NCAyNTkuOTYxIDUyLjc5ODUgMjYwLjQwNyA1Mi4yNjU4QzI2MS4yIDUxLjQ4MzcgMjYyLjI5NiA1MSAyNjMuNTA2IDUxWk0yNjMuNTg2IDY2LjAxODNDMjYwLjczNyA2Ni4wMTgzIDI1OS4zMTMgNjcuMTI0NSAyNTkuMzEzIDY5LjMzNyAyNTkuMzEzIDY5LjYxMDIgMjU5LjMzMiA2OS44NjA4IDI1OS4zNzEgNzAuMDg4N0wyNjEuNzk1IDg0LjAxNjEgMjY1LjM4IDg0LjAxNjEgMjY3LjgyMSA2OS43NDc1QzI2Ny44NiA2OS43MzA5IDI2Ny44NzkgNjkuNTg3NyAyNjcuODc5IDY5LjMxNzkgMjY3Ljg3OSA2Ny4xMTgyIDI2Ni40NDggNjYuMDE4MyAyNjMuNTg2IDY2LjAxODNaTTI2My41NzYgODYuMDU0N0MyNjEuMDQ5IDg2LjA1NDcgMjU5Ljc4NiA4Ny4zMDA1IDI1OS43ODYgODkuNzkyMSAyNTkuNzg2IDkyLjI4MzcgMjYxLjA0OSA5My41Mjk1IDI2My41NzYgOTMuNTI5NSAyNjYuMTE2IDkzLjUyOTUgMjY3LjM4NyA5Mi4yODM3IDI2Ny4zODcgODkuNzkyMSAyNjcuMzg3IDg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}

    .blazor-error-boundary::after {
        content: "An error has occurred."
    }

.darker-border-checkbox.form-check-input {
    border-color: #929292;
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
    color: var(--bs-secondary-color);
    text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
    text-align: start;
}




/* ====== GLOBAL LAYOUT ====== */
body {
    margin: 0;
    background-color: #DBDBDB;
    font-family: var(--main-font), sans-serif;
}

.main-wrapper {
    display: flex;
    height: calc(100vh / var(--zoom));
    overflow: hidden;
}

/* ====== SIDEBAR ====== */
.sidebar {
}

.sidebar-logo {
    text-align: center;
    padding: 20px;
    background-color: #fff;
    border-bottom: 1px solid #ddd;
}

    .sidebar-logo img {
        width: 100px;
    }

.sidebar-inner {
    flex: 1;
    overflow-y: auto;
    padding: 20px 0;
}

.sidebar-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

    .sidebar-menu .menu-title {
        font-weight: bold;
        color: #444;
        font-size: 16px;
        padding: 10px 30px;
        margin-bottom: 10px;
    }

    .sidebar-menu .menu-item {
        display: block;
        align-items: center;
        padding: 10px 3px;
        text-decoration: none;
        font-size: 15px;
        border-right: 4px solid transparent;
        transition: all 0.3s ease;
    }

fle {
    width: 40px;
    height: 40px;
    opacity: 1;
    top: 517px;
    left: 1821px;
}

.sidebar-menu .menu-item:hover,
.sidebar-menu .menu-item.active {
    /* gold tone */
    /* color: var(--default-txt-color); */
}

/* ====== HEADER ====== */
.header {
    height: 70px;
    background-color: #fff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 30px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    position: fixed;
    top: 0;
    left: 280px;
    right: 0;
    z-index: 101;
}

.header-left img {
    width: 70px;
}

.header-center {
    flex: 1;
    display: flex;
    justify-content: center;
}

.input-group {
    position: relative;
    width: 40%;
}

.input-icon-addon {
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    color: #777;
}

.input-group input {
    width: 100%;
    padding: 10px 10px 10px 35px;
    border-radius: 20px;
    border: 1px solid #ccc;
    background-color: #f7f7f7;
    outline: none;
}

.header-right {
    display: flex;
    align-items: center;
}

.lang-options span {
    cursor: pointer;
    font-weight: 600;
    color: #444;
}

.theme-icon {
    font-size: 20px;
    cursor: pointer;
}

/* ====== PAGE WRAPPER ====== */
.page-wrapper {
    margin-left: 280px;
    padding-top: 70px;
    flex: 1;
    overflow-y: auto;
}

.content.container-fluid {
    padding: 20px;
}
/*Home*/

.main-screen-card {
    height: 168px;
    margin: 0;
    background-color: var(--primary-card-color);
    border-radius: 20px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    padding: 16px 32px;
    font-family: var(--main-font), sans-serif;
    position: relative;
}


    .main-screen-card .top-part {
        display: flex;
        justify-content: flex-end;
        align-items: flex-start;
        gap: 20px;
        direction: ltr;
        flex: 1;
    }

.lang-options.home span {
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    padding: 4px 10px;
    border-radius: 6px;
    color: #333;
    background-color: transparent;
    transition: all 0.3s ease;
}


.theme-toggle.home .theme-icon {
    font-size: 18px;
    cursor: pointer;
    color: #444;
    transition: color 0.3s ease;
}

    .theme-toggle.home .theme-icon:hover {
        color: #000;
    }


.main-screen-card .screen-content-content {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1;
}


.main-screen-card .main-logo img {
    height: 105px;
    width: auto;
}

.main-screen-card .middle-part {
    display: flex;
    align-items: center;
    flex: 2;
    text-align: center;
}

.main-screen-card .screen-title {
    font-size: 40px;
    font-weight: 700;
    color: var(--primary-font-color);
    width: 100%;
    flex: 1;
}

.menu-content {
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 40px 0;
    border-radius: 12px;
    direction: ltr;
    flex: 1;
    display: flex;
    flex-direction: row-reverse !important;
}

    .menu-content.ltr {
        flex-direction: row-reverse !important;
    }

.first-part,
.second-part {
    display: flex;
    gap: 30px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.menu-card {
    background: var(--primary-card-color);
    border-radius: 10px;
    padding: 21px 0px;
    text-align: center;
    height: 140px;
    cursor: pointer;
    min-width: calc(33.3% - 17px);
    width: calc(33.3% - 50px);
}

.menu-icon img {
    margin-bottom: 10px;
    width: 51.516769px;
    height: 40.2590446472168px;
    opacity: 1;
}

.menu-title {
    display: block;
    font-size: 30px;
    font-weight: 700;
    color: var(--primary-font-color);
}

.right-arrow, .left-arrow {
    cursor: pointer;
    width: 300px;
    align-items: center;
    display: flex;
}


.arrow1, .arrow2 {
    opacity: 0.6;
    transition: opacity 0.3s;
    display: block;
    margin: 0 auto;
}

    .arrow1:hover, .arrow2:hover {
        opacity: 1;
    }

/*Screen footer*/
.screen-footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0;
    height: 77px;
    color: white;
}

.right-footer-part {
    background: linear-gradient(180deg, var(--bs-primary-color) 0%, var(--bs-primary-color-gradient) 100%);
    min-width: 20px;
    height: 77px;
    border-top-left-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.right-footer-text {
    font-weight: 700;
    font-size: 30px;
    color: var(--primary-font-color);
    text-align: center;
    display: flex;
    line-height: 1;
}

.left-footer-part {
    display: flex;
    gap: 50px;
    flex-grow: 1;
    justify-content: flex-start;
    align-items: center;
    background: var(--primary-card-color);
    height: 77px;
    padding-left: 60px;
    border-radius: 0 20px 0 0;
}

.left-footer-content {
    display: flex;
    align-items: baseline !important;
    gap: 12px;
    min-width: 25%;
}

.footer-text {
    /*margin-left: 0px !important;*/
    font-weight: 400;
    font-size: 18px;
    color: var(--primary-font-color);
    opacity: 0.8;
    flex: none;
}
.sidebar-footer .footer-text {
    font-size: 12px;
}

.first-footer-value {
    font-weight: 500;
    font-size: 30px;
    color: var(--other-font-color);
    line-height: 1;
    flex: none;
}

.main-screen-container {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.menu-items-card {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 24px;
    max-width: 1308px;
}

.screen-details-content {
    display: flex;
    justify-content: space-between;
    margin-bottom: 24px;
    overflow: hidden;
}




.left-details-part {
    display: flex;
    gap: 50px;
    flex-grow: 1;
    justify-content: flex-end;
    align-items: center;
    background: var(--primary-card-color);
    height: 168px;
    border-radius: 0 20px 20px 0;
    padding-left: 50px;
    box-shadow: -14px 0px 20px 0px rgba(0, 0, 0, 0.2);
}


.left-details-content {
    border-right: 2px solid var(--lines-color);
    width: 20%;
}

    .left-details-content:last-child {
        border: none;
    }


.details-text {
    font-weight: 400;
    font-size: 30px;
    line-height: 100%;
    text-align: center;
    display: block;
    width: 187px;
}

    .details-text span,
    .details-text b,
    .details-text strong {
        color: #b68a1f;
        font-weight: bold;
    }


.right-details-part {
    background: var(--primary-card-color);
    width: 359px;
    height: 168px;
    border-radius: 20px 0 0 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-right: 1px solid var(--lines-color);
}

span.right-details-text {
    font-weight: 900;
    font-size: 30px;
    line-height: 100%;
    text-align: center;
    width: 270px;
    height: 72px;
    opacity: 1;
}

span.population-value {
    color: var(--other-font-color);
    font-weight: 800;
}
/* ========================================
   TOP BAR STYLES
   ======================================== */

.top-bar {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-bottom: 2px solid #d4af37;
    padding: 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.top-bar-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 24px;
    max-width: 100%;
    gap: 20px;
}

/* Left Section */
.top-bar-left {
    display: flex;
    align-items: center;
    gap: 15px;
}

.sidebar-toggle-btn {
    background: transparent;
    border: none;
    font-size: 24px;
    color: #333;
    cursor: pointer;
    padding: 8px;
    border-radius: 6px;
    transition: all 0.3s ease;
}

    .sidebar-toggle-btn:hover {
        background: rgba(212, 175, 55, 0.1);
        color: #d4af37;
    }

.top-bar-logo {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 45px;
    width: auto;
    object-fit: contain;
}

/* Center Section */
.top-bar-center {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.page-title {
    font-size: 20px;
    font-weight: 700;
    color: #2c3e50;
    margin: 0;
    font-family: 'Cairo', 'Segoe UI', sans-serif;
}

.breadcrumb-nav {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    color: #666;
    position: relative;
}

.dropdown-btn {
    background: transparent;
    border: 1px solid #ddd;
    padding: 6px 12px;
    border-radius: 6px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    color: #333;
    transition: all 0.3s ease;
    font-family: inherit;
}

    .dropdown-btn:hover {
        background: rgba(212, 175, 55, 0.1);
        border-color: #d4af37;
    }

.dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 8px;
    background: white;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    min-width: 200px;
    z-index: 1001;
    overflow: hidden;
}

.dropdown-item {
    display: block;
    padding: 10px 16px;
    color: #333;
    text-decoration: none;
    transition: all 0.2s ease;
    border-bottom: 1px solid #f0f0f0;
}

    .dropdown-item:last-child {
        border-bottom: none;
    }

    .dropdown-item:hover {
        background: rgba(212, 175, 55, 0.1);
        color: #d4af37;
    }

.breadcrumb-sep {
    color: #d4af37;
    font-weight: bold;
}

.breadcrumb-text {
    color: #666;
}

/* Right Section */
.top-bar-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.header-controls {
    display: flex;
    align-items: center;
    gap: 12px;
}

.lang-toggle,
.theme-toggle {
    display: flex;
    align-items: center;
}

.lang-btn,
.theme-btn {
    background: transparent;
    border: 1px solid #ddd;
    padding: 8px 16px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    color: #333;
    transition: all 0.3s ease;
    font-family: inherit;
}

    .lang-btn:hover,
    .theme-btn:hover {
        background: rgba(212, 175, 55, 0.1);
        border-color: #d4af37;
        color: #d4af37;
    }

    .lang-btn.active {
        background: linear-gradient(135deg, #d4af37 0%, #f4e4b8 100%);
        border-color: #d4af37;
        color: white;
        font-weight: 600;
    }

    .theme-btn i {
        font-size: 18px;
    }

.organization-logo {
    padding-left: 15px;
    border-left: 2px solid #ddd;
}

.emblem-img {
    height: 50px;
    width: auto;
    object-fit: contain;
}

/* ========================================
   SIDEBAR STYLES
   ======================================== */

.sidebar {
    width: 380px;
    min-width: 380px;
    max-width: 380px;
    overflow-y: auto;
    transition: all 0.3s ease;
    height: calc((100vh / var(--zoom)) - 77px);
    margin-right: 24px;
    margin-left: 0;
}

    .sidebar.collapsed {
        width: 80px;
    }

.sidebar-inner {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding-top: 0;
    padding-bottom: 0;
}

/* Logo Section */
.sidebar-logo-section {
    text-align: center;
    padding: 0;
    background: var(--primary-bg-color);
}

.sidebar-main-logo {
    width: 100%;
    max-width: 100%;
    height: auto;
    object-fit: contain;
}

.sidebar.collapsed .sidebar-main-logo {
    max-width: 50px;
}

/* Welcome Section */
.welcome-section {
    padding-bottom: 20px;
    padding-top: 0;
    text-align: center;
    background: var(--primary-bg-color);
}

.welcome-text {
    font-family: var(--main-font);
    font-weight: 300;
    font-size: 28px;
    line-height: 100%;
    text-align: center;
}

.sidebar.collapsed .welcome-text {
    font-size: 12px;
}

/* Menu Section */
.menu-section {
    flex: 1;
    overflow-y: auto;
    padding: 15px 0;
}

.menu-header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    background: linear-gradient(90deg, #d4af37 0%, #f4e4b8 100%);
    font-weight: 700;
    font-size: 15px;
    text-align: right;
    border-radius: 8px;
    margin: 0 10px 15px 10px;
    color: #fff;
    box-shadow: 0 2px 4px rgba(212, 175, 55, 0.3);
}

.menu-header-icon {
    font-size: 20px;
}

.sidebar.collapsed .menu-header-text {
    display: none;
}

/* Menu Items */
.sidebar-menu {
    list-style: none;
    padding: 0;
    margin: 0;
    overflow-y: auto;
    background: var(--primary-bg-color);
    flex: 1;
}

.menu-item {
    margin: 0;
    position: relative;
}

.menu-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 20px;
    text-decoration: none;
    color: #444;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
}

    .menu-link:hover {
    }

.menu-item.active > .menu-link .menu-text {
    font-weight: 700;
}

.menu-icon {
    font-size: 22px;
    min-width: 22px;
    text-align: center;
    color: #666;
    transition: all 0.3s ease;
}

.menu-item.active .menu-icon {
    color: var(--bs-primary-color);
    transform: scale(1.1);
}

.menu-text {
    flex: 1;
    font-family: var(--main-font);
    font-weight: 400;
    font-size: 24px;
    line-height: 100%;
    direction: ltr;
    text-align: left;
}

.submenu-arrow {
    font-size: 16px;
    transition: transform 0.3s ease;
    color: #999;
}

.menu-item.expanded .submenu-arrow {
    /* transform: rotate(180deg); */
}

.sidebar.collapsed .menu-text,
.sidebar.collapsed .submenu-arrow {
    display: none;
}

/* Submenu */
.submenu {
    list-style: none;
    margin: 0;
    padding: 5px 0;
    padding-right: 52px;
}

@keyframes slideDown {
    from {
        opacity: 0;
        max-height: 0;
    }

    to {
        opacity: 1;
        max-height: 500px;
    }
}

.submenu-item {
    margin: 0;
}

.submenu-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 20px 10px 45px;
    text-decoration: none;
    font-size: 20px;
    transition: all 0.2s ease;
    background: var(--primary-bg-color);
}



.submenu-item.active .submenu-link {
    color: #d4af37;
    font-weight: 600;
    background: rgba(212, 175, 55, 0.1);
}

.submenu-bullet {
    color: #d4af37;
    font-size: 18px;
}

/* Footer */
.sidebar-footer {
    margin-top: auto;
    padding: 9px 15px;
    text-align: center;
    border-top: 0.5px solid var(--other-border-color);
    background: var( --primary-bg-color);
    margin-top: 4px;
}

.footer-logo {
    margin-bottom: 10px;
}

.footer-emblem {
    height: 40px;
    width: auto;
    object-fit: contain;
}

.sidebar.collapsed .footer-text {
    display: none;
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */

@media (max-width: 1024px) {
    .top-bar-container {
        flex-wrap: wrap;
    }

    .page-title {
        font-size: 18px;
    }

    .breadcrumb-nav {
        font-size: 12px;
    }

    .sidebar {
        width: 250px;
    }
}

@media (max-width: 768px) {
    .sidebar {
        position: fixed;
        left: -280px;
        z-index: 999;
    }

        .sidebar.collapsed {
            left: 0;
        }

    .breadcrumb-text {
        display: none;
    }

    .organization-logo {
        display: none;
    }
}

/* ========================================
   SCROLLBAR STYLING
   ======================================== */

::-webkit-scrollbar {
    width: 5px;
    height: 5px;
    border-radius: 50px !important;
    opacity: 1;
}


/* Track */
::-webkit-scrollbar-track {
    box-shadow: inset 0 0 5px var(--scroll-color);
    border-radius: 20px;
    border-width: 0.5px;
    width: 20px !important;
}

/* Handle */
::-webkit-scrollbar-thumb {
    width: 2px;
    height: 85px;
    opacity: 1;
    border-radius: 20px !important;
    border-width: 1px;
    background: var(--inner-scroll-color);
}

    /* Handle on hover */
    ::-webkit-scrollbar-thumb:hover {
        background: var(--inner-scroll-color);
    }


/* ========================================
   DARK THEME SUPPORT
   ======================================== */

[data-theme="dark"] .top-bar {
    background: linear-gradient(135deg, #1e2530 0%, #2c3e50 100%);
    border-bottom-color: #d4af37;
}

[data-theme="dark"] .sidebar {
    background: var(--primary-bg-color);
}

[data-theme="dark"] .menu-link {
    color: #e0e0e0;
}

    [data-theme="dark"] .menu-link:hover {
        background: rgba(212, 175, 55, 0.15);
    }

[data-theme="dark"] .submenu {
    background: var(--primary-bg-color);
}

[data-theme="dark"] .submenu-link {
    color: #b0b0b0;
}

[data-theme="dark"] .page-title,
[data-theme="dark"] .welcome-text {
    color: #f0f0f0;
}

.kpi-content {
    min-width: 100%;
    min-height: 100%;
    padding: 24px;
}

.chart-box {
    padding: 0;
    display: flex;
    flex: 1;
}

.chart-elm {
    flex: 1;
    padding: 0 24px;
}

li.submenu-item.active-child .submenu-link span {
    color: var(--bs-primary-color);
    font-weight: 700;
}

div#page-container {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-bottom: 24px;
    max-width: calc(100% - 404px);
}

#layout-preview {
    flex: 1;
    min-height: calc((100vh / var(--zoom) - 305px));
    margin: 0 !important;
    max-height: calc((100vh / var(--zoom) - 305px));
    background: transparent;
}

.e-panel {
    background: var(--default-card-color) !important;
    border-radius: 20px !important;
    border: none !important;
}

div#main-dashboard-components-container {
    width: 100% !important;
    height: 100% !important;
}




.loader-item-bar {
    width: 100%;
    height: 100%;
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 5.1%;
}

.loader-item-column {
    width: 100%;
    height: 100%;
    padding: 12px;
    display: flex;
    flex-direction: row;
    gap: 5.1%;
    transform: scaleY(-1);
}

.e-shimmer-wave {
    background-color: #d69d0040 !important;
}

    .e-shimmer-wave:nth-child(even) {
        background-color: #d69d0040 !important;
    }

.loader-item-kpi {
    width: 100%;
    height: 100%;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 5.1%;
}

.e-control.e-lib.e-skeleton.e-skeleton-circle.e-shimmer-fade.shimmer-kpi {
    background-color: #d69d0040 !important;
}

.e-skeleton.e-skeleton-text.shimmer-kpi-text {
    background-color: #dbdbdb;
}

.kpi-gender .loader-item-kpi {
    padding: 0px !important;
    padding-right: 24px !important;
    padding-left: 24px !important;
}

.loader-item-pie {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 5.1%;
}

.e-skeleton.e-skeleton-circle.shimmer-pie {
    background-color: #dbdbdb;
    margin: auto;
}

.export-datalabel {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    border: 3px solid #d7dee6;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 13px;
    color: var(--default-text-color);
    box-shadow: 0 2px 4px rgba(0, 0, 0, .15);
    position: relative;
}

    .export-datalabel::after {
        content: "";
        position: absolute;
        bottom: -8px;
        left: 50%;
        transform: translateX(-50%);
        border-width: 8px 8px 0 8px;
        border-style: solid;
        border-color: #d7dee6 transparent transparent transparent;
    }

.idle-mode-indicator {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 12px 24px;
    border-radius: 30px;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 1000;
    animation: pulse 2s infinite;
    font-weight: 500;
    font-size: 14px;
}

    .idle-mode-indicator.rtl {
        right: auto;
        left: 20px;
    }

    .idle-mode-indicator i {
        animation: rotate 2s linear infinite;
        font-size: 18px;
    }

@keyframes pulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.85;
        transform: scale(1.02);
    }
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.auto-nav-indicator {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 12px 24px;
    border-radius: 30px;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 1000;
    animation: pulse 2s infinite;
    font-weight: 500;
    font-size: 14px;
}

    .auto-nav-indicator.rtl {
        right: auto;
        left: 20px;
    }

    .auto-nav-indicator i {
        animation: rotate 2s linear infinite;
        font-size: 18px;
    }

@keyframes pulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.85;
        transform: scale(1.02);
    }
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.auto-nav-indicator {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 12px 24px;
    border-radius: 30px;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 1000;
    animation: pulse 2s infinite;
    font-weight: 500;
    font-size: 14px;
}

    .auto-nav-indicator.rtl {
        right: auto;
        left: 20px;
    }

    .auto-nav-indicator i {
        animation: rotate 2s linear infinite;
        font-size: 18px;
    }

@keyframes pulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.85;
        transform: scale(1.02);
    }
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

/* Category Header Styling */
.category-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 0;
    font-weight: 600;
    font-size: 1.1rem;
}

    .category-header i {
        font-size: 1.3rem;
        color: var(--primary-color, #5156be);
    }

.category-name {
    flex-grow: 1;
}

.category-count {
    background-color: var(--primary-color, #5156be);
    color: white;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 0.85rem;
    font-weight: 600;
}
/* Category Item in Dropdown */
.category-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 4px 0;
}

    .category-item i {
        font-size: 1.1rem;
        color: var(--primary-color, #5156be);
    }
/* Category Dialog Styling */
.category-dialog .dialog-header {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 600;
    font-size: 1.2rem;
}

    .category-dialog .dialog-header i {
        font-size: 1.4rem;
        color: var(--primary-color, #5156be);
    }
/* Accordion Customization */
.e-accordion .e-acrdn-item {
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    margin-bottom: 16px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

    .e-accordion .e-acrdn-item:hover {
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    }

.e-accordion .e-acrdn-header {
    background-color: #f8f9fa;
    border-bottom: 1px solid #e0e0e0;
    padding: 16px 20px;
    transition: background-color 0.3s ease;
}

    .e-accordion .e-acrdn-header:hover {
        background-color: #e9ecef;
    }

.e-accordion .e-acrdn-item.e-select > .e-acrdn-header {
    background-color: var(--primary-color, #5156be);
    color: white;
}

    .e-accordion .e-acrdn-item.e-select > .e-acrdn-header .category-header i {
        color: white;
    }

    .e-accordion .e-acrdn-item.e-select > .e-acrdn-header .category-count {
        background-color: white;
        color: var(--primary-color, #5156be);
    }

.e-accordion .e-acrdn-content {
    padding: 24px;
    background-color: #ffffff;
}
/* Component Card Enhancements */
.component-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
}

    .component-card:hover {
        box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
        transform: translateY(-4px);
    }

.component-card-header {
    padding: 16px 20px;
    border-bottom: 1px solid #e9ecef;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.component-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0;
    color: #2c3e50;
    flex-grow: 1;
}

.component-actions {
    display: flex;
    gap: 8px;
}

.action-icon-btn {
    width: 32px;
    height: 32px;
    border-radius: 6px;
    border: none;
    background: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    font-size: 1rem;
}

    .action-icon-btn:hover {
        transform: scale(1.1);
    }

.view-btn {
    color: #17a2b8;
}

    .view-btn:hover {
        background-color: #17a2b8;
        color: white;
    }

.edit-btn {
    color: #ffc107;
}

    .edit-btn:hover {
        background-color: #ffc107;
        color: white;
    }

.delete-btn {
    color: #dc3545;
}

    .delete-btn:hover {
        background-color: #dc3545;
        color: white;
    }

.component-card-body {
    padding: 20px;
    flex-grow: 1;
    cursor: pointer;
}

.component-meta {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.component-type, .component-date {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: #6c757d;
}

    .component-type i, .component-date i {
        font-size: 1.1rem;
    }

.component-card-footer {
    padding: 16px 20px;
    border-top: 1px solid #e9ecef;
    background-color: #f8f9fa;
}

.btn-view-full {
    width: 100%;
    padding: 10px 16px;
    background-color: var(--primary-color, #5156be);
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-weight: 500;
    transition: all 0.3s ease;
}

    .btn-view-full:hover {
        background-color: var(--primary-hover, #3d42a0);
        transform: translateX(4px);
    }

    .btn-view-full i {
        transition: transform 0.3s ease;
    }

    .btn-view-full:hover i {
        transform: translateX(4px);
    }
/* File Item Styling */
.file-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    background-color: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    margin-bottom: 8px;
}

.file-name {
    font-size: 0.9rem;
    color: #495057;
    flex-grow: 1;
    word-break: break-all;
}

.delete-icon {
    margin-left: 12px;
}
/* Wizard Dialog Enhancements */
.wizard-dialog .wizard-header {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 600;
    font-size: 1.3rem;
}

    .wizard-dialog .wizard-header i {
        font-size: 1.5rem;
        color: var(--primary-color, #5156be);
    }
/* Responsive Design */
@media (max-width: 768px) {
    .category-header {
        font-size: 1rem;
    }

    .component-card-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .component-actions {
        width: 100%;
        justify-content: flex-end;
    }
}
/* Empty State Styling */
.empty-category {
    text-align: center;
    padding: 40px 20px;
    color: #6c757d;
}

    .empty-category i {
        font-size: 3rem;
        margin-bottom: 16px;
        opacity: 0.5;
    }

    .empty-category p {
        font-size: 1.1rem;
        margin: 0;
    }
/* Loading State */
.category-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
}

    .category-loading .spinner {
        width: 50px;
        height: 50px;
        border: 4px solid #f3f3f3;
        border-top: 4px solid var(--primary-color, #5156be);
        border-radius: 50%;
        animation: spin 1s linear infinite;
    }

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}



.grid-header {
    font-size: 24px;
    font-weight: bold;
    text-align: center;
    margin-bottom: 6px;
    color: var(--default-text-color);
    border-radius: 14px !important;
}


.e-grid .e-headercell, .e-grid .e-rowcell, .e-grid {
    border-color: #88D0E1 !important;
    border-style: dashed !important;
}

.e-grid {
    border-color: #88D0E1 !important;
    border-style: solid !important;
    border-width: 2px;
    border-radius: 14px !important;
}

    .e-grid .e-headercelldiv {
        font-weight: 700 !important;
        font-size: 14px !important;
        text-align: center !important;
    }

    /* Rounded grid container */
    .e-grid .e-gridcontent {
        border-radius: 0 0 12px 12px;
        overflow: hidden;
    }

    /* alternate row style close to the design */
    .e-grid .e-row:nth-child(odd) .e-rowcell {
        background-color: #f7fafc !important;
    }

.e-pager .e-currentitem, .e-pager .e-currentitem:hover {
    background: var(--bs-primary-color) !important;
}

.control-section.chart-element.grid-element {
    padding: 12px !important;
}

.media-container {
    display: flex;
    gap: 20px;
    height: 100%;
    padding: 20px;
    background-color: transparent;
}

/* Media List - Left Side */
.media-grid {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 280px;
    overflow-y: auto;
    padding: 10px;
    background-color: transparent;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.media-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background-color: #fafafa;
    border: 2px solid transparent;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
}

    .media-card:hover {
        background-color: #f0f0f0;
        border-color: #e0e0e0;
    }

    .media-card.active {
        background-color: #e3f2fd;
        border-color: var(--bs-primary-color);
    }

.media-icon {
    flex-shrink: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: transparent;
    border-radius: 6px;
    font-size: 20px;
}

.media-card.active .media-icon {
    background-color: var(--bs-primary-color);
    color: white;
}

.media-title span,
.media-title {
    flex: 1;
    font-size: 14px;
    font-weight: 500;
    color: #333;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.media-card.active .media-title, .media-card.active .media-title span {
    color: var(--bs-primary-color);
    font-weight: 600;
}

/* Media Viewer - Right Side */
.media-view-container {
    flex: 1;
    background-color: transparent;
    border-radius: 8px;
    overflow: hidden;
}

.media-view {
    height: 100%;
    display: flex;
    flex-direction: column;
}

    .media-view h3 {
        margin: 0;
        padding: 20px 24px;
        font-size: 20px;
        font-weight: 600;
        color: #333;
        border-bottom: 1px solid #e0e0e0;
        background-color: #fafafa;
    }

.media-content {
    flex: 1;
    padding: 0;
    overflow: auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .media-content img {
        max-width: 100%;
        max-height: 100%;
        object-fit: contain;
        border-radius: 4px;
        box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
    }

    .media-content video {
        max-width: 100%;
        max-height: 100%;
        border-radius: 4px;
        box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
    }

    .media-content audio {
        width: 100%;
        max-width: 600px;
    }

    .media-content iframe {
        width: 100%;
        height: 100%;
        border: none;
        border-radius: 4px;
    }

.open-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background-color: #2196f3;
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 500;
    transition: background-color 0.2s ease;
}

    .open-link:hover {
        background-color: var(--bs-primary-color);
    }

.media-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    font-size: 18px;
    color: #999;
}

.text-muted {
    color: #999;
    font-size: 16px;
}

/* Scrollbar Styling */
.media-grid::-webkit-scrollbar {
    width: 6px;
}

.media-grid::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 3px;
}

.media-grid::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 3px;
}

    .media-grid::-webkit-scrollbar-thumb:hover {
        background: #a1a1a1;
    }

/* Responsive Design */
@media (max-width: 768px) {
    .media-container {
        flex-direction: column;
        height: auto;
    }

    .media-grid {
        width: 100%;
        max-height: 200px;
    }

    .media-view-container {
        min-height: 400px;
    }
}

.text-box-content * {
    color: var(--default-text-color) !important;
}

.text-box-container strong em {
    font-style: normal !important;
    color: var(--bs-primary-color) !important;
}

.dashboard-title-section .e-outline {
    border-color: var(--default-text-color) !important;
}

    .dashboard-title-section .e-input,
    .dashboard-title-section .e-outline span.e-input-group-icon.e-ddl-icon.e-icons {
        color: var(--default-text-color) !important;
    }




.left-footer-part {
    overflow: hidden; /* Hides the text when it's outside the bar */
    width: 100%;
    position: relative;
    display: flex;
    align-items: center;
}

.marquee-track {
    display: flex;
    white-space: nowrap;
    position: absolute;
    will-change: transform; /* Optimizes for smooth JS movement */
}

.left-footer-content {
    display: inline-flex;
    align-items: center;
    padding-right: 60px; /* Space between the items */
    cursor: pointer;
}

.footer-text {
    margin-right: 10px;
}

.marquee-track {
    display: flex;
    gap: 20px;
}

.left-footer-content {
    border-right: 2px solid var(--bs-primary-color);
    padding-right: 20px;
}




[data-theme="dark"] .media-card {
    background-color: var(--primary-bg-color) !important;
    border-color: var(--primary-bg-color) !important;
}

[data-theme="dark"] .media-title span,
[data-theme="dark"] .media-title {
    color: var(--default-text-color) !important
}



[data-theme="dark"] .e-toolbar .e-toolbar-item.e-overlay,
[data-theme="dark"] .e-pv-sidebar-toolbar,
[data-theme="dark"] .e-toolbar .e-toolbar-items {
    background: var(--primary-bg-color) !important;
    border-color: rgba(255, 255, 255, .42) !important;
}

[data-theme="dark"] .e-toolbar .e-hor-nav {
    background: var(--primary-bg-color) !important;
    border: solid rgba(255, 255, 255, .12);
}

    [data-theme="dark"] .e-toolbar .e-hor-nav * {
        color: var(--default-text-color) !important;
    }

[data-theme="dark"] .e-toolbar .e-toolbar-item .e-tbar-btn {
    background: var(--primary-bg-color) !important;
    color: var(--default-text-color) !important;
}

[data-theme="dark"] span.e-pv-total-page {
    color: var(--default-text-color) !important;
}

[data-theme="dark"] .e-input-group.e-control-wrapper.e-pv-current-page-box:not(.e-success):not(.e-warning):not(.e-error):not(.e-float-icon-left) {
    border: 1px solid rgba(255, 255, 255, .42);
}

    [data-theme="dark"] .e-input-group.e-control-wrapper.e-pv-current-page-box:not(.e-success):not(.e-warning):not(.e-error):not(.e-float-icon-left) * {
        color: var(--default-text-color) !important;
    }


[data-theme="dark"] .e-pv-viewer-main-container {
    background: var(--primary-bg-color) !important;
}

[data-theme="dark"] .e-pv-toolbar,
[data-theme="dark"] .e-pv-nav-toolbar,
[data-theme="dark"] .e-pv-annotation-toolbar,
[data-theme="dark"] .e-pv-formdesigner-toolbar {
    border: 1px solid #000;
    border-radius: 0;
    border-width: 1px 1px 0 1px;
}

[data-theme="dark"] .e-toolbar .e-toolbar-item.e-separator {
    border-color: rgba(255, 255, 255, .42) !important;
}


[data-theme="dark"] .e-pv-toolbar .e-toolbar-item.e-overlay .e-pv-tbar-btn.e-pv-tbar-btn .e-pv-icon,
[data-theme="dark"] .e-pv-annotation-toolbar .e-toolbar-item.e-overlay .e-pv-tbar-btn.e-pv-tbar-btn .e-pv-icon,
[data-theme="dark"] .e-pv-annotation-toolbar .e-toolbar-item.e-overlay .e-dropdown-btn.e-btn .e-pv-icon,
[data-theme="dark"] .e-pv-formdesigner-toolbar .e-toolbar-item.e-overlay .e-pv-tbar-btn.e-pv-tbar-btn .e-pv-icon,
[data-theme="dark"] .e-pv-formdesigner-toolbar .e-toolbar-item.e-overlay .e-dropdown-btn.e-btn .e-pv-icon {
    color: rgba(255, 255, 255, .62) !important;
}

span.main-gcc-logo {
    position: fixed;
    width: 20%;
    right: 24px;
    bottom: 24px;
    top: auto;
    z-index: 999;
}

img#sidebar-main-gcc-logo {
    max-width: 100%;
}

 
[dir='rtl'] span.main-gcc-logo {
    position: fixed;
    width: 20%;
    left: 24px;
    bottom: 130px;
    right: auto;
    z-index: 999;
    opacity: 0.3;
}
[dir='rtl'] img#sidebar-main-gcc-logo {
    max-width: 100%;
}
