﻿* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 14px;
    position: relative;
    min-height: 100%;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

body {
    margin-bottom: 60px;
}

a {
    color: gold;
}

nav{
    display: inline-flex;
    flex-direction: row-reverse;
}

.nav{
    flex-direction: row-reverse;
}



@media screen and (max-width:1300px){

    nav{
        display: inline-flex;
        flex-wrap: nowrap;
        align-items: flex-end;
    }

    #leftSidebar{
        transition: .7s;
    }

    .open-box-navbar{
        position: absolute !important;
    }

    .close-box-navbar{
        position: absolute !important; 
        right: -260px !important;
    }

    .main-controller,.topnav{
        margin-right: 0 !important;
    }

    .topnav{
        display: flex;
        flex-direction: row-reverse;
    }
    
    .open-nav{
        position: relative;
        right: -1rem;
        top: -0.7rem;
        width: 30px;
        height: 36px;
        cursor: pointer;
        transition: .7s;
    }

    .col-sm-1{
        width: 0 !important;
    }
    
    .open-nav span {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%,-50%);
        width: 100%;
        height: 3px;
        border-radius: 25px;
        background-color: #dbdbdb;
        transition: .7s;
    }
    
    .open-nav span:nth-child(1){
        top: 25%;
    }
    
    .open-nav span:nth-child(3){
        top: 75%;
    }
    
    .open-nav.activeHum span:nth-child(1){
        top: 50%;
        transform: translate(-50%,0%) rotate(45deg);
    }
    
    .open-nav.activeHum span:nth-child(2){
        opacity: 0;
    }
    
    .open-nav.activeHum span:nth-child(3){
        top: 50%;
        transform: translate(-50%,0%) rotate(-45deg);
    }

}










.active {
    background-color: #007bff;
    color: #fff;
    font-weight: bold;
}

.fe-16 {
    font-size: 1.7rem; /* تعديل حجم الأيقونة */
}

#notification-bell {
    position: relative;
    display: inline-block;
}

.notification-badge {
    position: absolute;
    top: -10px; /* Adjust as needed */
    right: -10px; /* Adjust as needed */
    background-color: red; /* Color for the badge */
    color: white; /* Text color for the badge */
    border-radius: 50%; /* Round shape */
    font-size: 12px; /* Font size of the badge */
    font-weight: bold; /* Font weight of the badge */
    text-align: center; /* Center text inside the badge */
    min-width: 20px; /* Minimum width of the badge */
    height: 20px; /* Height of the badge */
    line-height: 20px; /* Align text vertically */
    display: flex; /* Center text horizontally */
    justify-content: center; /* Center text horizontally */
}

.notification-popup {
    display: none;
    position: absolute;
    top: 60px;
    left: 125px;
    width: 300px; /* Adjust based on your design */
    max-height: 400px; /* Adjust based on your design */
    overflow-y: auto;
    background-color: white;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border: 1px solid #ccc;
    z-index: 1000;
    border-radius: 5px;
}

    .notification-popup.show {
        display: block;
    }

#notification-list {
    padding: 10px;
}

.notification-item {
    padding: 10px;
    border-bottom: 1px solid #eee;
}

.notification-item:last-child {
        border-bottom: none;
    }

.notification-item a {
    text-decoration: none;
    color: inherit;
}

.notification-item:hover {
    background-color: #f9f9f9;
}

.notification-link {
    display: block; /* Make it block level to enable padding and margin */
    text-decoration: none;
    color: black;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 10px;
    margin-bottom: 10px; /* Space between items */
    background-color: #f9f9f9;
    transition: background-color 0.2s;
}

.notification-link:hover {
    background-color: #f0f0f0;
}
