* {
    max-width: 100%;
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html,
body {
    overflow-x: hidden !important;
    width: 100% !important;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: "Cairo", Arial, Tahoma, sans-serif;
    background: #f8f9fb;
    direction: rtl;
    padding-bottom: 70px;
}

img,
table,
video {
    max-width: 100%;
    height: auto;
    display: block;
}

a:hover {
    color: #bc1e2c !important;
}

h3,
h2,
strong {
    color: #bc1e2c !important;
}

@font-face {
    font-family: "Cairo";
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url(https://fonts.gstatic.com/s/cairo/v28/SLXVc1nY6HkvangtZmpQdkhzfH5lkSscQyyS8p4_RHH1.woff2) format("woff2");
    unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891,
        U+0898-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41,
        U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC, U+102E0-102FB, U+10E60-10E7E,
        U+10EFD-10EFF, U+1EE00-1EE03, U+1EE05-1EE1F, U+1EE21-1EE22, U+1EE24,
        U+1EE27, U+1EE29-1EE32, U+1EE34-1EE37, U+1EE39, U+1EE3B, U+1EE42,
        U+1EE47, U+1EE49, U+1EE4B, U+1EE4D-1EE4F, U+1EE51-1EE52, U+1EE54,
        U+1EE57, U+1EE59, U+1EE5B, U+1EE5D, U+1EE5F, U+1EE61-1EE62, U+1EE64,
        U+1EE67-1EE6A, U+1EE6C-1EE72, U+1EE74-1EE77, U+1EE79-1EE7C, U+1EE7E,
        U+1EE80-1EE89, U+1EE8B-1EE9B, U+1EEA1-1EEA3, U+1EEA5-1EEA9,
        U+1EEAB-1EEBB, U+1EEF0-1EEF1;
}

@font-face {
    font-family: "Cairo";
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url(https://fonts.gstatic.com/s/cairo/v28/SLXVc1nY6HkvangtZmpQdkhzfH5lkSscSCyS8p4_RHH1.woff2) format("woff2");
    unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F,
        U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F,
        U+A720-A7FF;
}

@font-face {
    font-family: "Cairo";
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url(https://fonts.gstatic.com/s/cairo/v28/SLXVc1nY6HkvangtZmpQdkhzfH5lkSscRiyS8p4_RA.woff2) format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6,
        U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC,
        U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: "Cairo";
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url(https://fonts.gstatic.com/s/cairo/v28/SLXVc1nY6HkvangtZmpQdkhzfH5lkSscQyyS8p4_RHH1.woff2) format("woff2");
    unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891,
        U+0898-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41,
        U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC, U+102E0-102FB, U+10E60-10E7E,
        U+10EFD-10EFF, U+1EE00-1EE03, U+1EE05-1EE1F, U+1EE21-1EE22, U+1EE24,
        U+1EE27, U+1EE29-1EE32, U+1EE34-1EE37, U+1EE39, U+1EE3B, U+1EE42,
        U+1EE47, U+1EE49, U+1EE4B, U+1EE4D-1EE4F, U+1EE51-1EE52, U+1EE54,
        U+1EE57, U+1EE59, U+1EE5B, U+1EE5D, U+1EE5F, U+1EE61-1EE62, U+1EE64,
        U+1EE67-1EE6A, U+1EE6C-1EE72, U+1EE74-1EE77, U+1EE79-1EE7C, U+1EE7E,
        U+1EE80-1EE89, U+1EE8B-1EE9B, U+1EEA1-1EEA3, U+1EEA5-1EEA9,
        U+1EEAB-1EEBB, U+1EEF0-1EEF1;
}

@font-face {
    font-family: "Cairo";
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url(https://fonts.gstatic.com/s/cairo/v28/SLXVc1nY6HkvangtZmpQdkhzfH5lkSscSCyS8p4_RHH1.woff2) format("woff2");
    unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F,
        U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F,
        U+A720-A7FF;
}

@font-face {
    font-family: "Cairo";
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url(https://fonts.gstatic.com/s/cairo/v28/SLXVc1nY6HkvangtZmpQdkhzfH5lkSscRiyS8p4_RA.woff2) format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6,
        U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC,
        U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: "Cairo";
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url(https://fonts.gstatic.com/s/cairo/v28/SLXVc1nY6HkvangtZmpQdkhzfH5lkSscQyyS8p4_RHH1.woff2) format("woff2");
    unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891,
        U+0898-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41,
        U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC, U+102E0-102FB, U+10E60-10E7E,
        U+10EFD-10EFF, U+1EE00-1EE03, U+1EE05-1EE1F, U+1EE21-1EE22, U+1EE24,
        U+1EE27, U+1EE29-1EE32, U+1EE34-1EE37, U+1EE39, U+1EE3B, U+1EE42,
        U+1EE47, U+1EE49, U+1EE4B, U+1EE4D-1EE4F, U+1EE51-1EE52, U+1EE54,
        U+1EE57, U+1EE59, U+1EE5B, U+1EE5D, U+1EE5F, U+1EE61-1EE62, U+1EE64,
        U+1EE67-1EE6A, U+1EE6C-1EE72, U+1EE74-1EE77, U+1EE79-1EE7C, U+1EE7E,
        U+1EE80-1EE89, U+1EE8B-1EE9B, U+1EEA1-1EEA3, U+1EEA5-1EEA9,
        U+1EEAB-1EEBB, U+1EEF0-1EEF1;
}

@font-face {
    font-family: "Cairo";
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url(https://fonts.gstatic.com/s/cairo/v28/SLXVc1nY6HkvangtZmpQdkhzfH5lkSscSCyS8p4_RHH1.woff2) format("woff2");
    unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F,
        U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F,
        U+A720-A7FF;
}

@font-face {
    font-family: "Cairo";
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url(https://fonts.gstatic.com/s/cairo/v28/SLXVc1nY6HkvangtZmpQdkhzfH5lkSscRiyS8p4_RA.woff2) format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6,
        U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC,
        U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: "Cairo";
    font-style: normal;
    font-weight: 900;
    font-display: swap;
    src: url(https://fonts.gstatic.com/s/cairo/v28/SLXVc1nY6HkvangtZmpQdkhzfH5lkSscQyyS8p4_RHH1.woff2) format("woff2");
    unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891,
        U+0898-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41,
        U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC, U+102E0-102FB, U+10E60-10E7E,
        U+10EFD-10EFF, U+1EE00-1EE03, U+1EE05-1EE1F, U+1EE21-1EE22, U+1EE24,
        U+1EE27, U+1EE29-1EE32, U+1EE34-1EE37, U+1EE39, U+1EE3B, U+1EE42,
        U+1EE47, U+1EE49, U+1EE4B, U+1EE4D-1EE4F, U+1EE51-1EE52, U+1EE54,
        U+1EE57, U+1EE59, U+1EE5B, U+1EE5D, U+1EE5F, U+1EE61-1EE62, U+1EE64,
        U+1EE67-1EE6A, U+1EE6C-1EE72, U+1EE74-1EE77, U+1EE79-1EE7C, U+1EE7E,
        U+1EE80-1EE89, U+1EE8B-1EE9B, U+1EEA1-1EEA3, U+1EEA5-1EEA9,
        U+1EEAB-1EEBB, U+1EEF0-1EEF1;
}

@font-face {
    font-family: "Cairo";
    font-style: normal;
    font-weight: 900;
    font-display: swap;
    src: url(https://fonts.gstatic.com/s/cairo/v28/SLXVc1nY6HkvangtZmpQdkhzfH5lkSscSCyS8p4_RHH1.woff2) format("woff2");
    unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F,
        U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F,
        U+A720-A7FF;
}

@font-face {
    font-family: "Cairo";
    font-style: normal;
    font-weight: 900;
    font-display: swap;
    src: url(https://fonts.gstatic.com/s/cairo/v28/SLXVc1nY6HkvangtZmpQdkhzfH5lkSscRiyS8p4_RA.woff2) format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6,
        U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC,
        U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: "icomoon";
    src: url("/assets/fonts/syarahFonts/icomoon.eot?nr136q");
    src: url("/assets/fonts/syarahFonts/icomoon.eot?nr136q#iefix") format("embedded-opentype"),
        url("/assets/fonts/syarahFonts/icomoon.ttf?nr136q") format("truetype"),
        url("/assets/fonts/syarahFonts/icomoon.woff?nr136q") format("woff"),
        url("/assets/fonts/syarahFonts/icomoon.svg?nr136q#icomoon") format("svg");
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "saudi_riyal";
    src: url("/assets/fonts/saudiRiyalFont/saudi_riyal.eot?bdfc4l");
    src: url("/assets/fonts/saudiRiyalFont/saudi_riyal.eot?bdfc4l#iefix") format("embedded-opentype"),
        url("/assets/fonts/saudiRiyalFont/saudi_riyal.woff2?bdfc4l") format("woff2"),
        url("/assets/fonts/saudiRiyalFont/saudi_riyal.woff?bdfc4l") format("woff"),
        url("/assets/fonts/saudiRiyalFont/saudi_riyal.ttf?bdfc4l") format("truetype"),
        url("/assets/fonts/saudiRiyalFont/saudi_riyal.svg?bdfc4l#saudi_riyal") format("svg");
    font-weight: normal;
    font-style: normal;
    font-display: block;
}

.hidebrand {
    display: none !important;
}

.text-center {
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.text-primary {
    color: #bc1e2c !important;
}

.module__revampedTitle {
    color: #bc1e2c;
}

.imageye-selected {
    outline: 2px solid black !important;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5) !important;
}

.inputp::placeholder {
    color: #bc1e2c !important;
}

.customBtn {
    background-color: #bc1e2c;
    color: white;
    border: none;
    outline: none;
    cursor: pointer;
    transition: transform 0.2s ease, color 0.2s ease;
}

.customBtn:hover {
    color: white !important;
    transform: scale(1.05);
}

header {
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    height: 68px;
    background: #fff;
    border-bottom: 1px solid #f1f3f8;
    display: flex;
    align-items: center;
    padding: 15px 30px;
    box-sizing: border-box;
    z-index: 1000;
    justify-content: space-between;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header-left {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 24%;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-right: 20px;
}

.header-right a {
    text-decoration: none;
    color: #bc1e2c;
    margin: 0 8px;
    font-weight: 600;
    transition: 0.3s;
}

.header-right a:hover {
    color: #000;
}

.header-middle a {
    color: #222;
    text-decoration: none;
    margin: 0 12px;
    font-weight: 600;
    transition: 0.3s;
}

.header-middle a:hover {
    color: #bc1e2c;
}

.sidebar-toggle-btn {
    background: transparent;
    border: none;
    cursor: pointer;
    font-size: 26px;
    color: #213b7b;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.header-logo {
    height: 55px;
    width: auto;
    display: block;
    padding-right: 10px;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 28px;
    color: #bc1e2c;
    cursor: pointer;
}

.sidebar-overlay {
    position: fixed;
    inset: 0;
    background: rgba(49, 55, 91, 0.17);
    z-index: 99998;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s;
}

.sidebar-overlay.active {
    opacity: 1;
    visibility: visible;
}

#aside {
    display: flex;
    position: fixed;
    top: 0;
    left: -100%;
    width: 300px;
    height: 100vh;
    background: white;
    z-index: 999999;
    transition: transform 0.3s ease, left 0.3s ease;
    transform: translateX(-100%);
    flex-direction: column;
}

#aside.active {
    display: flex;
    transform: translateX(0%);
    left: 0;
}

.sidebar-menu {
    width: 320px;
    max-width: 100vw;
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    background: #fff;
    box-shadow: 2px 0 24px rgba(0, 0, 0, 0.16);
    z-index: 999999;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    padding: 1rem 1.5rem;
    direction: rtl;
    font-family: Arial, sans-serif;
    transform: translateX(-100%);
    transition: transform 0.28s cubic-bezier(.49, .04, .6, .96);
}

.sidebar-menu.active {
    transform: translateX(0);
}

.sidebar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.sidebar-close {
    background: none;
    border: none;
    cursor: pointer;
}

.sidebar-close img {
    width: 20px;
    height: 20px;
}

.sidebar-main-btn {
    background-color: #fff;
    border: 1px solid #bc1e2c;
    color: #bc1e2c;
    font-weight: 700;
    font-size: 15px;
    padding: 0.55rem 1rem;
    border-radius: 6px;
    text-decoration: none;
    white-space: nowrap;
}

.sidebar-account {
    display: block;
    margin-bottom: 1rem;
}

.sidebar-welcome {
    display: block;
    font-size: 15.5px;
    color: #bc1e2c;
    font-weight: 600;
    margin-bottom: .7rem;
    background: #f8f9fb;
    border-radius: 18px;
    text-align: center;
    padding: 0.45rem 1rem;
    border: 1px solid #ececec;
    white-space: nowrap;
}

.sidebar-user-box {
    margin-bottom: 0.5rem;
}

.sidebar-user-main {
    font-weight: bold;
    font-size: 15px;
    color: #bc1e2c;
    margin-bottom: 0.25rem;
    text-align: right;
    padding-right: 7px;
}

.sidebar-user-menu {
    list-style: none;
    margin: 0;
    padding: 0;
}

.sidebar-user-menu li {
    margin-bottom: 2px;
}

.sidebar-user-link {
    display: block;
    padding: 0.45rem 0.5rem;
    color: #484848;
    font-size: 15px;
    border-radius: 14px;
    text-decoration: none;
    margin-bottom: 0.1rem;
    transition: background 0.13s, color 0.13s;
}

.sidebar-user-link:hover,
.sidebar-user-link:focus {
    background: #fae9ec;
    color: #bc1e2c;
}

.sidebar-login {
    padding: 0.45rem 1rem;
    background-color: #f8f9fb;
    border-radius: 20px;
    font-weight: 500;
    font-size: 14px;
    color: #484848;
    text-decoration: none;
    border: 1px solid #ececec;
    white-space: nowrap;
}

.sidebar-lang {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 14px;
    color: #484848;
    text-decoration: none;
}

.sidebar-lang img {
    display: block;
}

.sidebar-section {
    margin-bottom: 1.5rem;
}

.sidebar-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar-section li {
    margin-bottom: 0.9rem;
    border-bottom: 1px solid #e2eaf3;
    padding-bottom: 0.5rem;
}

.sidebar-section li:last-child {
    border-bottom: none;
}

.sidebar-section a {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    color: #484848;
    font-size: 15px;
    font-weight: 500;
    text-decoration: none;
    line-height: 1.2;
    border-radius: 7px;
    padding: 0.6rem 0.5rem;
    transition: background-color 0.2s ease;
}

.sidebar-section a:hover {
    background-color: #f7f7fa;
    color: #bc1e2c !important;
}

.sidebar-title {
    font-weight: 700;
    color: #bc1e2c;
    font-size: 15px;
    margin-bottom: 0.5rem;
    display: block;
}

.payment {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 1.2rem;
}

.payment li {
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

.Aside-module__title {
    font-weight: 700;
    color: #1c8553;
    font-size: 14px;
    margin-bottom: 8px;
    display: block;
}

ul li a img[alt$="icon"] {
    border-radius: 5px;
    width: 22px;
    height: 22px;
    object-fit: contain;
}

ul li a img {
    border-radius: 5px;
    width: 22px;
    height: 22px;
    object-fit: contain;
}

.Aside-module__sejelCont {
    font-size: 12px;
    margin-top: 1.2rem;
    color: #444;
}

.Aside-module__footerWithVat {
    margin-top: 6px;
    display: flex;
    gap: 10px;
    align-items: center;
}

#sideMenu {
    position: fixed;
    top: 0;
    right: 0;
    width: 280px;
    height: 100%;
    background: white;
    box-shadow: -2px 0 5px rgba(0, 0, 0, 0.1);
    overflow-y: auto;
    z-index: 1000;
    transition: transform 0.3s ease;
    transform: translateX(100%);
}

#sideMenu.show-menu {
    transform: translateX(0);
}

#sidebar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1500;
    display: none;
}

#sidebar-overlay.active {
    display: block;
}

.mobile-menu {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    background: #fff;
    width: 100%;
    position: absolute;
    top: 80px;
    right: 0;
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.5s ease-in-out;
    z-index: 999;
}

.mobile-menu.open {
    display: flex;
    max-height: 500px;
}

.mobile-menu a {
    width: 100%;
    padding: 15px 20px;
    border-bottom: 1px solid #eee;
    text-decoration: none;
    color: #222;
    font-weight: 600;
    transition: 0.3s;
}

.mobile-menu a:hover {
    background: #f7f7f7;
    color: #bc1e2c;
}

.social-icons {
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 10px;
    border-top: 1px solid #eee;
    background: #fafafa;
}

.social-icons a {
    width: 40px;
    height: 40px;
    background: #fff;
    color: #bc1e2c;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 18px;
    padding: 10px;
    transition: 0.3s;
    border-radius: 8px;
    margin: 10px;
}

.social-icons a:hover {
    background: blue;
    color: black;
    transform: scale(1.1);
}

.profile-dropdown-container {
    position: relative;
    float: right;
    margin-right: 20px;
    margin-top: 10px;
    z-index: 1000;
    display: none !important;
}

.avatar-button {
    background-color: transparent;
    border: none;
    cursor: pointer;
    padding: 8px 15px;
    display: flex;
    align-items: center;
    border-radius: 50px;
    transition: background-color 0.3s ease;
    font-size: 16px;
    color: #333;
    text-align: right;
}

.avatar-button:hover,
.avatar-button.active {
    background-color: rgba(0, 0, 0, 0.05);
}

.user-avatar-icon {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    object-fit: cover;
    margin-left: 10px;
    border: 2px solid #007bff;
}

.avatar-text {
    font-weight: bold;
}

.fa-caret-down {
    margin-right: 8px;
    transition: transform 0.3s ease;
}

.avatar-button.active .fa-caret-down {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    width: 220px;
    top: 100%;
    right: 0;
    background-color: #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    border-radius: 8px;
    padding: 10px 0;
    display: none;
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.dropdown-menu.show {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.dropdown-item {
    display: flex;
    align-items: center;
    padding: 10px 15px;
    text-decoration: none;
    color: #333;
    transition: background-color 0.2s ease;
    font-size: 14px;
    text-align: right;
    direction: rtl;
}

.dropdown-item:hover {
    background-color: #f1f1f1;
}

.dropdown-item i {
    margin-left: 10px;
    color: #007bff;
    min-width: 20px;
    text-align: center;
}

.logout-link {
    border-top: 1px solid #eee;
    margin-top: 5px;
    padding-top: 10px;
}

.logout-link i {
    color: #dc3545;
}

.mobile-auth-link,
.mobile-account-link,
.mobile-logout-link {
    display: block;
    text-decoration: none;
    padding: 12px 20px;
    color: #333;
    font-size: 16px;
    font-weight: bold;
    text-align: right;
    direction: rtl;
    transition: background-color 0.2s ease;
    border-top: 1px solid #eee;
}

.mobile-auth-link:hover,
.mobile-account-link:hover,
.mobile-logout-link:hover {
    background-color: #f1f1f1;
}

.mobile-account-link {
    color: #007bff;
}

.mobile-logout-link {
    color: #dc3545;
}

.mobile-account-link i,
.mobile-logout-link i,
.mobile-auth-link i {
    margin-left: 10px;
}

.desktop-auth-link {
    display: none !important;
    padding: 8px 15px;
    text-decoration: none;
    color: #333;
}

.relative.h-56 {
    overflow: hidden;
    position: relative;
}

.relative.h-56>a {
    display: flex;
    transition: transform 0.5s ease;
    will-change: transform;
}

.itemimg {
    flex: 0 0 auto;
    width: 300px;
    height: 100%;
    user-select: none;
}

.left,
.right {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 30px;
    font-weight: bold;
    color: #333;
    cursor: pointer;
    z-index: 20;
    user-select: none;
    padding: 0 10px;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 50%;
    border: 1px solid #ccc;
}

.left {
    left: 10px;
}

.right {
    right: 10px;
}

.slide {
    transition: transform 0.5s, z-index 0s;
    position: absolute;
    top: 0;
    left: 100%;
    width: 100%;
    height: 100%;
    opacity: 0;
    text-align: center;
    transition: all 1s ease-in-out;
}

.slider-arrow div {
    font-size: 28px;
    line-height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slider-dot.bg-\[\#fe561c\] {
    background: #fe561c;
}

.slider-dot.bg-\[\#c5d2e4\] {
    background: #c5d2e4;
}

body[dir="rtl"] .syarah-currency-icon,
.syarah-currency-icon {
    font-family: "saudi_riyal" !important;
    font-style: normal;
    font-weight: normal;
    font-variant: normal;
    text-transform: none;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    display: ruby;
}

body[dir="ltr"] .syarah-currency-icon {
    font-family: "saudi_riyal" !important;
    font-style: normal;
    font-weight: normal;
    font-variant: normal;
    text-transform: none;
    line-height: normal !important;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    display: ruby;
}

.syarah-currency-icon:before {
    font-family: "saudi_riyal" !important;
    content: "\e900";
    unicode-bidi: isolate-override;
    vertical-align: middle;
}

.social-list {
    display: flex;
    gap: 22px;
    list-style: none;
    padding: 0;
    margin: 0;
    justify-content: flex-start;
    align-items: center;
    flex-wrap: wrap;
}

.social-list li a {
    color: #8B4513;
    font-size: 26px;
    transition: color 0.2s;
    display: block;
    text-decoration: none;
}

.social-list li a:hover {
    color: #A0522D;
}

.carousel {
    position: relative;
    width: 100%;
    max-width: 1200px;
    height: 585px;
    margin: 20px auto;
    border-radius: 20px;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transition: background-image 1s ease-in-out;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
}

.slide.active {
    left: 0;
    opacity: 1;
    z-index: 2;
}

.cars {
    display: flex;
    justify-content: center;
    align-items: end;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 50px;
}

.cars img {
    width: 300px;
    opacity: 0;
    transform: translateY(50px);
    animation: fadeUp 1s forwards;
}

.cars img:nth-child(1) {
    animation-delay: 0.5s;
}

.cars img:nth-child(2) {
    animation-delay: 1s;
}

.cars img:nth-child(3) {
    animation-delay: 1.5s;
}

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.text {
    font-size: 3rem;
    font-weight: bold;
    color: black;
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.4);
    margin-bottom: 170px;
    opacity: 0;
    transform: translateY(40px);
    animation: fadeText 1s forwards;
    animation-delay: 0.8s;
    margin-top: 20px;
}

@keyframes fadeText {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.indicators {
    position: absolute;
    bottom: 30px;
    display: flex;
    gap: 10px;
    justify-content: center;
    width: 100%;
    z-index: 10;
}

.indicators span {
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.6);
    cursor: pointer;
    transition: 0.3s;
}

.indicators span.active {
    background: #00ff99;
    transform: scale(1.3);
}

.slide.one-car .cars {
    margin-right: 600px;
    margin-bottom: 600px;
}

.slide.one-car .cars img {
    width: 300px;
}

.slide.one-car .text {
    margin-bottom: 65px;
}

#searchResults {
    position: absolute;
    top: 45px;
    left: 0;
    width: 100%;
    border: 1px solid #bc1e2c;
    border-radius: 4px;
    background-color: white;
    overflow-y: auto;
    z-index: 1000;
    box-shadow: 0 2px 8px rgba(188, 30, 44, 0.3);
}

#searchResults div.result-item {
    cursor: pointer;
    padding: 8px;
    margin: 4px 8px;
    border: 1px solid #bc1e2c;
    border-radius: 4px;
    transition: background-color 0.2s;
    background-color: #fff;
}

#searchResults div.result-item:hover {
    background-color: #f9e7e9;
}

.center-btn-container {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-top: 56px;
}

.center-btn {
    background: #bc1e2c !important;
    color: #fff;
    font-size: 1.2rem;
    font-weight: bold;
    width: 250px;
    height: 48px;
    border: none;
    border-radius: 7px;
    outline: none;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: transform 0.2s;
    text-decoration: none;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

.center-btn:hover {
    transform: scale(1.12);
}

.guarantee-section-xyz123 {
    max-width: 900px;
    margin: 0 auto;
    padding: 10px;
}

.guarantee-title-xyz123 {
    color: #bc1e2c;
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 20px;
    text-align: center;
}

.guarantee-boxes-container-xyz123 {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.guarantee-box-xyz123 {
    flex: 0 1 40%;
    min-width: 220px;
    max-width: 330px;
    border: 2px solid #bc1e2c;
    border-radius: 8px;
    padding: 15px;
    box-sizing: border-box;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    background: #fff;
}

.guarantee-box-img-xyz123 {
    width: 80px !important;
    height: 80px !important;
    border-radius: 6px;
    margin-bottom: 12px;
    display: block;
}

.guarantee-box-title-xyz123 {
    font-size: 1.35rem;
    color: #bc1e2c;
    font-weight: bold;
    margin-top: 8px;
}

.custom-center-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin: 46px 0 34px 0;
}

.custom-feature-box {
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 2px 14px rgba(0, 0, 0, 0.08);
    width: 100%;
    max-width: 930px;
    padding: 42px 54px 36px 54px;
    margin-bottom: 0;
    font-family: 'Tajawal', Arial, sans-serif;
    box-sizing: border-box;
}

.custom-main-title {
    font-size: 2.2rem;
    font-weight: 800;
    text-align: center;
    color: #C20017;
    letter-spacing: 0.5px;
    margin: 0 0 22px 0;
    line-height: 1.2;
}

.custom-desc {
    text-align: center;
    color: #242424;
    font-size: 1.18rem;
    font-weight: 500;
    margin-bottom: 32px;
    margin-top: 0;
}

.custom-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px 36px;
    justify-items: center;
}

.custom-grid-item {
    background: #f3f3f3;
    border-radius: 13px;
    padding: 16px 0 12px 0;
    width: 100%;
    text-align: center;
    font-size: 1.15rem;
    font-weight: 700;
    color: #C20017;
    box-shadow: 0 1px 5px rgba(0, 0, 0, 0.06);
    transition: background 0.18s;
    border: none;
}

.custom-grid-item span {
    display: block;
    font-size: 1.06rem;
    color: #1a1a1a;
    font-weight: 700;
    margin-bottom: 5px;
}

.custom-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 17px;
}

.custom-list li {
    background: #f6f6f6;
    border-radius: 9px;
    padding: 15px 10px 15px 6px;
    display: flex;
    align-items: center;
    font-size: 1.14rem;
    color: #2c2c2c;
    font-weight: 500;
    line-height: 1.6;
    transition: background .18s, color .18s;
    cursor: pointer;
}

.custom-list li span {
    background: #C20017;
    color: #fff;
    font-weight: 700;
    border-radius: 4px;
    padding: 7px 13px;
    margin-left: 19px;
    font-size: 1.13rem;
    min-width: 34px;
    text-align: center;
    display: inline-block;
}

.Mopile_App {
    margin: 40px auto;
    width: 100%;
    padding: 20px;
}

#appDownloadSection {
    width: 100%;
    max-width: 1300px;
    border-radius: 18px;
    overflow: hidden;
    text-align: center;
    padding: 20px;
}

.Mopile_App__appTitle {
    font-size: 2rem;
    margin-bottom: 20px;
    color: #222;
    text-align: center;
}

.Mopile_App__appBox {
    display: flex;
    justify-content: center;
    align-items: center;
}

.Mopile_App__appImg {
    width: 100%;
    max-width: 1200px;
}

.Mopile_App__appImg img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    object-fit: cover;
}

.btnoffer {
    color: #bc1e2c;
    background: transparent;
    border: none;
    padding: 16px 0;
    display: block;
    width: 200px;
    margin: 0 auto;
    text-align: center;
    font-size: 20px;
    border-radius: 8px;
    transition: transform 0.2s ease;
}

.btnoffer:hover,
.btnoffer:focus {
    transform: scale(1.05);
}

.FAQV2-module__mobLink {
    display: inline-block;
    padding: 8px 24px;
    border: 1px solid #bc1e2c;
    color: #bc1e2c;
    background: #fff;
    border-radius: 6px;
    text-align: center;
    font-size: 18px;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.2s, color 0.2s;
    display: block;
    margin: 16px auto;
    width: fit-content;
}

.FAQV2-module__mobLink:hover {
    background: #bc1e2c;
    color: #fff;
}

.AnyQustV2-module__callHelpContainer {
    background: linear-gradient(to bottom, red, black);
    border-radius: 15px;
    padding: 20px;
}

.AnyQustV2-module__callHelpContainer a:hover {
    color: #bc1e2c !important;
}

.Layout-module__botomNavContainer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #fff;
    border-top: 1px solid #eee;
    box-shadow: 0 -1px 8px #0002;
    z-index: 1000;
    height: 65px;
    padding: 0 2vw;
}

.Layout-module__botomNavContainer>a,
.Layout-module__botomNavContainer>div {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: #999999;
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    min-width: 56px;
    cursor: pointer;
    background: none;
    border: none;
    transition: color 0.2s;
    font-family: 'Tajawal', Arial, sans-serif;
    white-space: nowrap;
    padding-top: 5px;
}

.Layout-module__botomNavContainer .iconify {
    font-size: 26px;
    color: #999999;
    transition: color 0.2s;
    margin-bottom: 2px;
}

.Layout-module__botomNavContainer>a.active,
.Layout-module__botomNavContainer>div.active {
    color: #bc1e2c !important;
    font-weight: 700;
}

.Layout-module__botomNavContainer>a.active .iconify,
.Layout-module__botomNavContainer>div.active .iconify {
    color: #bc1e2c !important;
}

.Layout-module__botomNavContainer>a:hover,
.Layout-module__botomNavContainer>div:hover,
.Layout-module__botomNavContainer>a:hover .iconify,
.Layout-module__botomNavContainer>div:hover .iconify {
    color: #bc1e2c;
}

footer {
    background-color: #ffffff;
    width: 100%;
    padding: 60px 20px 20px;
    font-family: "Tajawal", sans-serif;
}

.footer-box {
    background-color: #f7f7f7;
    border-radius: 20px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
    padding: 40px;
    max-width: 1200px;
    margin: auto;
}

.footer-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 30px;
}

.footer-col {
    flex: 1;
    min-width: 250px;
}

.footer-logo img {
    width: 220px;
    margin-bottom: 15px;
}

.footer-logo p {
    color: #666;
    font-size: 15px;
    line-height: 1.7;
}

.footer-col h3 {
    color: #333;
    font-size: 18px;
    margin-bottom: 20px;
    text-align: center;
}

.footer-links a {
    display: block;
    color: #777;
    text-decoration: none;
    margin-bottom: 8px;
    transition: 0.3s;
    text-align: center;
}

.footer-links a:hover {
    color: #000;
    transform: translateX(-5px);
}

.social-icons1 {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 10px;
}

.social-icons1 a {
    background: #eaeaea;
    color: #333;
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 10px;
    transition: 0.3s;
}

.social-icons1 a:hover {
    background: #333;
    color: #fff;
}

.app-buttons {
    text-align: center;
    margin-right: 50px;
}

.app-buttons img {
    width: 160px;
    margin: 5px;
    border-radius: 10px;
    transition: 0.3s;
}

.app-buttons img:hover {
    transform: scale(1.05);
}

.footer-bottom {
    text-align: center;
    color: #555;
    font-size: 14px;
    border-top: 1px solid #ddd;
    margin-top: 40px;
    padding-top: 20px;
}

@media(min-width:361px):gap-1 {
    gap: .25rem !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

@media (max-width: 768px) {
    #brandmore {
        display: none !important;
    }

    .hidebrand {
        display: block !important;
    }

    #h2sa {
        margin-top: 40px;
    }

    .footer-container {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }

    .footer-col {
        min-width: 100%;
    }

    .app-buttons img {
        width: 140px;
    }
}

@media (max-width: 1023px) {
    .box-center-mobile {
        margin-left: auto;
        margin-right: auto;
    }
}

@media (min-width: 1024px) {
    .box-center-mobile {
        margin-left: 0;
        margin-right: 0;
    }
}

@media (max-width: 767px) {
    .Header-module__logoSizeRev {
        width: 160px !important;
        height: auto !important;
    }
}

@media(max-width:700px) {
    .sidebar-menu {
        width: 70vw;
    }

    .header-logo {
        height: 36px;
    }

    header {
        height: 60px;
    }
}

@media(max-width:420px) {
    .header-logo {
        height: 34px;
        max-width: 120px;
    }

    header {
        height: 48px;
    }
}

@media (max-width: 900px) {

    .header-middle,
    .header-right {
        display: none;
    }

    .menu-toggle {
        display: block;
    }
}

@media (min-width: 901px) {
    .mobile-menu {
        display: none !important;
    }
}

@media (min-width: 768px) {
    .profile-dropdown-container {
        display: block !important;
    }

    .desktop-auth-link {
        display: inline-block !important;
    }

    .mobile-account-link,
    .mobile-logout-link,
    .mobile-auth-link {
        display: none !important;
    }
}

@media (max-width: 480px) {
    .social-list {
        flex-direction: row;
        align-items: center;
        gap: 16px;
    }
}

@media (max-width: 992px) {
    .carousel {
        height: 450px;
    }

    .cars img {
        width: 200px;
    }

    .text {
        font-size: 2rem;
        margin-bottom: 100px;
    }
}

@media (max-width: 600px) {
    .carousel {
        height: 200px;
        border-radius: 20px;
        width: 100%;
        background-position: 0% 0%;
        background-size: contain;
    }

    .cars {
        gap: 10px;
        margin-top: 53px;
    }

    .cars img {
        width: 90px;
    }

    .text {
        font-size: 1.4rem;
        margin-top: 10px;
        margin-bottom: 10px;
        text-shadow: 0 0 6px rgba(0, 0, 0, 0.5);
    }

    .slide1 .text {
        margin-bottom: 10px;
    }

    .indicators span {
        width: 10px;
        height: 10px;
    }

    .slide.one-car .cars {
        margin-right: 0;
        margin-left: 100px;
        margin-top: 10px;
        justify-content: center;
        background-size: contain;
        background-position: center;
        height: 20%;
        margin-bottom: 0vh;
    }

    .slide.one-car .cars img {
        width: 100px;
    }

    .slide.active {
        height: 100%;
    }

    .slide.one-car .text {
        font-size: 1.4rem;
        margin-bottom: 30px;
        text-align: center;
    }

    .one-car {
        width: 100px;
        justify-content: center;
    }

    .guarantee-title-xyz123 {
        font-size: 1.2rem;
    }

    .guarantee-boxes-container-xyz123 {
        gap: 12px;
    }

    .guarantee-box-xyz123 {
        flex: 1 1 90vw;
        min-width: 140px;
        max-width: 98vw;
        padding: 10px;
    }

    .guarantee-box-img-xyz123 {
        width: 54px !important;
        height: 54px !important;
        margin-bottom: 8px;
    }

    .guarantee-box-title-xyz123 {
        font-size: 1rem;
        margin-top: 4px;
    }
}

@media (max-width: 1100px) {
    .custom-feature-box {
        max-width: 98vw;
        padding: 32px 3vw 28px 3vw;
    }
}

@media (max-width: 850px) {
    .custom-feature-box {
        padding: 30px 1vw 20px 1vw;
    }

    .custom-main-title {
        font-size: 1.6rem;
    }

    .custom-desc {
        font-size: 1.05rem;
    }

    .custom-grid-item {
        font-size: 1.03rem;
    }

    .custom-list li,
    .custom-list li span {
        font-size: 1rem;
    }
}

@media (max-width: 650px) {
    .custom-feature-box {
        padding: 20px 2vw 14px 2vw;
        max-width: 99vw;
        border-radius: 11px;
    }

    .custom-main-title {
        font-size: 1.18rem;
        margin-bottom: 13px;
    }

    .custom-desc {
        font-size: 0.98rem;
        margin-bottom: 16px;
    }

    .custom-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 9px 7px;
    }

    .custom-list li {
        font-size: 0.95rem;
        padding: 9px 4px;
    }

    .custom-list li span {
        font-size: 0.94rem;
        padding: 6px 10px;
        margin-left: 11px;
    }
}

@media (max-width: 768px) {
    .Mopile_App {
        padding: 10px;
    }

    #appDownloadSection {
        padding: 15px;
    }

    .Mopile_App__appTitle {
        font-size: 1.4rem;
    }

    .Mopile_App__appBox {
        flex-direction: column;
    }

    .Mopile_App__appImg {
        width: 100%;
        max-width: 100%;
    }

    .Mopile_App__appImg img {
        border-radius: 10px;
    }
}

@media (max-width: 480px) {
    .Mopile_App__appTitle {
        font-size: 1.2rem;
    }

    #appDownloadSection {
        padding: 10px;
    }

    #appDownloadSection h2 {
        text-alighn: center;
    }
}

@media (min-width: 801px) {
    .Layout-module__botomNavContainer {
        display: none;
    }
}

@media (max-width: 400px) {

    .Layout-module__botomNavContainer>a,
    .Layout-module__botomNavContainer>div {
        font-size: 11px;
    }

    .Layout-module__botomNavContainer .iconify {
        font-size: 22px;
        margin-bottom: 0;
    }
}