
.top-navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 72px;
    background: #1f2937;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 0 28px;
    z-index: 1000;
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.15);
    animation: navbarSlideDown 0.4s ease;
}

@keyframes navbarSlideDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #f9fafb;
    font-size: 24px;
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1;
    cursor: default;
}

.logo i {
    color: #fbbf24;
    font-size: 26px;
    animation: sunSpin 8s linear infinite;
    transform-origin: center;
}

@keyframes sunSpin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.logo:hover i {
    animation-duration: 1.5s;
}

/* Right side */
.nav-right {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 16px;
    margin-left: auto;
}

.icon-btn {
    position: relative;
    border: none;
    background: rgba(255, 255, 255, 0.06);
    color: #e5e7eb;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.25s ease, transform 0.25s ease;
}

.icon-btn:hover {
    background: rgba(255, 255, 255, 0.16);
    transform: scale(1.08);
}

.icon-btn:active {
    transform: scale(0.94);
}

.icon-btn i {
    transition: transform 0.3s ease;
}

.icon-btn:hover i {
    animation: bellRing 0.6s ease;
}

@keyframes bellRing {
    0%, 100% { transform: rotate(0); }
    20% { transform: rotate(15deg); }
    40% { transform: rotate(-12deg); }
    60% { transform: rotate(8deg); }
    80% { transform: rotate(-4deg); }
}

.notif-dot {
    position: absolute;
    top: 8px;
    right: 9px;
    width: 8px;
    height: 8px;
    background: #ef4444;
    border-radius: 50%;
    border: 2px solid #1f2937;
    animation: notifPulse 1.8s ease-in-out infinite;
}

@keyframes notifPulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.5);
    }
    50% {
        box-shadow: 0 0 0 5px rgba(239, 68, 68, 0);
    }
}

/* Profile */
.profile-btn {
    background: none;
    border: none;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #f3f4f6;
    font-weight: 600;
    font-size: 14.5px;
    padding: 4px 6px;
    border-radius: 30px;
    transition: background 0.25s ease, transform 0.25s ease;
    
}

.profile-btn:hover,
.profile-btn:focus {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-1px);
}

.profile-btn:active {
    transform: translateY(0);
}

.profile-avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.2);
    transition: border-color 0.25s ease, transform 0.25s ease;
}

.profile-btn:hover .profile-avatar {
    border-color: #fbbf24;
    transform: rotate(-6deg);
}

.dropdown-menu {
    border: none;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    border-radius: 12px;
    padding: 8px;
    margin-top: 12px !important;
    animation: dropdownPop 0.2s ease;
    transform-origin: top right;
}

@keyframes dropdownPop {
    from {
        opacity: 0;
        transform: scale(0.95) translateY(-6px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.dropdown-item {
    padding: 10px 14px;
    border-radius: 8px;
    font-size: 14.5px;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: background 0.15s ease, padding-left 0.15s ease;
}

.dropdown-item:hover {
    background: #f3f4f6;
    padding-left: 18px;
}

.dropdown-item.text-danger:hover {
    background: #fef2f2;
}

.logout-form {
    margin: 0;
}

.logout-form .dropdown-item {
    width: 100%;
    background: transparent;
    border: none;
}

/* Responsive */
@media (max-width: 991px) {
    .top-navbar {
        height: 64px;
        padding: 0 18px;
    }

    .logo {
        font-size: 20px;
    }

    .logo i {
        font-size: 22px;
    }
}

@media (max-width: 767px) {
    .profile-name {
        display: none;
    }
=======
.top-navbar{
    position:fixed;
    top:0;
    left:0;
    right:0;
    height:75px;
    background:#1f2937;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:24px;
    padding:0 28px;
    z-index:1000;
    box-shadow:0 5px 18px rgba(15,23,42,.18);

}

.logo{
    display:flex;
    align-items:center;
    gap:12px;
    min-width:220px;
    color:#fff;
    font-size:30px;
    font-weight:800;
    line-height:1;

}

.logo i{
    color:#fbbf24;
    font-size:34px;

}

.search-box{
    width:min(520px, 100%);
    height:48px;
    background:#fff;
    border-radius:30px;
    display:flex;
    align-items:center;
    padding:0 18px;
    flex:1;
    max-width:620px;

}

.search-box i{
    color:#6b7280;
    font-size:18px;
    margin-right:10px;

}

.search-box input{
    border:none;
    outline:none;
    width:100%;
    color:#111827;
    font-size:16px;

}

.nav-right{
    display:flex;
    align-items:center;
    justify-content:flex-end;
    gap:18px;
    min-width:220px;

}

.icon-btn{
    border:none;
    background:none;
    color:#fff;
    font-size:24px;
    cursor:pointer;

}

.profile-btn{
    background:none;
    border:none;
    display:flex;
    align-items:center;
    gap:10px;
    color:#fff;
    font-weight:600;

}

.profile-btn img{
    width:42px;
    height:42px;
    border-radius:50%;

}

.dropdown-menu{

border:none;

box-shadow:0 15px 40px rgba(0,0,0,.15);

border-radius:12px;

padding:10px;

}

.dropdown-item{

padding:10px 15px;

border-radius:8px;

}

.dropdown-item:hover{

background:#f3f4f6;

}

@media(max-width:991px){

    .top-navbar{
        padding:0 18px;
    }

    .logo{
        min-width:auto;
        font-size:24px;
    }

    .search-box{
        max-width:360px;
    }

    .nav-right{
        min-width:auto;
    }

}

@media(max-width:767px){

    .search-box{
        display:none;
    }

    .profile-btn span{
        display:none;
    }

>>>>>>> 171d5a11e6d8f09281faa65357037254d42c3955
}
