/* The following is the code for nav styling */

.top-bar {
    background-color: #11120D;
    padding: 12px 64px;
    flex-wrap: wrap;
    position: sticky;
    top: 0px;
    z-index: 11;
}

.mobile-right > div:first-of-type > a {
    border: none !important;
}

.language-badge{
    border: 1px solid black;
    border-radius: 5px;
    font-size: 12px;
    height: 24px;
    width: 24px;
    display: flex;
    align-items: center;
    justify-content: center;

    color: #000000;
    text-decoration: none;
}
.language-switcher-container {
    gap: 40px;
    color: #FFFFFF;
    font-weight: 700;
    font-size: 14px;
    line-height: 80%;
    letter-spacing: 0.15em;
    max-width: 150px;
}

.language-switcher-container span {
    cursor: pointer;
}

.language-switcher-container span:hover {
    font-weight: 900;
    text-decoration: underline;
    text-underline-offset: 10px;
}

.parent-container-for-filter-and-search-bar {
    display: flex;
    gap: 10px;
}

.container-for-filter {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background-color: #FFFFFF;
    display: flex;
    justify-content: center;
    align-items: center;
    border: none;
}

.search-container {
    width: 353px;
    height: 40px;
}

.top-bar .input-search-box {
    background-color: #333;
    border: none;
    border-radius: 10px;
    /* padding: 0.4rem 0.75rem 0.4rem 2rem; */
    /* border-radius: 0.25rem; */
    color: white;
    /* width: 300px; */
    padding-top: 8px;
    padding-bottom: 8px;
    padding-left: 48px;
    padding-right: 16px;
    width: 100%;

}

.search-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  padding: 10px;
  background: white;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  z-index: 1000;
}
.d-none {
  display: none !important;
}

.top-bar .input-search-box::placeholder {
    font-weight: 500;
    font-size: 13px;
    line-height: 80%;
    color: rgba(255, 255, 255, 0.6);
}

.top-bar .search-icon-container {
    left: 20px;
}

.top-bar .search-icon-container svg {
    width: 24px;
    height: 24px;
}

.social-media-icon svg {
    height: 24px;
    width: 24px;
}


.navbar-list {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    gap: 28px;
}

.navbar-list a {
    padding-left: 0px !important;
    padding-right: 0px !important;
}

.navbar-custom {
    background-color: #FFFAF4;
    padding: 12px 64px;
    position: sticky;
    top: 64px;
    z-index: 10;
}

.navbar-custom a {
    border-bottom: 2px solid transparent;
}

.navbar-custom a:hover {
    border-bottom: 1px solid #3c3c3c;
}

#login-button-text {
    font-weight: 500;
    font-size: 16px;
    line-height: 80%;
    color: #11120D;
    min-height: 20px;
    text-decoration: none;
    border-bottom: 2px solid black;
}

.navbar-logo {
    line-height: 80%;
    padding: 0px;
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 0.15em;
    color: #000000;
}
.navbar-logo > img{
    width: 100px;
    height: 32px;
}

.custom-nav.active,
.nav-item.active>a {
    font-weight: 700 !important;
    font-size: 14px !important;
    line-height: 80%;
    color: #11120D !important;
}

.custom-nav {
    font-weight: 500 !important;
    font-size: 14px !important;
    color: #3C3C3C !important;
    line-height: 80%;

}

.language-selector {
    background-color: #111;
    color: #fff;
    /* padding: 0.25rem 1rem; */
}

.search-bar {
    position: relative;
}



.profile-container {
    width: 40px;
    height: 40px;
    background-color: #41413D;
    object-fit: cover;
    object-position: center;

}

.custom-dropdown {

    --bs-dropdown-min-width: 0px !important;
    width: 246px;
    padding-left: 18px;

}

.custom-dropdown span {
    color: #FF0101;
    font-weight: 400;
    font-size: 16px;
    padding-left: 10px;
}

.custom-dropdown span:nth-of-type(1) {
    color: #000000;
}

.dropdown-menu.show {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.log-out-btn {
    display: flex;
    align-items: center;
    width: 100%;
    /* height: 100%; */
    border: none;
    background-color: transparent;
}


.nav-bar-btn a {
    width: 144px;
    height: 40px;
    border-radius: 6px;
    border: 2px solid #11120D;
    background-color: #FFFAF4;
    font-weight: 700;
    font-size: 16px;
    line-height: 27px;
    color: #11120D;
    text-decoration: none;
    display: flex;
    justify-content: center;
    align-items: center;
}

.nav-bar-btn.active a {
    background-color: #11120D;
    color: #FFFFFF;
}

.parent-container-for-nav-buttons {
    gap: 16px;
}


.parent-container-for-notificaitions {
    gap: 16px;
}

.language-switcher-svg {
    display: none !important;
}

@media(max-width : 768px) {
    .top-bar {
        display: none !important;
    }
    .desktop-cart{
        display: none;
    }
    .mobile-search{
        display: flex !important;
    }
    .desktop-right{
        display: none;
    }
    .mobile-right{
        display: flex !important;
    }
    .navbar-logo {
        margin-right: 0px;
    }

    .balancing-div {
        width: 80px;
    }

    .language-switcher-container {
        display: none !important;
    }

    .language-switcher-svg {
        display: block !important;
    }

    .gap-3 {
        gap: 5px !important;
    }

    .social-media-icon {
        display: none !important;
    }

    .search-container {
        width: 100%;
    }

    .navbar-custom {
        padding-left: 15px;
        padding-right: 15px;
        top: unset;
    }

    .navbar-list {
        gap: 0px;
        display: none;
    }

    .navbar-collapse {
        flex-basis: unset;
        flex-grow: unset;
    }

    .rounded-circle {
        display: none !important;
    }
}

#search-dropdown {
    background-color: white;
    border: 1px solid #ddd;
    max-height: 300px;
    overflow-y: auto;
}

#search-dropdown .dropdown-item {
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
}

#search-dropdown img {
    width: 40px;
    height: 40px;
    object-fit: cover;
}

/* The following is the style for notifications dropdown */

.bell-icon-container {
    /* width: 42px; 
    height: 42px;  */
    /* border-radius: 8px; 
    display: flex; 
    justify-content: center; 
    align-items: center; */
    /* margin-right: 15px; */
}

.bell-icon-container.dropdown-toggle::after {
    display: none !important;
}

.notification-dropdown {
    width: 533px;
    max-height: 575px;
    overflow-y: auto;
    border-radius: 10px;
    background-color: #FFFFFF;
    border-radius: 10px;
    border: 1px solid #ECECEC;
    padding: 20px;
    right: 0px !important;
    left: unset !important;
}

.notification-date {
    font-weight: 500;
    font-size: 13px;
    line-height: 80%;
    color: #000000;
}

.notification-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    padding-bottom: 9px;
}

.mark-all-read {
    color: #000000;
    font-weight: 500;
    font-size: 13px;
    line-height: 80%;
}

.gradient-line {
    border: 1px solid #49494933;
    margin-top: 0px;
    margin-bottom: 0px;
}

.notifications-parent-container {
    height: 423px;
    overflow-y: auto;
    padding-right: 10px;
}

.notification-item {
    padding-top: 16px;
    padding-bottom: 5px;
    align-items: stretch !important;
}

.notification-item img {
    width: 27px;
    height: 27px;
    object-fit: cover;
}

.notification-title {
    font-weight: 500;
    font-size: 13px;
    line-height: 80%;
    color: #000000;
}

.notification-image-container {
    width: 42px;
    height: 42px;
    border-radius: 32px;
    background-color: #FFFAF4;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
}

.main-content-of-notification {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
    padding-left: 15px;
    padding-right: 35px;
}

.detail-of-user {
    font-weight: 400;
    font-size: 11px;
    line-height: 100%;
    color: #494949;

}

.click-here {
    color: #2F4D01;
}

.status-dot-container {
    display: flex;
    flex-direction: column;
    align-items: end;
    justify-content: space-between;
}

.status-dot-container {
    display: flex;
    flex-direction: column;
    align-items: end;
    justify-content: space-between;
}

.dot {
    width: 10px;
    height: 10px;
    background-color: #E32001;
}

.notification-time {
    font-weight: 400;
    font-size: 11px;
    line-height: 80%;
    color: #313131;
}

/* End of style for notification */

/* end of style for nav styling */

.badge-container {
    position: relative;
    display: inline-block;
}

.count-badge {
    position: absolute;
    top: -6px;
    right: -6px;
    background-color: red;
    color: white;
    font-size: 10px;
    padding: 2px 6px;
    border-radius: 50%;
    display: none;
    /* hide by default */
}

.custom-navbar-toggler {
    width: 36px;
    height: 36px;
    display: flex;
    justify-content: center;
    align-items: center;
    /* border-radius: 8px; */
    padding: 0px;
    /* background-color: #000000; */
    border: none;
}

.language-switcher-container .active {
    text-decoration: underline;
    text-underline-offset: 8px;
}

.language-switcher-container a {
    color: #FFFFFF;
    text-decoration: none;
}


[lang="ar"] {
    .top-bar {
        direction: ltr;
    }

    .navbar-custom {
        direction: ltr;
    }

    .main-content-of-notification {
        padding-left: 35px !important;
        padding-right: 15px !important;
    }

    .top-bar .input-search-box {
        direction: rtl;
        padding-left: 16px !important;
        padding-right: 48px !important;
    }

    .top-bar .search-icon-container {
        right: 15px;
        left: unset;
    }
}