/* ====== Navbar Container ====== */
.custom-navbar {
    background-color: #ffffff;
    padding: 10px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}

/* ===== Logo Section ===== */
.nav-item-top {
    display: inline-flex;
    align-items:center;
    width: 22%;
}
a.item-nav {
    text-decoration: none;
    color: #595959;
     font-weight: 500;
    font-size: 18px;
    margin: auto 10px;
}

.nav-item-top {
    position: relative;
    display: flex;
    gap: 24px;
}

.nav-item-top a {
    position: relative;
    color: #595959;
    display: inline-flex;
    padding-bottom: 6px;
    transition: color 0.3s ease;
    cursor: pointer;
}

.nav-item-top a svg{
   margin: auto 2px;
}
.nav-item-top a:hover , .nav-item-top a:hover svg{
    color: #001c4e;
    fill: #001c4e !important;

}

/* underline base */
.nav-item-top a::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0;
    width: 0;
    height: 2px;
    background: #001c4e;
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

/* hover animation */
.nav-item-top a:hover::after {
    width: 100%;
}

/* active item */
.nav-item-top a.active-item {
    color: #001c4e;
    font-weight: 600;
}

.nav-item-top a.active-item::after {
    width: 100%;
}
span.badge-count {
    background-color: #001c4e;
    color: #fff;
    padding: 4px 2px 0;
    font-size: 13px;
    border-radius: 5px;
}
.navbar-logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.navbar-logo img {
    height: 55px;
}

.navbar-logo .site-title {
    font-weight: 700;
    font-size: 18px;
    margin: 0;
}

.navbar-logo .site-subtitle {
    font-size: 12px;
    color: #666;
    margin: 0;
}

/* ===== Links Section ===== */
.navbar-links {
    display: flex;
    align-items: center;
    gap: 22px;
}

.navbar-links a {
    font-weight: 600;
    text-decoration: none;
    display: flex;

    align-items: center;
    gap: 6px;
    border-radius: 10px;
}

.navbar-links .badge-count {
    background: #153672fc;
    border-radius: 50%;
    padding: 3px 7px;
    font-size: 12px;
    color: #fff;
}

/* ===== Language Switch ===== */
.lang-switch {
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 700;
    color: #088864;
    cursor: pointer;
}
.lang-switch span{
    margin-top: 4px;
}
.lang-switch i {
    font-size: 18px;

}

/* ===== Buttons (Login/Register) ===== */
.btn-login {
    background: #153672fc;
    border-radius: 30px;
    font-weight: 700;
    padding: 6px 18px;
    color: #fff !important;
}

.btn-login:hover{
    background: #fff !important;
    border: 2px solid #153672fc;
    color: #153672fc !important;
}

.btn-register {
    background: #28a745;
    border-radius: 30px;
    font-weight: 700;
    padding: 6px 18px;
    color: #fff !important;
}
.btn-register:hover{
    background: #fff !important;
    border: 2px solid #28a745;
    color: #28a745 !important;
}
/* ===== Contact Button ===== */
.call-button {
    direction: ltr;
    color: #173974;
    border: 1px solid #ccc;
    border-radius: 30px;
    padding: 6px 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    font-size: 12px;
}
.call-button .text-xs.font-bold {
    font-size: 15px;
}
i.fas.fa-phone-alt {
    font-size: 15px;
    color: #173974;
}
/* Balance */
.balance-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #222;
}

.balance-box .label {
    font-size: 12px;
    color: #777;
}

.balance-box .amount {
    font-weight: 700;
    color: #0a9a3e;
}

.collapse {
    visibility: visible !important;
}
.carousel-control-item {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.carousel-inner:hover ~ .carousel-control-item,
#auctionCarousel:hover   .carousel-control-item {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.carousel-control-next-icon, .carousel-control-prev-icon {
    display: inline-block;
    width: 1.5rem;
    height: 1.5rem;
}

.slide-title {
    font-size: 25px;
    font-weight: bold;
}
.slide-subtitle {
    font-size: 20px;
    font-weight: bold;
}

img.image-cat-fuller {
    width: 20px;
}

.toggle-checkbox {
    top: 50% !important;
    transform: translateY(-50%) !important;
}
html[dir="ltr"] .toggle-checkbox {
    left: -0.1rem;
    right: auto;
}

html[dir="rtl"] .toggle-checkbox {
    right: -0.1rem;
    left: auto;
}


html[dir="ltr"] .toggle-checkbox:checked {
    right: -0.3rem !important;
    left: auto !important;
}

html[dir="rtl"] .toggle-checkbox:checked {
    left: -0.3rem !important;
    right: auto !important;
}

.toggle-checkbox:checked + .toggle-label {
    background-color: #10b981 !important;
}

.toggle-checkbox:checked {
    background-color: #10b981 !important;
}

.toggle-checkbox:checked + .toggle-label::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 9999px;
    box-shadow: 0 0 8px #10b981;
}
 .custom-marker {
     display: flex;
     align-items: center;
     gap: 6px;
     background: white;
     padding: 6px 10px;
     border-radius: 8px;
     box-shadow: 0 2px 6px rgba(0,0,0,0.25);
     font-family: Tajawal, sans-serif;
     border: 1px solid #ddd;
     transition: all 0.2s ease;
 }
.custom-marker.active {
    background: rgb(0 28 78) !important;
    color: white !important;
    border-color: rgb(0 28 78) !important;
    transform: scale(1.15);
}


.custom-marker img {
    transition: filter 0.2s ease;
}

.custom-marker.active img {
    filter: brightness(0) invert(1);
}

.bg-primary {
    --bs-bg-opacity: 1;
    background-color: rgb(0 28 78) !important;
}
.text-primary {
    --bs-text-opacity: 1;
    color:  rgb(0 28 78) !important;
}

/* filter */
.auction-section button.active-category {
    background-color: rgb(66 122 223 / 29%) !important;
    border: 2px solid #375a9a !important;
}

.auction-section .active-cat {
    color: #fff !important;
    background-color: #22c55f !important;
}

.auction-section .active-cat span.rounded-full {
    background-color: #ffffff;
    color: #22c55f;
}

.auction-section button.active-status {
    color: #fff;
    background-color: #001c4e !important;
}
.auction-section button.active-status span.rounded-full {
    background-color: #fff !important;
    color: #001c4e !important;
}



.page-link {
    color: #001c4e !important;
}
.active>.page-link, .page-link.active {
    color: #fff !important;
    background-color: #001c4e !important;
    border-color:  #001c4e !important;
}
