.top-header {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding: 16px 32px;
    background: white;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
    border-bottom: 1px solid #e2e8f0;
    margin-bottom: 24px;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 24px;
}

.notification-wrapper {
    position: relative;
    cursor: pointer;
}

.notification-btn {
    background: none;
    border: none;
    font-size: 20px;
    color: #64748b;
    padding: 8px;
    border-radius: 50%;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.notification-btn:hover {
    background: #f1f5f9;
    color: #3b82f6;
}

.notification-badge {
    position: absolute;
    top: 4px;
    right: 4px;
    background: #ef4444;
    color: white;
    font-size: 10px;
    font-weight: 700;
    min-width: 16px;
    height: 16px;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid white;
}

.user-profile {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-left: 24px;
    border-left: 1px solid #e2e8f0;
}

.user-avatar {
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 14px;
    box-shadow: 0 2px 4px rgba(59, 130, 246, 0.2);
}

.user-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.user-name {
    font-weight: 600;
    color: #1e293b;
    font-size: 14px;
    line-height: 1.2;
}

.user-unit {
    font-size: 11px;
    color: #64748b;
    margin-top: 2px;
    font-weight: 500;
}

.user-role {
    font-size: 11px;
    color: #94a3b8;
    margin-top: 1px;
}

/* Notification Dropdown */
.notification-dropdown {
    position: absolute;
    top: 120%;
    right: 0;
    width: 320px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    border: 1px solid #e2e8f0;
    z-index: 1000;
    animation: slideDown 0.2s ease-out;
    display: none;
}

.notification-dropdown.show {
    display: block;
}

.dropdown-header {
    background: #f8fafc;
    padding: 12px 16px;
    border-bottom: 1px solid #e2e8f0;
    border-radius: 12px 12px 0 0;
}

.dropdown-header h4 {
    margin: 0;
    font-size: 13px;
    font-weight: 600;
    color: #475569;
}

.notification-list {
    max-height: 300px;
    overflow-y: auto;
}

.notification-section-header {
    padding: 10px 16px;
    background: #f8fafc;
    font-size: 11px;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 1px solid #e2e8f0;
}

.notification-item {
    padding: 16px;
    border-bottom: 1px solid #f1f5f9;
    cursor: pointer;
    transition: background 0.2s;
    display: flex;
    gap: 12px;
}

.notification-item:hover {
    background: #f8fafc;
}

.notif-icon {
    font-size: 18px;
    color: #3b82f6;
    margin-top: 2px;
}

.notif-content {
    flex: 1;
}

.notif-title {
    font-size: 13px;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 4px;
    display: block;
}

.notif-desc {
    font-size: 12px;
    color: #64748b;
    display: block;
}

.empty-notif {
    padding: 30px;
    text-align: center;
    color: #94a3b8;
    font-size: 13px;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}