
.custom-navbar {
    background-color: #f8f9fa !important;
    padding: 15px 0;
}

.navbar-brand img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover; /* جلوگیری از کشیدگی تصویر */
}
.nav-link {
    color: #000 !important;
    font-weight: 500;
}

.nav-link.active {
    color: #0d6efd !important;
    font-weight: 700;
}

/* ============================= */
/* 🔥 DROPDOWN + SCROLL FIX     */
/* ============================= */

.fix-dropdown {
    max-height: calc(100vh - 120px);
    overflow-y: auto;
    overflow-x: hidden;

    border-radius: 12px;
    padding: 8px;
    border: 1px solid #e9ecef;
    box-shadow: 0 10px 25px rgba(0,0,0,0.12);

    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
}

/* scroll bar */
.fix-dropdown::-webkit-scrollbar {
    width: 5px;
}

.fix-dropdown::-webkit-scrollbar-thumb {
    background: #cfcfcf;
    border-radius: 10px;
}

/* active item */
.custom-dropdown .active-item {
    color: #0d6efd !important;
    font-weight: 600;
    background-color: #f8f9fa;
    border-radius: 8px;
}

/* hover */
.custom-dropdown .dropdown-item:hover {
    background-color: #f8f9fa;
    border-radius: 8px;
}




.search-wrapper {
    position: relative;
}

.search-input {
    height: 42px;
    border-radius: 12px;
    padding-right: 45px;
}

.search-btn {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    border: none;
    background: transparent;
    color: #6c757d;
}

.search-btn:hover {
    color: #0d6efd;
}

.custom-navbar {
    border-bottom: 0;
    box-shadow: none;
}



.search-wrapper {
    position: relative;
}

.search-input {
    height: 48px;
    border-radius: 14px;
    padding-right: 48px;
    font-size: 15px;
}

.search-btn {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    border: none;
    background: transparent;
    color: #6c757d;
}

.search-btn:hover {
    color: #0d6efd;
}

#searchModal .modal-content {
    border-radius: 20px;
}

#searchModal .modal-header {
    padding: 20px 24px 0;
}

#searchModal .modal-body {
    padding: 24px;
}