/* Light Neumorphism Header Stylesheet - Sticky Full Width */
.header-sticky-wrapper {
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
}

.neu-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 28px;
    background: #e0e5ec;
    border-radius: 0;
    box-shadow: 
        0 6px 16px rgba(163, 177, 198, 0.4),
        0 1px 0 rgba(255, 255, 255, 0.8);
    border: none;
    border-bottom: 1px solid rgba(163, 177, 198, 0.3);
    margin: 0 0 20px 0;
    width: 100%;
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
}

.neu-header-left {
    display: flex;
    align-items: center;
    gap: 14px;
}

.neu-header-logo {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #e0e5ec;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #64A43D;
    font-size: 20px;
    box-shadow: 
        5px 5px 10px rgba(163, 177, 198, 0.6),
        -5px -5px 10px rgba(255, 255, 255, 0.8);
    flex-shrink: 0;
}

.neu-header-titles {
    display: flex;
    flex-direction: column;
}

.neu-header-app-title {
    font-size: 17px;
    font-weight: 800;
    color: #274217;
    letter-spacing: -0.2px;
    line-height: 1.2;
}

.neu-header-sub-title {
    font-size: 12px;
    font-weight: 600;
    color: #7b889b;
    margin-top: 1px;
}

.neu-header-right {
    display: flex;
    align-items: center;
    gap: 12px;
}

.neu-header-user-card {
    background: #e0e5ec;
    padding: 8px 16px;
    border-radius: 50px;
    box-shadow: 
        inset 3px 3px 6px rgba(163, 177, 198, 0.6),
        inset -3px -3px 6px rgba(255, 255, 255, 0.8);
    display: flex;
    align-items: center;
    gap: 10px;
}

.neu-header-user-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: linear-gradient(135deg, #64A43D 0%, #3C6324 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 13px;
    box-shadow: 0 2px 5px rgba(60, 99, 36, 0.3);
}

.neu-header-greeting {
    font-size: 13px;
    font-weight: 700;
    color: #3a4756;
}

/* Notification Bell & Dropdown */
.neu-notif-wrapper {
    position: relative;
}

.neu-notif-btn {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #e0e5ec;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #3a4756;
    font-size: 16px;
    cursor: pointer;
    box-shadow: 
        5px 5px 10px rgba(163, 177, 198, 0.6),
        -5px -5px 10px rgba(255, 255, 255, 0.8);
    transition: all 0.2s ease;
    position: relative;
}

.neu-notif-btn:hover {
    color: #64A43D;
    box-shadow: 
        7px 7px 14px rgba(163, 177, 198, 0.7),
        -7px -7px 14px rgba(255, 255, 255, 0.9);
}

.neu-notif-btn:active {
    box-shadow: 
        inset 3px 3px 6px rgba(163, 177, 198, 0.7),
        inset -3px -3px 6px rgba(255, 255, 255, 0.7);
}

.neu-notif-badge {
    position: absolute;
    top: -2px;
    right: -2px;
    background: #dc2626;
    color: #ffffff;
    font-size: 10px;
    font-weight: 800;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #e0e5ec;
    box-shadow: 0 2px 4px rgba(220, 38, 38, 0.4);
}

/* Right Side Slide-Over Notification Drawer */
.neu-drawer-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(15, 23, 42, 0.4);
    backdrop-filter: blur(4px);
    z-index: 1040;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.neu-drawer-backdrop.active {
    opacity: 1;
    visibility: visible;
}

.neu-notif-drawer {
    position: fixed;
    top: 0;
    right: 0;
    width: 360px;
    max-width: 85vw;
    height: 100vh;
    background: #e0e5ec;
    z-index: 1045;
    box-shadow: 
        -12px 0 30px rgba(163, 177, 198, 0.7),
        -2px 0 8px rgba(255, 255, 255, 0.9);
    display: flex;
    flex-direction: column;
    padding: 24px 20px;
    transform: translateX(100%);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
}

.neu-notif-drawer.active {
    transform: translateX(0);
}

.neu-drawer-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(163, 177, 198, 0.4);
    margin-bottom: 20px;
}

.neu-drawer-title-box {
    display: flex;
    align-items: center;
    gap: 10px;
}

.neu-drawer-title {
    font-size: 17px;
    font-weight: 800;
    color: #274217;
    margin: 0;
}

.neu-drawer-close-btn {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #e0e5ec;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #7b889b;
    font-size: 14px;
    cursor: pointer;
    box-shadow: 
        4px 4px 8px rgba(163, 177, 198, 0.6),
        -4px -4px 8px rgba(255, 255, 255, 0.8);
    transition: all 0.2s ease;
}

.neu-drawer-close-btn:hover {
    color: #dc2626;
}

.neu-drawer-close-btn:active {
    box-shadow: 
        inset 2px 2px 4px rgba(163, 177, 198, 0.7),
        inset -2px -2px 4px rgba(255, 255, 255, 0.7);
}

.neu-notif-clear {
    font-size: 11px;
    color: #64A43D;
    cursor: pointer;
    font-weight: 700;
    margin-bottom: 14px;
    display: inline-block;
}

.neu-notif-clear:hover {
    text-decoration: underline;
}

.neu-notif-list {
    flex: 1;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding-right: 4px;
}

.neu-notif-item {
    background: #e0e5ec;
    padding: 12px 14px;
    border-radius: 16px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    box-shadow: 
        inset 3px 3px 6px rgba(163, 177, 198, 0.5),
        inset -3px -3px 6px rgba(255, 255, 255, 0.7);
    transition: transform 0.2s ease;
}

.neu-notif-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    margin-top: 4px;
    flex-shrink: 0;
}

.neu-notif-dot.red { background: #dc2626; box-shadow: 0 0 8px rgba(220,38,38,0.6); }
.neu-notif-dot.yellow { background: #f59e0b; box-shadow: 0 0 8px rgba(245,158,11,0.6); }
.neu-notif-dot.green { background: #64A43D; box-shadow: 0 0 8px rgba(100,164,61,0.6); }

.neu-notif-content {
    display: flex;
    flex-direction: column;
}

.neu-notif-title {
    font-size: 13px;
    font-weight: 800;
    color: #2d3748;
}

.neu-notif-text {
    font-size: 11px;
    color: #7b889b;
    font-weight: 600;
    line-height: 1.4;
    margin-top: 3px;
}

/* User Profile Dropdown */
.neu-user-dropdown-wrapper {
    position: relative;
}

.neu-user-dropdown {
    position: absolute;
    top: 48px;
    right: 0;
    width: 220px;
    background: #e0e5ec;
    border-radius: 18px;
    box-shadow: 
        8px 8px 20px rgba(163, 177, 198, 0.7),
        -8px -8px 20px rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.6);
    padding: 8px;
    display: none;
    z-index: 1030;
    animation: neuUserDropdownSlide 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.neu-user-dropdown.active {
    display: block;
}

@keyframes neuUserDropdownSlide {
    from {
        opacity: 0;
        transform: translateY(-8px) scale(0.96);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.neu-user-dropdown-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    border-radius: 12px;
    color: #3a4756;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.2s ease;
}

.neu-user-dropdown-item i {
    font-size: 14px;
    color: #64A43D;
    width: 16px;
    text-align: center;
}

.neu-user-dropdown-item:hover {
    background: #e0e5ec;
    color: #274217;
    box-shadow: 
        inset 2px 2px 5px rgba(163, 177, 198, 0.6),
        inset -2px -2px 5px rgba(255, 255, 255, 0.8);
}

.neu-user-dropdown-item.logout {
    color: #dc2626;
}

.neu-user-dropdown-item.logout i {
    color: #dc2626;
}

.neu-dropdown-divider {
    height: 1px;
    background: rgba(163, 177, 198, 0.4);
    margin: 6px 0;
}

/* Mobile Responsive Header Rules */
@media (max-width: 768px) {
    /* Left Side: Hide titles, keep logo only */
    .neu-header-titles {
        display: none !important;
    }

    /* Right Side: Hide text greeting & chevron, keep notification bell & profile icon only */
    .neu-header-greeting,
    .neu-header-user-card .fa-chevron-down {
        display: none !important;
    }

    .neu-header-user-card {
        padding: 3px !important;
        border-radius: 50% !important;
        box-shadow: 
            5px 5px 10px rgba(163, 177, 198, 0.6),
            -5px -5px 10px rgba(255, 255, 255, 0.8) !important;
    }

    .neu-header-user-avatar {
        width: 36px !important;
        height: 36px !important;
    }
}
