/* ==========================================================
   Platform Top Bar
========================================================== */

.topbar{

    display:flex;

    align-items:center;

    justify-content:space-between;

    background:#1a3c8b;

    color:white;

    padding:10px 20px;

    font-size:14px;

    box-shadow:0 2px 6px rgba(0,0,0,0.12);

}


/* ==========================================================
   Sections
========================================================== */

.topbar-left,

.topbar-center,

.topbar-right{

    display:flex;

    align-items:center;

    gap:18px;

}


/* Center occupies remaining space */

.topbar-center{

    flex:1;

    justify-content:center;

}


/* ==========================================================
   Links
========================================================== */

.topbar a{

    color:white;

    text-decoration:none;

    transition:all .20s ease;

}

.topbar a:hover{

    color:#d9e7ff;

    text-decoration:none;

}


/* ==========================================================
   Platform Links
========================================================== */

.platform-link{

    font-weight:600;

    letter-spacing:.2px;

}


/* ==========================================================
   Divider
========================================================== */

.topbar-divider{

    opacity:.5;

}


/* ==========================================================
   Navigation Links
========================================================== */

.topbar-link{

    padding:5px 10px;

    border-radius:6px;

}


/* Active Tool */

.topbar-link.active{

    background:rgba(255,255,255,.18);

    font-weight:600;

}


/* Hover */

.topbar-link:hover{

    background:rgba(255,255,255,.12);

}


/* ==========================================================
   User
========================================================== */

.topbar-user{

    display:flex;

    align-items:center;

    gap:6px;

    font-weight:600;

    color: inherit;

    text-decoration: none;

    transition: color .2s ease;

}
.topbar-user:hover{

    color:#0d6efd;

    background:rgba(255,255,255,.12);

    text-decoration:none;
}


/* ==========================================================
   Admin Badge
========================================================== */

.admin-badge{

    background:#ffcc00;

    color:#222;

    font-size:11px;

    border-radius:4px;

    padding:2px 6px;

}


/* ==========================================================
   Responsive
========================================================== */

@media (max-width:900px){

    .topbar{

        flex-wrap:wrap;

        gap:10px;

    }

    .topbar-center{

        width:100%;

        justify-content:flex-start;

    }

}

/* ==========================================================
   Notification Bell
========================================================== */

.notification-dropdown{

    position:relative;

}


#notification-dropdown-menu{

    width:360px;

    padding:0;

    border:none;

    border-radius:10px;

}


.notification-dropdown-header{

    display:flex;

    justify-content:space-between;

    align-items:center;

    padding:12px 16px;

    font-weight:600;

    background:#f8f9fa;

    color:#212529;

    border-bottom:1px solid #e9ecef;

}

#notification-dropdown-body{

    max-height:320px;

    overflow-y:auto;

    padding:12px 16px;

    color:#212529;

    background:#fff;

}

.notification-loading{

    padding:16px;

    color:#6c757d;

}

.notification-item{

    padding:12px 16px;

    border-bottom:1px solid #f1f3f5;

    cursor:pointer;

    color:#212529;

    background:#fff;

    transition:background .15s ease;

}

.notification-item:hover{

    background:#f8f9fa;

}

.notification-dropdown-footer{

    padding:10px 16px;

    border-top:1px solid #e9ecef;

    background:#fff;

    text-align:center;

}

.notification-dropdown-footer a{

    color:#1a3c8b;

    text-decoration:none;

    font-weight:600;

}

.notification-dropdown-footer a:hover{

    color:#0d2d72;

    text-decoration:underline;

}

.notification-bell{

    position:relative;

    display:inline-flex;

    align-items:center;

    justify-content:center;

    font-size:18px;

    padding:5px 8px;

}

.notification-badge{

    position:absolute;

    top:-4px;

    right:-6px;

    min-width:18px;

    height:18px;

    padding:0 5px;

    border-radius:999px;

    background:#dc3545;

    color:white;

    font-size:11px;

    font-weight:600;

    display:none;

    align-items:center;

    justify-content:center;

    line-height:18px;

    box-shadow:0 0 0 2px #1a3c8b;

}

.notification-dropdown-count{

    color:#6c757d;

    font-size:14px;

    font-weight:500;

}
.error-icon{

    font-size:60px;

}
.error-title{

    color:#1a3c8b;

    font-weight:600;

}